I have MAKEOPTS set to core count + 1 (-j13) and this fails to build. If I use -j1 it works. Not sure of the cause with efitools but their Makefile seems broken for parallel builds, but it did work back in version 1.5.3. Workaround is to use package-specific environment: mkdir -p /etc/portage/env/app-crypt echo 'MAKEOPTS="-j1"' > /etc/portage/env/app-crypt/efitools mkdir -p /etc/portage/package.env echo 'app-crypt/efitools app-crypt/efitools' > /etc/portage/package.env/efitools emerge efitools $ emerge --info efitools Password: Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/systemd, gcc-5.4.0, glibc-2.23-r2, 4.7.2-gentoo-limelight x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.7.2-gentoo-limelight-x86_64-Intel-R-_Core-TM-_i7-5930K_CPU_@_3.50GHz-with-gentoo-2.3 KiB Mem: 32831544 total, 13590184 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 13 Sep 2016 06:15:01 +0000 sh bash 4.3_p46 ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1 app-shells/bash: 4.3_p46::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.0-r1::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.6.2::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.21.7::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.26.1::gentoo sys-devel/gcc: 5.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://tatsh/gentoo-portage priority: -1000 jamiel-gentoo-overlay location: /var/lib/layman/jamiel-gentoo-overlay masters: gentoo priority: 50 java location: /var/lib/layman/java masters: gentoo priority: 50 srcshelton location: /var/lib/layman/srcshelton masters: gentoo priority: 50 tatsh-overlay location: /var/lib/layman/tatsh-overlay masters: gentoo priority: 50 vortex location: /var/lib/layman/vortex masters: gentoo priority: 50 Installed sets: @ansible, @bashcomp, @beanstalk, @cdr, @chrome, @clang, @cups, @dracut, @firefox, @gimp, @git, @grub, @ibus, @icedtea, @icewm, @libimobiledevice, @logrotate, @media, @misc, @mlocate, @mupen64plus, @mysql, @php, @php-xdebug, @pidgin, @portage-dev, @portage-utilities, @postgresql, @python, @rar, @samba, @shellcheck, @ssh, @stepmania, @tatshnet, @tmux, @vagrant, @virtualbox, @vlc, @wine, @x11, @x11-misc, @xirvik-vpn ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/gcruft /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -ggdb" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/" LANG="en_GB.utf8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,--as-needed" MAKEOPTS="-j13" 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="X acl aes alsa amd64 avx avx2 bash-completion bluetooth bzip2 cdio cjk cli cracklib crypt cups cxx dbus dri exif ffmpeg flac fma3 fortran gdbm gif gpm iconv idn ipv6 jemalloc jpeg jpeg2k lcms mad mmx mmxext mod modules mp3 multilib ncurses nls nptl ogg openmp pam pcre pdf png popcnt qt5 readline samba seccomp session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg syslog systemd tcpd tiff truetype udev unicode usb vim-syntax vorbis webp xattr xinerama zlib" ABI_X86="64" 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" DRACUT_MODULES="crypt crypt-gpg crypt-loop gensplash lvm ssh-client systemd" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21 ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia 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" USE_PYTHON="2.7 3.4" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-crypt/efitools-1.7.0::gentoo was built with the following: USE="-libressl" ABI_X86="64"
Could you also attach a build.log? Fixing the Makefile would be preferable to the workaround. Also note this is a maintainer needed package. So no developer might look at this bug. You are encouraged to become a proxied maintainer if you are interested in this package.
Same here.
Created attachment 456164 [details] build.log
Created attachment 456172 [details, diff] Makefile patch Not sure how to send this upstream...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef467475348515b2583558594d101b25c254526e commit ef467475348515b2583558594d101b25c254526e Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2017-12-18 19:06:22 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2017-12-18 19:06:22 +0000 app-crypt/efitools: fix makefile deps Patch by Felix Janda. Closes: https://bugs.gentoo.org/593656 Package-Manager: Portage-2.3.19_p1, Repoman-2.3.6_p35 app-crypt/efitools/efitools-1.7.0.ebuild | 7 +++++++ app-crypt/efitools/files/1.7.0-Make.rules.patch | 11 +++++++++++ 2 files changed, 18 insertions(+)