Note: USE="cuda" is broken, too, but that is a different issue. With USE="-cuda -abi_x86_32" media-libs/opencv-4.5.4 can be merged correctly. But with USE="-cuda abi_x86_32" merge stage fails with: -------- * Header files have changed between ABIs. * --- /data/portage/portage/media-libs/opencv-4.5.4/temp/.multilib_header_cksum 2021-12-04 16:01:06.355641368 +0100 * +++ /data/portage/portage/media-libs/opencv-4.5.4/temp/.multilib_header_cksum.new 2021-12-04 16:03:49.201649927 +0100 * @@ -36,6 +36,7 @@ * 909740734 11976 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/saturate.hpp * 2984879485 1205 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/gapi/plaidml/plaidml.hpp * 1777549592 12302 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/traits.hpp * +2563659462 12324 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/simple_pipeline.hpp * 280090754 12339 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/gapi/gopaque.hpp * 2205685218 1261 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/img_hash/img_hash_base.hpp * 2923025624 128653 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/core_c.h * @@ -177,6 +178,7 @@ (...) * @@ -493,6 +502,7 @@ * 1562887232 83198 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/dnn/dnn.hpp * 248641273 8327 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/cuda/block.hpp * 14875222 83522 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/gapi/core.hpp * +179590805 8367 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/fundamental.hpp * 554114548 845 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/bufferpool.hpp * 2385699843 8452 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/opencl/opencl_info.hpp * 1231103178 847 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/rgbd.hpp * ERROR: media-libs/opencv-4.5.4::gentoo failed (install phase): * Header checksum mismatch, aborting. * * Call stack: * ebuild.sh, line 127: Called src_install * environment, line 5612: Called cmake-multilib_src_install * environment, line 1368: Called multilib-minimal_src_install * environment, line 4401: Called multilib_foreach_abi 'multilib-minimal_abi_src_install' * environment, line 4634: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 4288: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 4286: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install' * environment, line 741: Called multilib-minimal_abi_src_install * environment, line 4398: Called multilib_check_headers * environment, line 4457: Called die * The specific snippet of code: * die "Header checksum mismatch, aborting."; * * If you need support, post the output of `emerge --info '=media-libs/opencv-4.5.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/opencv-4.5.4::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =opencv-4.5.4 * The complete build log is located at '/var/log/portage/build/media-libs/opencv-4.5.4:20211204-113140.log'. * For convenience, a symlink to the build log is located at '/data/portage/portage/media-libs/opencv-4.5.4/temp/build.log'. * The ebuild environment file is located at '/data/portage/portage/media-libs/opencv-4.5.4/temp/environment'. * Working directory: '/data/portage/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64' * S: '/data/portage/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4' * Messages for package media-libs/opencv-4.5.4: * Log file: /var/log/portage/build/media-libs/opencv-4.5.4:20211204-113140.log * Header files have changed between ABIs. * --- /data/portage/portage/media-libs/opencv-4.5.4/temp/.multilib_header_cksum 2021-12-04 16:01:06.355641368 +0100 * +++ /data/portage/portage/media-libs/opencv-4.5.4/temp/.multilib_header_cksum.new 2021-12-04 16:03:49.201649927 +0100 * @@ -36,6 +36,7 @@ * 909740734 11976 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/saturate.hpp * 2984879485 1205 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/gapi/plaidml/plaidml.hpp * 1777549592 12302 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/traits.hpp * +2563659462 12324 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/simple_pipeline.hpp * 280090754 12339 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/gapi/gopaque.hpp * 2205685218 1261 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/img_hash/img_hash_base.hpp * 2923025624 128653 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/core_c.h * @@ -177,6 +178,7 @@ * 4027581105 2527 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/wechat_qrcode.hpp * 2134094255 2534 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/reg/mappergradeuclid.hpp * 1972608747 2544 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/video.hpp * +3967799654 2554 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/triangulation.hpp * 2691130538 2560 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/videoio/registry.hpp * 3128342851 2564 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/datasets/is_bsds.hpp * 2368202297 2568 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/quality/qualitygmsd.hpp * @@ -234,6 +236,7 @@ * 500339676 2899 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/datasets/gr_chalearn.hpp * 459542399 29278 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/dnn/all_layers.hpp * 43471360 2931 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/flann/object_factory.h * +287005266 2931 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/numeric.hpp * 3323270798 29375 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/text/ocr.hpp * 915456162 2948 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/datasets/pd_caltech.hpp * 4097126655 2965 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/img_hash.hpp * @@ -261,6 +264,7 @@ * 541438124 31818 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/aruco.hpp * 80154378 3196 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/phase_unwrapping.hpp * 701067093 3198 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/stitching/detail/timelapsers.hpp * +1504856630 3199 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/io.hpp * 1377850169 32256 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/cuda/functional.hpp * 3509728184 32275 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/tracking/tracking_internals.hpp * 1522607355 3232 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/shape/emdL1.hpp * @@ -299,6 +303,7 @@ * 448055671 3674 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/videostab.hpp * 2778786477 36744 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/cvdef.h * 1992595910 3677 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/datasets/track_alov.hpp * +2576463054 3700 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/projection.hpp * 4227954693 3734 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/opencl/ocl_defs.hpp * 3917454144 3746 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/gapi/operators.hpp * 2982261488 3746 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/reg/mapperpyramid.hpp * @@ -330,6 +335,7 @@ * 1496850430 41284 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/flann/dist.h * 3036711047 4136 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/flann/random.h * 405795693 4143 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/videostab/fast_marching.hpp * +1777181080 4156 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm.hpp * 844119543 42185 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/sse_utils.hpp * 714181112 4245 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/face/facemarkLBF.hpp * 1618862667 4260 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/ximgproc/run_length_morphology.hpp * @@ -354,6 +360,7 @@ * 4237844602 4669 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/face/predict_collector.hpp * 1592021316 469 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/quality.hpp * 2254326706 4691 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/gapi/own/cvdefs.hpp * +2542730445 4697 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/robust.hpp * 2738302634 4720 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/cuda/datamov_utils.hpp * 3993872327 47505 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/persistence.hpp * 403516194 4768 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/intensity_transform.hpp * @@ -367,6 +374,7 @@ * 1704007719 50156 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/cuda/vec_math.hpp * 2960770441 5023 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/saliency/saliencyBaseClasses.hpp * 2665996369 506 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/gapi/gpu/ggpukernel.hpp * +1353048581 5075 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/conditioning.hpp * 2117541357 5081 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/mcc/checker_model.hpp * 3579004967 5083 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/xphoto/inpainting.hpp * 2191156200 51023 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/imgproc/imgproc_c.h * @@ -442,6 +450,7 @@ * 2856765714 67847 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/hal/intrin_vsx.hpp * 1129573270 67893 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/flann/kmeans_index.h * 997519285 6805 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/dpm.hpp * +4205651802 6805 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/reconstruct.hpp * 132185261 6832 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/flann/miniflann.hpp * 1378131285 6834 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/line_descriptor.hpp * 1242673715 688 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/dnn/utils/debug_utils.hpp * @@ -493,6 +502,7 @@ * 1562887232 83198 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/dnn/dnn.hpp * 248641273 8327 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/cuda/block.hpp * 14875222 83522 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/gapi/core.hpp * +179590805 8367 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/sfm/fundamental.hpp * 554114548 845 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/bufferpool.hpp * 2385699843 8452 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/core/opencl/opencl_info.hpp * 1231103178 847 /data/portage/portage/media-libs/opencv-4.5.4/image/usr/include/opencv4/opencv2/rgbd.hpp * ERROR: media-libs/opencv-4.5.4::gentoo failed (install phase): * Header checksum mismatch, aborting. * * Call stack: * ebuild.sh, line 127: Called src_install * environment, line 5612: Called cmake-multilib_src_install * environment, line 1368: Called multilib-minimal_src_install * environment, line 4401: Called multilib_foreach_abi 'multilib-minimal_abi_src_install' * environment, line 4634: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 4288: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 4286: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install' * environment, line 741: Called multilib-minimal_abi_src_install * environment, line 4398: Called multilib_check_headers * environment, line 4457: Called die * The specific snippet of code: * die "Header checksum mismatch, aborting."; * * If you need support, post the output of `emerge --info '=media-libs/opencv-4.5.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/opencv-4.5.4::gentoo'`. * The complete build log is located at '/var/log/portage/build/media-libs/opencv-4.5.4:20211204-113140.log'. * For convenience, a symlink to the build log is located at '/data/portage/portage/media-libs/opencv-4.5.4/temp/build.log'. * The ebuild environment file is located at '/data/portage/portage/media-libs/opencv-4.5.4/temp/environment'. * Working directory: '/data/portage/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4_build-abi_x86_64.amd64' * S: '/data/portage/portage/media-libs/opencv-4.5.4/work/opencv-4.5.4' -------- Reproducible: Always Steps to Reproduce: 1. USE="-cuda abi_x86_32" ebuild /usr/portage/media-libs/opencv/opencv-4.5.4.ebuild merge Actual Results: merge fails Expected Results: merge succeeds sys-devel/gcc-11.2.1_p20211127
Please attach the full build.log and ideally attach the differing headers please (or just the imagedir if you want).
(In reply to Sam James from comment #1) > Please attach the full build.log and ideally attach the differing headers > please (or just the imagedir if you want). ... and emerge --info
Created attachment 757427 [details] emerge --info media-libs/opencv
Huh? My text got pasted twice. Sorry, didn't notice that. :-(
(In reply to Sam James from comment #1) > Please attach the full build.log and ideally attach the differing headers > please (or just the imagedir if you want). Yeah, I am at it. Could you please give me more than 15 seconds? -(_8(|)
(In reply to Sven Eden from comment #5) > (In reply to Sam James from comment #1) > > Please attach the full build.log and ideally attach the differing headers > > please (or just the imagedir if you want). > > Yeah, I am at it. Could you please give me more than 15 seconds? -(_8(|) yes, I should check the time things were filed :)
I can't upload the build log. It always says: https://bugs.gentoo.org/attachment.cgi ERR_ACCESS_DENIED
Created attachment 757428 [details] The installed headers (image folder)
Created attachment 757429 [details] opencv-4.5.4 build log, bzip2'ed due to its size
(In reply to Sam James from comment #6) > (In reply to Sven Eden from comment #5) > > (In reply to Sam James from comment #1) > > > Please attach the full build.log and ideally attach the differing headers > > > please (or just the imagedir if you want). > > > > Yeah, I am at it. Could you please give me more than 15 seconds? -(_8(|) > > yes, I should check the time things were filed :) No problem, you just caught me off guard and totally by surprise! ^^ Build log and headers from the image folder are now up.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41392ff39110c7b29a954737c0050d008e12fbaf commit 41392ff39110c7b29a954737c0050d008e12fbaf Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-12-04 19:09:28 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-12-04 19:09:28 +0000 media-libs/opencv: fix USE=contribsfm multilib header clash Closes: https://bugs.gentoo.org/828132 Signed-off-by: David Seifert <soap@gentoo.org> media-libs/opencv/opencv-4.5.4.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+)
Worked perfectly, thank you very much!