too long lines were shrinked: [ 87%] Building CXX object examples/glFVarViewer/CMakeFiles/glFVarViewer.dir/glFVarViewer.cpp.o cd /var/tmp/portage/media-libs/opensubdiv-3.5.0/work/OpenSubdiv-3_5_0_build/examples/glFVarViewer && /usr/bin/x86_64-pc-linux-gnu-g++ -DGLFW_VERSION_3 -DOPENSUBDIV_HAS_GLSL_COMPUTE -DOPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK -DOPENSUBDIV_HAS_OPENCL -DOPENSUBDIV_HAS_OPENGL -DOPENSUBDIV_HAS_TBB -DOPENSUB [ 87%] Linking CXX executable ../../bin/glEvalLimit cd /var/tmp/portage/media-libs/opensubdiv-3.5.0/work/OpenSubdiv-3_5_0_build/examples/glEvalLimit && /usr/bin/cmake -E cmake_link_script CMakeFiles/glEvalLimit.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 CMakeFiles/glEvalLimit.dir/glEvalLimit.cpp.o CMakeFiles/glEvalLimit.dir/particles.cpp.o ../../regression/common/CMakeFiles/regression_common_obj.dir/arg_ut /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: ../common/CMakeFiles/examples_common_gl_obj.dir/clDeviceContext.cpp.o: in function `CLDeviceContext::Initialize()': clDeviceContext.cpp:(.text+0x1f9): undefined reference to `glXGetCurrentContext' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: clDeviceContext.cpp:(.text+0x203): undefined reference to `glXGetCurrentDisplay' collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20230406-083506 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 16.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.1 Python 3.10.11 Available Rust versions: [1] rust-1.68.2 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): HEAD of ::gentoo commit 740f82b5eb3b0b1fef7d7c9c2c67e235987c4bdd Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Apr 7 14:02:08 2023 +0000 2023-04-07 14:02:07 UTC emerge -qpvO media-libs/opensubdiv [ebuild N ] media-libs/opensubdiv-3.5.0 USE="examples opencl tbb tutorials (-cuda) -openmp -ptex -test"
Created attachment 859751 [details] emerge-info.txt
Created attachment 859752 [details] emerge-history.txt
Created attachment 859753 [details] environment
Created attachment 859754 [details] etc.clang.tar.bz2
Created attachment 859755 [details] etc.portage.tar.bz2
Created attachment 859756 [details] media-libs:opensubdiv-3.5.0:20230407-142254.log.bz2
Created attachment 859757 [details] temp.tar.bz2
same error with USE=cuda Builds for only with USE="-cuda -opencl"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b9cb4db94d5520e018a1a99d38d444c9c95d159 commit 5b9cb4db94d5520e018a1a99d38d444c9c95d159 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-01-21 18:01:51 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-02-14 09:26:38 +0000 media-libs/opensubdiv: 3.6.0 update Removed all automagic dependencies. Changed CUDA interaction as a test-case for better binpkg support. - We adhere to CUDAARCHS or NVCCFLAGS. - For `MERGE_TYPE=source` we fall back to native. - For `MERGE_TYPE=buildonly` we fall back to all-major. - Removed clunky OSD_CUDA_NVCC_FLAGS which defaulted to ancient ARCHS. Replace src_install logic that removed extra files in favour of never installing them via src_prepare. Closes: https://bugs.gentoo.org/922952 Closes: https://bugs.gentoo.org/922950 Closes: https://bugs.gentoo.org/904070 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35029 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../files/opensubdiv-3.6.0-cudaflags.patch | 20 ++ .../opensubdiv-3.6.0-use-gnuinstalldirs.patch | 38 ++++ media-libs/opensubdiv/metadata.xml | 9 + media-libs/opensubdiv/opensubdiv-3.6.0.ebuild | 222 +++++++++++++++------ 4 files changed, 232 insertions(+), 57 deletions(-)