Summary: | ghostscript-esp-8.15.1 fails to build with link error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jose daLuz <jdaluz> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amd64, ct85711, priyantha, sbriesen, Sebastian, topillu |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jose daLuz
2006-02-06 21:26:50 UTC
I too am getting the same problem, also on amd64 system. [ebuild U ] app-text/ghostscript-esp-8.15.1 [7.07.1-r10] USE="X cups gtk threads% xml% -cjk -emacs" 0 kB + # *-dynmic breaks compiling without X, see bug 121749 but not having it + # breaks compiling on amd64, bug 121924 + use X && myconf="${myconf} --enable-dynamic" + That fixes it at least for USE=X .. but we still need a proper fix for the amd64 and USE=-X case. (In reply to comment #2) > + # *-dynmic breaks compiling without X, see bug 121749 but not having it > + # breaks compiling on amd64, bug 121924 > + use X && myconf="${myconf} --enable-dynamic" > + > > That fixes it at least for USE=X .. but we still need a proper fix for the > amd64 and USE=-X case. > When I used the '-fPIC' CFLAG then ghostscript-esp compiles without any problem. So it is an temporaly sollution, the devellopers of ghostscript have to change it so it can compile without the '-fPIC' CFLAG. yup, USE="-X" is the problem ony my X-less server. ;-) *** Bug 121985 has been marked as a duplicate of this bug. *** comment 2 worked for me; after I figured out where to put the extra line in. - use X && myconf="${myconf} --enable-dynamic" + if use X; then + myconf="${myconf} --enable-dynamic" + elif use amd64; then + append-flags -fPIC + fi I added another workaround here - that should fix it. reopen, binaries should not get compiled with -fPIC -fPIC applied unconditionally |