Date: Fri, 17 May 2013 23:34:08 +0200 From: Tijl Coosemans <tijl@FreeBSD.org> To: "Simon J. Gerraty" <sjg@juniper.net> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r250699 - in head: share/mk usr.bin/make Message-ID: <5196A250.8030305@FreeBSD.org> In-Reply-To: <20130517193906.1675358097@chaos.jnpr.net> References: <201305161528.r4GFSc5t094460@svn.freebsd.org> <5196745E.7040905@FreeBSD.org> <20130517193906.1675358097@chaos.jnpr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 2013-05-17 21:39, Simon J. Gerraty wrote:
>> For me /usr/src is a symlink to /some/path and now if I build from
>> /usr/src some parts end up in /usr/obj/usr/src and other parts
>> in /usr/obj/some/path. It used to be the latter.
>
> This could be the result of some bits being built by the old freebsd
> make.
>
> Since the early stage of buildworld doesn't use the up to date
> bsd.own.mk I suspect that the install of bmake as
> $MAKEOBJDIRPREFIX$.CURDIR/make.$MACHINE/make
> may not be working.
>
> Ok, I just checked - it isn't, it gets installed there as bmake,
> which would explain the havior you see.
>
> Should be fixed now.
> Also bmake will now ignore PWD always - same as fmake.
Thanks, it seems to work now.
Bmake doesn't seem to like what portconf puts in make.conf though:
# Begin portconf settings
# Do not touch these lines
.if !empty(.CURDIR:M/usr/home/tijl/freebsd/ports*) && exists(/usr/local/libexec/portconf)
_PORTCONF!=/usr/local/libexec/portconf
.for i in ${_PORTCONF:S/|/ /g}
${i:S/%/ /g}
.endfor
.endif
# End portconf settings
When the output of /usr/local/libexec/portconf is empty make
warns about it:
make: "/etc/make.conf" line 115: warning: Couldn't read shell's output for
"/usr/local/libexec/portconf"
When it isn't empty, make fails on ${i:S/%/ /g} (evaluates to
VAR= or VAR=value):
make: "/etc/make.conf" line 117: Need an operator
make: Fatal errors encountered -- cannot continue
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)
iF4EAREIAAYFAlGWolUACgkQfoCS2CCgtiuRgQD/eVYRZKvY9DWnQ/bxlyFrAfDE
YHZPa32tKfYTGy4yWbcA/0idbDHvYXnOyy5zb9ETmK1wA9WxOhRp3gc0q4wY1hR3
=11Ik
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5196A250.8030305>
