From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 28 10:17:58 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DDE536B4 for ; Thu, 28 Aug 2014 10:17:58 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AC9B11D7E for ; Thu, 28 Aug 2014 10:17:58 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7SAHwYr080993 for ; Thu, 28 Aug 2014 10:17:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193091] New: *** FATAL ERROR: Cannot copy files to the temproot environment Date: Thu, 28 Aug 2014 10:17:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kes-kes@yandex.ru X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2014 10:17:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193091 Bug ID: 193091 Summary: *** FATAL ERROR: Cannot copy files to the temproot environment Product: Base System Version: 9.3-RELEASE Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: kes-kes@yandex.ru # cd /usr/src/9 # mergemaster -p *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot cp: /usr/src/etc/master.passwd: No such file or directory *** FATAL ERROR: Cannot copy files to the temproot environment WORKAROUND FOR THIS: #cd /usr/src #ln -s /usr/src/9/etc /usr/src/etc After that I have next FATAL: # mergemaster *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot make: don't know how to make distrib-dirs. Stop *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to the temproot environment WORKAROUND FOR THIS: #cd /usr #mv /usr/src/ /usr/srca #ln -s /usr/srca/9 /usr/src #ln -s /usr/srca/9 usr/src/9 Please FIX that and allow to build/install world while sources are not in /usr/src EXPECTED problem is here: /usr/src/usr.sbin/mergemaster/mergemaster.sh:638 # Assign the source directory # SOURCEDIR=${SOURCEDIR:-/usr/src} <<<<<<<<<<<<<<<<<<<<< if [ ! -f ${SOURCEDIR}/Makefile.inc1 -a \ -f ${SOURCEDIR}/../Makefile.inc1 ]; then echo " *** The source directory you specified (${SOURCEDIR})" However doing: -SOURCEDIR=${SOURCEDIR:-/usr/src} +SOURCEDIR=${SOURCEDIR:-/usr/src/9} while I were in /usr/src/9 do not fix the problem. So I did symlinks. -- You are receiving this mail because: You are the assignee for the bug.