Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913131 - media-libs/opencv-4.8.0-r1 fails to compile: convolution.cpp:143:19: error: struct cv::dnn::FastConv has no member named weightsBuf_FP16
Summary: media-libs/opencv-4.8.0-r1 fails to compile: convolution.cpp:143:19: error: s...
Status: RESOLVED FIXED
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:
Depends on:
Blocks:
 
Reported: 2023-08-28 06:40 UTC by Agostino Sarubbo
Modified: 2023-08-28 06:44 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,744.41 KB, text/plain)
2023-08-28 06:40 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-08-28 06:40:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/opencv-4.8.0-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-28 06:40:32 UTC
Created attachment 868844 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-28 06:40:32 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  342 | #define CV_Assert( expr ) do { if(!!(expr)) ; else cv::error( cv::Error::StsAssert, #expr, CV_Func, __FILE__, __LINE__ ); } while(0)
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
FAILED: modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/cpu_kernels/convolution.cpp.o 
/var/tmp/portage/media-libs/opencv-4.8.0-r1/work/opencv-4.8.0/modules/dnn/src/layers/cpu_kernels/convolution.cpp:143:19: error: ‘struct cv::dnn::FastConv’ has no member named ‘weightsBuf_FP16’; did you mean ‘weightsBufPtr’?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-28 06:41:52 UTC
Ugh, thanks. I'll take a look. I guess I broke amd64.
Comment 4 Larry the Git Cow gentoo-dev 2023-08-28 06:44:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f86f0e650d2bc739837a28cd32bc4c255cca258a

commit f86f0e650d2bc739837a28cd32bc4c255cca258a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-28 06:43:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-28 06:43:37 +0000

    media-libs/opencv: fix amd64 build (oops)
    
    Bug: https://bugs.gentoo.org/913031
    Closes: https://bugs.gentoo.org/913131
    Fixes: 4e6bb1138e0e8009b6e66b479e417d4d7c066fda
    Signed-off-by: Sam James <sam@gentoo.org>

 .../opencv/files/opencv-4.8.0-arm64-fp16.patch     | 56 +++++++++++-----------
 1 file changed, 28 insertions(+), 28 deletions(-)