Re: make delete-old broken

From: Trond Endrestøl <Trond.Endrestol_at_fagskolen.gjovik.no>
Date: Tue, 29 Oct 2013 15:40:37 +0100 (CET)
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_at_nonamehost:/ # cd /usr/src/
> > root_at_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.      |
+-------------------------------+------------------------------------+
Received on Tue Oct 29 2013 - 13:40:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC