On 2011-12-07 05:56, O. Hartmann wrote:
On FreeBSD 10.0-CURRENT/amd64 I run into the error shown below when updating the installation of the gcc46 compiler suite.
If you report port compilation errors, always use DISABLE_MAKE_JOBS, otherwise the actual error message will drown in multithreaded spam. :) (And even if you would save and post the full build log, it is sometimes still impossible to see which exact command failed and why.) That said, you are most likely running into an issue with the fix for FreeBSD 10-CURRENT in bsd.port.mk, causing the lto-plugin stage configure script to fail. This is because the gcc ports unpack their source code into ${WRKDIR}/gcc-${VERSIONSTRING}, and then override WRKSRC to ${WRKDIR}/build. Since bsd.port.mk only applies the run-autotools-fixup to ${WRKSRC}, the gcc source itself is not properly fixed up. You can try the attached patch, which fixes this (and fixes it for all other ports that override WKRSRC).
Index: Mk/bsd.port.mk =================================================================== RCS file: /home/mirror/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.699 diff -u -r1.699 bsd.port.mk --- Mk/bsd.port.mk 9 Nov 2011 08:53:12 -0000 1.699 +++ Mk/bsd.port.mk 7 Dec 2011 08:16:56 -0000 @@ -3663,7 +3663,7 @@ run-autotools-fixup: # Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. .if ${OSVERSION} >= 1000000 && !defined(WITHOUT_FBSD10_FIX) - -@for f in `${FIND} ${WRKSRC} -type f \( -name config.libpath -o \ + -@for f in `${FIND} ${WRKDIR} -type f \( -name config.libpath -o \ -name config.rpath -o -name configure -o -name libtool.m4 -o \ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \ -name acinclude.m4 \)` ; do \
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"