Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831986 - media-libs/opencv-4.5.5 fails to compile stitching_detailed.cpp
Summary: media-libs/opencv-4.5.5 fails to compile stitching_detailed.cpp
Status: RESOLVED DUPLICATE of bug 831113
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 18:16 UTC by 27
Modified: 2022-01-24 18:22 UTC (History)
0 users

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


Attachments
Build log of media-libs/opencv-4.5.5 with Java use flag disabled (no_java_build.log.bz2,80.36 KB, application/x-bzip)
2022-01-24 18:17 UTC, 27
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 27 2022-01-24 18:16:12 UTC
media-libs/opencv-4.5.5 fails to compile on stitching_detailed.cpp

Reproducible: Always

Steps to Reproduce:
1. Disable "java" use flag in an attempt to work around https://bugs.gentoo.org/831984
2. Emerge OpenCV. 
Actual Results:  
ERROR: media-libs/opencv-4.5.5::gentoo failed (compile phase)

Expected Results:  
OpenCV compiles correctly and my world update is able to go through
Comment 1 27 2022-01-24 18:17:08 UTC
Created attachment 763513 [details]
Build log of media-libs/opencv-4.5.5 with Java use flag disabled
Comment 2 27 2022-01-24 18:17:41 UTC
Emerge --info can be found at my other bug report https://bugs.gentoo.org/831984.
Comment 3 27 2022-01-24 18:22:45 UTC
Upon further searching of the logs, it appears that the actual cause of this issue is: 

/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

And that this is identical to this issue: https://bugs.gentoo.org/831113

Therefore, I will mark this as a duplicate.

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