Bug 1102200

Summary: Random failure "tar: Skipping to next header" on aarch64
Product: [openSUSE] openSUSE Tumbleweed Reporter: Andreas Schwab <schwab>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: guillaume.gardet
Version: Current   
Target Milestone: ---   
Hardware: aarch64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Schwab 2018-07-23 09:51:48 UTC
Packages in Factory started to fail randomly with "tar: Skipping to next header".  Since tar didn't change, something else must have gone wrong.

From dpdk-thunderx:

[ 1228s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dpdk-thunderx-18.02.2-2.3.aarch64/lib/modules/4.17.6-1-default/extra/dpdk/
[ 1228s] + install -m644 ../arm64-thunderx-linuxapp-gcc-default/kmod/igb_uio.ko ../arm64-thunderx-linuxapp-gcc-default/kmod/rte_kni.ko /home/abuild/rpmbuild/BUILDROOT/dpdk-thunderx-18.02.2-2.3.aarch64/lib/modules/4.17.6-1-default/extra/dpdk/
[ 1228s] + cd -
[ 1228s] /home/abuild/rpmbuild/BUILD/dpdk-stable-18.02.2
[ 1228s] + unset RTE_SDK RTE_INCLUDE RTE_TARGET
[ 1228s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dpdk-thunderx-18.02.2-2.3.aarch64 O=arm64-thunderx-linuxapp-gcc prefix=/usr libdir=/usr/lib64
[ 1228s] make[1]: Nothing to be done for 'pre_install'.
[ 1230s] ================== Installing /home/abuild/rpmbuild/BUILDROOT/dpdk-thunderx-18.02.2-2.3.aarch64/usr/
[ 1232s] tar: Skipping to next header
[ 1232s] tar: Exiting with failure status due to previous errors
[ 1232s] make[3]: *** [/home/abuild/rpmbuild/BUILD/dpdk-stable-18.02.2/mk/rte.sdkinstall.mk:120: install-runtime] Error 2
[ 1232s] make[2]: *** [/home/abuild/rpmbuild/BUILD/dpdk-stable-18.02.2/mk/rte.sdkroot.mk:82: install-runtime] Error 2
[ 1232s] make[1]: *** [/home/abuild/rpmbuild/BUILD/dpdk-stable-18.02.2/mk/rte.sdkinstall.mk:109: install] Error 2
[ 1232s] make: *** [/home/abuild/rpmbuild/BUILD/dpdk-stable-18.02.2/mk/rte.sdkroot.mk:80: install] Error 2
[ 1232s] error: Bad exit status from /var/tmp/rpm-tmp.HODrRX (%install)

From installation-images:openSUSE:

[  304s] adding package libffi7 [3.2.1.git259-6.4.aarch64] (< libp11-kit0 < p11-kit) using template #3
[  304s] adding package libfontenc1 [1.1.3-1.11.aarch64] (< mkfontscale) using template #3
[  304s] adding package libfreetype6 [2.9.1-1.3.aarch64] (< fontconfig) using template #3
[  304s] adding package libgcc_s1 [8.1.1+r261583-1.1.aarch64] (< libncurses6 < psmisc) using template #3
[  304s] adding package libgcrypt20 [1.8.3-2.1.aarch64] (< systemd) using template #3
[  304s] tar: Skipping to next header
[  304s] tar: Exiting with failure status due to previous errors
[  304s] mk_image: failed to copy . at lib/AddFiles.pm line 574 in data/base/base.file_list line 52.
[  304s] make: *** [Makefile:80: base] Error 9
[  304s] error: Bad exit status from /var/tmp/rpm-tmp.8bRBeH (%build)

From cross-epiphany-gcc7:

[ 2756s] /bin/sh ../../gcc/../mkinstalldirs /home/abuild/rpmbuild/BUILDROOT/cross-epiphany-gcc7-7.3.1+r262243-1.1.aarch64/usr/lib64/gcc/epiphany-elf/7/include
[ 2756s] mkdir -p -- /home/abuild/rpmbuild/BUILDROOT/cross-epiphany-gcc7-7.3.1+r262243-1.1.aarch64/usr/lib64/gcc/epiphany-elf/7/include
[ 2756s] rm -rf /home/abuild/rpmbuild/BUILDROOT/cross-epiphany-gcc7-7.3.1+r262243-1.1.aarch64/usr/lib64/gcc/epiphany-elf/7/include-fixed
[ 2756s] mkdir /home/abuild/rpmbuild/BUILDROOT/cross-epiphany-gcc7-7.3.1+r262243-1.1.aarch64/usr/lib64/gcc/epiphany-elf/7/include-fixed
[ 2756s] chmod a+rx /home/abuild/rpmbuild/BUILDROOT/cross-epiphany-gcc7-7.3.1+r262243-1.1.aarch64/usr/lib64/gcc/epiphany-elf/7/include-fixed
[ 2756s] (cd `${PWDCMD-pwd}`/include ; \
[ 2756s]  tar -cf - .; exit 0) | (cd /home/abuild/rpmbuild/BUILDROOT/cross-epiphany-gcc7-7.3.1+r262243-1.1.aarch64/usr/lib64/gcc/epiphany-elf/7/include; tar xpf - )
[ 2756s] tar: Skipping to next header
[ 2756s] tar: Exiting with failure status due to previous errors
[ 2756s] make[1]: *** [Makefile:3736: install-headers-tar] Error 2
[ 2756s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/gcc-7.3.1+r262243/obj-aarch64-suse-linux/gcc'
[ 2756s] make: *** [Makefile:4299: install-gcc] Error 2
[ 2756s] error: Bad exit status from /var/tmp/rpm-tmp.xJM16k (%install)

No other architecture is seeing that.  Looks like something is wrong with the pipe.
Comment 1 Guillaume GARDET 2018-07-23 12:27:16 UTC
This is due to this bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1097449
Comment 2 Andreas Schwab 2018-07-26 07:53:57 UTC
.

*** This bug has been marked as a duplicate of bug 1097449 ***