https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/julia-1.8.5-r1 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#CF0014
Created attachment 903737 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
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 /var/tmp/portage/dev-lang/julia-1.8.5-r1/work/julia-1.8.5/deps/srccache/llvm-julia-13.0.1-3/llvm/include/llvm/ADT/SmallVector.h:92:69: error: 'uint64_t' was not declared in this scope
Three files in the bundled version of llvm-13 are missing #include <cstdint> deps/srccache/llvm-julia-13.0.1-3/llvm/include/llvm/ADT/SmallVector.h deps/srccache/llvm-julia-13.0.1-3/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h deps/srccache/llvm-julia-13.0.1-3/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h Will attach a patch that lets it build with sys-devel/gcc-15.0.0_pre20241103:15 as long as -fpermissive is used. ``` env env used: COMMON_FLAGS="-march=native -O3 -fno-vect-cost-model -mprefer-vector-width=512 -pipe" CFLAGS="${COMMON_FLAGS} -fpermissive " CXXFLAGS="${COMMON_FLAGS}" ``` emerge --info will be attached
Created attachment 907828 [details, diff] cstdint includes patch
Created attachment 907829 [details] emerge --info from tdr
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c25187d2a8c1103c924121953c9f63f48f37ef38 commit c25187d2a8c1103c924121953c9f63f48f37ef38 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2024-11-04 05:14:46 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2024-11-04 05:14:46 +0000 dev-lang/julia: add missing <cstdint> includes Thanks to Ted Rodgers for the patch! Closes: https://bugs.gentoo.org/940233 Signed-off-by: Matthias Maier <tamiko@gentoo.org> .../julia/files/julia-1.8.5-cstdint-includes.patch | 54 ++++++++++++++++++++++ dev-lang/julia/julia-1.8.5-r1.ebuild | 1 + 2 files changed, 55 insertions(+)