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
Created attachment 907753 [details] build.log build log and emerge --info
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]