Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265795 - app-text/texlive-core-2008-r4: fails to emerge on 64-bit userland
Summary: app-text/texlive-core-2008-r4: fails to emerge on 64-bit userland
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-11 18:12 UTC by Jonathan Morton
Modified: 2009-04-12 22:36 UTC (History)
0 users

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


Attachments
emerge --info from amd64 (amd64.info,10.96 KB, text/plain)
2009-04-11 18:21 UTC, Jonathan Morton
Details
emerge --info from ppc64 (ppc64.info,4.31 KB, text/plain)
2009-04-11 18:22 UTC, Jonathan Morton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Morton 2009-04-11 18:12:24 UTC
When trying to emerge texlive-core on either amd64 or ppc64, both with 64-bit userland, the build process crashes with the following messages (example from amd64):

creating dvips
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -DNeedFunctionPrototypes -DSHIFTLOWCHARS  -march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer  -c squeeze.c
x86_64-pc-linux-gnu-gcc -o squeeze -Wl,-O1   squeeze.o
./squeeze <tex.lpro >t-tex.pro
mv t-tex.pro tex.pro
./squeeze <texps.lpro >t-texps.pro
mv t-texps.pro texps.pro
/bin/sh ./texc.script ./tex.lpro texc.lpro
./texc.script: line 12:  7382 Segmentation fault      ed $1  <<edscriptend
/% begin code for uncompressed fonts only/d
.,/% end code for uncompressed fonts only/d
.,/% end of code for unpacking compressed fonts/s/% //
w $2
edscriptend

make[2]: *** [texc.lpro] Error 139
make[2]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2008-r4/work/texlive-20080816-source/texk/dvipsk'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2008-r4/work/texlive-20080816-source/texk'
make: *** [all] Error 1


Reproducible: Always

Steps to Reproduce:
1. Have 64-bit userland.
2. Emerge app-text/texlive-core-2008-r4.  Or any of the myriad packages that depend on it somehow.
3. There is no step 3.

Actual Results:  
Something segfaults in the build process, halting it.

Expected Results:  
Texlive, and all the gunge that depends on it as of last week, installing successfully.


The ptex ebuild dies with the same messages, if I hack my useflags and keywords far enough to make it the default dependency for tex stuff.

Since it appears to be 'ed' that actually crashes, I tried upgrading ed from 1.0 to 1.3.  This had no effect.

Building texlive-core works fine on a ppc32 machine.  Haven't tried it on x86 yet, but I think you'd hear about it if that had broken.

I don't even use tetex myself - this is just pulled in by other stuff!
Comment 1 Jonathan Morton 2009-04-11 18:21:36 UTC
Created attachment 188000 [details]
emerge --info from amd64
Comment 2 Jonathan Morton 2009-04-11 18:22:07 UTC
Created attachment 188002 [details]
emerge --info from ppc64
Comment 3 Sebastian Luther (few) 2009-04-12 05:28:27 UTC
I installed texlive-core-2008-r4 four days ago without problems on amd64. You should try again with -O2.
Comment 4 Sebastian Luther (few) 2009-04-12 05:46:15 UTC
Tried it with -O3 and works for me. Maybe it's your gcc. Try again with the stable version.
Comment 5 Jonathan Morton 2009-04-12 06:11:35 UTC
(In reply to comment #4)
> Tried it with -O3 and works for me. Maybe it's your gcc. Try again with the
> stable version.

Okay, I do seem to have a keyworded gcc on the amd64 box.  I'll try the older version.

But that doesn't explain the identical failure on ppc64, as that machine is still running gcc 4.1.2.  Or maybe that is *too* old?
Comment 6 Sebastian Luther (few) 2009-04-12 07:20:42 UTC
Could you please attach the full build.log? If it is really ed that crashes, try rebuilding it with -O2.
Comment 7 Jonathan Morton 2009-04-12 20:36:41 UTC
(In reply to comment #6)
> Could you please attach the full build.log? If it is really ed that crashes,
> try rebuilding it with -O2.

On both machines, rebuilding sys-apps/ed with more conservative CFLAGS (basically, CPU -O2 -pipe) allowed texlive-core to compile successfully.

Which means I now have to file a bug against *ed* of all things.
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-12 22:36:27 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Could you please attach the full build.log? If it is really ed that crashes,
> > try rebuilding it with -O2.
> 
> On both machines, rebuilding sys-apps/ed with more conservative CFLAGS
> (basically, CPU -O2 -pipe) allowed texlive-core to compile successfully.

Marking this bug as INVALID then.