Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 354571

Summary: app-shells/bash-4.1_p9 -- make: execvp: ls: Too many levels of symbolic links
Product: Gentoo Linux Reporter: David Relson <relson>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
output of emerge --info
output of emerge -pqv
ebuild environment

Description David Relson 2011-02-12 05:09:36 UTC
building bash_4.1_p9 fails with
make: execvp: ls: Too many levels of symbolic links
make: *** [bash] Error 127
emake failed

Reproducible: Always

Steps to Reproduce:
1.emerge -au bash
2.
3.

Actual Results:  
make: execvp: ls: Too many levels of symbolic links
make: *** [bash] Error 127
emake failed
 * ERROR: app-shells/bash-4.1_p9 failed (compile phase):
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2766:  Called die
 * The specific snippet of code:
 *       emake || die "make failed";
Comment 1 David Relson 2011-02-12 05:11:15 UTC
Created attachment 262189 [details]
build log
Comment 2 David Relson 2011-02-12 05:13:08 UTC
Created attachment 262191 [details]
output of emerge --info
Comment 3 David Relson 2011-02-12 05:13:36 UTC
Created attachment 262195 [details]
output of emerge -pqv
Comment 4 David Relson 2011-02-12 05:14:36 UTC
Created attachment 262197 [details]
ebuild environment
Comment 5 SpanKY gentoo-dev 2011-02-15 21:59:26 UTC
i hate to ask the obvious, but do you have a bogus `ls` symlink somewhere ?  look in every dir specified in your PATH.

declare -x PATH="/usr/lib64/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.5.1:/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.4.2:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2:/usr/qt/3/bin:/opt/vmware/server/bin:/opt/vmware/vix/bin"
Comment 6 David Relson 2011-02-15 22:37:04 UTC
Good call.  It never crossed my mind to do the check you suggested.  "/usr/bin/ls -> ls" existed (with a date from last Oct).  I guess I need to review the first year course entitled "interpreting error messages".
Comment 7 SpanKY gentoo-dev 2011-02-17 05:28:28 UTC
you should scan bugzilla and recruit others to take the class with you ;)