Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57733 - xfree emerge infinite loop: writes, removes, then calls ucs2any on font files
Summary: xfree emerge infinite loop: writes, removes, then calls ucs2any on font files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 08:08 UTC by j c
Modified: 2004-07-21 06:41 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 j c 2004-07-20 08:08:08 UTC
When I try to emerge kde or just xfree the emerge falls into an infinite loop during the xfree-4.3.0-r6 ebuild. The display shows:
Writing 192 characters into file '<some font>-ISO8859-15.bdf'.
rm -f <some font>-ISO8859-15.bdf
../../../exports/bin/usc2any <some font>.bdf ../../../fonts/util/map-ISO8859-5 ISO8859-15

These three lines are repeated over and over for different fonts <some font> ranging from helv### to lut### to times### and then when it gets dont with the last font it restarts with the first one again. I ctrl-c to break the emerge. 

Reproducible: Always
Steps to Reproduce:
1. run: emerge xfree
2. --or--
3. run: emerge kde

Actual Results:  
the emerge starts, downloads the dependents, does some upacking, does some
compiling then eventually falls into the infinite loop as described above.

Expected Results:  
worked. I expected it to finish emergeing xfree so that I could get KDE onto the
laptop.

This is a brand new install of gentoo-sources 2.4.26 on a Dell CPxH Laptop
500MHz-CPU 20GB-HD, w/ a Xircom PCMCIA 10/100 card. I have run: emerge system,
etc-update on all /etc and emerge sync without any effeect on the problem.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-20 12:17:34 UTC
Attach a log showing the loop, please. That means it actually needs to have the same exact line twice.

Here's an example of normal activity from my log:

rm -f 4x6-ISO8859-1.bdf
../../../exports/bin/ucs2any 4x6.bdf ../../../fonts/util/map-ISO8859-1 ISO8859-1
Writing 223 characters into file '4x6-ISO8859-1.bdf'.
LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale  ../../../exports/bin/bdftopcf -t 4x6-ISO8859-1.bdf | gzip > 4x6-ISO8859-1.pcf.gz

Also, how long did you wait? The font compilation takes a while. I can't predict how long on a 500mhz machine, but have you successfully compiled X before on this machine? An estimate would be 4-5 hours, plus or minus an hour. This may be slower because of a slow laptop hard drive.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-20 12:21:09 UTC
Note that estimate was for all of X, not just the fonts.
Comment 3 j c 2004-07-20 12:32:01 UTC
the loop is obviously an infinite loop. I watched the program loop over about a 2 minute period after which the same exact output was reshown. I've left the emerge running over night too. This is the first time I have installed X, but I was made aware by a coworker that it would take some time. I have recently tried: USE="-X" emerge kde inorder to get kde without having to do xfree which mostlikely will not work but oh well. Once this emerge finishes I will setup ssh on the machine an get a log going on an "emerge xfree".
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-20 13:33:55 UTC
Don't tell me, show me. The facts are what matter, and I need to see them to help.
Comment 5 j c 2004-07-21 06:39:32 UTC
fixed, dont know how, dont care, finally worked. The looping lines in the log no longer have the "Writing 192 characters into..." line. I would bother to add the log but no need. Have a nice day....
Comment 6 j c 2004-07-21 06:41:06 UTC
fixed