Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354571 - app-shells/bash-4.1_p9 -- make: execvp: ls: Too many levels of symbolic links
Summary: app-shells/bash-4.1_p9 -- make: execvp: ls: Too many levels of symbolic links
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-12 05:09 UTC by David Relson
Modified: 2011-02-17 05:28 UTC (History)
0 users

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


Attachments
build log (app-shells:bash-4.1_p9:20110212-044320.log,111.61 KB, text/plain)
2011-02-12 05:11 UTC, David Relson
Details
output of emerge --info (emerge-info.txt,5.16 KB, text/plain)
2011-02-12 05:13 UTC, David Relson
Details
output of emerge -pqv (emerge-pqv.txt,287 bytes, text/plain)
2011-02-12 05:13 UTC, David Relson
Details
ebuild environment (environment,105.44 KB, text/plain)
2011-02-12 05:14 UTC, David Relson
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ;)