From owner-freebsd-current@freebsd.org Sun Aug 2 09:29:39 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96D7D9AFA64 for ; Sun, 2 Aug 2015 09:29:39 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57FE01E3 for ; Sun, 2 Aug 2015 09:29:38 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [93.104.17.161] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1ZLpaJ-0000bK-Az for freebsd-current@freebsd.org; Sun, 02 Aug 2015 11:29:35 +0200 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t729TXuM001693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 2 Aug 2015 11:29:33 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t729TWS5001692 for freebsd-current@freebsd.org; Sun, 2 Aug 2015 11:29:32 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 2 Aug 2015 11:29:32 +0200 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: make installworld DESTDIR=/mnt failes Message-ID: <20150802092932.GA1659@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.17.161 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2015 09:29:39 -0000 Hello, I have a CURRENT r285885 in /usr/home/guru/r285885/src and /usr/home/guru/r= 285885/obj ready for make install into a new target root mounted as /mnt; the installation should (and allways) worked as # sh # cd /usr/home/guru/r285885/src # MAKEOBJDIRPREFIX=3D/usr/home/guru/r285885/obj export MAKEOBJDIRPREFIX # make installworld DESTDIR=3D/mnt # make installkernel DESTDIR=3D/mnt # make distrib-dirs DESTDIR=3D/mnt # make distribution DESTDIR=3D/mnt but this time the installworld failes after some time with: =2E.. install -s -o root -g wheel -m 555 primes /mnt/usr/bin/primes =3D=3D=3D> games/random (install) install -s -o root -g wheel -m 555 random /mnt/usr/bin/random install -o root -g wheel -m 444 random.6.gz /mnt/usr/share/man/man6 =3D=3D=3D> games/tests (install) install -o root -g wheel -m 444 /usr/home/guru/r285885/src/tests/Kyuafile= /mnt/usr/tests/games/Kyuafile =3D=3D=3D> cddl (install) =3D=3D=3D> cddl/lib (install) =3D=3D=3D> cddl/lib/drti (install) make[6]: /usr/home/guru/r285885/obj/usr/home/guru/r285885/src/cddl/lib/drti= /.depend, 79: ignoring stale .depend for /home/guru/r285885/obj/usr/home/gu= ru/r285885/src/tmp/usr/include/unistd.h =2E.. cc -O2 -pipe -I/usr/home/guru/r285885/src/cddl/lib/drti/../../../sys/cdd= l/compat/opensolaris -I/usr/home/guru/r285885/src/cddl/lib/drti/../../../c= ddl/compat/opensolaris/include -I/usr/home/guru/r285885/src/cddl/lib/drti/= =2E./../../cddl/contrib/opensolaris/head -I/usr/home/guru/r285885/src/cddl= /lib/drti/../../../cddl/contrib/opensolaris/lib/libctf/common -I/usr/home/= guru/r285885/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtr= ace/common -I/usr/home/guru/r285885/src/cddl/lib/drti/../../../sys/cddl/co= ntrib/opensolaris/uts/common -DPIC -fpic -DNEED_SOLARIS_BOOLEAN -std=3Dgnu= 99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno= -unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith = -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parame= ter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-de= cls -Wold-style-definition -Wno-pointer-sign -Wno-unknown-pragmas -Wmissing= -variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int= -Wno-unused-const-variable -Qunused-arguments -c /usr/home/guru/r285885/sr= c/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti= =2Ec -o drti.o In file included from /usr/home/guru/r285885/src/cddl/lib/drti/../../../cdd= l/contrib/opensolaris/lib/libdtrace/common/drti.c:27: /usr/home/guru/r285885/src/cddl/lib/drti/../../../cddl/compat/opensolaris/i= nclude/unistd.h:33:15: fatal error: 'unistd.h' file not found #include_next ^ 1 error generated. *** Error code 1 Stop. Why it is ignoring the .depend file and tries to compile something again? cd /usr/home/guru/r285885/obj/usr/home/guru/r285885/src/cddl/lib/drti la -la total 17 drwxr-xr-x 2 root wheel 512 Aug 2 09:01 . drwxr-xr-x 13 root wheel 512 Jul 26 10:11 .. -rw-r--r-- 1 root wheel 7350 Jul 26 20:12 .depend -rw-r--r-- 1 root wheel 6300 Jul 26 20:14 libdrti-dummy.a ls -l /usr/home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/= unistd.h -rwxr-xr-x 1 root wheel 18911 Jul 26 09:08 /usr/home/guru/r285885/obj/us= r/home/guru/r285885/src/tmp/usr/include/unistd.h date Sun Aug 2 09:12:01 UTC 2015 Thanks matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ =E2=98= =8E +49-176-38902045 No! Nein! =C2=A1No! =CE=8C=CF=87=CE=B9! -- =CE=95=CF=85=CF=87=CE=B1=CF=81= =CE=B9=CF=83=CF=84=CE=BF=CF=8D=CE=BC=CE=B5!