Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929931 - media-gfx/blender-4.0.2 USE=osl fails
Summary: media-gfx/blender-4.0.2 USE=osl fails
Status: RESOLVED DUPLICATE of bug 927281
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-13 16:32 UTC by CaptainBlood
Modified: 2024-04-13 16:44 UTC (History)
4 users (show)

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


Attachments
ebuild log (media-gfx:blender-4.0.2:20240413-162138.log.gz,8.74 KB, application/gzip)
2024-04-13 16:32 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2024-04-13 16:32:41 UTC
Created attachment 890729 [details]
ebuild log

eix sys-devel/clang
     Installed versions:  15.0.7-r3(15/15g1)^t(17:00:21 31/03/2024)(extra pie static-analyzer verify-sig -debug -doc -ieee-long-double -test -xml ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" LLVM_TARGETS="AArch64 AMDGPU ARM AVR BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ VE WebAssembly X86 XCore -ARC -CSKY -DirectX -LoongArch -M68k -SPIRV" PYTHON_SINGLE_TARGET="python3_11 -python3_10")

eix sys-devel/llvm 
     Installed versions:  15.0.7-r3(15/15)^t(14:11:17 31/03/2024)(binutils-plugin verify-sig z3 zstd -debug -doc -exegesis -libedit -libffi -ncurses -test -xar -xml ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" LLVM_TARGETS="AArch64 AMDGPU ARM AVR BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ VE WebAssembly X86 XCore -ARC -CSKY -DirectX -LoongArch -M68k -SPIRV")

eix blender
     Installed versions:  3.3.15(3.3)^t(05:44:09 13/04/2024)(alembic bullet collada color-management cycles dds embree ffmpeg fftw fluid gmp jack jemalloc jpeg2k nanovdb oidn openexr openimageio openmp opensubdiv openvdb osl pugixml sndfile tbb tiff -cuda -debug -doc -headless -man -ndof -nls -openal -optix -pdf -potrace -pulseaudio -sdl -test -valgrind PYTHON_SINGLE_TARGET="python3_11 -python3_10") 3.6.8(3.6)^t(14:39:03 13/04/2024)(X alembic bullet collada color-management cycles dds embree ffmpeg fftw fluid gmp jack jemalloc jpeg2k nanovdb oidn openexr openmp opensubdiv openvdb osl pugixml sndfile tbb tiff wayland -cuda -cycles-bin-kernels -debug -doc -man -ndof -nls -openal -openpgl -optix -pdf -potrace -pulseaudio -sdl -test -valgrind PYTHON_SINGLE_TARGET="python3_11 -python3_10")

Fails with USE="-opensubdiv osl"
...

-- Found OpenImageDenoise: /usr/lib64/libOpenImageDenoise.so  
-- Found LLVM: /usr/lib/llvm/15/lib64/libLLVM-15.0.7.so  
-- Could NOT find Clang (missing: _CLANG_LIBRARIES) 
CMake Error at build_files/cmake/macros.cmake:1533 (message):
  Clang required but not found
Call Stack (most recent call first):
  build_files/cmake/platform/platform_unix.cmake:493 (set_and_warn_library_found)
  CMakeLists.txt:1304 (include)

...

OSL build snippet:

zgrep LLVM /var/log/portage/media-libs:osl-1.12.14.0:20240412-231617.log.gz
cmake -C /var/no-tmpfs/portage/media-libs/osl-1.12.14.0/work/OpenShadingLanguage-1.12.14.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_STANDARD=17 -DDOWNSTREAM_CXX_STANDARD=17 -DCMAKE_INSTALL_DOCDIR=share/doc/osl-1.12.14.0 -DINSTALL_DOCS=no -DUSE_CCACHE=OFF -DLLVM_STATIC=OFF -DOSL_BUILD_TESTS=no -DSTOP_ON_WARNING=OFF -DUSE_PARTIO=no -DUSE_PYTHON=no -DPYTHON_VERSION= -DUSE_SIMD=sse2,sse3,ssse3,sse4.1,sse4.2,avx,avx2,f16c -DUSE_BATCHED=b8_AVX,b8_AVX2,b8_AVX2_noFMA -DVEC_REPORT=yes -DUSE_QT=no -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/no-tmpfs/portage/media-libs/osl-1.12.14.0/work/OpenShadingLanguage-1.12.14.0_build/gentoo_toolchain.cmake /var/no-tmpfs/portage/media-libs/osl-1.12.14.0/work/OpenShadingLanguage-1.12.14.0
-- Found LLVM 15.0.7 
[3/293] /usr/bin/x86_64-pc-linux-gnu-g++ -DOIIO_DISABLE_DEPRECATED=1 -DOIIO_HIDE_FORMAT=1 -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOSL_LLVM_FULL_VERSION=\"15.0.7\" -DOSL_LLVM_VERSION=150 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Doslcomp_EXPORTS -Doslparse=OSL_v1_12_oslparse -I/var/no-tmpfs/portage/media-libs/osl-1.12.14.0/work/OpenShadingLanguage-1.12.14.0_build/include -I/var/no-tmpfs/portage/media-libs/osl-1.12.14.0/work/OpenShadingLanguage-1.12.14.0_build/src/include -I/var/no-tmpfs/portage/media-libs/osl-1.12.14.0/work/OpenShadingLanguage-1.12.14.0/src/include -I/var/no-tmpfs/portage/media-libs/osl-1.12.14.0/work/OpenShadingLanguage-1.12.14.0/ext/dist/include -I/var/no-tmpfs/portage/media-libs/osl-1.12.14.0/work/OpenShadingLanguage-1.12.14.0/src/liboslcomp -isystem /usr/lib/llvm/15/include -isystem /usr/include/Imath  -march=core2 -mtune=native -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects -pipe -Wa,-mbranches-within-32B-boundaries -std=c++17 -fPIC -Wall -Wno-error=strict-overflow -Wno-unused-local-typedefs -Wno-unused-result -Wno-error=misleading-indentation -fno-math-errno -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mf16c -MD -MT src/liboslcomp/CMakeFiles/oslcomp.dir/ast.cpp.o -MF src/liboslcomp/CMakeFiles/oslcomp.dir/ast.cpp.o.d -o src/liboslcomp/CMakeFiles/oslcomp.dir/ast.cpp.o -c /var/no-tmpfs/portage/media-libs/osl-1.12.14.0/work/OpenShadingLanguage-1.12.14.0/src/liboslcomp/ast.cpp


USE=-opensubdiv to avoid version pub.
Comment 1 CaptainBlood 2024-04-13 16:35:22 UTC
Should read
USE=-opensubdiv to avoid version bump
Comment 2 Paul Zander 2024-04-13 16:44:52 UTC

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