stable keyworded sys-kernel/dracut::musl fails to build with fts-standalone-0.2-r1::gentoo but it builds fine with sys-libs/fts-standalone-1.2.7::gentoo, which is ~amd64 so stable package requires unstable to build. to me the failure looks like because fts-standalone-0.2-r1 does not provide /usr/lib/pkgconfig/fts-standalone.pc file. I see following solutions: 1) make fts-standalone-0.2-r1 provide a .pc file 2) hack dracut::musl build system even more to stop looking for /usr/lib/pkgconfig/fts-standalone.pc and just pass -lfts. currently there is a patch in musl overlay that adds standalone fts detection via pkgconfig. 3) keyword sys-libs/fts-standalone-1.2.7::gentoo as stable. Reproducible: Always Portage 2.3.20 (python 3.5.4-final-0, hardened/linux/musl/amd64, gcc-6.4.0, musl-1.1.18, 4.15.7-gentoo-r1-retpoline x86_64) ================================================================= System uname: Linux-4.15.7-gentoo-r1-retpoline-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-gentoo-2.4.1 KiB Mem: 65883076 total, 55081956 free KiB Swap: 8388600 total, 8388600 free Timestamp of repository gentoo: Mon, 05 Mar 2018 15:47:01 +0000 Timestamp of repository musl: Sun, 04 Mar 2018 17:51:11 +0000 Head commit of repository musl: 1d35acb98e010836e5dd00498ef710149a2c0d11 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.3::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.12::musl sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 6.4.0-r1::musl sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.13::musl (virtual/os-headers) sys-libs/musl: 1.1.18::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: musl location: /var/db/repos/musl sync-type: git sync-uri: https://github.com/gentoo-mirror/musl.git masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-gentoo-linux-musl" CFLAGS="-O2 -pipe" CHOST="x86_64-gentoo-linux-musl" CONFIG_PROTECT="/etc" 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="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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://distfiles.gentoo.org" INSTALL_MASK="charset.alias" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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="amd64 bindist cli crypt cxx dri fortran hardened iconv ipv6 mmx modules ncurses nls nptl openmp pam pcre pic pie readline seccomp sse sse2 ssl ssp tcpd unicode xattr zlib" ABI_X86="64" 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" ELIBC="musl" 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="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" 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, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Emerging (3 of 3) sys-kernel/dracut-045-r2::musl * dracut-045.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] * Determining the location of the kernel source code * Unable to find kernel sources at /usr/src/linux * Please make sure that /usr/src/linux points at your running kernel, * (or the kernel you wish to build against). * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location * Unable to calculate Linux Kernel version for build, attempting to use running version >>> Unpacking source... >>> Unpacking dracut-045.tar.xz to /var/tmp/portage/sys-kernel/dracut-045-r2/work >>> Source unpacked in /var/tmp/portage/sys-kernel/dracut-045-r2/work >>> Preparing source in /var/tmp/portage/sys-kernel/dracut-045-r2/work/dracut-045 ... * Applying 045-systemdutildir.patch ... [ ok ] * Applying dracut-045-libfts.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-kernel/dracut-045-r2/work/dracut-045 ... ./configure --prefix=/usr --sysconfdir=/etc --bashcompletiondir=/usr/share/bash-completion/completions --systemdsystemunitdir=/lib/systemd/system checking for libkmod... yes checking whether we have fts available from libc... no checking whether we have fts available from libfts... no fts not in libc and libfts not found. * ERROR: sys-kernel/dracut-045-r2::musl failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 1870: Called die * The specific snippet of code: * ./configure "${myconf[@]}" || die * * If you need support, post the output of `emerge --info '=sys-kernel/dracut-045-r2::musl'`, * the complete build log and the output of `emerge -pqv '=sys-kernel/dracut-045-r2::musl'`. * The complete build log is located at '/var/tmp/portage/sys-kernel/dracut-045-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/dracut-045-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-kernel/dracut-045-r2/work/dracut-045' * S: '/var/tmp/portage/sys-kernel/dracut-045-r2/work/dracut-045' >>> Failed to emerge sys-kernel/dracut-045-r2, Log file: >>> '/var/tmp/portage/sys-kernel/dracut-045-r2/temp/build.log' * Messages for package app-text/asciidoc-8.6.10: * If you are going to use a2x, please also look at a2x(1) under * REQUISITES for a list of runtime dependencies. * * (Note: Above message is only printed the first time package is * installed. Please look at /usr/share/doc/asciidoc-8.6.10/README.gentoo* * for future reference) * Messages for package sys-kernel/dracut-045-r2: * Unable to find kernel sources at /usr/src/linux * Unable to calculate Linux Kernel version for build, attempting to use running version * ERROR: sys-kernel/dracut-045-r2::musl failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 1870: Called die * The specific snippet of code: * ./configure "${myconf[@]}" || die * * If you need support, post the output of `emerge --info '=sys-kernel/dracut-045-r2::musl'`, * the complete build log and the output of `emerge -pqv '=sys-kernel/dracut-045-r2::musl'`. * The complete build log is located at '/var/tmp/portage/sys-kernel/dracut-045-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/dracut-045-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-kernel/dracut-045-r2/work/dracut-045' * S: '/var/tmp/portage/sys-kernel/dracut-045-r2/work/dracut-045'
I've stabilized fts-standalone-1.2.7 for all musl arches. Reopen this bug if it is still a problem.