Created attachment 862960 [details] tarball with build log The following updates are triggered on my system after a emerge -uUD @world: [ebuild U ] media-libs/gst-plugins-bad-1.22.3 [1.20.5-r1] USE="X bzip2 egl gtk introspection nls opengl orc -gles2 -qsv -test -vnc -wayland" ABI_X86="32(64) (-x32)" [ebuild U ] media-plugins/gst-plugins-aom-1.22.3 [1.20.5] USE="introspection orc -test" ABI_X86="(64) -32 (-x32)" [ebuild U ] media-plugins/gst-plugins-faad-1.22.3 [1.20.5] USE="-test" ABI_X86="(64) -32 (-x32)" [ebuild U ] media-plugins/gst-plugins-dts-1.22.3 [1.20.5] USE="orc -test" ABI_X86="(64) -32 (-x32)" [ebuild U ] media-plugins/gst-plugins-resindvd-1.22.3 [1.20.5] USE="-test" ABI_X86="(64) -32 (-x32)" media-libs/gst-plugins-bad-1.22.3 compilation fails with the following error: * ERROR: media-libs/gst-plugins-bad-1.22.3::gentoo failed (install phase): * Header checksum mismatch, aborting.
Created attachment 862961 [details] emerge --info
Same syndrome here. 10 new files, all under the new /usr/include/gstreamer-1.0/gst/va, are present in the install image only on the second checksum pass. That directory, and those files, don't exist in media-libs/gst-plugins-bad-1.20.5-r1 previously installed here.
Please do not use "tar" to for single files. From the log: > * Header files have changed between ABIs. > * --- /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/temp/.multilib_header_cksum 2023-05-31 10:19:01.416587560 +0200 > * +++ /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/temp/.multilib_header_cksum.new 2023-05-31 10:19:01.799923506 +0200 > * @@ -1,3 +1,4 @@ > * +3588275612 1006 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/va-prelude.h > * 439434485 1107 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/player/gstplayer-types.h > * 3245868835 11129 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/player/gstplayer.h > * 3876579914 11493 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/codecparsers/gstvp8parser.h > * @@ -6,6 +7,7 @@ > * 3186131275 1183 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/sctp/sctp-prelude.h > * 4088094967 1198 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/player/player.h > * 3422324446 1199 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/mpegts/mpegts-prelude.h > * +909832714 1199 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/va_fwd.h > * 3419202634 1223 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/audio/audio-bad-prelude.h > * 293490988 1249 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/interfaces/photography-prelude.h > * 2273034523 1267 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/codecparsers/codecparsers-prelude.h > * @@ -30,6 +32,9 @@ > * 1968866488 16599 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/codecparsers/gstvc1parser.h > * 1416027177 16619 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/mpegts/gst-atsc-section.h > * 611382002 16932 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/codecparsers/gstmpeg4parser.h > * +3374565555 1795 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/gstva.h > * +534992376 1833 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/gstvadisplay_drm.h > * +1309257546 1894 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/gstvadisplay_wrapped.h > * 2594872543 1901 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/player/gstplayer-visualization.h > * 3195792948 1924 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/webrtc/rtpreceiver.h > * 3926106408 1927 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/webrtc/sctptransport.h > * @@ -57,6 +62,8 @@ > * 2567186482 2658 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/webrtc/datachannel.h > * 2998371539 2705 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/player/gstplayer-g-main-context-signal-dispatcher.h > * 2256896296 2716 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/cuda/gstcudabufferpool.h > * +428714464 2737 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/gstvautils.h > * +2932138420 2893 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/gstvapool.h > * 382468387 29878 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/interfaces/photography.h > * 3133942684 3026 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/mpegts/gst-atsc-descriptor.h > * 781299614 3048 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/uridownloader/gsturidownloader.h > * @@ -71,13 +78,16 @@ > * 1195001623 3946 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/insertbin/gstinsertbin.h > * 2416463417 39703 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/mpegts/gst-dvb-descriptor.h > * 822659073 4117 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/audio/gstplanaraudioadapter.h > * +2348303072 4378 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/gstvadisplay.h > * 2959412734 4569 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/codecparsers/gstjpeg2000sampling.h > * 1054485500 4668 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/cuda/gstcudamemory.h > * 1759825 50245 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/codecparsers/gsth264parser.h > * 2824978289 5171 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/basecamerabinsrc/gstbasecamerasrc.h > * +1455255284 520 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/va-enumtypes.h > * 3684338409 5975 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/transcoder/gsttranscoder.h > * 2123289375 6053 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/cuda/gstcudautils.h > * 3245232434 6684 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/mpegts/gstmpegts-enumtypes.h > * +3315034657 6733 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/va/gstvaallocator.h > * 2407569294 7436 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/cuda/cuda-gst.h > * 1704132837 7646 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/isoff/gstisoff.h > * 2577879323 78236 /var/tmp/portage/media-libs/gst-plugins-bad-1.22.3/image/usr/include/gstreamer-1.0/gst/codecparsers/gsth265parser.h > * ERROR: media-libs/gst-plugins-bad-1.22.3::gentoo failed (install phase): > * Header checksum mismatch, aborting.
The ebuild rightly passes -Dva=disabled, but it's automagic in gst-libs/ for libgstva. Patch: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/479f0175b51ea74b07084c8a508b7a7224445a02.
I have some questions I need to talk over with leio before moving forward.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b70fd2a58e50cd4104cd5dca5a975170e758b22e commit b70fd2a58e50cd4104cd5dca5a975170e758b22e Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-01 02:44:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-01 03:09:59 +0000 media-libs/gst-plugins-bad: avoid automagic dep on libva As noted on the bug, I need to discuss properly with leio whether or not the split for -va makes sense, but -va is an orphan/leaf package right now so it's lower priority than just fixing -bad which many people have installed. So, for now, just backport the relevant upstream patches to fix the automagic for this side. Bug: https://bugs.gentoo.org/907481 Bug: https://bugs.gentoo.org/907479 Signed-off-by: Sam James <sam@gentoo.org> ...son-Fix-libdrm-and-vaapi-configure-checks.patch | 65 ++++++++++++++ ...eature-options-for-optional-va-deps-libdr.patch | 76 ++++++++++++++++ .../gst-plugins-bad-1.22.3-r1.ebuild | 100 +++++++++++++++++++++ 3 files changed, 241 insertions(+)
Fixed on my end with media-libs/gst-plugins-bad-1.22.3-r1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6205cf345f0fb953d200971c6b55b2ab4281f157 commit 6205cf345f0fb953d200971c6b55b2ab4281f157 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-10 11:54:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-10 13:16:55 +0000 profiles: last-rite media-plugins/gst-plugins-va Closes: https://bugs.gentoo.org/907479 Closes: https://bugs.gentoo.org/907481 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8fdc47378f4d53b5c1ebcc0f821d5b9f1e4753e commit d8fdc47378f4d53b5c1ebcc0f821d5b9f1e4753e Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-10 11:50:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-10 13:16:28 +0000 media-libs/gst-plugins-bad: unsplit gst-plugins-va It belongs better in gst-plugins-bad, given vaapi is a global USE flag, and it's not split upstream anyway. Closes: https://bugs.gentoo.org/907479 Signed-off-by: Sam James <sam@gentoo.org> .../gst-plugins-bad-1.22.3-r2.ebuild | 102 +++++++++++++++++++++ 1 file changed, 102 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824ce0e87ee4eff6cb4ebfb2a45e3fcaf784b9cd commit 824ce0e87ee4eff6cb4ebfb2a45e3fcaf784b9cd Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-10 14:22:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-10 14:23:26 +0000 media-libs/gst-plugins-bad: fix va Thanks to kostadin for reporting. Add in a bunch of stashed changes (like commenting out RESTRICT="test" again for now as I need to recheck that). Bug: https://bugs.gentoo.org/907479 Fixes: d8fdc47378f4d53b5c1ebcc0f821d5b9f1e4753e Signed-off-by: Sam James <sam@gentoo.org> ....3-r2.ebuild => gst-plugins-bad-1.22.3-r3.ebuild} | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)