too long lines were shrinked: [1616/1802] : && /usr/bin/x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -W [1617/1802] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_THREADS=1 -I/var/tmp/portage/media-libs/opencv-4.5.5/work/opencv-4.5.5/modules/photo/include -I/var/tmp/portage/media-libs/opencv-4.5.5/work/opencv-4.5.5/modules/imgproc/include -I/var/tmp/portage/media-libs/opencv-4.5.5/work/opencv-4.5.5/modules/c FAILED: samples/cpp/CMakeFiles/example_tutorial_api_ref_snippets.dir/tutorial_code/gapi/doc_snippets/api_ref_snippets.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_THREADS=1 -I/var/tmp/portage/media-libs/opencv-4.5.5/work/opencv-4.5.5/modules/photo/include -I/var/tmp/portage/media-libs/opencv-4.5.5/work/opencv-4.5.5/modules/imgproc/include -I/var/tmp/portage/media-libs/opencv-4.5.5/work/opencv-4.5.5/modules/core/include /var/tmp/portage/media-libs/opencv-4.5.5/work/opencv-4.5.5/samples/cpp/tutorial_code/gapi/doc_snippets/api_ref_snippets.cpp:3:10: fatal error: opencv2/gapi.hpp: No such file or directory 3 | #include <opencv2/gapi.hpp> | ^~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220111-190006 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.57.0 * GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" The following VMs are available for generation-2: *) AdoptOpenJDK 11.0.13_p8 [openjdk-bin-11] 2) AdoptOpenJDK 8.312_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit ee1c8ab4de2dec069f2c16c6701fbd60497c3588 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Jan 13 06:22:11 2022 +0000 2022-01-13 06:22:09 UTC emerge -qpvO media-libs/opencv [ebuild N ] media-libs/opencv-4.5.5 USE="contrib contribdnn eigen examples features2d jpeg opengl openmp png python qt5 tiff -contribcvv -contribfreetype -contribhdf (-contribovis) -contribsfm -contribxfeatures2d (-cuda) -debug -dnnsamples -download -ffmpeg -gdal -gflags -glog -gphoto2 -gstreamer -gtk3 -ieee1394 -java -jpeg2k -lapack -lto -opencl -opencvapps -openexr -tesseract -testprograms -threads -v4l -vaapi -vtk -webp -xine" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="avx avx2 f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Created attachment 762058 [details] emerge-info.txt
Created attachment 762059 [details] emerge-history.txt
Created attachment 762060 [details] environment
Created attachment 762061 [details] etc.portage.tar.bz2
Created attachment 762062 [details] logs.tar.bz2
Created attachment 762063 [details] media-libs:opencv-4.5.5:20220113-072238.log.bz2
Created attachment 762064 [details] temp.tar.bz2
*** Bug 831986 has been marked as a duplicate of this bug. ***
Same is true with media-libs/opencv-4.5.5-r1. A work-around is to disable the 'examples' USE flag. The current opencv build doesn't enable the gapi (graph API) code but the sample code pulled in by the 'examples' USE flag includes gapi sample code that gets pulled in regardless.
*** Bug 834487 has been marked as a duplicate of this bug. ***
*** Bug 842603 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 830163 ***