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

Bug 947558

Summary: media-libs/opencv-4.10.0 - -- Configuring incomplete, errors occurred! -- protoc executable not found.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Paul Zander <negril.nx+gentoo>
Status: CONFIRMED ---    
Severity: minor CC: martin.rott
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: needs dev-libs/protobuf[protoc]
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment.xz
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
media-libs:opencv-4.10.0:20250105-160631.log
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2025-01-05 16:09:38 UTC
too long lines were shrinked:

C++             -O3 -pipe -march=native -fno-diagnostics-color   -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-dele
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0  -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
Module          -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0  -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
Shared          -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0  -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined

-- Configuring incomplete, errors occurred!
 * ERROR: media-libs/opencv-4.10.0::gentoo failed (configure phase):
 *   cmake failed

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20250105-003003

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit dc69e0fa3f3b12e7f94afc13de6ea7f77e1ef7c6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 5 14:18:23 2025 +0000

    2025-01-05 14:18:22 UTC

emerge -qpvO =media-libs/opencv-4.10.0
[ebuild  N    ] media-libs/opencv-4.10.0  USE="contrib contribdnn eigen features2d ffmpeg jpeg opengl openmp png qt6 tiff truetype xine -atlas -avif -contribcvv -contribfreetype -contribhdf (-contribovis) -contribsfm -contribxfeatures2d -cuda -cudnn -debug -dnnsamples -doc -examples -gdal -gflags -glog -gphoto2 -gstreamer -gtk3 -ieee1394 -jasper -java -jpeg2k -lapack -mkl -non-free -opencl -opencvapps -openexr -python -quirc -tbb -tesseract -test -testprograms -v4l -vaapi -vtk -webp" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="avx avx2 f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512_4fmaps -avx512_4vnniw -avx512_bitalg -avx512_vbmi2 -avx512_vnni -avx512_vpopcntdq -avx512bw -avx512cd -avx512dq -avx512er -avx512f -avx512ifma -avx512pf -avx512vbmi -avx512vl" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13" VIDEO_CARDS="intel"
Comment 1 Toralf Förster gentoo-dev 2025-01-05 16:09:39 UTC
Created attachment 915930 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-05 16:09:40 UTC
Created attachment 915931 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-05 16:09:41 UTC
Created attachment 915932 [details]
environment.xz
Comment 4 Toralf Förster gentoo-dev 2025-01-05 16:09:42 UTC
Created attachment 915933 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-05 16:09:43 UTC
Created attachment 915934 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-05 16:09:44 UTC
Created attachment 915935 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-05 16:09:45 UTC
Created attachment 915936 [details]
media-libs:opencv-4.10.0:20250105-160631.log
Comment 8 Toralf Förster gentoo-dev 2025-01-05 16:09:46 UTC
Created attachment 915937 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-01-05 16:09:47 UTC
Created attachment 915938 [details]
temp.tar.xz
Comment 10 Martin Rott 2025-02-12 20:15:20 UTC
Hello, 
 seems resolved with the recent nvidia-cuda-toolkit-12.6.1-r1 update..
Comment 11 Paul Zander 2025-02-12 22:47:19 UTC
This doesn't involve cuda though.
Comment 12 Martin Rott 2025-02-12 23:36:38 UTC
Ah, so there was maybe another change? Just saw yesterday emerge fail as reported here, but it merged successfully in the morning, cuda seemed relevant at first..
Comment 13 Paul Zander 2025-02-13 00:01:08 UTC
This is failing (now) due to the network-sandbox. I'll have to investigate. There have been no changes to opencv nor cmake. So it's a bit odd.
Comment 14 Paul Zander 2025-02-13 14:45:51 UTC
Or actually, it's the lack of dev-libs/protobuf[protoc] that's the actual error.