Compiling lang/gcc46 returns //lib/libc.a: cound not read symbols: Bad value

I enabled the DEBUG option for the build but there was no coredump, despite all my best intentions and segmentation faults.

I found the problem: merely reinstalling port with either # portmaster /usr/ports/java/openjdk6 or # portupgrade -f java/openjdk6 will fail to build the port, due to the leftover bootstrapper: # pkg_info -Ix openjdk shows the presence of the bootstrap-openjdk-r316538. That bootstrap isn't automatically removed, because it isn't registered properly into the database. That's why also PKGNG tools don't show it at all.

So far, I've been able to remove it with pkg_delete and rebuild java/openjdk6 successfully. I'll see what happens if I remove java/openjdk6 -- hopefully the bootstrap is removed with it. If it is, I will try to do it on my system as well, and cross my fingers it won't break anything :e
 
OK, I removed java/openjdk6 on my real world too # pkg delete -f openjdk6 and I installed successfully. I was also able to rebuild it after that. I don't know what was the problem. Before that portupgrade was complaining with [cmd=""]! (new compiler error)[/cmd], so maybe that's what it was.

That chroot'ed world I created sure came in handy :e maybe I'll keep it.

In any case, with great pleasure I'll mark this thread as [SOLVED]. @cpu82, thank you very much for your persistent help!
 
Last edited by a moderator:
Back
Top