Dear Maintainer,
The apitrace package fails to build on hppa with the following error:
[ 99%] Linking CXX shared library egltrace.so
cd /<<PKGBUILDDIR>>/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=/<<PKGBUILDDIR>>=. -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=/<<PKGBUILDDIR>>/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&arch=hppa&ver=8.0%2Brepack-1&stamp=1568579337&raw=0
See the following for latest snappy build:
https://buildd.debian.org/status/fetch.php?pkg=snappy&arch=hppa&ver=1.1.7-1%2Bb1&stamp=1568571052&raw=0
Regards,
Dave Anglin