Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831113 - media-libs/opencv-4.5.5 - /.../api_ref_snippets.cpp: fatal error: opencv2/gapi.hpp: No such file or directory
Summary: media-libs/opencv-4.5.5 - /.../api_ref_snippets.cpp: fatal error: opencv2/gap...
Status: RESOLVED DUPLICATE of bug 830163
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 831986 834487 842603 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-13 08:26 UTC by Toralf Förster
Modified: 2022-09-15 17:43 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.17 KB, text/plain)
2022-01-13 08:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,140.10 KB, text/plain)
2022-01-13 08:26 UTC, Toralf Förster
Details
environment (environment,238.89 KB, text/plain)
2022-01-13 08:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.67 KB, application/x-bzip)
2022-01-13 08:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.43 KB, application/x-bzip)
2022-01-13 08:26 UTC, Toralf Förster
Details
media-libs:opencv-4.5.5:20220113-072238.log.bz2 (media-libs:opencv-4.5.5:20220113-072238.log.bz2,52.40 KB, application/x-bzip)
2022-01-13 08:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,148.97 KB, application/x-bzip)
2022-01-13 08:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-01-13 08:26:29 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2022-01-13 08:26:30 UTC
Created attachment 762058 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-13 08:26:31 UTC
Created attachment 762059 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-01-13 08:26:33 UTC
Created attachment 762060 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-01-13 08:26:34 UTC
Created attachment 762061 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-01-13 08:26:38 UTC
Created attachment 762062 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-13 08:26:39 UTC
Created attachment 762063 [details]
media-libs:opencv-4.5.5:20220113-072238.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-01-13 08:26:40 UTC
Created attachment 762064 [details]
temp.tar.bz2
Comment 8 27 2022-01-24 18:22:45 UTC
*** Bug 831986 has been marked as a duplicate of this bug. ***
Comment 9 Bob Johnson 2022-02-28 18:41:17 UTC
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.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-14 21:41:59 UTC
*** Bug 834487 has been marked as a duplicate of this bug. ***
Comment 11 Toralf Förster gentoo-dev 2022-05-04 17:53:56 UTC
*** Bug 842603 has been marked as a duplicate of this bug. ***
Comment 12 Andreas Sturmlechner gentoo-dev 2022-09-15 17:36:44 UTC

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