The musl C library doesn't have backtrace support. The btrfs-progs ebuild disables backtrace support on non-glibc systems, but the gkbuild file for btrfs-progs does not. Reproducible: Always Steps to Reproduce: 1. genkernel --btrfs initramfs Actual Results: ERROR: create_initramfs(): append_data(): append_btrfs(): populate_binpkg(): gkbuild(): Failed to create binpkg of btrfs-progs-5.12.1! Expected Results: genkernel should build an initrd with btrfs-progs included Portage 3.0.20 (python 3.9.6-final-0, default/linux/ppc64le/17.0/musl/hardened, gcc-10.3.0, musl-1.2.2-r3, 5.10.70-gentoo-ppc64le ppc64le) ================================================================= System uname: Linux-5.10.70-gentoo-ppc64le-ppc64le-POWER8,_altivec_supported-with-libc KiB Mem: 133719104 total, 125846336 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 01 Oct 2021 00:45:01 +0000 Head commit of repository gentoo: 95839274ef7c289570c1c7c7549f3ed5439b9b98 Head commit of repository musl: 98ef5d1abd9ad842d686e976738f0957354b815a Head commit of repository stintel: af9012e900cf2084c0aa9fb15929414db384b1ea sh bash 5.1_p8 ld GNU ld (Gentoo 2.36.1 p5) 2.36.1 app-shells/bash: 5.1_p8::gentoo dev-lang/perl: 5.34.0-r2::gentoo dev-lang/python: 3.9.6_p2::gentoo dev-util/cmake: 3.20.5::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.43.5::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.36.1-r2::gentoo sys-devel/gcc: 10.3.0-r2::musl sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10-r1::musl (virtual/os-headers) sys-libs/musl: 1.2.2-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync.exclude sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 musl location: /var/db/repos/musl sync-type: git sync-uri: https://github.com/gentoo/musl.git masters: gentoo stintel location: /var/db/repos/stintel sync-type: git sync-uri: https://github.com/stintel/gentoo-overlay.git masters: gentoo ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="@FREE" CBUILD="powerpc64le-gentoo-linux-musl" CFLAGS="-O2 -pipe" CHOST="powerpc64le-gentoo-linux-musl" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.leaseweb.com/gentoo" INSTALL_MASK="charset.alias locale.alias" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j40" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync.exclude" 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="acl bzip2 caps crypt hardened iconv ipv6 libglvnd ncurses nls nptl openmp pam pcre pic pie ppc64 readline seccomp smp split-usr ssl ssp unicode xattr xtpax zlib" ABI_PPC="64" ADA_TARGET="gnat_2019" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="ieee1275" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="fbdev mga nv r128 radeon dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RUSTFLAGS
Created attachment 742398 [details] genkernel.log
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=4db4564e99c03779fb7121a64d48240e9d773939 commit 4db4564e99c03779fb7121a64d48240e9d773939 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-10-01 18:42:34 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-10-01 18:43:36 +0000 gkbuilds/btrfs-progs: Disable backtrace on non-glibc systems Bug: https://bugs.gentoo.org/815676 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> gkbuilds/btrfs-progs.gkbuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
This was released with genkernel-4.2.5.