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

Bug 918959

Summary: sys-libs/libcxx-16.0.6 - /.../iterator_operations.h: error: use of built-in trait _remove_cvref(_Tp) in function signature; use library traits instead
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
sys-libs:libcxx-16.0.6:20231201-143549.log.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-01 14:37:41 UTC
too long lines were shrinked:

      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/sys-libs/libcxx-16.0.6/work/runtimes_build-abi_x86_32.x86/include/c++/v1/__algorithm/copy_move_common.h:12,
                 from /var/tmp/portage/sys-libs/libcxx-16.0.6/work/runtimes_build-abi_x86_32.x86/include/c++/v1/__algorithm/copy.h:12,
                 from /var/tmp/portage/sys-libs/libcxx-16.0.6/work/runtimes_build-abi_x86_32.x86/include/c++/v1/__algorithm/copy_n.h:12,
                 from /var/tmp/portage/sys-libs/libcxx-16.0.6/work/runtimes_build-abi_x86_32.x86/include/c++/v1/__string/char_traits.h:12:
/var/tmp/portage/sys-libs/libcxx-16.0.6/work/runtimes_build-abi_x86_32.x86/include/c++/v1/__algorithm/iterator_operations.h: In instantiation of static constexpr std::__1::__remove_cvref_t<_Tp> std::__1::_IterOps<std::__1::_ClassicAlgPolicy>::prev(_Iter&&, typename std::__1::iterator_traits<__remove
/var/tmp/portage/sys-libs/libcxx-16.0.6/work/runtimes_build-abi_x86_32.x86/include/c++/v1/__algorithm/iterator_operations.h:161:27: error: use of built-in trait __remove_cvref(_Tp) in function signature; use library traits instead
  161 |   __remove_cvref_t<_Iter> prev(_Iter&& __iter,
      |                           ^~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit a77c7f39aeb34472c8ae41e6a58c048c35ed9b43
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 1 12:01:59 2023 +0000

    2023-12-01 12:01:59 UTC

emerge -qpvO sys-libs/libcxx
[ebuild  N    ] sys-libs/libcxx-16.0.6  USE="(libcxxabi) static-libs -clang -test -verify-sig" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-12-01 14:37:42 UTC
Created attachment 876209 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-01 14:37:43 UTC
Created attachment 876210 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-01 14:37:45 UTC
Created attachment 876211 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-01 14:37:46 UTC
Created attachment 876212 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-01 14:37:48 UTC
Created attachment 876213 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-01 14:37:49 UTC
Created attachment 876214 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-01 14:37:50 UTC
Created attachment 876215 [details]
sys-libs:libcxx-16.0.6:20231201-143549.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-01 14:37:51 UTC
Created attachment 876216 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-01 14:37:59 UTC

*** This bug has been marked as a duplicate of bug 912889 ***