Date: Fri, 1 Jul 2016 18:47:05 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Allan Jude <allanjude@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: Unable to 'make config' ports under FreeBSD current Message-ID: <20160701164704.f7i6kc7k5dpywg2s@ivaldir.etoilebsd.net> In-Reply-To: <8074a8dd-de52-9767-ac43-f9dba766a369@freebsd.org> References: <20160701145632.GA8164@gta.com> <8074a8dd-de52-9767-ac43-f9dba766a369@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Fri, Jul 01, 2016 at 11:16:45AM -0400, Allan Jude wrote: > On 2016-07-01 10:56, Larry Baird wrote: > > I recently installed FreebSD current using a snapshot ISO. I then used svnlite > > to bring FreeBSD source up to date. I then used portsnap fetch extract to > > bring my ports tree up todate. I was surprised I got errors doing 'make config' > > for a port. I assumed it was a transitory problem. I have brought my system > > and ports up to date several times over the last few weeks, but the issue > > remains. The fix to the Makefile for the port to fix the issue is pretty > > simple. I figured I would soon see other people complainging about the issue. > > Since nobody has, I wonder if it is something in my environment. Is anybody > > else having this issue? > > > > uname -a shows I am running > > > > FreeBSD snake32.gta.com 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #0 r302305: Fri Jul 1 03:45:06 EDT 2016 root@snake32.gta.com:/usr/obj/usr/src/sys/GENERIC-NODEBUG i386 > > > > > > make config > > ===> Building/installing dialog4ports as it is required for the config dialog > > ===> Cleaning for dialog4ports-0.1.5_2 > > ===> License BSD2CLAUSE accepted by the user > > ===> dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg - found > > ===> Fetching all distfiles required by dialog4ports-0.1.5_2 for building > > ===> Extracting for dialog4ports-0.1.5_2 > > => SHA256 Checksum OK for dialog4ports-0.1.5.tar.gz. > > ===> Patching for dialog4ports-0.1.5_2 > > ===> Configuring for dialog4ports-0.1.5_2 > > ===> Building for dialog4ports-0.1.5_2 > > make[3]: "/usr/src/share/mk/src.libnames.mk" line 390: /usr/ports/ports-mgmt/dialog4ports/work/dialog4ports-0.1.5: These libraries should be LIBADD+=foo rather than DPADD/LDADD+=-lfoo: ncursesw m dialog > > ===> Compilation failed unexpectedly. > > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to > > the maintainer. > > *** Error code 1 > > > > Stop. > > make[2]: stopped in /usr/ports/ports-mgmt/dialog4ports > > *** Error code 1 > > > > Stop. > > make[1]: stopped in /usr/ports/ports-mgmt/dialog4ports > > ===> Options unchanged > > > > > > Are you sure the portsnap process finished successfully? It appears to > be trying to use the FreeBSD 9.x/10.x syntax for adding the dependencies > of dialog4ports, rather than the 11.x method. > Nope the opposite :) dialog4ports uses bsd.prog.mk, somehow his make ends up using the one from the source tree rather than the one from /usr/share/mk. The one from the sourcetree is having src.libnames.mk which is not supposed to be used Larry do you have any variable ENV or /etc/make.conf that defines MAKESYSPATH to /usr/src/share/mk? Best regards, Bapt [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXdp6IAAoJEGOJi9zxtz5a50UQAMsxIJ3Mfha6yNlMGG8SjSJl ndM5w1DnpGa+OFjrNUuD6/4SYYHM4iXm8hpZ+Pp4BIAwjN/qbVPYRGg/13oR6ciH Vv5b9Rxpj8e+TywwRHxJqTW4NSEtwFhC9B8vBk8RkkJZW0oaSBDpMZKoB7qgultO mHARbqpw1OZO15ASV3ORWmrkMMrraBv7YguCrTfoWnwCyodxoYhR5jx7EHgThJxY HKUrOxntR2ZwwUcbu+BBZd0np6M2jl2xh98Otlio16nqqNHkB8EliXo0hbzBNWq4 I9nH9/qUU1fntUEMA5xKcHiB37zqt4/yvWhbZzBVk4XVLrr8uFWBDMUmt11LFC1b TVrybpau3/XLdM96SEFGmxuqI69lwOYoXDYP8XBJrzX8aNKN5g+gYTFgERQXrmsx +iBfUG1lnU2BtfW/Yo9QZyLRI69NVc4BVWK0YiqqYQgMvOTNSp/orgU36BKUoVQ7 K9t6WHAOOXKwK7mFPX6teuL/kdTzP7l0r1CzwvbMNyf/HXg8OHaFLA50RVxss9UQ 2kkVteXPVU2AKHBv/1OTcKNuPuqk4S2fXs6IuChqo7ZYGuKKXToQFzvM5jnMPyex MqouxSNR3MpZBviXM0xxcc6rcIZ9U1T/u+LbJTG5d87IQMWYHUqXFw0+5cnWi1GC cyrC1vhHhlU++e47AOVH =0cSw -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160701164704.f7i6kc7k5dpywg2s>
