Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607634 - media-libs/libsdl-1.2.15-r9 fails to install
Summary: media-libs/libsdl-1.2.15-r9 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
: 607814 607860 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-29 16:18 UTC by Kilian
Modified: 2017-02-01 13:05 UTC (History)
7 users (show)

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


Attachments
build log (1485705697-install-media-libs_libsdl-1.2.15-r9:0::gentoo.out,187.17 KB, text/plain)
2017-01-29 16:18 UTC, Kilian
Details
build.log (build.log,187.17 KB, text/plain)
2017-01-30 00:32 UTC, Nicholas Sanders
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kilian 2017-01-29 16:18:54 UTC
Created attachment 461840 [details]
build log

libtool: install: chmod 644 /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image//usr/lib64/libSDLmain.a
libtool: install: x86_64-pc-linux-gnu-ranlib /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image//usr/lib64/libSDLmain.a
libtool: warning: remember to run 'libtool --finish /usr/lib64'

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =media-libs/libsdl-1.2.15-r9:0::gentoo -
  * When installing 'media-libs/libsdl-1.2.15-r9:0::gentoo' replacing { 'media-libs/libsdl-1.2.15-r9:0::installed' }:
  * When running an ebuild command on 'media-libs/libsdl-1.2.15-r9:0::gentoo':
  * Install failed for 'media-libs/libsdl-1.2.15-r9:0::gentoo' (paludis::ActionFailedError)

 * Header files have changed between ABIs.
 * --- /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp//.multilib_header_cksum        2017-01-29 17:02:20.858413773 +0100
+++ /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp//.multilib_header_cksum.new       2017-01-29 17:02:21.619432163 +0100
@@ -26,7 +26,7 @@
 3968043060 6055 /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image/usr/include/SDL/SDL_endian.h
 2759741249 6319 /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image/usr/include/SDL/SDL_syswm.h
 1447794034 7492 /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image/usr/include/SDL/SDL_keysym.h
-119801237 9198 /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image/usr/include/SDL/SDL_config.h
+833377752 9201 /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image/usr/include/SDL/SDL_config.h
 597913454 979 /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image/usr/include/SDL/SDL_getenv.h
 3469501864 979 /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image/usr/include/SDL/SDL_types.h
 1517271009 986 /var/tmp/paludis/media-libs-libsdl-1.2.15-r9/image/usr/include/SDL/SDL_byteorder.h

!!! ERROR in media-libs/libsdl-1.2.15-r9::gentoo:
!!! In multilib_check_headers at line 4265
!!! Header checksum mismatch, aborting.

!!! Call stack:
!!!    * multilib_check_headers (/var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp/loadsaveenv:4265)
!!!    * multilib-minimal_abi_src_install (/var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp/loadsaveenv:4206)
!!!    * _multilib_multibuild_wrapper (/var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp/loadsaveenv:921)
!!!    * _multibuild_run (/var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp/loadsaveenv:4094)
!!!    * multibuild_foreach_variant (/var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp/loadsaveenv:4096)
!!!    * multilib_foreach_abi (/var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp/loadsaveenv:4403)
!!!    * multilib-minimal_src_install (/var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp/loadsaveenv:4209)
!!!    * src_install (/var/tmp/paludis/media-libs-libsdl-1.2.15-r9/temp/loadsaveenv:5183)
!!!    * ebuild_f_install (/usr/libexec/paludis/4/src_install.bash:66)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:675)
!!!    * main (/usr/libexec/paludis/ebuild.bash:698)

diefunc: making ebuild PID 20784 exit with error
die trap: exiting with error.

Failed install to / for media-libs/libsdl-1.2.15-r9:0::gentoo replacing 1.2.15-r9:0::installed
Comment 1 Nicholas Sanders 2017-01-30 00:29:57 UTC
I am experiencing the same header mismatch issue.

libtool: install: x86_64-pc-linux-gnu-ranlib /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image//usr/lib64/libSDLmain.a
libtool: warning: remember to run 'libtool --finish /usr/lib64'
/usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 include/SDL_config.h /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image//usr/include/SDL/SDL_config.h
 * Header files have changed between ABIs.
 * --- /var/tmp/portage/media-libs/libsdl-1.2.15-r9/temp/.multilib_header_cksum 2017-01-29 09:16:42.335452814 -0600
 * +++ /var/tmp/portage/media-libs/libsdl-1.2.15-r9/temp/.multilib_header_cksum.new     2017-01-29 09:16:43.166452892 -0600
 * @@ -26,7 +26,7 @@
 *  3968043060 6055 /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image/usr/include/SDL/SDL_endian.h
 *  2759741249 6319 /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image/usr/include/SDL/SDL_syswm.h
 *  1447794034 7492 /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image/usr/include/SDL/SDL_keysym.h
 * -962118289 9198 /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image/usr/include/SDL/SDL_config.h
 * +3828408700 9201 /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image/usr/include/SDL/SDL_config.h
 *  597913454 979 /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image/usr/include/SDL/SDL_getenv.h
 *  3469501864 979 /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image/usr/include/SDL/SDL_types.h
 *  1517271009 986 /var/tmp/portage/media-libs/libsdl-1.2.15-r9/image/usr/include/SDL/SDL_byteorder.h
 * ERROR: media-libs/libsdl-1.2.15-r9::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.


-------------------------
+ emerge --info         +
-------------------------
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.4, glibc-2.23-r3, 4.9.6-gentoo x86_64)
=================================================================
System uname: Linux-4.9.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.3
KiB Mem:    32845960 total,    332700 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 29 Jan 2017 17:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

betagarden
    location: /var/lib/layman/betagarden
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/betagarden.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: git://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

y2kbadbug
    location: /var/lib/layman/y2kbadbug
    sync-type: laymansync
    sync-uri: https://github.com/y2kbadbug/gentoo-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X \ a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dv dvd dvdr egl emboss encode epub exif faac fam ffmpeg firefox flac fortran frei0r gdbm gif glamor gles glitz gnutls gtk gtk2 htmlhandbook iconv ieee1394 imagemagick imap inotify ipv6 jpeg kde lame lcms ldap libnotify mad matroska mbox mmx mng modules mp3 mp4 mpeg mtp multilib musicbrainz ncurses nls nptl nss ntfs offensive ogg opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 quicktime readline samba scanner sdl seccomp semantic-desktop session smp spell sqlite sse sse2 ssl ssse3 startup-notification svg system-sqlite taglib tcpd theora tiff truetype udev udisks unicode upower usb v4l vorbis vpx wayland wxwidgets x264 xa xattr xcb xcomposite xml xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="battery brightness" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Nicholas Sanders 2017-01-30 00:32:58 UTC
Created attachment 461870 [details]
build.log
Comment 3 Yanestra 2017-01-31 15:49:17 UTC
*** Bug 607814 has been marked as a duplicate of this bug. ***
Comment 4 Yanestra 2017-01-31 15:59:56 UTC
The problem is abi_x86_32 related, without that USE flag compilation will succeed. This is also a workaround if 32bit libraries are not needed.
Comment 5 wkg 2017-01-31 18:30:42 UTC
# required by media-video/ffmpeg-2.8.10::gentoo[sdl]
# required by media-video/obs-studio-17.0.2::gentoo
# required by @selected
# required by @world (argument)
>=media-libs/libsdl-1.2.15-r9 abi_x86_32

needed :(
Comment 6 Yanestra 2017-01-31 22:13:01 UTC
@wkg

package.use:
media-video/ffmpeg -sdl
Comment 7 Kilian 2017-01-31 22:16:22 UTC
Disabling abi_x86_32 is not a solution to this bug but a workaround, so how to disable it is not really important here :-) Thx.
Comment 8 Egor Y. Egorov 2017-02-01 05:11:30 UTC
This is because on x86_32 nasm enabled, but on x86_64 disabled.
This path work for me

diff --git a/media-libs/libsdl/libsdl-1.2.15-r9.ebuild b/media-libs/libsdl/libsdl-1.2.15-r9.ebuild
index 56cb5e34e3..bde25caac9 100644
--- a/media-libs/libsdl/libsdl-1.2.15-r9.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.15-r9.ebuild
@@ -79,7 +79,7 @@ src_prepare() {
 
 multilib_src_configure() {
        local myconf=
-       if [[ $(tc-arch) != "x86" ]] ; then
+       if [[ $(tc-arch) != "x86" ]] || use abi_x86_64 ; then
                myconf="${myconf} --disable-nasm"
        else
                myconf="${myconf} --enable-nasm"
Comment 9 Fabian Groffen gentoo-dev 2017-02-01 07:34:00 UTC
based on comment #8, this was introduced by a prefix patch
Comment 10 Fabian Groffen gentoo-dev 2017-02-01 07:37:42 UTC
I reverted that specific bit of code:

@@ -79,7 +79,7 @@ src_prepare() {
 
 multilib_src_configure() {
        local myconf=
-       if [[ $(tc-arch) != "x86" ]] ; then
+       if use !x86 && use !x86-linux ; then
                myconf="${myconf} --disable-nasm"
        else
                myconf="${myconf} --enable-nasm"

that should solve this bug, sorry for the inconvenience.
Comment 11 Fabian Groffen gentoo-dev 2017-02-01 07:44:26 UTC
*** Bug 607860 has been marked as a duplicate of this bug. ***
Comment 12 Yanestra 2017-02-01 13:05:44 UTC
Btw. pls bump version numbers when making extensive changes and keep an older version alive till the new one has proven.

They'd call it unprofessional otherwise.