[pkg-gnupg-maint] Bug#992573: libgpg-error relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5'
Simon McVittie
smcv at debian.org
Fri Aug 20 15:50:10 BST 2021
Control: severity -1 grave
On Fri, 20 Aug 2021 at 13:41:17 +0200, Simon Josefsson wrote:
> /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libgpg-error.a(libgpg_error_la-estream.o): warning: relocation against `stdin@@GLIBC_2.2.5' in read-only section `.text'
> /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libgpg-error.a(libgpg_error_la-init.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
I can reproduce a similar failure when trying to build ostree.
In testing:
$ ls -l /usr/lib/x86_64-linux-gnu/libgpg-error.so
lrwxrwxrwx 1 root root 39 Jul 1 2020 /usr/lib/x86_64-linux-gnu/libgpg-error.so -> /lib/x86_64-linux-gnu/libgpg-error.so.0
In unstable, it's a broken link on non-merged-/usr systems (which includes
all official buildd chroots):
$ ls -l /usr/lib/x86_64-linux-gnu/libgpg-error.so
lrwxrwxrwx 1 root root 22 Aug 20 01:47 /usr/lib/x86_64-linux-gnu/libgpg-error.so -> libgpg-error.so.0.32.0
This appears to have been caused by trying to fix the Lintian breakout-link
warning, which is an endless source of false-positives[1][2], in commit
7c408ba0[3].
For now, please revert that commit. I can NMU with a revert if necessary?
Thanks,
smcv
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968525
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971707
[3] https://salsa.debian.org/debian/libgpg-error/-/commit/7c408ba0968c14492b6f087c57c6d44af4878de6
More information about the pkg-gnupg-maint
mailing list