/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: common/tv_combo-sample_util.o: in function `SampleUtil_Initialize': sample_util.c:(.text+0x41): undefined reference to `pthread_mutexattr_setkind_np' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:474: tv_combo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: link: x86_64-pc-linux-gnu-gcc -pthread -pipe -march=native -fno-diagnostics-color -O2 -Os -Wall -Wextra -Wpedantic -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/tv_device common/tv_device-sample_util.o common/tv_device-tv_device.o linux/tv_device-tv_device_main.o -Wl,--as-needed ../../upnp/.libs/libupnp.so /var/tmp/portage/net-libs/libupnp-1.14.7/work/pupnp-release-1.14.7/ixml/.libs/libixml.so ../../ixml/.libs/libixml.so -pthread ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j3-20210804-092108 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.54.0 * The following VMs are available for generation-2: *) AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-jre-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 1a9f3afee56a09d7a166682196ffd713f2616084 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Aug 5 19:21:10 2021 +0000 2021-08-05 19:21:08 UTC emerge -qpvO net-libs/libupnp [ebuild N ] net-libs/libupnp-1.14.7 USE="blocking-tcp ipv6 samples -debug -doc -reuseaddr -static-libs"
Created attachment 730533 [details] emerge-info.txt
Created attachment 730536 [details] emerge-history.txt
Created attachment 730539 [details] environment
Created attachment 730542 [details] etc.portage.tar.bz2
Created attachment 730545 [details] logs.tar.bz2
Created attachment 730548 [details] net-libs:libupnp-1.14.7:20210805-201333.log
Created attachment 730551 [details] temp.tar.bz2
I suspect https://github.com/pupnp/pupnp/commit/433b91de81f8f0b7c44423bab61de528d440905b fixes it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0f6588a69a4660646663a71dc0436cb3f8db2e0 commit e0f6588a69a4660646663a71dc0436cb3f8db2e0 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-10-03 13:15:57 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-10-03 13:15:57 +0000 net-libs/libupnp: fix compilation with glibc-2.34 Closes: https://bugs.gentoo.org/806610 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../libupnp/files/libupnp-1.14.7-glibc-2.34.patch | 32 ++++++++++++++++++++++ net-libs/libupnp/libupnp-1.14.7.ebuild | 5 ++-- 2 files changed, 34 insertions(+), 3 deletions(-)