Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907479 - media-libs/gst-plugins-bad-1.22.3 - ERROR: failed (install phase): Header checksum mismatch, aborting.
Summary: media-libs/gst-plugins-bad-1.22.3 - ERROR: failed (install phase): Header ch...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-05-31 08:51 UTC by squatted_posture785
Modified: 2023-06-10 14:23 UTC (History)
1 user (show)

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


Attachments
tarball with build log (gst-plugins-bad-1.22.3.log.tar.gz,54.05 KB, application/gzip)
2023-05-31 08:51 UTC, squatted_posture785
Details
emerge --info (emerge-info.log,16.99 KB, text/x-log)
2023-05-31 08:51 UTC, squatted_posture785
Details

Note You need to log in before you can comment on or make changes to this bug.
Description squatted_posture785 2023-05-31 08:51:09 UTC
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.
Comment 1 squatted_posture785 2023-05-31 08:51:20 UTC
Created attachment 862961 [details]
emerge --info
Comment 2 Daniel Pouzzner 2023-05-31 14:10:19 UTC
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.
Comment 3 Mike Gilbert gentoo-dev 2023-05-31 14:41:05 UTC
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.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-01 01:41:31 UTC
The ebuild rightly passes -Dva=disabled, but it's automagic in gst-libs/ for libgstva.

Patch: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/479f0175b51ea74b07084c8a508b7a7224445a02.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-01 03:07:59 UTC
I have some questions I need to talk over with leio before moving forward.
Comment 6 Larry the Git Cow gentoo-dev 2023-06-01 03:11:09 UTC
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(+)
Comment 7 squatted_posture785 2023-06-01 08:37:37 UTC
Fixed on my end with media-libs/gst-plugins-bad-1.22.3-r1
Comment 8 Larry the Git Cow gentoo-dev 2023-06-10 13:18:16 UTC
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(+)
Comment 9 Larry the Git Cow gentoo-dev 2023-06-10 14:23:51 UTC
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(-)