make delete-old oddity on stable/10
Trond Endrestøl
Trond.Endrestol at fagskolen.gjovik.no
Tue Oct 29 18:32:49 UTC 2013
On Tue, 29 Oct 2013 20:21+0200, Kimmo Paasiala wrote:
> On Tue, Oct 29, 2013 at 11:24 AM, Kimmo Paasiala <kpaasial at gmail.com> wrote:
> > freebsd10 /usr/src # uname -a
> >
> > FreeBSD freebsd10.rdnzl.info 10.0-BETA2 FreeBSD 10.0-BETA2 #0 r257267:
> > Mon Oct 28 22:42:23 EET 2013
> > kimmo at freebsd10.rdnzl.info:/usr/obj/usr/src/sys/GENERIC i386
> >
> > freebsd10 /usr/src # make delete-old
> >
> >>>> Removing old files (only deletes safe to delete libs)
> >
> > 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
> >
> > 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 directories removed
> >
> > To remove old libraries run 'make delete-old-libs'.
> >
> > freebsd10 /usr/src #
> >
> >
> > My src.conf and make.conf are both empty.
> >
> > -Kimmo
>
> No one else noticed this? I can't be the only one doing 'make
> delete-old delete-old-libs' on every update.
>
> Bit more information: I have tried cleaning /usr/obj before doing a
> new cycle of 'make build world build kernel', no difference.
I see similar messages on head.
A workaround is to run these two commands
mkdir /usr/obj/usr/src/release
ln -s /usr/src/sys/sys /usr/obj/usr/src/sys/sys
prior to running make delete-old{,-libs}.
--
+-------------------------------+------------------------------------+
| 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. |
+-------------------------------+------------------------------------+
More information about the freebsd-stable
mailing list