When trying to upgrade e2fsprogs, e2fsprogs-1.45.0-r1 fails with: make[1]: Entering directory '/var/tmp/portage/sys-fs/e2fsprogs-1.45.0-r1/work/e2fsprogs-1.45.0/scrub' MKDIR_P /lib/udev/rules.d MKDIR_P /usr/lib64/e2fsprogs MKDIR_P /lib/systemd/system INSTALL /lib/udev/rules.d/e2scrub.rules INSTALL /etc/cron.d/e2scrub_all /usr/bin/install: cannot create regular file '/var/tmp/portage/sys-fs/e2fsprogs-1.45.0-r1/image/etc/cron.d/e2scrub_all': No such file or directory
Created attachment 568558 [details] build.log
emerge --info =sys-fs/e2fsprogs-1.45.0-r1::gentoo Portage 2.3.62 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-8.3.0, glibc-2.28-r5, 4.20.13-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.20.13-gentoo-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-gentoo-2.6 KiB Mem: 7853636 total, 71644 free KiB Swap: 8388604 total, 8089596 free Timestamp of repository gentoo: Mon, 11 Mar 2019 06:00:01 +0000 Head commit of repository gentoo: 24c81ff7185f768be1a5550d6cbaaf88f1c47daa sh bash 5.0_p2-r2 ld GNU ld (Gentoo 2.32 p1) 2.32.0 app-shells/bash: 5.0_p2-r2::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.0::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo dev-util/cmake: 3.13.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.15::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32::gentoo sys-devel/gcc: 8.3.0::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.28-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 matrix location: /var/lib/layman/matrix masters: gentoo priority: 50 pentoo location: /var/lib/layman/pentoo masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://gentoo.c3sl.ufpr.br/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4 -l4" 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 a52 aac aalib acl acpi activities aim alsa amd64 apng audiofile audit avx ayatana bash-completion bcmath berkdb blas bluetooth branding bzip2 cairo calendar cdb cdda cddb cdinstall cdparanoia cdr chromium cli clutter colord cracklib crypt cryptsetup css cups curl curlwrappers cvs cxx dbus declarative djvu dng dri dts dv dvd dvdr elfutils emboss encode enscript exif expat fam farstream ffmpeg fftw flac flickr fontconfig foomaticdb fortran ftp gcrypt gd gdbm gdu geo geoip gif gimp git glamor glut gmp gnuplot gnutls go google gphoto2 gpm graphviz gsl gsm gstreamer gtk gtk3 gtkhtml gudev gzip handbook hbci hdf5 iconv icq icu idn imagemagick imap imlib ipv6 jabber jack java javascript jbig jingle jit jpeg jpeg2k kde kdepim kipi kwallet lame lapack lash latex lcms ldap libcaca libedit libffi libnotify libsamplerate libtirpc libwww lm_sensors lua lzma lzo mad maildir matroska memlimit mhash mikmod milter mime mmap mms mmx mng modplug mp3 mp4 mpeg mpi mplayer msn mtp multilib musepack musicbrainz mysql nas ncurses netcdf networkmanager nls nntp nocd nptl nsplugin ocr odbc offensive ofx ogg openal openexr opengl openmp openvg osc oscar pam pango pcntl pcre pda pdf phonon php plasma plotutils png policykit portaudio ppds pulseaudio python qml qt5 quicktime raw rdesktop readline recode rss samba sasl scanner sdl seccomp semantic-desktop session sharedmem shorten slang slp smp sndfile snmp soap sockets sound sox speex spell sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion suid svg syslog systemd szip taglib tcpd telepathy themes theora threads tiff timidity tokenizer truetype udev udisks unicode upnp upower usb v4l vaapi video videos vim-syntax vnc vorbis vpn vpnc wavpack webkit widgets win32codecs wmf wxwidgets x264 xattr xcb xcomposite xface xft xinerama xml xmlrpc xmp xmpp xosd xpm xscreensaver xsl xv xvid yahoo yaz zeroconf zip 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="karbon sheets words" 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" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport java javafx profiler websvccommon cnd php webcommon" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Does this also happen with MAKEOPTS being set to "-j1"?
(In reply to Lars Wendler (Polynomial-C) from comment #3) > Does this also happen with MAKEOPTS being set to "-j1"? No, in fact MAKEOPTS="-j1" emerge -1 e2fsprogs works :-)
Same here. Succeeds with MAKEOPTS="-j1" emerge --info Portage 2.3.62 (python 3.6.6-final-0, default/linux/amd64/17.0, gcc-7.4.0, glibc-2.29-r2, 5.0.3-gentoo x86_64) ================================================================= System uname: Linux-5.0.3-gentoo-x86_64-AMD_Turion-tm-_II_Neo_N40L_Dual-Core_Processor-with-gentoo-2.6 KiB Mem: 16274364 total, 6665716 free KiB Swap: 7577596 total, 7577596 free Timestamp of repository gentoo: Fri, 12 Apr 2019 19:30:01 +0000 Head commit of repository gentoo: 1014d67b6fef117cf70dbedd46149195b129fa00 sh bash 5.0_p3-r1 ld GNU gold (Gentoo 2.31.1 p5 2.31.1) 1.16 distcc 3.3.2 x86_64-pc-linux-gnu [disabled] ccache version 3.6 [enabled] app-shells/bash: 5.0_p3-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.0-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo dev-util/ccache: 3.6::gentoo dev-util/cmake: 3.13.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.1::gentoo sys-apps/sandbox: 2.17::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r3::gentoo, 2.32::gentoo sys-devel/gcc: 7.3.0-r6::gentoo, 7.4.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: gentoo location: /home/cache/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: no squeezebox location: /var/lib/layman/squeezebox masters: gentoo priority: 0 x-portage location: /usr/local/portage masters: gentoo priority: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/portage/make.conf /usr/bin/pear /usr/bin/vncserver /usr/lib/X11/xdm/Xsetup_0 /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/hp/hplip.conf /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/home/cache/distfiles" EMERGE_DEFAULT_OPTS="--nospinner --quiet-build=n --verbose-conflicts" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 ccache distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pid-sandbox 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://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.leaseweb.com/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://mirror.netcologne.de/gentoo/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="-j10 -l1.2" PKGDIR="/home/cache/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="/tmp" USE="3dnow 3dnowext X509 a52 aac accessibility acl acpi amd64 apache2 bash-completion berkdb bzip2 clamav cli consolekit crypt curl curlwrappers cxx dbm dbus dbx dri dv dvd enca encode exif fam fastcgi fat ffmpeg flac foomaticdb fortran ftp gd gd-external gdbm gnutls gudev hardened hwdb iconv imagemagick imap imlib innodb java javascript jpeg lcms libkms libtirpc libwww lzo mad matroska mdadm minimal mmx mmxext mp3 multilib mysql ncurses network nls nptl nsplugin ntfs offensive ogg openmp optimized-qmake pam pcre pcre16 php png policykit posix raw readline rtmp samba scanner seccomp session sharedmem snmp soap sse sse2 sse4a ssl startup-notification tcpd theora threads tidy tiff tokenizer tordns udev unicode usb vdpau vhosts win32codecs x264 xattr xinetd xmlrpc xsl xv xvid xvmc xz zip zlib" ABI_X86="64" APACHE2_MODULES="access_compat actions alias auth_basic auth_digest authn_core authn_anon authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info libass log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="radeon r600 vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 575466 [details, diff] proposed patch for e2fsprogs-1.45.0/scrub/Makefile.in Problem is that in scrub/Makefile the various 'install-*' targets do not explicitly depend on their corresponding 'installdirs-*' target, so they get run in parallel. With this userpatch in etc/portage/patches/sys-fs/e2fsprogs/ the build does succeed.
(In reply to Michael Haubenwallner from comment #6) > Created attachment 575466 [details, diff] [details, diff] > proposed patch for e2fsprogs-1.45.0/scrub/Makefile.in > > Problem is that in scrub/Makefile the various 'install-*' targets do not > explicitly depend on their corresponding 'installdirs-*' target, so they get > run in parallel. > > With this userpatch in etc/portage/patches/sys-fs/e2fsprogs/ the build does > succeed. Thank you for the patch. I've filed an upstream pull request.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=975e2f7f8f5ff35b927b6e4019d6fc5204c513ea commit 975e2f7f8f5ff35b927b6e4019d6fc5204c513ea Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-05-13 08:48:40 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-05-13 08:54:32 +0000 sys-fs/e2fsprogs: Bump to version 1.45.1 Closes: https://bugs.gentoo.org/680030 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-fs/e2fsprogs/Manifest | 1 + sys-fs/e2fsprogs/e2fsprogs-1.45.1.ebuild | 143 +++++++++++++++++++++++++++++++ 2 files changed, 144 insertions(+)