From owner-freebsd-current@FreeBSD.ORG Tue Oct 29 14:40:43 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 686BAA3F for ; Tue, 29 Oct 2013 14:40:43 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9EC532B96 for ; Tue, 29 Oct 2013 14:40:42 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r9TEebQt059795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 29 Oct 2013 15:40:37 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r9TEebpf059792 for ; Tue, 29 Oct 2013 15:40:37 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 29 Oct 2013 15:40:37 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD current Subject: Re: make delete-old broken In-Reply-To: <526F9B68.2020407@gmail.com> Message-ID: References: <20130829124846.08b8c11e@nonamehost.local> <526F9B68.2020407@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-707044931-1383057637=:20642" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 29 Oct 2013 14:40:43 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-707044931-1383057637=:20642 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 29 Oct 2013 13:26+0200, Alexander Panyushkin wrote: > Hello > > FreeBSD 10.0-BETA2 #0 r257316: Tue Oct 29 12:46:22 EET 2013 > root:/usr/obj/usr/src/sys/Kernel amd64 > > Build without error. > > root> make delete-old delete-old-libs > >>> Removing old files (only deletes safe to delete libs) > make[3]: chdir /usr/obj/usr/src/release: No such file or directory > make[2]: "/usr/src/Makefile.inc1" line 132: warning: "make -C > /usr/obj/usr/src/release -V REVISION" returned non-zero status > make[3]: chdir /usr/obj/usr/src/release: No such file or directory > make[2]: "/usr/src/Makefile.inc1" line 133: warning: "make -C > /usr/obj/usr/src/release -V BRANCH" returned non-zero status > awk: can't open file /usr/obj/usr/src/sys/sys/param.h > source line number 1 > make[2]: "/usr/src/Makefile.inc1" line 135: warning: "awk > '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' > /usr/obj/usr/src/sys/sys/param.h" returned non-zero status > >>> Old files removed > >>> Removing old directories > make[3]: chdir /usr/obj/usr/src/release: No such file or directory > make[2]: "/usr/src/Makefile.inc1" line 132: warning: "make -C > /usr/obj/usr/src/release -V REVISION" returned non-zero status > make[3]: chdir /usr/obj/usr/src/release: No such file or directory > make[2]: "/usr/src/Makefile.inc1" line 133: warning: "make -C > /usr/obj/usr/src/release -V BRANCH" returned non-zero status > awk: can't open file /usr/obj/usr/src/sys/sys/param.h > source line number 1 > make[2]: "/usr/src/Makefile.inc1" line 135: warning: "awk > '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' > /usr/obj/usr/src/sys/sys/param.h" returned non-zero status > rmdir: /usr/share/doc/psd/28.cvs: Directory not empty > >>> Old directories removed > To remove old libraries run 'make delete-old-libs'. > >>> Removing old libraries > Please be sure no application still uses those libraries, else you > can not start such an application. Consult UPDATING for more > information regarding how to cope with the removal/revision bump > of a specific library. > make[3]: chdir /usr/obj/usr/src/release: No such file or directory > make[2]: "/usr/src/Makefile.inc1" line 132: warning: "make -C > /usr/obj/usr/src/release -V REVISION" returned non-zero status > make[3]: chdir /usr/obj/usr/src/release: No such file or directory > make[2]: "/usr/src/Makefile.inc1" line 133: warning: "make -C > /usr/obj/usr/src/release -V BRANCH" returned non-zero status > awk: can't open file /usr/obj/usr/src/sys/sys/param.h > source line number 1 > make[2]: "/usr/src/Makefile.inc1" line 135: warning: "awk > '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' > /usr/obj/usr/src/sys/sys/param.h" returned non-zero status > >>> Old libraries removed +1 Running make delete-old delete-old-libs rips away libc++, libcxxrt, and important header files on head with nothing in make.conf nor src.conf. Do we need to explicitly specify WITH_LIBCPLUSPLUS=yes & friends in src.conf? If head is migrating away from g++ and libstdc++, then why remove libc++ during make delete-old{,-libs}? > On 29.08.2013 12:48, Ivan Klymenko wrote: > > Hello. > > In the interval between revisions >= r254887 to r255016 > > make delete-old broken > > > > root@nonamehost:/ # cd /usr/src/ > > root@nonamehost:/usr/src # yes|make delete-old > > make[1]: "tools/build/mk/tools/build/mk/OptionalObsoleteFiles.inc" line > > 1603: Malformed conditional (${MK_GNU_PATCH} == no) make[1]: Fatal > > errors encountered -- cannot continue make[1]: stopped in /usr/src > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/src > > > > I can not say exactly at what revision it happened - but it was noticed > > in revision r255016 -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-707044931-1383057637=:20642--