It is currently impossible to emerge dev-lang/icon. The ebuild script enters an infinite loop, writing /bin/sh: line 1: cd: gpacks/README: Datei oder Verzeichnis nicht gefunden You might notice that I set my system language to German. It translates to /bin/sh: line 1: cd: gpacks/README: file or directory not found The ebuild I'm referring to is /usr/portage/dev-lang/icon/icon-9.40.ebuild Reproducible: Always Steps to Reproduce: 1. emerge rsync 2. emerge dev-lang/icon Actual Results: The installation procedure enters an inifite loop, see above. Expected Results: Emerge the package dev-lang/icon. $ emerge info Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://212.219.247.13/sites/www.ibiblio.org/gentoo/ http://212.219.247.10/sites/www.ibiblio.org/gentoo/ http://212.219.247.21/sites/www.ibiblio.org/gentoo/ http://212.219.247.20/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt encode foomaticdb gif libg++ mad mikmod mpeg ncurses nls quicktime spell xml2 xmms xv zlib gdbm berkdb slang readline tetex bonobo svga tcltk guile ruby sdl gpm tcpd pam libwww ssl perl python esd imlib gnome gtk motif alsa arts cdr cups doc emacs gtk2 icc java jikes jpeg junit kde maildir mmx mozilla mysql oggvorbis opengl pdflib png qt truetype sse X"
what LANG variables do you have exported and what are they ? i can emerge icon just fine here ... if you set your LANG to C does it work ?
Ok, that was it. My usual setting is LANG=de_DE@euro. If I set LANG to C, I can emerge Icon just fine. Thanks for the hint, sorry for bothering you, I wasn't aware that the locale would make a difference, and the error message didn't help either.
np ... ive seen a few cases where LANG being set causes builds to act weird ... the question is, how difficult is a proper fix ...
hi portage people, what would be a proper fix for these things?
This is truly a mess. I use en_US and the icon ebuild becomes a fork bomb. Perhaps the icon ebuild should enforce LC_ALL=C?
This really isn't my area of expertice... All I can say is that if solution X fixes it, we can do it... but I would imagine it's more of an issue with icon than with the set language. Someone more informed about lang settings than I care to inform the rest of us? Do we have a lang guru in gentoo?
Re-assigning a really stale bug to maintainer. Please, close if this non-issue after 1 1/2 years of inactivity.
Ping... is there anybody out there?
Created attachment 74707 [details, diff] patch file to fix make looping I don't know why (probably is my setting) ls -l [a-z]* report files starting with lower and uppercase letter. Same problem happens to this package. It is cd'ing on the README files. I simply make a check removing the non-directory file from the search. As make Test and Sample do not work as a file is missing, I guess from upstream, I even fixed this. ebuild is coming too
Created attachment 74708 [details] ebuild for icon 9.40-r1 fixing loop during make
Created attachment 74715 [details, diff] A better fix, less intrusive with [:lower:] instead of [a-z] it just works
Patch are for stable. For what concern the unstable ebuild "9.4.2", it seems that upstream the bug was already fixed in a similar way.
9.4.3 is in the tree and incorporates all these fixes and some more (most notably installs stuff at sensible locations and works with modular X). It (the 9.4.3) is also submitted for stabilization. Closing this bug. George