Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12565 - xfree-4.2.99.3 ebuild doesn't install cleanly
Summary: xfree-4.2.99.3 ebuild doesn't install cleanly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-22 10:13 UTC by Garen
Modified: 2003-01-21 15:41 UTC (History)
3 users (show)

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 Garen 2002-12-22 10:13:34 UTC
At the beginning:
...
cat: write error: Broken pipe

Then the end:
>>> Regenerating /etc/ld.so.cache...
 * Creating FC font 
cache......                                                                 [ 
ok ]
 * Generating 
encodings.dir......                                                             
  [ ok ]
 * Creating fonts.scale files......
//usr/X11R6/bin/ttmkfdir: option requires an argument -- e
0
/usr/sbin/ebuild.sh: //usr/X11R6/lib/X11/fonts/encodings/encodings.dir: 
Permission denied
//usr/X11R6/bin/ttmkfdir: option requires an argument -- e
0
/usr/sbin/ebuild.sh: //usr/X11R6/lib/X11/fonts/encodings/encodings.dir: 
Permission denied       [ ok ]
 * Generating fonts.dir 
files......                                                             [ ok ]
 * Generating Xft 
Cache......                                                                   [ 
ok ]
 * Fixing 
permissions......                                                               
      [ ok ]

 * Switching to nvidia OpenGL 
interface...                                                      [ ok ]

Would guess that some simple typos are causing the prob.
Comment 1 Garen 2002-12-22 11:45:20 UTC
Btw, is there any particular reason why this ebuild doesn't seem to respect my 
parallel make settings?
Comment 2 SpanKY gentoo-dev 2002-12-22 14:13:23 UTC
because not all packages can build in parallel ... they break ...
Comment 3 Garen 2002-12-23 20:30:22 UTC
The latest one still seems to have problems:
>>> Regenerating /etc/ld.so.cache...
 * Creating FC font 
cache......                                                                 [ 
ok ]
 * Generating 
encodings.dir......                                                             
  [ ok ]
 * Creating fonts.scale files......
unexpected token 0x20 in 
file //usr/X11R6/lib/X11/fonts/encodings/large/jisx0212.1990-0.enc.gz, line 3
unexpected token 0x20 in 
file //usr/X11R6/lib/X11/fonts/encodings/large/jisx0212.1990-0.enc.gz, line 3
unexpected token 0x20 in 
file //usr/X11R6/lib/X11/fonts/encodings/large/gb2312.1980-0.enc.gz, line 3
unexpected token 0x20 in 
file //usr/X11R6/lib/X11/fonts/encodings/large/gb2312.1980-0.enc.gz, line 3
unexpected token 0x80 in file //usr/X11R6/lib/X11/fonts/encodings/large/gbk-
0.enc.gz, line 4
unexpected token 0x40 in file //usr/X11R6/lib/X11/fonts/encodings/large/gbk-
0.enc.gz, line 4
unexpected token 0x20 in 
file //usr/X11R6/lib/X11/fonts/encodings/large/jisx0212.1990-0.enc.gz, line 3
unexpected token 0x20 in 
file //usr/X11R6/lib/X11/fonts/encodings/large/jisx0212.1990-0.enc.gz, line 3
unexpected token 0x20 in 
file //usr/X11R6/lib/X11/fonts/encodings/large/gb2312.1980-0.enc.gz, line 3
unexpected token 0x20 in 
file //usr/X11R6/lib/X11/fonts/encodings/large/gb2312.1980-0.enc.gz, line 3
unexpected token 0x80 in file //usr/X11R6/lib/X11/fonts/encodings/large/gbk-
0.enc.gz, line 4
unexpected token 0x40 in file //usr/X11R6/lib/X11/fonts/encodings/large/gbk-
0.enc.gz, line 4    [ ok ]
 * Generating fonts.dir 
files......                                                             [ ok ]
 * Generating Xft 
Cache......                                                                   [ 
ok ]
 * Fixing 
permissions......                                                               
      [ ok ]

 * Switching to nvidia OpenGL 
interface...                                                      [ ok ]
>>> Regenerating /etc/ld.so.cache...
>>> x11-base/xfree-4.2.99.3-r1 merged.
Comment 4 Garen 2002-12-23 20:48:34 UTC
I was just going to revert back to 4.2.1-r1 and noticed this:
# emerge -k xfree-4.2.1-r2.tbz2
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-base/xfree-4.2.1-r2 to /
>>> extracting info
>>> extracting xfree-4.2.1-r2
cat: write error: Broken pipe
>>> Merging x11-base/xfree-4.2.1-r2 to /
>>> Merging x11-base/xfree-4.2.1-r2 to /
...
The rest went fine though.  Not sure wth is causing the "cat: write error: 
Broken pipe" thing.

Comment 5 Garen 2002-12-24 01:43:10 UTC
# emerge -k xfree-4.2.1.tbz2 
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-base/xfree-4.2.1 to /
>>> extracting info
>>> extracting xfree-4.2.1
cat: write error: Broken pipe
>>> Merging x11-base/xfree-4.2.1 to /

Same write error.  I'm mystified.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-24 13:13:13 UTC
Mozilla for one also have the pipe error if you use binary package I if I
remember correctly.  Problem with emerge and binary packages ?

Then, what version of portage Garen ?  Do you use the usermode patches ?
Comment 7 Garen 2002-12-24 13:19:24 UTC
I'm running portage-2.0.46-r2.

Just out of curiosity I had wondered if maybe it was a kernel bug related to 
pipes, so I tried reproducing the write error with different kernels (2.4.20, 
2.4.19) and got the same thing.

I'm not using User Mode Linux if thats what you were referring to by "user mode 
patches."  I'm using gentoo-sources-2.4.19-r10, and for the most part am 
tracking stable.

The only correlations I see so far is that it happens with really large binary 
packages.

Comment 8 Garen 2002-12-24 21:28:40 UTC
I've reproduced the Mozilla issue on my side too while emerge -k'ing:
>>> emerge (2 of 2) net-www/mozilla-1.2.1-r3 to /
>>> extracting info
>>> extracting mozilla-1.2.1-r3
cat: write error: Broken pipe
...
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 16:09:46 UTC
For comment #3, you need to update ttmkfdir to version 3.0.4 ...
Comment 10 Garen 2002-12-25 18:36:04 UTC
portage can't seem to find the tarball for ttmkfdir 3.0.4, resulting in a build 
failure:

>>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.4 to /
>>> Downloading 
http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/ttmkfdir-
3.0.4.tar.bz2
--16:36:32--  
http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/ttmkfdir-
3.0.4.tar.bz2
           => `/archive/portage/distfiles/ttmkfdir-3.0.4.tar.bz2'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:36:32 ERROR 404: Not Found.

>>> Downloading 
http://www.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ttmkfdir-
3.0.4.tar.bz2
--16:36:33--  
http://www.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ttmkfdir-
3.0.4.tar.bz2
           => `/archive/portage/distfiles/ttmkfdir-3.0.4.tar.bz2'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:36:33 ERROR 404: Not Found.

>>> Downloading http://www.gentoo.org/~azarah/ttmkfdir-3.0.4.tar.bz2
--16:36:33--  http://www.gentoo.org/%7Eazarah/ttmkfdir-3.0.4.tar.bz2
           => `/archive/portage/distfiles/ttmkfdir-3.0.4.tar.bz2'
Resolving www.gentoo.org... done.
Connecting to www.gentoo.org[216.110.76.37]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:36:33 ERROR 404: Not Found.

!!! Couldn't download ttmkfdir-3.0.4.tar.bz2. Aborting.
Comment 11 Garen 2002-12-30 16:19:25 UTC
It now builds fine, but the strange cat/write error is still there.
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-21 15:41:09 UTC
Open new bug if this is still an issue with -r2.