Summary: | sys-apps/sandbox: static gzip fails while unpacking microcode-20180807a.tgz | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jacekalex <wampir98> |
Component: | Current packages | Assignee: | Sandbox Maintainers <sandbox> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, bkohler, chain, mattst88 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=737220 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild-log |
Description
Jacekalex
2019-01-02 08:08:52 UTC
(In reply to Jacekalex from comment #0) > * Package: sys-firmware/intel-microcode-20180807a_p20181215 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc hostonly initramfs kernel_linux > split-ucode userland_GNU > * FEATURES: fakeroot network-sandbox preserve-libs splitdebug userpriv > usersandbox > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 4.19.13-gn1 I was expecting to see a few lines starting with this one here: >>> Unpacking source... > tar: Child returned status 141 > tar: Error is not recoverable: exiting now Please attach the entire build log to this bug report. Created attachment 559572 [details]
ebuild-log
debug-ebuild.log
Output from command: ebuild --debug --color=n /var/portage/gentoo/sys-firmware/intel-microcode/intel-microcode-20180807a_p20181215.ebuild unpack Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/hardened, gcc-7.3.0, glibc-2.27-r6, 4.19.13-gn1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.19.13-gn1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.6 KiB Mem: 8151388 total, 1743468 free KiB Swap: 4192920 total, 4192920 free Timestamp of repository gentoo: Wed, 02 Jan 2019 00:44:24 +0000 sh bash 4.4_p12 ld GNU ld (Gentoo 2.30 p5) 2.30.0 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.5::libressl dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.38.3-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r4::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /media/bazy/portage/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 gcpan location: /media/bazy/portage/gcpan masters: gentoo priority: 0 lokalny location: /media/bazy/portage/local masters: gentoo priority: 1 freeswitch location: /media/bazy/portage/layman/freeswitch masters: gentoo priority: 2 mozilla location: /media/bazy/portage/layman/mozilla masters: gentoo priority: 3 libressl location: /media/bazy/portage/layman/libressl sync-type: laymansync sync-uri: https://github.com/gentoo/libressl.git masters: gentoo priority: 50 mva location: /media/bazy/portage/layman/mva sync-type: laymansync sync-uri: https://github.com/msva/mva-overlay masters: gentoo priority: 50 pentoo location: /media/bazy/portage/layman/pentoo sync-type: laymansync sync-uri: https://github.com/pentoo/pentoo-overlay.git masters: gentoo priority: 50 rion location: /media/bazy/portage/layman/rion sync-type: laymansync sync-uri: https://github.com/rion-overlay/rion-overlay.git masters: gentoo priority: 50 steam-overlay location: /media/bazy/portage/layman/steam-overlay sync-type: laymansync sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 Installed sets: @apparch, @compiz, @fonts, @gry, @mate, @pidgin, @sysapps, @themes, @vdpau, @wireless ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/lib64/tomoyo/conf /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/bind" 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.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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CPPFLAGS="-march=native -O2 -pipe" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/home/Gentoo/sources" EMERGE_DEFAULT_OPTS=" --keep-going --buildpkg --tree --with-bdeps=y --autounmask-write --binpkg-respect-use=n" 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-logs buildpkg config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="pl_PL.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pl en en-US" MAKEOPTS="-j1" PKGDIR="/home/Gentoo/paczki54" 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 alsa amd64 bzip2 caps cgroups crypt cxx dbus dri ffmpeg geoloc glade gles2 gnome gtk hardened iconv icu idn introspection ipv6 jack jit kde libressl libtirpc multilib mysql ncurses nls nptl ntfs nvidia opencl opengl openmp openssl oss pam pcre pie readline reiser4 savedconfig seccomp ssl ssp static static-libs tls tty-helpers unicode vaapi vdpau wayland x265 xattr xtpax zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel snd-card-hda-intel cx88-audio usb-audio" APACHE2_MODULES="actions alias asis auth_basic auth_digest charset_lite ratelimit authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi charset_lite deflate dir disk_cache dumpio env expires ext_filter filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation reqtimeout rewrite setenvif speling status substitute ratelimit remoteip reqtimeout unique_id userdir usertrack version vhost_alias ssl static http_upload http_geoip http_headers_more passenger" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" CURL_SSL="gnutls" ELIBC="glibc" ENLIGHTENMENT_MODULES="access clock conf conf-applications conf-bindings conf-comp conf-dialogs conf-display conf-interaction conf-intl conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-wallpaper2 conf-window-manipulation conf-window-remembers connman contact cpufreq everything fileman fileman-opinfo gadman illume2 lokker mixer msgbus music-control notification packagekit pager pager-plain policy-mobile quickaccess shot start syscon systray tasks teamwork temperature tiling winlist wizard wl-desktop-shell wl-drm wl-screenshot wl-text-input wl-wl wl-x11 xkbswitch xwayland" 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 keyboard mouse" KERNEL="linux" L10N="pl en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access auth_basic auth_pam naxsi security autoindex browser charset encrypted_session fancyindex empty_gif http_push_stream http_v2 fastcgi geo geoip2 gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi cache_purge degradation flv geoip headers_more image_filter limit_conn metrics mp4 pagespeed pcre-jit perl push push_stream random_index realip secure_link slowfs_cache stub_status sub upload upload_progress xslt passenger upstream_hash vhost_traffic_status" NGINX_MODULES_STREAM="access geo geoip2 limit_conn map realip split_clients ssl_preread" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm aarch64" QEMU_USER_TARGETS="i386 x86_64 arm aarch64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nouveau" XTABLES_ADDONS="gradm psd lscan length2 ipv4options ipset ipp2p iface geoip fuzzy tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account condition dnetmap pknock quota2" Unset: CC, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-arch/tar-1.30::gentoo was built with the following: USE="acl nls (xattr) -minimal (-selinux) (-static)" ABI_X86="(64)" sys-apps/portage-2.3.51-r1::gentoo was built with the following: USE="(ipc) native-extensions rsync-verify (xattr) -build -doc -epydoc -gentoo-dev (-selinux)" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_6 -pypy (-python3_4) (-python3_5) -python3_7" Hi there! This error is bugging me for a while now, so I dug deeper. It is related to this: chain@richBOOK /tmp $ LANG=C tar xzfvv /usr/portage/distfiles/microcode-20180807a.tgz drwxr-xr-x root/root 0 2018-08-23 21:34 ./ -rw-r--r-- root/root 7008 2018-08-07 10:39 ./releasenote -rw-r--r-- root/root 1635 2018-08-23 21:34 ./license drwxr-xr-x root/root 0 2018-04-26 08:23 ./linux-kernel-patches/ -rw-r--r-- root/root 1701 2018-04-26 08:23 ./linux-kernel-patches/14-84749d83758af6576552046b215b9b7f37f9556b.patch -rw-r--r-- root/root 2109 2018-04-26 08:23 ./linux-kernel-patches/13-09e182d17e8891dd73baba961a0f5a82e9274c97.patch -rw-r--r-- root/root 2081 2018-04-26 08:23 ./linux-kernel-patches/09-cfb52a5a09c8ae3a1dafb44ce549fde5b69e8117.patch -rw-r--r-- root/root 1784 2018-04-26 08:23 ./linux-kernel-patches/08-d8c3b52c00a05036e0a6b315b4b17921a7b67997.patch -rw-r--r-- root/root 2139 2018-04-26 08:23 ./linux-kernel-patches/07-30ec26da9967d0d785abc24073129a34c3211777.patch -rw-r--r-- root/root 2058 2018-04-26 08:23 ./linux-kernel-patches/06-91df9fdf51492aec9fed6b4cbd33160886740f47.patch -rw-r--r-- root/root 2871 2018-04-26 08:23 ./linux-kernel-patches/05-c182d2b7d0ca48e0d6ff16f7d883161238c447ed.patch -rw-r--r-- root/root 1734 2018-04-26 08:23 ./linux-kernel-patches/04-854857f5944c59a881ff607b37ed9ed41d031a3b.patch -rw-r--r-- root/root 2379 2018-04-26 08:23 ./linux-kernel-patches/03-42ca8082e260dcfd8afa2afa6ec1940b9d41724c.patch -rw-r--r-- root/root 3029 2018-04-26 08:23 ./linux-kernel-patches/02-1008c52c09dcb23d93f8e0ea83a6246265d2cce0.patch -rw-r--r-- root/root 6839 2018-04-26 08:23 ./linux-kernel-patches/01-3f1f576a195aa266813cbd4ca70291deb61e0129.patch -rw-r--r-- root/root 4721 2018-04-26 08:23 ./linux-kernel-patches/12-bb8c13d61a629276a162c1d2b1a20a815cbcfbb7.patch -rw-r--r-- root/root 4978 2018-04-26 08:23 ./linux-kernel-patches/11-2613f36ed965d0e5a595a1d931fd3b480e82d6fd.patch -rw-r--r-- root/root 5620 2018-04-26 08:23 ./linux-kernel-patches/10-a5321aec6412b20b5ad15db2d6b916c05349dbff.patch drwxr-xr-x root/root 0 2018-08-07 10:45 ./intel-ucode-with-caveats/ -rw-r--r-- root/root 28672 2018-08-07 10:45 ./intel-ucode-with-caveats/06-4f-01 drwxr-xr-x root/root 0 2018-08-07 10:45 ./intel-ucode/ -rw-r--r-- root/root 98304 2018-08-07 10:45 ./intel-ucode/06-9e-0b -rw-r--r-- root/root 97280 2018-08-07 10:45 ./intel-ucode/06-9e-0a -rw-r--r-- root/root 98304 2018-08-07 10:45 ./intel-ucode/06-9e-09 -rw-r--r-- root/root 98304 2018-08-07 10:45 ./intel-ucode/06-8e-0a -rw-r--r-- root/root 98304 2018-08-07 10:45 ./intel-ucode/06-8e-09 -rw-r--r-- root/root 73728 2018-08-07 10:45 ./intel-ucode/06-7a-01 -rw-r--r-- root/root 10240 2018-08-07 10:45 ./intel-ucode/06-5f-01 -rw-r--r-- root/root 99328 2018-08-07 10:45 ./intel-ucode/06-5e-03 -rw-r--r-- root/root 14336 2018-08-07 10:45 ./intel-ucode/06-5c-0a -rw-r--r-- root/root 16384 2018-08-07 10:45 ./intel-ucode/06-5c-09 -rw-r--r-- root/root 15360 2018-08-07 10:45 ./intel-ucode/06-5c-02 -rw-r--r-- root/root 18432 2018-08-07 10:45 ./intel-ucode/06-56-05 -rw-r--r-- root/root 22528 2018-08-07 10:45 ./intel-ucode/06-56-04 -rw-r--r-- root/root 22528 2018-08-07 10:45 ./intel-ucode/06-56-03 -rw-r--r-- root/root 31744 2018-08-07 10:45 ./intel-ucode/06-56-02 -rw-r--r-- root/root 31744 2018-08-07 10:45 ./intel-ucode/06-55-04 -rw-r--r-- root/root 30720 2018-08-07 10:45 ./intel-ucode/06-55-03 -rw-r--r-- root/root 99328 2018-08-07 10:45 ./intel-ucode/06-4e-03 -rw-r--r-- root/root 13312 2018-08-07 10:45 ./intel-ucode/06-47-01 -rw-r--r-- root/root 25600 2018-08-07 10:45 ./intel-ucode/06-46-01 -rw-r--r-- root/root 22528 2018-08-07 10:45 ./intel-ucode/06-45-01 -rw-r--r-- root/root 17408 2018-08-07 10:45 ./intel-ucode/06-3f-04 -rw-r--r-- root/root 33792 2018-08-07 10:45 ./intel-ucode/06-3f-02 -rw-r--r-- root/root 17408 2018-08-07 10:45 ./intel-ucode/06-3e-07 -rw-r--r-- root/root 11264 2018-08-07 10:45 ./intel-ucode/06-3e-06 -rw-r--r-- root/root 15360 2018-08-07 10:45 ./intel-ucode/06-3e-04 -rw-r--r-- root/root 18432 2018-08-07 10:45 ./intel-ucode/06-3d-04 -rw-r--r-- root/root 23552 2018-08-07 10:45 ./intel-ucode/06-3c-03 -rw-r--r-- root/root 13312 2018-08-07 10:45 ./intel-ucode/06-3a-09 -rw-r--r-- root/root 14336 2018-08-07 10:45 ./intel-ucode/06-2f-02 -rw-r--r-- root/root 9216 2018-08-07 10:45 ./intel-ucode/06-2e-06 -rw-r--r-- root/root 19456 2018-08-07 10:45 ./intel-ucode/06-2d-07 -rw-r--r-- root/root 18432 2018-08-07 10:45 ./intel-ucode/06-2d-06 -rw-r--r-- root/root 11264 2018-08-07 10:45 ./intel-ucode/06-2c-02 -rw-r--r-- root/root 12288 2018-08-07 10:45 ./intel-ucode/06-2a-07 -rw-r--r-- root/root 10240 2018-08-07 10:45 ./intel-ucode/06-26-01 -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/06-25-05 -rw-r--r-- root/root 9216 2018-08-07 10:45 ./intel-ucode/06-25-02 -rw-r--r-- root/root 9216 2018-08-07 10:45 ./intel-ucode/06-1e-05 -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/06-1d-01 -rw-r--r-- root/root 20480 2018-08-07 10:45 ./intel-ucode/06-1c-0a -rw-r--r-- root/root 15360 2018-08-07 10:45 ./intel-ucode/06-1c-02 -rw-r--r-- root/root 12288 2018-08-07 10:45 ./intel-ucode/06-1a-05 -rw-r--r-- root/root 14336 2018-08-07 10:45 ./intel-ucode/06-1a-04 -rw-r--r-- root/root 24576 2018-08-07 10:45 ./intel-ucode/06-17-0a -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/06-17-07 -rw-r--r-- root/root 20480 2018-08-07 10:45 ./intel-ucode/06-17-06 -rw-r--r-- root/root 12288 2018-08-07 10:45 ./intel-ucode/06-16-01 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-03-02 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/0f-06-08 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/0f-06-05 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/0f-06-04 -rw-r--r-- root/root 3072 2018-08-07 10:45 ./intel-ucode/0f-06-02 -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/0f-04-0a -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/0f-04-09 -rw-r--r-- root/root 9216 2018-08-07 10:45 ./intel-ucode/0f-04-08 -rw-r--r-- root/root 3072 2018-08-07 10:45 ./intel-ucode/0f-04-07 -rw-r--r-- root/root 3072 2018-08-07 10:45 ./intel-ucode/0f-04-04 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/0f-04-03 -rw-r--r-- root/root 10240 2018-08-07 10:45 ./intel-ucode/0f-04-01 -rw-r--r-- root/root 7168 2018-08-07 10:45 ./intel-ucode/0f-03-04 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/0f-03-03 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/0f-03-02 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/0f-02-09 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/0f-02-07 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/0f-02-06 -rw-r--r-- root/root 8192 2018-08-07 10:45 ./intel-ucode/0f-02-05 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/0f-02-04 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/0f-01-02 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/0f-00-0a -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/0f-00-07 -rw-r--r-- root/root 12288 2018-08-07 10:45 ./intel-ucode/06-0f-0d -rw-r--r-- root/root 28672 2018-08-07 10:45 ./intel-ucode/06-0f-0b -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/06-0f-0a -rw-r--r-- root/root 8192 2018-08-07 10:45 ./intel-ucode/06-0f-07 -rw-r--r-- root/root 12288 2018-08-07 10:45 ./intel-ucode/06-0f-06 -rw-r--r-- root/root 8192 2018-08-07 10:45 ./intel-ucode/06-0f-02 -rw-r--r-- root/root 8192 2018-08-07 10:45 ./intel-ucode/06-0e-0c -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/06-0e-08 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-0d-06 -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/06-0b-04 -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/06-0b-01 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-0a-01 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-0a-00 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/06-09-05 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/06-08-0a -rw-r--r-- root/root 10240 2018-08-07 10:45 ./intel-ucode/06-08-06 -rw-r--r-- root/root 4096 2018-08-07 10:45 ./intel-ucode/06-08-03 -rw-r--r-- root/root 10240 2018-08-07 10:45 ./intel-ucode/06-08-01 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-07-03 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-07-02 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-07-01 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/06-06-0d -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/06-06-0a -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-06-05 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-06-00 -rw-r--r-- root/root 8192 2018-08-07 10:45 ./intel-ucode/06-05-03 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/06-05-02 -rw-r--r-- root/root 2048 2018-08-07 10:45 ./intel-ucode/06-05-01 -rw-r--r-- root/root 6144 2018-08-07 10:45 ./intel-ucode/06-05-00 tar: .: Cannot utime: Operation not permitted tar: .: Cannot change mode to rwxr-xr-t: Operation not permitted tar: Exiting with failure status due to previous errors Unfortunately, I really don't know how to fix this in the ebuild? There's nothing wrong in the ebuild. It is your environment or the underlying storage. Your problem is
> tar: .: Cannot utime: Operation not permitted
> tar: .: Cannot change mode to rwxr-xr-t: Operation not permitted
> tar: Exiting with failure status due to previous errors
Check permissions for portage's WORKDIR.
Guess you mean this? richBOOK ~ # LANG=C ls -lha /tmp/portage/sys-firmware/intel-microcode-20180807a_p20181215/work/ total 12K drwxr-xr-x 5 portage portage 140 Aug 23 21:34 . drwxr-xr-x 6 portage portage 240 Jan 3 20:46 .. drwxr-xr-x 2 portage portage 2.0K Aug 7 10:45 intel-ucode drwxr-xr-x 2 portage portage 60 Aug 7 10:45 intel-ucode-with-caveats -rw-r--r-- 1 portage portage 1.6K Aug 23 21:34 license drwxr-xr-x 2 portage portage 320 Apr 26 2018 linux-kernel-patches -rw-r--r-- 1 portage portage 6.9K Aug 7 10:39 releasenote I don't know how possibly there could be any problem. Why is tar exactly trying to change the attributes of the current directory? It has to do something with the archive itself, but I am in no way sure how to progress here. any other archive unpacks fine, any other ebuild merges without issues. It's normal that tar tries to restore metadata. If you are using a limited WORKDIR you have to deal with such problems on your own. Follow handbook and use a sane location and everything will work as expected. This bug is a result of emerging app-arch/gzip with +static, as I've found out (and had another person reproduce on a system that wasn't my own) after a painful amount of time. Specifically I've had =app-arch/gzip-1.10 (which is currently ~amd64), but I suspect that the stable is also affected. I'm able to reproduce this on several of my gentoos. As far as I can see, USE=static on app-arch/gzip is all that's needed to reproduce the issue. Manually calling tar with the exact same options as emerge (pulled from emerge --debug output) succeeds, though. + srcdir=/var/tmp/portage/sys-firmware/intel-microcode-20180807a_p20190204/distdir/ + [[ ! -s /var/tmp/portage/sys-firmware/intel-microcode-20180807a_p20190204/distdir/microcode-20180807a.tgz ]] + myfail='unpack: failure unpacking microcode-20180807a.tgz' + case "${suffix_insensitive}" in + ___eapi_unpack_is_case_sensitive + [[ 6 =~ ^(0|1|2|3|4|4-python|4-slot-abi|5|5-hdepend)$ ]] + tar xozf /var/tmp/portage/sys-firmware/intel-microcode-20180807a_p20190204/distdir/microcode-20180807a.tgz tar: Child returned status 141 tar: Error is not recoverable: exiting now + __helpers_die 'unpack: failure unpacking microcode-20180807a.tgz' + ___eapi_helpers_can_die + [[ ! 6 =~ ^(0|1|2|3)$ ]] + [[ '' != 1 ]] + die 'unpack: failure unpacking microcode-20180807a.tgz' + [[ -n '' ]] + set +x This error occurs only with sandbox enabled. Extraction with FEATURES="-sandbox -usersandbox" works. (In reply to Arfrever Frehtes Taifersar Arahesis from comment #11) > This error occurs only with sandbox enabled. > Extraction with FEATURES="-sandbox -usersandbox" works. FINALLY some solution that works for me too: richIx220 ~ # ebuild $(equery w intel-microcode) unpack * microcode-20180807a.tgz BLAKE2B SHA512 size ;-) ... [ ok ] * intel-microcode-collection-20190112.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 4.14.83-gentoo-richBOOK >>> Unpacking source... >>> Unpacking microcode-20180807a.tgz to /tmp/portage/sys-firmware/intel-microcode-20180807a_p20190112/work tar: Child returned status 141 tar: Error is not recoverable: exiting now * ERROR: sys-firmware/intel-microcode-20180807a_p20190112::gentoo failed (unpack phase): * unpack: failure unpacking microcode-20180807a.tgz * * Call stack: * ebuild.sh, line 124: Called src_unpack * environment, line 1886: Called default * phase-functions.sh, line 868: Called default_src_unpack * phase-functions.sh, line 895: Called __eapi0_src_unpack * phase-helpers.sh, line 792: Called unpack 'microcode-20180807a.tgz' 'intel-microcode-collection-20190112.tar.xz' * phase-helpers.sh, line 397: Called __helpers_die 'unpack: failure unpacking microcode-20180807a.tgz' * isolated-functions.sh, line 121: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=sys-firmware/intel-microcode-20180807a_p20190112::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-firmware/intel-microcode-20180807a_p20190112::gentoo'`. * The complete build log is located at '/tmp/portage/sys-firmware/intel-microcode-20180807a_p20190112/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/sys-firmware/intel-microcode-20180807a_p20190112/temp/environment'. * Working directory: '/tmp/portage/sys-firmware/intel-microcode-20180807a_p20190112/work' * S: '/tmp/portage/sys-firmware/intel-microcode-20180807a_p20190112/work' richIx220 ~ # FEATURES="-sandbox -usersandbox" ebuild $(equery w intel-microcode) unpack >>> Existing ${T}/environment for 'intel-microcode-20180807a_p20190112' >>> will be sourced. Run 'clean' to start with a fresh environment. >>> Not marked as unpacked; recreating WORKDIR... * microcode-20180807a.tgz BLAKE2B SHA512 size ;-) ... [ ok ] * intel-microcode-collection-20190112.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 4.14.83-gentoo-richBOOK >>> Unpacking source... >>> Unpacking microcode-20180807a.tgz to /tmp/portage/sys-firmware/intel-microcode-20180807a_p20190112/work >>> Unpacking intel-microcode-collection-20190112.tar.xz to /tmp/portage/sys-firmware/intel-microcode-20180807a_p20190112/work >>> Source unpacked in /tmp/portage/sys-firmware/intel-microcode-20180807a_p20190112/work question is... why?! NOT using static, btw. (In reply to Richard H. from comment #12) sandbox is known to not work with static executables. (LD_PRELOAD is not used for static executables.) Check your executables: $ file $(type -P tar gzip) (In reply to Arfrever Frehtes Taifersar Arahesis from comment #14) > (In reply to Richard H. from comment #12) > > sandbox is known to not work with static executables. (LD_PRELOAD is not > used for static executables.) > Check your executables: > $ file $(type -P tar gzip) Thank you so very much! chain@richIx220 ~ $ file $(type -P tar gzip) /bin/tar: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped /usr/bin/gzip: symbolic link to pigz chain@richIx220 ~ $ eix pigz [I] app-arch/pigz Verfügbare Versionen: 2.3.4 2.4 {static symlink test} Installierte Versionen: 2.4(01:11:57 2018-07-26)(static symlink -test) Startseite: http://www.zlib.net/pigz/ Beschreibung: A parallel implementation of gzip Now I finally know where the problems stem from. Maybe somebody else can learn something out of it! (In reply to Arfrever Frehtes Taifersar Arahesis from comment #14) > sandbox is known to not work with static executables. (LD_PRELOAD is not > used for static executables.) that is incorrect. basic support was added in 2009 with the v1.7 release. https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=2641abe6d67ecaa89a1ed7bd6dad93cf63bdd6c0 i tried locally with sandbox-3.0 and it seems to be working. so going to assume one of the recent changes related to ptrace has resolved this. please re-open if sandbox-3.0+ still fail for you. |