Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671456 - sys-process/usbtop-0.2 : /.../ld: CMakeFiles/.../main.cpp.o: undefined reference to symbol pthread_condattr_setclock@@GLIBC_2.3.3
Summary: sys-process/usbtop-0.2 : /.../ld: CMakeFiles/.../main.cpp.o: undefined refere...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.71
  Show dependency tree
 
Reported: 2018-11-18 16:13 UTC by Toralf Förster
Modified: 2018-12-01 12:49 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.64 KB, text/plain)
2018-11-18 16:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,379.18 KB, text/plain)
2018-11-18 16:13 UTC, Toralf Förster
Details
environment (environment,132.14 KB, text/plain)
2018-11-18 16:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.80 KB, application/x-bzip)
2018-11-18 16:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.66 KB, application/x-bzip)
2018-11-18 16:14 UTC, Toralf Förster
Details
sys-process:usbtop-0.2:20181118-160826.log (sys-process:usbtop-0.2:20181118-160826.log,13.02 KB, text/plain)
2018-11-18 16:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.32 KB, application/x-bzip)
2018-11-18 16:14 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 2018-11-18 16:13:51 UTC
/usr/bin/x86_64-pc-linux-gnu-g++  -O2 -pipe -march=native  -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/usbtop.dir/buses.cpp.o CMakeFiles/usbtop.dir/console_output.cpp.o CMakeFiles/usbtop.dir/main.cpp.o CMakeFiles/usbtop.dir/pcap_compat.cpp.o CMakeFiles/usbtop.dir/should_stop.cpp.o CMakeFiles/usbtop.dir/tools.cpp.o CMakeFiles/usbtop.dir/usb_bus.cpp.o CMakeFiles/usbtop.dir/usb_device.cpp.o CMakeFiles/usbtop.dir/usb_stats.cpp.o  -o usbtop -lpcap -lboost_thread-mt -lboost_system-mt -lboost_chrono-mt -lboost_date_time-mt -lboost_atomic-mt 
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/usbtop.dir/main.cpp.o: undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3'
/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/usbtop.dir/build.make:210: src/usbtop] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_libressl_20181109-050110

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
  [5]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby24 (with Rubygems)
  [3]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.9.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO sys-process/usbtop
[ebuild   R   ] sys-process/usbtop-0.2
Comment 1 Toralf Förster gentoo-dev 2018-11-18 16:13:54 UTC
Created attachment 555634 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-18 16:13:57 UTC
Created attachment 555636 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-11-18 16:13:59 UTC
Created attachment 555638 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-11-18 16:14:02 UTC
Created attachment 555640 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-11-18 16:14:05 UTC
Created attachment 555642 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-11-18 16:14:08 UTC
Created attachment 555644 [details]
sys-process:usbtop-0.2:20181118-160826.log
Comment 7 Toralf Förster gentoo-dev 2018-11-18 16:14:10 UTC
Created attachment 555646 [details]
temp.tbz2
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-20 20:56:18 UTC
Adding kde@ (CMake maintainer). Ideally find_package(boost COMPONENT thread) should pull in required libraries.
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-21 08:08:04 UTC
This looks like cmake-side fix:
    https://gitlab.kitware.com/cmake/cmake/commit/bd831ed0948a1e99f573f0056f2bee5d3b21009e
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563479

Recently released cmake-3.13.0 contains the fix.
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2018-12-01 12:49:49 UTC
cmake-3.13.1 is in ::gentoo and builds usbtop just fine.