Hello everyone. I just wanted to report this bug I came across when cross building sys-apps/flashrom-0.9.9 on aarch64 through qemu chroot environment. However sys-apps/flashrom-0.9.8 did compile just fine. Attached is full build failure and emerge --info of the atom. ThinkPad / # emerge -a flashrom These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ~] sys-apps/flashrom-0.9.9 USE="atapromise atavia buspirate_spi drkaiser dummy ft2232_spi gfxnvidia internal internal_dmi it8212 linux_spi nicintel nicintel_eeprom nicintel_spi ogp_spi pickit2_spi pony_spi satasii serprog usbblaster_spi wiki (-atahpt) -ch341a_spi -dediprog -mstarddc_spi (-nic3com) (-nicnatsemi) (-nicrealtek) (-rayer_spi) (-satamv) -static -tools" Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/flashrom-0.9.9::gentoo * flashrom-0.9.9.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking flashrom-0.9.9.tar.bz2 to /var/tmp/portage/sys-apps/flashrom-0.9.9/work >>> Source unpacked in /var/tmp/portage/sys-apps/flashrom-0.9.9/work >>> Preparing source in /var/tmp/portage/sys-apps/flashrom-0.9.9/work/flashrom-0.9.9 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/flashrom-0.9.9/work/flashrom-0.9.9 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/flashrom-0.9.9/work/flashrom-0.9.9 ... make -j4 WARNERROR=no CONFIG_ATAHPT=no CONFIG_ATAPROMISE=yes CONFIG_ATAVIA=yes CONFIG_BUSPIRATE_SPI=yes CONFIG_CH341A_SPI=no CONFIG_DEDIPROG=no CONFIG_DRKAISER=yes CONFIG_DUMMY=yes CONFIG_FT2232_SPI=yes CONFIG_GFXNVIDIA=yes CONFIG_INTERNAL=yes CONFIG_IT8212=yes CONFIG_LINUX_SPI=yes CONFIG_MSTARDDC_SPI=no CONFIG_NIC3COM=no CONFIG_NICINTEL=yes CONFIG_NICINTEL_EEPROM=yes CONFIG_NICINTEL_SPI=yes CONFIG_NICNATSEMI=no CONFIG_NICREALTEK=no CONFIG_OGP_SPI=yes CONFIG_PICKIT2_SPI=yes CONFIG_PONY_SPI=yes CONFIG_RAYER_SPI=no CONFIG_SATAMV=no CONFIG_SATASII=yes CONFIG_SERPROG=yes CONFIG_USBBLASTER_SPI=yes CONFIG_PRINT_WIKI=yes CONFIG_STATIC=no Files don't seem to be under version control. Replacing all version templates with 0.9.9-r1955. The following features are unavailable on your machine: CONFIG_ATAPROMISE=yes Makefile:1240: recipe for target 'featuresavailable' failed make: *** [featuresavailable] Error 1 * ERROR: sys-apps/flashrom-0.9.9::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/flashrom-0.9.9::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/flashrom-0.9.9::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/flashrom-0.9.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/flashrom-0.9.9/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/flashrom-0.9.9/work/flashrom-0.9.9' * S: '/var/tmp/portage/sys-apps/flashrom-0.9.9/work/flashrom-0.9.9' >>> Failed to emerge sys-apps/flashrom-0.9.9, Log file: >>> '/var/tmp/portage/sys-apps/flashrom-0.9.9/temp/build.log' * Messages for package sys-apps/flashrom-0.9.9: * ERROR: sys-apps/flashrom-0.9.9::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/flashrom-0.9.9::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/flashrom-0.9.9::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/flashrom-0.9.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/flashrom-0.9.9/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/flashrom-0.9.9/work/flashrom-0.9.9' * S: '/var/tmp/portage/sys-apps/flashrom-0.9.9/work/flashrom-0.9.9' ThinkPad / # ThinkPad / # emerge --info flashrom Portage 2.3.6 (python 3.4.5-final-0, default/linux/arm64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.9.34-gentoo aarch64) ================================================================= System Settings ================================================================= System uname: Linux-4.9.34-gentoo-aarch64-with-gentoo-2.3 KiB Mem: 12015688 total, 3906652 free KiB Swap: 12582908 total, 12564488 free Timestamp of repository gentoo: Sat, 28 Oct 2017 07:54:50 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p48-r1::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 ACCEPT_KEYWORDS="arm64" ACCEPT_LICENSE="* -@EULA" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe" CHOST="aarch64-unknown-linux-gnu" 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="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2" 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 xattr" FFLAGS="-O2" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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="acl arm64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules multilib ncurses nls nptl openmp pam pcre readline seccomp session ssl tcpd unicode xattr zlib" 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_ARM="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2" ELIBC="glibc" 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" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev dummy 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Please do let me know if there is anything else I could help with. Regards, Pietro
I apologize for the delay, got caught up with work. I can confirm flashrom-0.9.9 compiles and build just fine with -atapromise. I appreciate the help Mike, thank you. Regards, Pietro