Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514486 - =media-libs/libsdl-1.2.15-r6 - multilib build failure with USE="ggi"
Summary: =media-libs/libsdl-1.2.15-r6 - multilib build failure with USE="ggi"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: x32 gx86-multilib
  Show dependency tree
 
Reported: 2014-06-22 20:04 UTC by Bertrand Jacquin
Modified: 2014-06-30 20:29 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,239.56 KB, text/plain)
2014-06-22 20:04 UTC, Bertrand Jacquin
Details
emerge --info (info.log,16.14 KB, text/plain)
2014-06-22 20:04 UTC, Bertrand Jacquin
Details
/var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_config.h (SDL_config.h,8.96 KB, text/plain)
2014-06-26 09:50 UTC, Charlie Gehlin
Details
SDL_config.h for multilib (abi_x86_64 and abi_x86_32) (SDL_config.h,8.96 KB, text/x-csrc)
2014-06-26 09:56 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2014-06-22 20:04:17 UTC
media-libs/libsdl-1.2.15-r6 do not build any more for ABI_X86="64 (x32)" :

for src in /var/tmp/portage/media-libs/libsdl-1.2.15-r6/work/SDL-1.2.15/docs/man3/*.3; do \
    file=`echo $src | sed -e 's|^.*/||'`; \
    /usr/lib/portage/bin/ebuild-helpers/xattr/install -c -m 644 $src /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image//usr/share/man/man3/$file; \done
 * Header files have changed between ABIs.
 * --- /var/tmp/portage/media-libs/libsdl-1.2.15-r6/temp/.multilib_header_cksum 2014-06-22 12:59:06.570000000 -0700
 * +++ /var/tmp/portage/media-libs/libsdl-1.2.15-r6/temp/.multilib_header_cksum.new     2014-06-22 12:59:34.830000000 -0700
 * @@ -26,7 +26,7 @@
 *  3968043060 6055 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_endian.h
 *  2759741249 6319 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_syswm.h
 *  1447794034 7492 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_keysym.h
 * -1766731980 9177 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_config.h
 * +3090740634 9174 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_config.h
 *  597913454 979 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_getenv.h
 *  3469501864 979 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_types.h
 *  1517271009 986 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_byteorder.h
 * ERROR: media-libs/libsdl-1.2.15-r6::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 3661:  Called multilib-minimal_src_install
 *   environment, line 2861:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 3048:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2654:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2652:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  644:  Called multilib-minimal_abi_src_install
 *   environment, line 2858:  Called multilib_check_headers
 *   environment, line 2911:  Called die
 * The specific snippet of code:
 *               die "Header checksum mismatch, aborting.";

Attached full build log, and emerge --info

Reproducible: Always
Comment 1 Bertrand Jacquin 2014-06-22 20:04:40 UTC
Created attachment 379424 [details]
build.log
Comment 2 Bertrand Jacquin 2014-06-22 20:04:52 UTC
Created attachment 379426 [details]
emerge --info
Comment 3 Paolo Pedroni 2014-06-23 08:13:58 UTC
Same for me for abi_x86_32:
 * Header files have changed between ABIs.
 * --- /var/tmp/portage/media-libs/libsdl-1.2.15-r6/temp/.multilib_header_cksum 2014-06-23 09:48:58.486547370 +0200
 * +++ /var/tmp/portage/media-libs/libsdl-1.2.15-r6/temp/.multilib_header_cksum.new     2014-06-23 09:49:27.767463168 +0200
 * @@ -26,7 +26,7 @@
 *  3968043060 6055 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_endian.h
 *  2759741249 6319 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_syswm.h
 *  1447794034 7492 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_keysym.h
 * -2724806829 9180 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_config.h
 * +23024666 9177 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_config.h
 *  597913454 979 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_getenv.h
 *  3469501864 979 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_types.h
 *  1517271009 986 /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_byteorder.h
 * ERROR: media-libs/libsdl-1.2.15-r6::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 3679:  Called multilib-minimal_src_install
 *   environment, line 2879:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 3066:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2661:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2659:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  651:  Called multilib-minimal_abi_src_install
 *   environment, line 2876:  Called multilib_check_headers
 *   environment, line 2929:  Called die
 * The specific snippet of code:
 *               die "Header checksum mismatch, aborting.";
 * 
 * If you need support, post the output of `emerge --info '=media-libs/libsdl-1.2.15-r6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libsdl-1.2.15-r6::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/media-libs/libsdl-1.2.15-r6:20140623-074739.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/libsdl-1.2.15-r6/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libsdl-1.2.15-r6/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libsdl-1.2.15-r6/work/SDL-1.2.15-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-libs/libsdl-1.2.15-r6/work/SDL-1.2.15'
Comment 4 Julian Ospald 2014-06-23 15:07:13 UTC
attach SDL_config.h from the x32 build
Comment 5 Billy DeVincentis 2014-06-25 10:35:33 UTC
Does anyone have a possible solution for this?
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-25 11:41:16 UTC
(In reply to Billy DeVincentis from comment #5)
> Does anyone have a possible solution for this?

Please start by attaching /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_config.h. We don't have x32 systems, so we have no idea what the issue is.
Comment 7 Charlie Gehlin 2014-06-26 09:50:08 UTC
Created attachment 379710 [details]
/var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/SDL_config.h

Same problem here, confirming. Attached my SDL_config.h.
Comment 8 Paolo Pedroni 2014-06-26 09:56:33 UTC
Created attachment 379712 [details]
SDL_config.h for multilib (abi_x86_64 and abi_x86_32)

(In reply to Michał Górny from comment #6)
> Please start by attaching
> /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/
> SDL_config.h. We don't have x32 systems, so we have no idea what the issue
> is.

You don't need x32 systems, the same thing happens with "regular" multilib (abi_x86_64 and abi_x86_32). Here is my SDL_config.h for that case.
Comment 9 Charlie Gehlin 2014-06-26 10:09:03 UTC
I think GGI might be related, if I break (Ctrl+Z) mid-compiling and do 'diff /var/tmp/portage/media-libs/libsdl-1.2.15-r6/work/SDL-1.2.15-abi_x86_64.amd64/include/SDL_config.h /var/tmp/portage/media-libs/libsdl-1.2.15-r6/work/SDL-1.2.15-abi_x86_32.x86/include/SDL_config.h'

I get the following diff:
269c269
< #define SDL_VIDEO_DRIVER_GGI 1
---
> /* #undef SDL_VIDEO_DRIVER_GGI */

Also, compiling with USE="-ggi" succeeds.
Comment 10 Charlie Gehlin 2014-06-26 10:12:15 UTC
(In reply to Paolo Pedroni from comment #8)
> Created attachment 379712 [details]
> SDL_config.h for multilib (abi_x86_64 and abi_x86_32)
> 
> (In reply to Michał Górny from comment #6)
> > Please start by attaching
> > /var/tmp/portage/media-libs/libsdl-1.2.15-r6/image/usr/include/SDL/
> > SDL_config.h. We don't have x32 systems, so we have no idea what the issue
> > is.
> 
> You don't need x32 systems, the same thing happens with "regular" multilib
> (abi_x86_64 and abi_x86_32). Here is my SDL_config.h for that case.

That is correct, I have amd64-system with multilibs and both 64 and 32 ABI's enabled here as well.
Comment 11 Julian Ospald 2014-06-26 11:48:28 UTC
we have to convert media-libs/libggi to multilib... that's the only way I see here
Comment 12 Charlie Gehlin 2014-06-26 12:08:16 UTC
Is libggi even alive? 2+ years since last submission in ChangeLog and $HOMEPAGE points to some private german blog... :/
Comment 13 Bernd Feige 2014-06-26 14:58:48 UTC
(In reply to Charlie Gehlin from comment #12)
> Is libggi even alive? 2+ years since last submission in ChangeLog and
> $HOMEPAGE points to some private german blog... :/

Yes, http://www.ggi-project.org/ has changed ownership and is no longer related to the ggi project, see http://sourceforge.net/p/ggi/mailman/message/32085435/ - currently the only project home page appears to be http://www.ibiblio.org/ggicore/index.html - should we file another bug report to fix $HOMEPAGE?
Comment 14 Julian Ospald 2014-06-26 15:04:32 UTC
Alternatively, we could be lazy and drop ggi USE flag. Afais there is not a single ebuild that depends on media-libs/libsdl[ggi].

But I'd still try to convert it first.
Comment 15 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-26 21:09:07 UTC
(In reply to Julian Ospald (hasufell) from comment #14)
> Alternatively, we could be lazy and drop ggi USE flag. Afais there is not a
> single ebuild that depends on media-libs/libsdl[ggi].
> 
> But I'd still try to convert it first.

And SDL2 doesn't have ggi anymore. We can probably also drop svgalib support since it got removed in SDL2 too, and it's keyworded x86 only.
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2014-06-26 21:56:11 UTC
+1 for dropping both ggi and svgalib support.
Comment 17 Julian Ospald 2014-06-30 20:29:25 UTC
+*libsdl-1.2.15-r7 (30 Jun 2014)
+
+ 30 Jun 2014; Julian Ospald <hasufell@gentoo.org> +libsdl-1.2.15-r7.ebuild,
+ +files/libsdl-1.2.15-caca.patch:
+ fix various multilib failures wrt #514486 

ggi, svgalib and ps3 removed

also fixed build failure with caca enabled