Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788103 - net-wireless/uhd-4.0.0.0 - /.../rpc.hpp: error: sleep_for is not a member of std::this_thread (maybe gcc-11 related)
Summary: net-wireless/uhd-4.0.0.0 - /.../rpc.hpp: error: sleep_for is not a member of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL: https://github.com/EttusResearch/uhd/...
Whiteboard: fixed in 4.1.0.4
Keywords: PullRequest
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-04 07:20 UTC by Toralf Förster
Modified: 2021-11-06 22:25 UTC (History)
7 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.87 KB, text/plain)
2021-05-04 07:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,336.92 KB, text/plain)
2021-05-04 07:21 UTC, Toralf Förster
Details
environment (environment,167.53 KB, text/plain)
2021-05-04 07:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.43 KB, application/x-bzip)
2021-05-04 07:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.46 KB, application/x-bzip)
2021-05-04 07:21 UTC, Toralf Förster
Details
net-wireless:uhd-4.0.0.0:20210504-043917.log (net-wireless:uhd-4.0.0.0:20210504-043917.log,389.95 KB, text/plain)
2021-05-04 07:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,46.78 KB, application/x-bzip)
2021-05-04 07:21 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-05-04 07:20:58 UTC
                 from /var/tmp/portage/net-wireless/uhd-4.0.0.0/work/uhd-4.0.0.0/host/lib/usrp/dboard/e3xx/e3xx_radio_control_impl.cpp:8:
/var/tmp/portage/net-wireless/uhd-4.0.0.0/work/uhd-4.0.0.0/host/lib/include/uhdlib/utils/rpc.hpp: In function ‘bool {anonymous}::await_rpc_connected_state(std::shared_ptr<rpc::client>, std::chrono::milliseconds)’:
/var/tmp/portage/net-wireless/uhd-4.0.0.0/work/uhd-4.0.0.0/host/lib/include/uhdlib/utils/rpc.hpp:28:27: error: ‘sleep_for’ is not a member of ‘std::this_thread’
   28 |         std::this_thread::sleep_for(std::chrono::milliseconds(1));
      |                           ^~~~~~~~~
/var/tmp/portage/net-wireless/uhd-4.0.0.0/work/uhd-4.0.0.0/host/lib/include/uhdlib/utils/rpc.hpp:28:27: note: suggested alternatives:
In file included from /usr/include/boost/thread/thread_only.hpp:17,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210424-085324

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.18.0 [icedtea-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   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	Tue May  4 04:20:27 UTC 2021

emerge -qpvO net-wireless/uhd
[ebuild  N    ] net-wireless/uhd-4.0.0.0  USE="b100 b200 mpmd n230 usb usrp1 usrp2 utils x300 -doc -e300 -examples -octoclock -test" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-05-04 07:20:59 UTC
Created attachment 705939 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-04 07:21:01 UTC
Created attachment 705942 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-04 07:21:03 UTC
Created attachment 705945 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-04 07:21:04 UTC
Created attachment 705948 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-04 07:21:05 UTC
Created attachment 705951 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-04 07:21:07 UTC
Created attachment 705954 [details]
net-wireless:uhd-4.0.0.0:20210504-043917.log
Comment 7 Toralf Förster gentoo-dev 2021-05-04 07:21:08 UTC
Created attachment 705957 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-29 06:14:18 UTC
Ping
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-02 23:03:56 UTC
ping
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-18 09:19:42 UTC
ping
Comment 11 Xeha 2021-10-16 11:53:05 UTC
Building 4.0.0.0 works with gcc 10.3.0.
Comment 12 Andreas Sturmlechner gentoo-dev 2021-11-06 14:31:24 UTC
Bug was supposedly[1] fixed by

commit 7b8f7ffb859f5524c33e4b0bb45252a84eaa377f
Author: Rick Farina <zerochaos@gentoo.org>
Date:   Fri Oct 15 13:20:18 2021 -0400

    net-wireless/uhd: bump
    
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>


...but we can only guess, since the maintainer apparently refuses to process bugs.

[1] https://github.com/gentoo/gentoo/pull/20732#issuecomment-947315238
Comment 13 Andreas Sturmlechner gentoo-dev 2021-11-06 22:25:19 UTC
Bug predates dev-libs/boost-1.77.0 version bump.