Bug#1057664: unshield: FTBFS on hppa - md5/libmd5.a(md5c.c.o) needs to compiled with -fPIC
John David Anglin
dave at parisc-linux.org
Wed Dec 6 21:15:51 GMT 2023
Source: unshield
Version: 1.5.1-1
Severity: normal
Tags: ftbfs
Dear Maintainer,
Build fails here:
/usr/bin/cc -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -shared -Wl,-soname,libunshield.so.0 -o libunshield.so.0.0.0 CMakeFiles/libunshield.dir/bswap.c.o CMakeFiles/libunshield.dir/component.c.o CMakeFiles/libunshield.dir/directory.c.o CMakeFiles/libunshield.dir/file.c.o CMakeFiles/libunshield.dir/file_group.c.o CMakeFiles/libunshield.dir/helper.c.o CMakeFiles/libunshield.dir/libunshield.c.o CMakeFiles/libunshield.dir/log.c.o /usr/lib/hppa-linux-gnu/libz.so convert_utf/libconvert_utf.a md5/libmd5.a
/usr/bin/ld: md5/libmd5.a(md5c.c.o): relocation R_PARISC_DPREL21L can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.41.50.20231202 internal error, aborting at ../../bfd/elf32-hppa.c:3848 in elf32_hppa_relocate_section
/usr/bin/ld: Please report this bug.
collect2: error: ld returned 1 exit status
make[3]: *** [lib/CMakeFiles/libunshield.dir/build.make:215: lib/libunshield.so.0.0.0] Error 1
Full log is here:
https://buildd.debian.org/status/fetch.php?pkg=unshield&arch=hppa&ver=1.5.1-1&stamp=1701894937&raw=0
The objects in libmda.a need to be compiled with -fPIC.
Regards,
Dave Anglin
-- System Information:
Debian Release: trixie/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)
Kernel: Linux 6.1.65+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
More information about the Pkg-games-devel
mailing list