Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806610 - net-libs/libupnp-1.14.7 - sample_util.c:(.text+<snip>): undefined reference to pthread_mutexattr_setkind_np
Summary: net-libs/libupnp-1.14.7 - sample_util.c:(.text+<snip>): undefined reference t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2021-08-05 20:19 UTC by Toralf Förster
Modified: 2021-10-03 13:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.87 KB, text/plain)
2021-08-05 20:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,190.70 KB, text/plain)
2021-08-05 20:19 UTC, Toralf Förster
Details
environment (environment,83.55 KB, text/plain)
2021-08-05 20:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.76 KB, application/x-bzip)
2021-08-05 20:19 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.92 KB, application/x-bzip)
2021-08-05 20:19 UTC, Toralf Förster
Details
net-libs:libupnp-1.14.7:20210805-201333.log (net-libs:libupnp-1.14.7:20210805-201333.log,77.00 KB, text/plain)
2021-08-05 20:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.41 KB, application/x-bzip)
2021-08-05 20:19 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-05 20:19:48 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2021-08-05 20:19:49 UTC
Created attachment 730533 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-05 20:19:51 UTC
Created attachment 730536 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-05 20:19:52 UTC
Created attachment 730539 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-05 20:19:54 UTC
Created attachment 730542 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-05 20:19:55 UTC
Created attachment 730545 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-05 20:19:56 UTC
Created attachment 730548 [details]
net-libs:libupnp-1.14.7:20210805-201333.log
Comment 7 Toralf Förster gentoo-dev 2021-08-05 20:19:58 UTC
Created attachment 730551 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2021-10-03 13:16:12 UTC
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(-)