Hi, after upgrading 10-STABLE to r267142 and going to r356862 in ports, I now have a problem building ports: The ports that I have tried to build so far failed after the configuration build with env: NO_PIE: No such file or directory e.g. nasm: # portmaster nasm .... config.status: creating doc/Makefile config.status: creating config.h config.status: executing default-1 commands ===> Building for nasm-2.10.09_1,1 env: NO_PIE: No such file or directory ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/devel/nasm Any hints where I should start to look? Wolfgang
Wolfgang Zenker <wolfgang at lyxys.ka.sub.org> wrote:> Hi, > > after upgrading 10-STABLE to r267142 and going to r356862 in ports, > I now have a problem building ports: The ports that I have tried to > build so far failed after the configuration build with > > env: NO_PIE: No such file or directoryYep, same here. Seems to be a cockup in bsd.port.mk as described here: http://www.opendevs.org/nqnmm/env-no-pie-no-such-file-or-directory.html Cheers, Jamie
On 6/6/14, 4:14 PM, Wolfgang Zenker wrote:> Hi, > > after upgrading 10-STABLE to r267142 and going to r356862 in ports, > I now have a problem building ports: The ports that I have tried to > build so far failed after the configuration build with > > env: NO_PIE: No such file or directoryYes, edit ports/Mk/bsd.port.mk and change it like this if it's not already fixed: Index: bsd.port.mk ==================================================================--- bsd.port.mk (revision 356863) +++ bsd.port.mk (working copy) @@ -1632,7 +1632,7 @@ .endif # XXX PIE support to be added here -MAKE_ENV+= NO_PIE +MAKE_ENV+= NO_PIE=y .if defined(NOPORTDOCS) PLIST_SUB+= PORTDOCS="@comment " -- Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 552 bytes Desc: OpenPGP digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140606/9904bf22/attachment.sig>