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

Bug 907305

Summary: dev-cpp/abseil-cpp-20220623.1 - /.../alloc_traits.h: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_ty
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Paul Zander <negril.nx+gentoo>
Status: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=893984
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: emerge-info.txt
CMakeCache.txt
dev-cpp:abseil-cpp-20220623.1:20230528-170029.log.bz2
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-05-28 17:49:45 UTC
too long lines were shrinked:

                 from /var/tmp/portage/dev-cpp/abseil-cpp-20220623.1/work/abseil-cpp-20220623.1/absl/memory/memory.h:28,
                 from /var/tmp/portage/dev-cpp/abseil-cpp-20220623.1/work/abseil-cpp-20220623.1/absl/memory/memory_test.cc:17:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/alloc_traits.h: In instantiation of struct std::__allocator_traits_base::__rebind<{anonymous}::AllocWithRebind, int, void>:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/alloc_traits.h:94:11:   required by substitution of template<class _Alloc, class _Up> using std::__alloc_rebind = typename std::__allocator_traits_base::__rebind<_Alloc, _Up>::type [with _Alloc = {anonymous}::AllocWithRebind; _Up = int]
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/alloc_traits.h:228:8:   required by substitution of template<class _Alloc> template<class _Tp> using std::allocator_traits< <template-parameter-1-1> >::rebind_alloc = std::__alloc_rebind<_Alloc, _Tp> [with _Tp = int; _Alloc = {anonymous}::Allo
/var/tmp/portage/dev-cpp/abseil-cpp-20220623.1/work/abseil-cpp-20220623.1/absl/memory/memory_test.cc:508:3:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/alloc_traits.h:70:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
   70 |                         _Tp>::value,
      |                               ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j5_test-20230525-172553

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Rust versions:
  [1]   rust-1.69.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.2 *
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit dfdf0560dbbabd2f5268c4413976bea7dc7e280c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 28 15:17:00 2023 +0000

    2023-05-28 15:17:00 UTC

emerge -qpvO dev-cpp/abseil-cpp
[ebuild  N    ] dev-cpp/abseil-cpp-20230125.2  USE="test"
Comment 1 Toralf Förster gentoo-dev 2023-05-28 17:49:46 UTC
Created attachment 862754 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-28 17:49:46 UTC
Created attachment 862755 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2023-05-28 17:49:47 UTC
Created attachment 862756 [details]
dev-cpp:abseil-cpp-20220623.1:20230528-170029.log.bz2
Comment 4 Toralf Förster gentoo-dev 2023-05-28 17:49:49 UTC
Created attachment 862757 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2023-05-28 17:49:50 UTC
Created attachment 862758 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2023-05-28 17:49:51 UTC
Created attachment 862759 [details]
etc.clang.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-28 17:49:52 UTC
Created attachment 862760 [details]
etc.portage.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-05-28 17:49:53 UTC
Created attachment 862761 [details]
temp.tar.bz2
Comment 9 NHO 2024-03-25 09:51:28 UTC
Fixed upstream in https://github.com/abseil/abseil-cpp/issues/1366