Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818007 - media-libs/libsdl-1.2.15_p20210224 - Header checksum mismatch, aborting.
Summary: media-libs/libsdl-1.2.15_p20210224 - Header checksum mismatch, aborting.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-13 20:01 UTC by Michal Jakubowski
Modified: 2021-10-16 07:52 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,8.36 KB, text/plain)
2021-10-13 20:03 UTC, Michal Jakubowski
Details
build.log (build.log,243.90 KB, text/x-log)
2021-10-13 20:03 UTC, Michal Jakubowski
Details
SDL_config.h_64 (SDL_config.h_64,9.25 KB, text/x-csrc)
2021-10-13 21:23 UTC, Michal Jakubowski
Details
SDL_config.h_32 (SDL_config.h_32,9.25 KB, text/x-csrc)
2021-10-13 21:23 UTC, Michal Jakubowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jakubowski 2021-10-13 20:01:15 UTC
* Header files have changed between ABIs.
 * --- /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/temp/.multilib_header_cksum      2021-10-13 21:56:39.545462709 +0200
 * +++ /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/temp/.multilib_header_cksum.new  2021-10-13 21:56:40.630465801 +0200
 * @@ -26,7 +26,7 @@
 *  2388167499 6481 /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/image/usr/include/SDL/SDL_syswm.h
 *  3386328469 6956 /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/image/usr/include/SDL/SDL_endian.h
 *  1447794034 7492 /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/image/usr/include/SDL/SDL_keysym.h
 * -980554323 9471 /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/image/usr/include/SDL/SDL_config.h
 * +2678462411 9468 /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/image/usr/include/SDL/SDL_config.h
 *  597913454 979 /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/image/usr/include/SDL/SDL_getenv.h
 *  3469501864 979 /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/image/usr/include/SDL/SDL_types.h
 *  1517271009 986 /var/tmp/portage/ram/portage/media-libs/libsdl-1.2.15_p20210224/image/usr/include/SDL/SDL_byteorder.h
 * ERROR: media-libs/libsdl-1.2.15_p20210224::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_install
 *   environment, line 3843:  Called multilib-minimal_src_install
 *   environment, line 3179:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 3412:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 3066:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 3064:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line 1804:  Called multilib-minimal_abi_src_install
 *   environment, line 3176:  Called multilib_check_headers
 *   environment, line 3235:  Called die
 * The specific snippet of code:
 *               die "Header checksum mismatch, aborting.";
 * 


Reproducible: Always
Comment 1 Michal Jakubowski 2021-10-13 20:01:53 UTC
T440p ~ # gcc-config -l
 [1] powerpc64-unknown-linux-gnu-11.2.0 *

 [2] x86_64-pc-linux-gnu-11.2.0 *
Comment 2 Michal Jakubowski 2021-10-13 20:03:27 UTC
Created attachment 744783 [details]
emerge-info.txt
Comment 3 Michal Jakubowski 2021-10-13 20:03:41 UTC
Created attachment 744786 [details]
build.log
Comment 4 James Le Cuirot gentoo-dev 2021-10-13 20:48:57 UTC
I am unable to reproduce this. Please could you diff or upload the generated SDL_config.h files from the 32-bit and 64-bit builds.
Comment 5 Michal Jakubowski 2021-10-13 21:23:05 UTC
Created attachment 744807 [details]
SDL_config.h_64
Comment 6 Michal Jakubowski 2021-10-13 21:23:17 UTC
Created attachment 744810 [details]
SDL_config.h_32
Comment 7 Michal Jakubowski 2021-10-13 21:23:30 UTC
T440p /home/sparc # diff -BbruN SDL_config.h_64 SDL_config.h_32
--- SDL_config.h_64     2021-10-13 23:20:57.958565402 +0200
+++ SDL_config.h_32     2021-10-13 23:20:48.524381567 +0200
@@ -188,7 +188,7 @@
 /* #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H */
 /* #undef SDL_AUDIO_DRIVER_PAUD */
 /* #undef SDL_AUDIO_DRIVER_QNXNTO */
-#define SDL_AUDIO_DRIVER_SNDIO 1
+/* #undef SDL_AUDIO_DRIVER_SNDIO */
 /* #undef SDL_AUDIO_DRIVER_SNDMGR */
 /* #undef SDL_AUDIO_DRIVER_SUNAUDIO */
 /* #undef SDL_AUDIO_DRIVER_WAVEOUT */
Comment 8 James Le Cuirot gentoo-dev 2021-10-13 21:45:59 UTC
Okay, that makes sense. We're missing --disable-sndio for configure. We could add a USE flag for it but we're half way to dropping the old SDL1 ebuild in favour of the SDL2 compatibility wrapper. I'll apply this fix soon.
Comment 9 Michal Jakubowski 2021-10-13 22:03:27 UTC
Thx.
Comment 10 Larry the Git Cow gentoo-dev 2021-10-16 07:52:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da741705ac7f5305d00a35ac859cfeaa6eaef51c

commit da741705ac7f5305d00a35ac859cfeaa6eaef51c
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2021-10-16 07:52:20 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2021-10-16 07:52:43 +0000

    media-libs/libsdl: Disable autodetection of sndio
    
    We could add a sndio USE flag, but we're half way to dropping the real
    SDL1 in favour of the SDL2 compatibility wrapper.
    
    Closes: https://bugs.gentoo.org/818007
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 media-libs/libsdl/libsdl-1.2.15_p20210224.ebuild | 1 +
 1 file changed, 1 insertion(+)