Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] Emerge failed for dev-libs/elfutils-0.194-r1

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Kneffr
n00b
n00b
Posts: 4
Joined: Sun Mar 22, 2026 11:26 pm

[SOLVED] Emerge failed for dev-libs/elfutils-0.194-r1

  • Quote

Post by Kneffr » Mon Mar 23, 2026 12:13 am

I was following the steam installation guide from the wiki and encountered an emerge failure for dev-libs/elfutils-0.194-r1 during the step of emerging steam-launcher.

Code: Select all

emerge --info '=dev-libs/elfutils-0.194-r1::gentoo'
Portage 3.0.77 (python 3.13.11-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-15, glibc-2.42-r5, 6.18.18-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.18.18-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-10400F_CPU_@_2.90GHz-with-glibc2.42
KiB Mem:    16221048 total,   7519084 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Tue, 17 Mar 2026 15:15:00 +0000
Head commit of repository gentoo: e3faea2ab59be00cabe42892e6a693e1aac252c5
Head commit of repository steam-overlay: 1c591b53ffcd9c744b7b2b130c87e652a7d11a86

sh bash 5.3_p9
ld GNU ld (Gentoo 2.46.0 p1) 2.46.0
app-misc/pax-utils:        1.3.10::gentoo
app-shells/bash:           5.3_p9::gentoo
dev-build/autoconf:        2.72-r6::gentoo
dev-build/automake:        1.18.1::gentoo
dev-build/cmake:           4.1.4::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r102::gentoo
dev-build/meson:           1.9.2::gentoo
dev-lang/perl:             5.42.0-r1::gentoo
dev-lang/python:           3.13.11::gentoo, 3.14.2::gentoo
dev-lang/rust-bin:         1.92.0::gentoo
llvm-core/llvm:            21.1.8::gentoo
sys-apps/baselayout:       2.18::gentoo
sys-apps/openrc:           0.63-r1::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-devel/binutils:        2.46.0::gentoo
sys-devel/binutils-config: 5.6::gentoo
sys-devel/gcc:             15.2.1_p20260214::gentoo
sys-devel/gcc-config:      2.12.2::gentoo
sys-kernel/linux-headers:  6.18::gentoo (virtual/os-headers)
sys-libs/glibc:            2.42-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoo
    location: /var/cache/binhost/gentoo
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
    verify-signature: True

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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-index config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_CL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8 -l5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="bzip2"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 avif bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dist-kernel dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gui iconv icu ipv6 jpeg jpegxl kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland webp widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_15" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 bmi1 bmi2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oncore skytraq superstar2 tsip tripmate tnt" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

dev-libs/elfutils-0.194-r1::gentoo was built with the following:
USE="bzip2 debuginfod libarchive lzma nls utils -stacktrace -static-libs -test -valgrind -verify-sig -zstd" ABI_X86="(64) -32 (-x32)"

Code: Select all

emerge -pqv '=dev-libs/elfutils-0.194-r1::gentoo'
[ebuild   R   ] dev-libs/elfutils-0.194-r1  USE="bzip2 debuginfod libarchive lzma nls utils -stacktrace -static-libs -test -valgrind -verify-sig -zstd" ABI_X86="32* (64) (-x32)" 

 * IMPORTANT: 30 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
The build.log is very long, but I think this might be helpful:

Code: Select all

configure:
=====================================================================
        elfutils: 0.194 (eu_version: 194)
=====================================================================

    Prefix                             : /usr
    Program prefix ("eu-" recommended) : eu-
    Source code location               : /var/tmp/portage/dev-libs/elfutils-0.194-r1/work/elfutils-0.194
    Maintainer mode                    : 
    build arch                         : i686-pc-linux-gnu

    CFLAGS=-D_FORTIFY_SOURCE=2 -march=native -O2 -pipe
    CXXFLAGS=-D_FORTIFY_SOURCE=2 -march=native -O2 -pipe

  RECOMMENDED FEATURES (should all be yes)
    gzip support                       : yes
    bzip2 support                      : yes
    lzma/xz support                    : yes
    zstd support                       : no
    zstd compression support           : no
    libstdc++ demangle support         : yes
    File textrel check                 : yes
    Symbol versioning                  : yes

  NOT RECOMMENDED FEATURES (should all be no)
    Experimental thread safety         : no
    install elf.h                      : no

  OTHER FEATURES
    Deterministic archives by default  : false
    Native language support            : yes
    Extra Valgrind annotations         : no
    libdebuginfod client support       : no
    Debuginfod server support          : no
    Default DEBUGINFOD_URLS            : 
    Debuginfod RPM sig checking        : no
    Default DEBUGINFOD_IMA_CERT_PATH   : 
    eu-stacktrace support              : no

  EXTRA TEST FEATURES (used with make check)
    have bunzip2 installed (required)  : yes
    have zstd installed                : yes
    C++11                              : yes
    debug branch prediction            : no
    gprof support                      : no
    gcov support                       : no
    run all tests under valgrind       : no
    gcc undefined behaviour sanitizer  : no
    gcc address sanitizer              : no
    clang memory sanitizer             : no
    use rpath in tests                 : no
    test biarch                        : no

Code: Select all

 
 /usr/lib/portage/python3.13/ebuild-helpers/xattr/install -c -m 644 '/var/tmp/portage/dev-libs/elfutils-0.194-r1/work/elfutils-0.194/doc/srcfiles.1' '/var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/share/man/man1/eu-srcfiles.1'
Making install in tests
make  install-am
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/include/elfutils'
 /usr/lib/portage/python3.13/ebuild-helpers/xattr/install -c -m 644 version.h '/var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/include/elfutils'
 * Header files have changed between ABIs.
 * --- /var/tmp/portage/dev-libs/elfutils-0.194-r1/temp/.multilib_header_cksum  2026-03-22 20:41:40.908608795 -0300
 * +++ /var/tmp/portage/dev-libs/elfutils-0.194-r1/temp/.multilib_header_cksum.new      2026-03-22 20:41:41.378088744 -0300
 * @@ -6,6 +6,7 @@
 *  667085607 39682 /var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/include/elfutils/libdwfl.h
 *  586567023 47042 /var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/include/elfutils/known-dwarf.h
 *  1169694680 47932 /var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/include/elfutils/libdw.h
 * +3005355285 5207 /var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/include/elfutils/debuginfod.h
 *  884288186 6454 /var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/include/elfutils/libdwelf.h
 *  2523142931 7007 /var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/include/elfutils/libdwfl_stacktrace.h
 *  430906316 7116 /var/tmp/portage/dev-libs/elfutils-0.194-r1/image/usr/include/elfutils/libasm.h
 * ERROR: dev-libs/elfutils-0.194-r1::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.
 * 
 * Call stack:
 *     ebuild.sh, line  143:  Called src_install
 *   environment, line 2221:  Called multilib-minimal_src_install
 *   environment, line 1552:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 1782:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 1464:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 1462:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  431:  Called multilib-minimal_abi_src_install
 *   environment, line 1549:  Called multilib_check_headers
 *   environment, line 1600:  Called die
 * The specific snippet of code:
 *               die "Header checksum mismatch, aborting.";
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.194-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.194-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.194-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.194-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/elfutils-0.194-r1/work/elfutils-0.194-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/elfutils-0.194-r1/work/elfutils-0.194'

I thought it might be related to zstd in the RECOMMENDED FEATURES sections but after following the guide for installing zstd in the wiki and retrying the emerge for steam-launcher I got the same error.
There is another topic on dev-libs/elfutils failing to emerge [topic=1135407]here[/topic] but the cause seems pretty different, though I'm pretty new to gentoo so I could have overlooked something.
Last edited by Kneffr on Mon Mar 23, 2026 2:53 am, edited 1 time in total.
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Mon Mar 23, 2026 12:53 am

Welcome to the forums.

As I read the output, elfutils installed usr/include/elfutils/debuginfod.h for only one of the two ABI_X86 builds. This is wrong, and needs to be fixed in Portage. As a local workaround, you could disable the ABI_X86=32 build if you do not need it, or you could set USE=-debuginfod for elfutils.

Please search [bug=]bugs.gentoo.org[/bug] to see whether this has been reported and, if not, report it.
Top
sam_
Developer
Developer
User avatar
Posts: 2814
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Mon Mar 23, 2026 1:01 am

Needs to be fixed in the ::gentoo repository, that is, not the package manager ;)

Anyway, fixed already, see [bug=971289]bug 971289[/bug].
Top
Kneffr
n00b
n00b
Posts: 4
Joined: Sun Mar 22, 2026 11:26 pm

  • Quote

Post by Kneffr » Mon Mar 23, 2026 1:21 am

sam_ wrote:Needs to be fixed in the ::gentoo repository, that is, not the package manager ;)

Anyway, fixed already, see [bug=971289]bug 971289[/bug].
Thanks for the link, will check it out.
Top
Kneffr
n00b
n00b
Posts: 4
Joined: Sun Mar 22, 2026 11:26 pm

  • Quote

Post by Kneffr » Mon Mar 23, 2026 2:51 am

sam_ wrote:Needs to be fixed in the ::gentoo repository, that is, not the package manager ;)

Anyway, fixed already, see [bug=971289]bug 971289[/bug].
This may be a skill issue on my part but after checking the link to the bug I really didn't understand how to fix the debuginfod build (that is on my part though :oops: ). Having said that, I tried emerge --sync just in case and this seems to have solved the issue, so I will mark the topic as solved.
Top
sam_
Developer
Developer
User avatar
Posts: 2814
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Mon Mar 23, 2026 2:56 am

That's exactly what you needed to do :)
Top
Kneffr
n00b
n00b
Posts: 4
Joined: Sun Mar 22, 2026 11:26 pm

  • Quote

Post by Kneffr » Mon Mar 23, 2026 3:05 am

Perfect, thanks! I expected the fix to be way more complicated considering how long the steps are for completing tasks but including this error,. the whole experience has been smooth sailing.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic