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

Bug 939509

Summary: dev-lang/rust-1.80.1 fails to compile: SmallVector.h:119:62: error: uint64_t was not declared in this scope
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
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: build.log.xz

Description Agostino Sarubbo gentoo-dev 2024-09-12 07:16:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/rust-1.80.1 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-12 07:16:16 UTC
Created attachment 902695 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-09-12 07:16:17 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
301 | declare_error_trait!(Error: Sized + StdError);
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o 
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/BalancedPartitioning.cpp.o 
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Base64.cpp.o 
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Caching.cpp.o 
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/ConvertEBCDIC.cpp.o 
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o 
RuntimeError: failed to run: /var/tmp/portage/dev-lang/rust-1.80.1/work/rustc-1.80.1-src/build/bootstrap/debug/bootstrap build -vvv --config=/var/tmp/portage/dev-lang/rust-1.80.1/work/rustc-1.80.1-src/config.toml -j32
thread 'main' panicked at /var/tmp/portage/dev-lang/rust-1.80.1/work/rustc-1.80.1-src/vendor/cmake-0.1.48/src/lib.rs:975:5:
/var/tmp/portage/dev-lang/rust-1.80.1/work/rustc-1.80.1-src/src/llvm-project/llvm/include/llvm/ADT/SmallVector.h:119:62: error: ‘uint64_t’ was not declared in this scope
Comment 3 matoro archtester 2024-09-12 14:05:45 UTC
Dupe of bug 937525 ?