Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543892 - dev-libs/nettle-2.7.1-r3 failed to build on x86 multilib: Header checksum mismatch, aborting.
Summary: dev-libs/nettle-2.7.1-r3 failed to build on x86 multilib: Header checksum mis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-20 11:47 UTC by killerpsi23
Modified: 2015-03-27 06:41 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,191.37 KB, text/plain)
2015-03-22 05:26 UTC, killerpsi23
Details

Note You need to log in before you can comment on or make changes to this bug.
Description killerpsi23 2015-03-20 11:47:42 UTC
package and its use flags I tried to build:

dev-libs/nettle-2.7.1-r3:0/4::gentoo  USE="gmp -doc (-neon) -static-libs {-test}" ABI_X86="32* (64) (-x32)"

error message:

* Header files have changed between ABIs.
 * --- /var/tmp/portage/dev-libs/nettle-2.7.1-r3/temp/.multilib_header_cksum    2015-03-20 19:01:53.500311642 +0800
 * +++ /var/tmp/portage/dev-libs/nettle-2.7.1-r3/temp/.multilib_header_cksum.new        2015-03-20 19:01:53.603311635 +0800
 * @@ -44,6 +44,6 @@
 *  1328385945 6891 /var/tmp/portage/dev-libs/nettle-2.7.1-r3/image/usr/include/nettle/umac.h
 *  1421145472 7161 /var/tmp/portage/dev-libs/nettle-2.7.1-r3/image/usr/include/nettle/macros.h
 *  2015044409 7340 /var/tmp/portage/dev-libs/nettle-2.7.1-r3/image/usr/include/nettle/nettle-meta.h
 * -3040272121 8124 /var/tmp/portage/dev-libs/nettle-2.7.1-r3/image/usr/include/nettle/nettle-stdint.h
 * +3313410129 8149 /var/tmp/portage/dev-libs/nettle-2.7.1-r3/image/usr/include/nettle/nettle-stdint.h
 *  2167350342 8378 /var/tmp/portage/dev-libs/nettle-2.7.1-r3/image/usr/include/nettle/dsa.h
 *  2339886376 8476 /var/tmp/portage/dev-libs/nettle-2.7.1-r3/image/usr/include/nettle/ecc.h
 * ERROR: dev-libs/nettle-2.7.1-r3::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 3362:  Called autotools-multilib_src_install
 *   environment, line  592:  Called multilib-minimal_src_install
 *   environment, line 2620:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 2807:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2508:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2506:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  552:  Called multilib-minimal_abi_src_install
 *   environment, line 2617:  Called multilib_check_headers
 *   environment, line 2670:  Called die
 * The specific snippet of code:
 *               die "Header checksum mismatch, aborting.";
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/nettle-2.7.1-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/nettle-2.7.1-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/nettle-2.7.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nettle-2.7.1-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/nettle-2.7.1-r3/work/nettle-2.7.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/nettle-2.7.1-r3/work/nettle-2.7.1'

So I using 'diff' to show the difference of these two headers.

diff /var/tmp/portage/dev-libs/nettle-2.7.1-r3/work/nettle-2.7.1-abi_x86_32.x86/nettle-stdint.h /var/tmp/portage/dev-libs/nettle-2.7.1-r3/work/nettle-2.7.1-abi_x86_64.amd64/nettle-stdint.h

5c5
< /* generated using gnu compiler gcc (Gentoo 4.9.2 p1.1, pie-0.6.2) 4.9.2 */
---
> /* generated using gnu compiler x86_64-unknown-linux-gnu-gcc (Gentoo 4.9.2 p1.1, pie-0.6.2) 4.9.2 */

= =;

Reproducible: Always
Comment 1 killerpsi23 2015-03-20 11:50:44 UTC
emerge --info '=dev-libs/nettle-2.7.1-r3::gentoo'

Portage 2.2.18 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.9.2, 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-_i7-4710MQ_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     8048408 total,   5853672 free
KiB Swap:    8388604 total,   8074240 free
Timestamp of repository gentoo: Fri, 20 Mar 2015 06:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /sbin/installkernel /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg 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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.stuhome.net/gentoo/ http://mirrors.163.com/gentoo/ http://mirrors.sohu.com/gentoo/ http://mirrors.xmu.edu.cn/gentoo"
LANG="zh_CN.UTF-8"
LC_ALL="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/var/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"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr clang cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif git glamor gpm gstreamer gtk gtk3 iconv icu infinality ipv6 jpeg kde kipi lcms ldap libav libnotify lua mad mmx mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio python qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 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" INPUT_DEVICES="evdev joystick synaptics roccat_konepure" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US zh zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="i915 intel nvidia vesa" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

dev-libs/nettle-2.7.1-r3::gentoo was built with the following:
USE="gmp -doc (-neon) -static-libs -test" ABI_X86="64 -32 -x32"
CFLAGS="-O2 -pipe -fstack-protector-strong -march=native -mtune=native"
CXXFLAGS="-O2 -pipe -fstack-protector-strong -march=native -mtune=native"
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-03-21 16:55:05 UTC
Please attach the full build log.
Comment 3 killerpsi23 2015-03-22 05:26:03 UTC
Created attachment 399444 [details]
build.log

the full build log
Comment 4 killerpsi23 2015-03-22 05:27:42 UTC
(In reply to Michael Palimaka (kensington) from comment #2)
> Please attach the full build log.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2015-03-27 06:41:12 UTC
Fixed, I hope.

nettle-2.7.1-r4