FreeBSD 10.0-CURRENT: messed up the ports and system (gcc46 won't compile) and need to repair - how?

Manfred Antar null at pozo.com
Sun Oct 9 16:03:15 UTC 2011


At 05:23 AM 10/9/2011, Hartmann, O. wrote:
>Since the change of one of my boxes to FreeBSD 10.0 and some
>accindetally build of ports without the suggested settings for UNAME_r
>before building ports, I think I've messed up with some ports and need
>some advice how to fixate the problem.
>
>Some develish motivation drove me today building gcc46/gotoblas and gcc
>fails to build with the below shown message. But this is not the only
>port that rushes into problems.
>
>Thing is: I do not know wether I messed up the system or this is simply
>the very often mentioned problem due to the two-digit versioning of the
>most recent CURRENT.
>
>Except ANJUTA, which complains about a non-working subversion module due
>to some lack in a libgdbm port (which also won't build) everything works
>fine and I can stand this for the next one or two weeks to wait for a
>general fixation, but it would be a good attempt, I think, to start
>fixating my messed up system now, if there is any real mess I did.
>
>Any advice?
>
>
>Thanks in advance.
>
>Oliver
>
>P.S.: On FreeBSD 9.0-BETA3 everything runs well, except the usual little
>horror with legacy gcc 4.2 versus CLANG. So I expect the problems to be
>real 10.0-issues.
>
>===
>
>
>checking for suffix of object files... configure: error: in
>`/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libgcc':
>configure: error: cannot compute suffix of object files: cannot compile
>See `config.log' for more details.
>gmake[2]: *** [configure-stage1-target-libgcc] Error 1
>gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build'
>gmake[1]: *** [stage1-bubble] Error 2
>gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
>gmake: *** [bootstrap-lean] Error 2
>*** Error code 1
>
>Stop in /usr/ports/lang/gcc46.
>*** Error code 1
>
>Stop in /usr/ports/lang/gcc46.
>
>===>>> make failed for lang/gcc46
>===>>> Aborting update
>
>===>>> Update for lang/gcc46 failed
>===>>> Aborting update
>
>_______________________________________________


Did you rebuild ports/devel/binutils after change to 10.0 current.
I was having same problem with gcc45 , then i rebuilt binutils with uname_r 9.0-Current and it went away.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the freebsd-ports mailing list