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

Bug 939661

Summary: dev-lang/rust-1.81.0 - [ncurses-6.5] [gcc-15] /.../Allocator.h: error: class llvm::SmallVector<void , 4> has no member named begin [-Wtemplate-body]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Randy Barlow <randy>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo, navi, rust
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932474    
Attachments: emerge-info.txt
dev-lang:rust-1.81.0:20240914-104401.log.xz
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-09-14 13:08:04 UTC
      |                                                 ^~~~~~~~
      |                                                         ;
/var/tmp/portage/dev-lang/rust-1.81.0/work/rustc-1.81.0-src/src/llvm-project/llvm/include/llvm/Support/Allocator.h:352:58: error: E does not name a type [-Wtemplate-body]
  352 |                        SmallVectorImpl<void *>::iterator E) {
      |                                                          ^
/var/tmp/portage/dev-lang/rust-1.81.0/work/rustc-1.81.0-src/src/llvm-project/llvm/include/llvm/Support/Allocator.h: In destructor llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold, GrowthDelay>::~BumpPtrAllocatorImpl():
/var/tmp/portage/dev-lang/rust-1.81.0/work/rustc-1.81.0-src/src/llvm-project/llvm/include/llvm/Support/Allocator.h:98:27: error: class llvm::SmallVector<void*, 4> has no member named begin [-Wtemplate-body]
   98 |     DeallocateSlabs(Slabs.begin(), Slabs.end());
      |                           ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop-20240910-233505

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 7d5c2316492617af082a3df6805794d59d1bc24f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 14 10:20:19 2024 +0000

    2024-09-14 10:20:19 UTC

emerge -qpvO =dev-lang/rust-1.81.0
[ebuild  N    ] dev-lang/rust-1.81.0  USE="verify-sig (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) -nightly (-parallel-compiler) -profiler -rust-analyzer -rust-src -rustfmt -system-bootstrap -system-llvm -test -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa"
Comment 1 Toralf Förster gentoo-dev 2024-09-14 13:08:05 UTC
Created attachment 902969 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-14 13:08:06 UTC
Created attachment 902970 [details]
dev-lang:rust-1.81.0:20240914-104401.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-09-14 13:08:08 UTC
Created attachment 902971 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-09-14 13:08:09 UTC
Created attachment 902972 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-14 13:08:10 UTC
Created attachment 902973 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-14 13:08:11 UTC
Created attachment 902974 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-14 13:08:12 UTC
Created attachment 902975 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-14 13:08:13 UTC
Created attachment 902976 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-09-14 13:08:14 UTC
Created attachment 902977 [details]
temp.tar.xz