Skip site navigation (1)Skip section navigation (2)
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
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2MQLQEHQASRVDUVIBPIMU
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

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.
>=20
> This could be the result of some bits being built by the old freebsd
> make.=20
>=20
> 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=20
> may not be working.
>=20
> Ok, I just checked - it isn't, it gets installed there as bmake,
> which would explain the havior you see.
>=20
> 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
=2Eif !empty(.CURDIR:M/usr/home/tijl/freebsd/ports*) && exists(/usr/local=
/libexec/portconf)
_PORTCONF!=3D/usr/local/libexec/portconf
=2Efor i in ${_PORTCONF:S/|/ /g}
${i:S/%/ /g}
=2Eendfor
=2Eendif
# 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 fo=
r
"/usr/local/libexec/portconf"

When it isn't empty, make fails on ${i:S/%/ /g} (evaluates to
VAR=3D or VAR=3Dvalue):

make: "/etc/make.conf" line 117: Need an operator
make: Fatal errors encountered -- cannot continue



------enig2MQLQEHQASRVDUVIBPIMU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iF4EAREIAAYFAlGWolUACgkQfoCS2CCgtiuRgQD/eVYRZKvY9DWnQ/bxlyFrAfDE
YHZPa32tKfYTGy4yWbcA/0idbDHvYXnOyy5zb9ETmK1wA9WxOhRp3gc0q4wY1hR3
=11Ik
-----END PGP SIGNATURE-----

------enig2MQLQEHQASRVDUVIBPIMU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5196A250.8030305>