rdlibtool: link: x86_64-pc-linux-gnu-gcc src/.libs/libsrs_alt.a srs.o lib/libcompat.a -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/srs /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: srs.o: in function `do_forward': srs.c:(.text+0x1c9): undefined reference to `srs_forward' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: srs.c:(.text+0x1d5): undefined reference to `srs_geterrormsg' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: srs.o: in function `do_reverse': srs.c:(.text+0x2a0): undefined reference to `srs_reverse' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-20210316-095736 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.3.1 [3] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-bin-1.50.0 [2] rust-1.50.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sat Mar 27 06:05:48 UTC 2021 emerge -qpvO mail-filter/libsrs_alt [ebuild N ] mail-filter/libsrs_alt-1.0-r1 USE="-static-libs"
Created attachment 694749 [details] emerge-info.txt
Created attachment 694752 [details] emerge-history.txt
Created attachment 694755 [details] environment
Created attachment 694758 [details] etc.portage.tar.bz2
Created attachment 694761 [details] logs.tar.bz2
Created attachment 694764 [details] mail-filter:libsrs_alt-1.0-r1:20210327-062734.log
Created attachment 694767 [details] temp.tar.bz2
Created attachment 695055 [details, diff] Patch to fix the undefined references. Upstream seems gone, but this patch fixes the undefined references. The issues are the project is not linking with the .la files, they have .libs in the paths and they are incorrectly using LDFLAGS and LDADD.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf61691ddfac7700856869d533f507748aaf7b7 commit 5cf61691ddfac7700856869d533f507748aaf7b7 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-05-04 19:34:16 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-05-04 19:34:52 +0000 mail-filter/libsrs_alt-1.0-r1: fix link, thanks orbea, bug #778575 Closes: https://bugs.gentoo.org/778575 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org> .../libsrs_alt/files/libsrs_alt-1.0-link-fix.patch | 32 ++++++++++++++++++++++ mail-filter/libsrs_alt/libsrs_alt-1.0-r1.ebuild | 9 ++++-- 2 files changed, 38 insertions(+), 3 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe4921e864ce0dfee0d60c5bec9a18aae7475cb commit efe4921e864ce0dfee0d60c5bec9a18aae7475cb Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-05-04 19:39:09 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-05-04 19:39:26 +0000 mail-filter/libsrs_alt-1.0-r1: really do apply patches Bug: https://bugs.gentoo.org/778575 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org> mail-filter/libsrs_alt/libsrs_alt-1.0-r1.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)