Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937083 - media-gfx/blender-4.1.1-r2: Could NOT find LLVM (missing: LLVM_LIBRARY) CMake Error at build_files/cmake/macros.cmake:1416 (message): LLVM required but not found
Summary: media-gfx/blender-4.1.1-r2: Could NOT find LLVM (missing: LLVM_LIBRARY) CMake...
Status: RESOLVED DUPLICATE of bug 936603
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-01 16:14 UTC by Michael Moon
Modified: 2024-08-01 16:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,12.42 KB, text/plain)
2024-08-01 16:14 UTC, Michael Moon
Details
build.log (blender-4.1.1-r2_build_log.txt,26.38 KB, text/plain)
2024-08-01 16:14 UTC, Michael Moon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Moon 2024-08-01 16:14:02 UTC
Created attachment 898757 [details]
emerge --info

Really not sure what's going on with this one

# emerge -pv blender

These are the packages that would be merged, in order:

[ebuild     U  ] media-gfx/blender-4.1.1-r2:4.1::gentoo [4.1.1:4.1::gentoo] USE="X -alembic bullet -collada color-management (-cuda) cycles cycles-bin-kernels -debug -doc embree -experimental ffmpeg fftw fluid gmp -gnome (-hip) jack -jemalloc -jpeg2k -man nanovdb -ndof nls oidn -oneapi -openal openexr openmp -openpgl opensubdiv openvdb -optix osl otf pdf potrace pugixml pulseaudio -renderdoc sdl sndfile tbb -test tiff -valgrind vulkan -wayland webp" LLVM_SLOT="-15 -16 -17* 18%*" PYTHON_SINGLE_TARGET="-python3_11 python3_12" 0 KiB

…

-- Could NOT find LLVM (missing: LLVM_LIBRARY)
CMake Error at build_files/cmake/macros.cmake:1416 (message):
  LLVM required but not found
Call Stack (most recent call first):
  build_files/cmake/platform/platform_unix.cmake:540 (set_and_warn_library_found)
  CMakeLists.txt:1358 (include)

# equery l llvm
 * Searching for llvm ...
[IP-] [  ] sys-devel/llvm-17.0.6:17/17
[IP-] [  ] sys-devel/llvm-18.1.8-r1:18/18.1

# emerge -pv1O llvm:17 llvm:18

These are the packages that would be merged, in order:

[ebuild   R    ] sys-devel/llvm-17.0.6:17::gentoo  USE="binutils-plugin -debug -debuginfod -doc -exegesis -libedit libffi ncurses -test -verify-sig -xar xml -z3 zstd" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) -ARC (ARM) (AVR) (BPF) -CSKY -DirectX (Hexagon) (Lanai) (LoongArch) -M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) -SPIRV (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -Xtensa" 0 KiB
[ebuild   R    ] sys-devel/llvm-18.1.8-r1:18/18.1::gentoo  USE="binutils-plugin -debug -debuginfod -doc -exegesis -libedit libffi ncurses -test -verify-sig xml -z3 zstd" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) -ARC (ARM) (AVR) (BPF) -CSKY -DirectX (Hexagon) (Lanai) (LoongArch) -M68k (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) -SPIRV (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -Xtensa" 0 KiB

# grep -R LLVM /etc/portage
/etc/portage/make.conf:LLVM_TARGETS=" AMDGPU ARM BPF NVPTX X86"
Comment 1 Michael Moon 2024-08-01 16:14:23 UTC
Created attachment 898758 [details]
build.log
Comment 2 Michael Moon 2024-08-01 16:31:44 UTC
https://forums.gentoo.org/viewtopic-p-8823272.html seems vaguely related, but the errors are different
Comment 3 Paul Zander 2024-08-01 16:58:29 UTC

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