Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942808 - media-libs/opencv-4.9.0-r2 fails to compile: types.hpp:2402:44: error: dereferencing type-punned pointer might break strict-aliasing rules [-Werror=strict-aliasing]
Summary: media-libs/opencv-4.9.0-r2 fails to compile: types.hpp:2402:44: error: derefe...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-11-03 08:10 UTC by Agostino Sarubbo
Modified: 2024-11-03 08:10 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,296.68 KB, text/plain)
2024-11-03 08:10 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 2024-11-03 08:10:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/opencv-4.9.0-r2 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-03 08:10:41 UTC
Created attachment 907753 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-03 08:10:43 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/arithm.dispatch.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/array.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/async.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/batch_distance.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/bindings_utils.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/buffer_area.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/channels.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/check.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/command_line_parser.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/conjugate_gradient.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/convert.dispatch.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/convert_c.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/convert_scale.dispatch.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/copy.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/count_non_zero.dispatch.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat_nd.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/cuda_host_mem.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/cuda_info.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/cuda_stream.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/datastructs.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/downhill_simplex.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/glob.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o 
FAILED: modules/core/CMakeFiles/opencv_core.dir/src/has_non_zero.dispatch.cpp.o 
/var/tmp/portage/media-libs/opencv-4.9.0-r2/work/opencv-4.9.0/modules/core/include/opencv2/core/types.hpp:2402:44: error: dereferencing type-punned pointer might break strict-aliasing rules [-Werror=strict-aliasing]