Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123639 - emerging ghostscript fails
Summary: emerging ghostscript fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-21 10:28 UTC by Ethem Bilgin
Modified: 2006-02-21 23:29 UTC (History)
0 users

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


Attachments
My ghostscript-esp ebuild (ghostscript-esp-8.15.1.ebuild,3.58 KB, text/plain)
2006-02-21 12:46 UTC, Ethem Bilgin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ethem Bilgin 2006-02-21 10:28:51 UTC
Portage 2.1_pre4-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://10.0.0.1/ ftp://ftp.ankara.edu.tr/gentoo/ ftp://distfiles.gentoo.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://10.0.0.1/gentoo-portage"
USE="amd64 X a52 aac aalib alsa arts autoaddcvs avi berkdb bitmap-fonts ccache cdio cpudetection crypt cups dvb dvd dvdread eds emboss encode ffmpeg flac foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libcaca lzw lzw-tiff mp3 mpeg ncurses nls nvidia ogg opengl oss pam pdflib perl png python qt quicktime readline samba sandbox scanner sdl spell ssl stream svg tcpd tiff truetype-fonts type1-fonts usb userlocales v4l v4l2 vcd vorbis wxwindows xmms xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY



x86_64-pc-linux-gnu-gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int"  -O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_DIRENT_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AVE_PUTENV=1 -DHAVE_RINT=1 -DHAVE_SETENV=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1  -I./src -I./obj/../soobj -I./obj/../soobj -I./src  -o ./obj/../soobj/iccinit0.o -c ./src/iccinit0.c
./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - x86_64-pc-linux-gnu-gcc -L/usr/lib64  -L/usr/lib64  -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.15
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gs.o -s
cat ./obj/../soobj/ld.tr >>./obj/../soobj/ldt.tr
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - -Wl,-rpath,/usr/lib64 -L/usr/lib64 -lcupsimage -ltiff -ljpeg -lpng -lm -lz -lcups -lssl -lcrypto -lnsl -ldl -lm   -lpthread -lm
if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
/bin/sh <./obj/../soobj/ldt.tr
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: ./obj/../soobj/gp_unix.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
./obj/../soobj/gp_unix.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [bin/../sobin/libgs.so.8.15] Error 1
make[1]: Leaving directory `/var/tmp/portage/ghostscript-esp-8.15.1/work/espgs-8.15.1'
make: *** [so] Error 2

!!! ERROR: app-text/ghostscript-esp-8.15.1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-21 12:24:20 UTC
Try commenting out this line in the ebuild:

    use X && myconf="${myconf} --enable-dynamic"
Comment 2 Ethem Bilgin 2006-02-21 12:46:39 UTC
Created attachment 80373 [details]
My ghostscript-esp ebuild
Comment 3 Ethem Bilgin 2006-02-21 12:47:15 UTC
Comment on attachment 80373 [details]
My ghostscript-esp ebuild

There is no corresponding line to comment out.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-21 13:13:21 UTC
You are apparently using an old version of the ebuild, emerge sync and try again.
Comment 5 Ethem Bilgin 2006-02-21 23:29:06 UTC
After sync'ing system it emerged ghostscript-esp successfully.