Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545030 - =x11-libs/libva-1.3.1 failed with Header checksum mismatch when building with ABI_X86="32 64"
Summary: =x11-libs/libva-1.3.1 failed with Header checksum mismatch when building with...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-30 08:05 UTC by Moritz Schlarb
Modified: 2017-06-10 06:25 UTC (History)
2 users (show)

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


Attachments
build log (build.log,179.48 KB, text/plain)
2015-03-30 08:07 UTC, Moritz Schlarb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Schlarb 2015-03-30 08:05:48 UTC
I tried rebuilding @world with ABI_X86="32 64" and it failed on =x11-libs/libva-1.3.1 with:

Reproducible: Always

Actual Results:  
 * Messages for package x11-libs/libva-1.3.1:

 * Header files have changed between ABIs.
 * --- /var/tmp/portage/x11-libs/libva-1.3.1/temp/.multilib_header_cksum	2015-03-30 07:51:01.049873479 +0200
 * +++ /var/tmp/portage/x11-libs/libva-1.3.1/temp/.multilib_header_cksum.new	2015-03-30 07:51:03.103883381 +0200
 * @@ -1,5 +1,6 @@
 *  3485217633 10535 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_enc_mpeg2.h
 *  258470004 14490 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_backend.h
 * +3222789369 1601 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_backend_egl.h
 *  3436447172 1776 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_drm.h
 *  2842681881 2205 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_backend_vpp.h
 *  4011800049 2253 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_backend_tpi.h
 * @@ -9,6 +10,7 @@
 *  1420360520 2970 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_drmcommon.h
 *  2899218400 3893 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_tpi.h
 *  793724036 4067 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_compat.h
 * +748295864 510 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_egl.h
 *  237709313 6458 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_dec_jpeg.h
 *  4146006377 8345 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va_dec_vp8.h
 *  2344737577 91566 /var/tmp/portage/x11-libs/libva-1.3.1/image/usr/include/va/va.h
 * ERROR: x11-libs/libva-1.3.1::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 3381:  Called autotools-multilib_src_install
 *   environment, line  605:  Called multilib-minimal_src_install
 *   environment, line 2638:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 2825:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2526:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2524:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  565:  Called multilib-minimal_abi_src_install
 *   environment, line 2635:  Called multilib_check_headers
 *   environment, line 2688:  Called die
 * The specific snippet of code:
 *               die "Header checksum mismatch, aborting.";



# emerge --info '=x11-libs/libva-1.3.1::gentoo'
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.20-r2, 3.18.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.9-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.2
KiB Mem:     3839120 total,     34524 free
KiB Swap:    4194300 total,   4194144 free
Timestamp of tree: Mon, 30 Mar 2015 00:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r2
Repositories: gentoo java tlp sublime-text mrpdaemon betagarden gamerlay tox-overlay steam-overlay x-portage moopoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
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.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=native -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 webrsync-gpg"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-march=native -O2 -pipe -Wl,-O2"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java /var/lib/layman/tlp /var/lib/layman/sublime-text /var/lib/layman/mrpdaemon /var/lib/layman/betagarden /var/lib/layman/gamerlay /var/lib/layman/tox-overlay /var/lib/layman/steam-overlay /usr/local/portage /opt/moopoo"
SYNC=""
USE="X a52 aac acl acpi aes alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cli colord cracklib crypt cryptsetup cups cxx dbus dri dts dvd dvdr eds egl emboss encode evo exif fam ffmpeg firefox firewalld flac fontconfig fortran gdbm gif glamor gles1 gles2 gnome gnome-keyring gpm gstreamer gtk iconv introspection ipv6 jack jpeg lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl offensive ogg opengl openmp pam pango pcre pdf png policykit popcnt ppds pulseaudio python readline sdl session spell spice sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis x264 xa xcb xft xinerama xml xv xvid xvmc zlib" ABI_X86="32 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="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="intel i915 i965" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-libs/libva-1.3.1 was built with the following:
USE="X drm egl opengl vdpau -wayland" ABI_X86="64 -32 -x32" VIDEO_CARDS="intel -dummy -fglrx -nvidia"

# emerge -pqv '=x11-libs/libva-1.3.1::gentoo'
[ebuild   R   ] x11-libs/libva-1.3.1  USE="X drm egl opengl vdpau -wayland" ABI_X86="32* (64) (-x32)" VIDEO_CARDS="intel -dummy -fglrx -nvidia" 
[ebuild   R   ] x11-libs/libva-vdpau-driver-0.7.4-r2  USE="opengl -debug" ABI_X86="32* (64) (-x32)" 
[ebuild   R   ] x11-libs/libva-intel-driver-1.3.0  USE="X drm -wayland" ABI_X86="32* (64) (-x32)"
Comment 1 Moritz Schlarb 2015-03-30 08:07:01 UTC
Created attachment 400128 [details]
build log

Also, disabling the egl useflag for x11-libs/libva makes the package build correctly.
Comment 2 Rafał Mużyło 2015-03-30 08:24:09 UTC
Given the difference happens happens during "checking for eglGetDisplay in -lEGL", check the config.logs, but most likely mesa disagrees...
Comment 3 Rafał Mużyło 2015-03-30 08:25:48 UTC
...
PS: do you honestly want ABI_X86 as a *global* setting ?
Comment 4 Moritz Schlarb 2017-06-10 06:25:40 UTC
Sorry for digging up this old bug, but it doesn't seem relevant anymore - libva has been successfully rebuilt and updated in the meantime ;-)

(In reply to Rafał Mużyło from comment #3)
> ...
> PS: do you honestly want ABI_X86 as a *global* setting ?

But I tried finding out why I did that - I think it's because Steam requires several dependencies with abi_x86_32 (https://wiki.gentoo.org/wiki/Steam#USE_flags) and I figured it to be much easier to set that globally than for a specific list of packages that could probably change in the future.
Apart from having to compile more, I didn't (and don't) think it could be the source of problems...