Summary: | emerged binutils-2.15.92.0.2-r1, now nothing compiles | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gustav Schaffter <gustav.schaffter> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | Gustav_Schaffter |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gustav Schaffter
2005-01-21 11:10:39 UTC
I just updated from binutils-2.15.94.0.2 to binutils-2.15.94.0.2.2. After that update, I was not able to compile anything, and I was given just the same errors as mentioned above (C compiler cannot create executables and so on). I tried to emerge the binary package of my "old" version of binutils (2.15.94.0.2) and that gave me the following message: !!! Cannot write to '/usr/i686-pc-linux-gnu/lib/ldscripts'. !!! Please check permissions and directories for broken symlinks. !!! You may start the merge process again by using ebuild: !!! ebuild /usr/portage/sys-devel/binutils/binutils-2.15.92.0.2-r1.ebuild merge !!! And finish by running this: env-update I looked at it: ll /usr/i686-pc-linux-gnu/lib/ldscripts lrwxrwxrwx 1 root root 57 31. Dez 00:15 /usr/i686-pc-linux-gnu/lib/ldscripts -> /usr/lib/binutils/i686-pc-linux-gnu/2.15.94.0.2/ldscripts hardcore ~ # ll /usr/lib/binutils/i686-pc-linux-gnu/2.15.94.0.2/ldscripts ls: /usr/lib/binutils/i686-pc-linux-gnu/2.15.94.0.2/ldscripts: Datei oder Verzeichnis nicht gefunden The last means: file or directory not found. Should be so because I want to use 2.15.94.0.2.2... but there is no symlink to that point?!?! So MY problem was a bad symlink after the update from binutils-2.15.94.0.2 to binutils-2.15.94.0.2.2. After I did a "ln -sf /usr/lib/binutils/i686-pc-linux-gnu/2.15.94.0.2.2/ldscripts /usr/i686-pc-linux-gnu/lib/ldscripts" everything worked again. I tried to reproduce the bug by merging binutils-2.15.94.0.2 and then updating to binutils-2.15.94.0.2.2 and YES, it IS reproducable... there is a bad symlink after updating to binutils-2.15.94.0.2.2 Juergen: your bug has nothing to do with this one ... also, binutils shouldnt be installing anything into /usr/ia64-unknown-linux-gnu/lib since binutils-config handles that ... besides, not like you can complain *too much* about versions that have been KEYWORD-ed -* :P Gustav: any chance you have binutils binary packages laying around ? just in case Gustav's machine is still broken... rescue-bins: http://dev.gentoo.org/~avenj/bins/ OK. You're my hero!!! After having installed the binutils package found at avenj, I could start compiling again. I have since compiled some 300 MB of source code. Excellent. My day, week, month and (almost) year are all saved. I have even re-installed the 'real' binutils package, then re-compiled a good set of applications with my now working binutils. The one thing that comes to mind: Is this wonderful source of binary rescue-packages officially advertised somewhere on the Gentoo site? If not, shouldn't it be so? Anyway, I'm back in business here. Thanks, Nicolai. Best regards Gustav |