Package: libsnappy-dev
Version: 1.1.7-1
Severity: normal
Dear Maintainer,
The apitrace package fails to build on hppa with the following error:
[ 99%] Linking CXX shared library egltrace.so
cd /<>/obj-hppa-linux-gnu/wrappers && /usr/bin/cmake -E
cmake_link_script CMakeFiles/egltrace.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/<>=. -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden
-std=gnu++11 -Wall -Wno-sign-compare -fno-strict-aliasing -fno-rtti
-fno-exceptions -fmessage-length=0 -fno-omit-frame-pointer
-Wl,--version-script=/<>/wrappers/egltrace.version -static-libgcc
-static-libstdc++ -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -Wl,-z,defs -shared
-Wl,-soname,egltrace.so -o egltrace.so CMakeFiles/egltrace.dir/egltrace.cpp.o
CMakeFiles/egltrace.dir/dlsym.cpp.o libgltrace_common.a
../dispatch/libglproc_egl.a -lpthread -ldl ../helpers/libglhelpers.a libtrace.a
../lib/trace/libcommon.a ../lib/highlight/libhighlight.a ../lib/os/libos.a
-lbacktrace ../thirdparty/brotli/libbrotli_dec.a
../thirdparty/brotli/libbrotli_common.a ../lib/guids/libguids.a
../thirdparty/crc32c/libcrc32c.a -Wl,-Bstatic -lsnappy-shared
../dispatch/libglproc.a -Wl,-Bdynamic -ldl
/usr/bin/ld:
/usr/lib/gcc/hppa-linux-gnu/9/../../../hppa-linux-gnu/libsnappy-shared.a(snappy.cc.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.32.51.20190909 internal error,
aborting at ../../bfd/elf32-hppa.c:3954 in elf32_hppa_relocate_section
/usr/bin/ld: Please report this bug.
collect2: error: ld returned 1 exit status
See the following log for full build:
https://buildd.debian.org/status/fetch.php?pkg=apitrace=hppa=8.0%2Brepack-1=1568579337=0
See the following for latest snappy build:
https://buildd.debian.org/status/fetch.php?pkg=snappy=hppa=1.1.7-1%2Bb1=1568571052=0
Regards,
Dave Anglin
-- System Information:
Debian Release: bullseye/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)
Kernel: Linux 4.14.142+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libsnappy-dev depends on:
ii libsnappy1v5 1.1.7-1
libsnappy-dev recommends no packages.
libsnappy-dev suggests no packages.
-- no debconf information