Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30738 - Cannot emerge dev-lang/icon. Infinite loop.
Summary: Cannot emerge dev-lang/icon. Infinite loop.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-09 02:05 UTC by Lutz Hühnken
Modified: 2006-03-27 04:34 UTC (History)
4 users (show)

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


Attachments
patch file to fix make looping (icon-9.40-r1-gentoo.diff,381 bytes, patch)
2005-12-14 06:03 UTC, Tupone Alfredo
Details | Diff
ebuild for icon 9.40-r1 fixing loop during make (icon-9.40-r1.ebuild,1.23 KB, text/plain)
2005-12-14 06:04 UTC, Tupone Alfredo
Details
A better fix, less intrusive (icon-9.40-r1-gentoo.diff,361 bytes, patch)
2005-12-14 06:15 UTC, Tupone Alfredo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lutz Hühnken 2003-10-09 02:05:20 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-10-09 05:13:42 UTC
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 ?
Comment 2 Lutz Hühnken 2003-10-09 11:18:21 UTC
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.

Comment 3 SpanKY gentoo-dev 2003-10-09 12:00:00 UTC
np ... ive seen a few cases where LANG being set causes builds to act weird
...

the question is, how difficult is a proper fix ...
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-15 00:06:42 UTC
hi portage people, what would be a proper fix for these things?
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2003-11-12 10:35:44 UTC
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?
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 12:29:35 UTC
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?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 05:42:45 UTC
Re-assigning a really stale bug to maintainer. Please, close if this non-issue
after 1 1/2 years of inactivity. 
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-10-25 14:59:18 UTC
Ping... is there anybody out there?
Comment 9 Tupone Alfredo gentoo-dev 2005-12-14 06:03:08 UTC
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
Comment 10 Tupone Alfredo gentoo-dev 2005-12-14 06:04:10 UTC
Created attachment 74708 [details]
ebuild for icon 9.40-r1 fixing loop during make
Comment 11 Tupone Alfredo gentoo-dev 2005-12-14 06:15:46 UTC
Created attachment 74715 [details, diff]
A better fix, less intrusive

with [:lower:] instead of [a-z] it just works
Comment 12 Tupone Alfredo gentoo-dev 2005-12-14 10:30:47 UTC
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.
Comment 13 George Shapovalov (RETIRED) gentoo-dev 2006-03-27 04:34:26 UTC
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