Bug#815115: ghostscript: FTBFS on hppa: libpng.a: error adding symbols: Bad value
Package: ghostscript
Version: 9.18~dfsg-3
Severity: normal
Dear Maintainer,
On several arches, the following or a similar error occurs building 9.18~dfsg-4:
./soobj/aux/echogs -a ./soobj/ldt.tr -s - -ldl -lm -lidn -lpaper -ltiff -rdynamic -ldl -lfontconfig -lfreetype -lopenjp2 -lpthread -lm
if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
PSI_FEATURE_DEVS= 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= \
DEVICE_DEVS_EXTRA= \
/bin/sh <./soobj/ldt.tr
/usr/bin/ld: /usr/lib/gcc/hppa-linux-gnu/5/../../../hppa-linux-gnu/libpng.a(libpng12_la-png.o): relocation R_PARISC_DPREL21L can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/hppa-linux-gnu/5/../../../hppa-linux-gnu/libpng.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
base/unixlink.mak:63: recipe for target 'sobin/libgs.so.9.18' failed
For full log, see:
https://buildd.debian.org/status/fetch.php?pkg=ghostscript&arch=hppa&ver=9.18%7Edfsg-4&stamp=1455706435
Regards,
Dave Anglin
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: hppa (parisc64)
Kernel: Linux 3.18.26+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages ghostscript depends on:
ii debconf [debconf-2.0] 1.5.58
ii libc6 2.21-9
ii libgs9 9.18~dfsg-3
Versions of packages ghostscript recommends:
ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4.2
Versions of packages ghostscript suggests:
ii ghostscript-x 9.18~dfsg-3
-- no debconf information
Reply to: