Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4971 - can't emerge various apps, symbolic link error
Summary: can't emerge various apps, symbolic link error
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-13 19:05 UTC by jonathan dart
Modified: 2011-10-30 22:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jonathan dart 2002-07-13 19:05:25 UTC
<log>
root@creep mail # emerge bzip2
...
gcc -fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -o bzip2-shared bzip2.c libbz2.so.1.0.2
rm -f libbz2.so.1.0
ln -s libbz2.so.1.0.2 libbz2.so.1.0
make: execvp: ln: Too many levels of symbolic links
make: *** [all] Error 127
gcc -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
gcc -fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -o bzip2-shared bzip2.c libbz2.so.1.0.2
rm -f libbz2.so.1.0
ln -s libbz2.so.1.0.2 libbz2.so.1.0
make: execvp: ln: Too many levels of symbolic links
make: *** [all] Error 127

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 3, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/sys-apps/bzip2/bzip2-1.0.2-r2.ebuild .
</log>

I've tried "emerge --clean rsync" which runs fine, but doesn't resolve the problem. There aren't any symlinks pointing to each other, or any symlinks period in /var/tmp (aside from 2 which are legit from bitchx's subfolder (bitchx also get's a similar error)).

Portage: Latest version Installed: 2.0.13

Do you need any other info?
Comment 1 jonathan dart 2002-07-13 19:08:34 UTC
I've also re-emerged fileutils.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-14 02:19:42 UTC
here's what you do
go into /usr/portage/sys-apps/portage/files
read the README.rescue file in there and follow the instructions.  then update
your portage again to 2.0.13

that should fix all of this.
Comment 3 jonathan dart 2002-07-14 14:13:09 UTC
I extracted the file as instructed then emerge -u portage. I also did emerge --clean rsync. I then attempted to emerge bzip2. I got the same error.
Comment 4 jonathan dart 2002-07-20 03:35:31 UTC
I installed demarc puresecure which made a symlink to ln. This is a problem with demarc puresecure, not portage. I removed the bad symlink to ln and the problem was resolved.