Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 793227

Summary: sys-fs/fuse-3.10.3 - ../.../cxxopts.hpp: error: numeric_limits is not a member of std (maybe gcc-11 related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Aaron Bauman (RETIRED) <bman>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-fs:fuse-3.10.3:20210531-152327.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-05-31 15:27:12 UTC
In file included from ../fuse-3.10.3/example/passthrough_hp.cc:77:
../fuse-3.10.3/example/cxxopts.hpp: In member function ‘void cxxopts::values::detail::SignedCheck<T, true>::operator()(bool, U, const string&)’:
../fuse-3.10.3/example/cxxopts.hpp:488:42: error: ‘numeric_limits’ is not a member of ‘std’
  488 |             if (u > static_cast<U>(-std::numeric_limits<T>::min()))
      |                                          ^~~~~~~~~~~~~~
../fuse-3.10.3/example/cxxopts.hpp:488:58: error: expected primary-expression before ‘>’ token
  488 |             if (u > static_cast<U>(-std::numeric_limits<T>::min()))

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j3_test-20210529-102459

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

gcc-config -l:
 [1] 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.10
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 349824377c122ccdae6e8e17568313fb05fc198d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon May 31 14:20:10 2021 +0000

    2021-05-31 14:20:08 UTC

emerge -qpvO sys-fs/fuse
[ebuild  NS   ] sys-fs/fuse-3.10.3 [2.9.9-r1] USE="suid%* test%* (-examples%) (-static-libs%)" ABI_X86="(64%*) -32% (-x32)"
Comment 1 Toralf Förster gentoo-dev 2021-05-31 15:27:14 UTC
Created attachment 712818 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-31 15:27:15 UTC
Created attachment 712821 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-31 15:27:17 UTC
Created attachment 712824 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-31 15:27:18 UTC
Created attachment 712827 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-31 15:27:19 UTC
Created attachment 712830 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-31 15:27:20 UTC
Created attachment 712833 [details]
sys-fs:fuse-3.10.3:20210531-152327.log
Comment 7 Toralf Förster gentoo-dev 2021-05-31 15:27:21 UTC
Created attachment 712836 [details]
temp.tar.bz2