Source: gnupg2 Version: 2.1.16-2 Severity: normal Dear Maintainer,
The build fails here: make[2]: Entering directory '/<<PKGBUILDDIR>>/build-gpgv-static/g10' gcc -Wall -Wno-pointer-sign -Wpointer-arith -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -pie -static -o gpgv gpgv.o build-packet.o compress.o free-packet.o getkey.o keydb.o keyring.o seskey.o kbnode.o mainproc.o armor.o mdfilter.o textfilter.o progress.o misc.o rmd160.o openfile.o keyid.o parse-packet.o cpr.o plaintext.o sig-check.o keylist.o pkglue.o ecdh.o verify.o ../kbx/libkeybox.a ../common/libcommon.a ../common/libgpgrl.a -lz -lgcrypt -L/usr/lib/hppa-linux-gnu -lgpg-error /usr/bin/ld: /usr/lib/gcc/hppa-linux-gnu/6/crtbeginT.o: relocation R_PARISC_DPREL21L can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/hppa-linux-gnu/6/crtbeginT.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:788: recipe for target 'gpgv' failed Full log is here: https://buildd.debian.org/status/fetch.php?pkg=gnupg2&arch=hppa&ver=2.1.16-2&stamp=1479760527 The build will complete successfully if "-pie" is removed from the following line in debian/rules: cd build-gpgv-static/g10 && $(MAKE) LDFLAGS="$$LDFLAGS -pie -static" gpg v PIE support is not well tested on hppa. Further, gcc on hppa is not built with --enable-pie-default. So, archive libraries and executable code are not built by default with -fPIE. So, in general, linking with -pie and -static isn't going to work. As things stand, the crt* files in gcc are not position independent except for the shared versions. They would be if gcc was built with --enable-pie-default. There is also an issue that the startup file from glibc is not position independent on hppa. So, for now, I think the best approach is to remove "-pie" from the above statement on hppa. Regards, Dave Anglin -- System Information: Debian Release: stretch/sid APT prefers buildd-unstable APT policy: (500, 'buildd-unstable'), (500, 'unstable') Architecture: hppa (parisc64) Kernel: Linux 4.8.12+ (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) -- no debconf information