Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/ethtool.spec'], False, '/srv/build/7/A/mock-root/c7-updates-i686/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/ethtool.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/ethtool-3.8-4.el7_0.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/ethtool.spec'], False, '/srv/build/7/A/mock-root/c7-updates-i686/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/ethtool.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GPRhk0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ethtool-3.8 + /usr/bin/xz -dc /builddir/build/SOURCES/ethtool-3.8.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ethtool-3.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Add-string-to-display-support-for-KR-PHY.patch):' Patch #0 (0001-Add-string-to-display-support-for-KR-PHY.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-Add-string-to-display-support-for-KR-PHY.patch + /usr/bin/patch -p1 --fuzz=0 patching file ethtool.c Patch #1 (0002-Report-Backplane-as-supported-port.patch): + echo 'Patch #1 (0002-Report-Backplane-as-supported-port.patch):' + /usr/bin/cat /builddir/build/SOURCES/0002-Report-Backplane-as-supported-port.patch + /usr/bin/patch -p1 --fuzz=0 patching file ethtool.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EKNpwy + umask 022 + cd /builddir/build/BUILD + cd ethtool-3.8 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS ++ find . -name config.guess -o -name config.sub + ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking whether defines big-endian types... yes checking for ANSI C header files... (cached) yes checking for socket... yes checking for strtol... yes configure: creating ./config.status config.status: creating Makefile config.status: creating ethtool.spec config.status: creating ethtool.8 config.status: creating ethtool-config.h config.status: executing depfiles commands + make -j16 make all-am make[1]: Entering directory `/builddir/build/BUILD/ethtool-3.8' gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ethtool.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c amd8111e.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c de2104x.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c e100.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c e1000.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c et131x.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c igb.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c fec_8xx.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ibm_emac.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ixgb.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ixgbe.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c natsemi.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c pcnet32.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c realtek.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c tg3.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c marvell.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c vioc.c marvell.c: In function 'sky2_dump_regs': marvell.c:426:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] printf("\nGMAC control 0x%04X\n", *(u32 *)(regs->data + 0xf00)); ^ marvell.c:427:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] printf("GPHY control 0x%04X\n", *(u32 *)(regs->data + 0xf04)); ^ marvell.c:428:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] printf("LINK control 0x%02hX\n", *(u16 *)(regs->data + 0xf10)); ^ gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c smsc911x.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c at76c50x-usb.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c sfc.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c stmmac.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c rxclass.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c sfpid.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c sfpdiag.c ethtool.c: In function 'dump_regs': ethtool.c:935:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(regs->data, regs->len, 1, f); ^ sfpdiag.c: In function 'sff8472_show_all': sfpdiag.c:236:22: warning: iteration 5u invokes undefined behavior [-Waggressive-loop-optimizations] sd->bias_cur[i] += A2_OFFSET_TO_OFF(SFF_A2_CAL_TXI_OFF); ^ sfpdiag.c:227:2: note: containing loop for (i = 0; i < sizeof(sd->bias_cur); ++i) { ^ gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -o ethtool ethtool.o amd8111e.o de2104x.o e100.o e1000.o et131x.o igb.o fec_8xx.o ibm_emac.o ixgb.o ixgbe.o natsemi.o pcnet32.o realtek.o tg3.o marvell.o vioc.o smsc911x.o at76c50x-usb.o sfc.o stmmac.o rxclass.o sfpid.o sfpdiag.o -lm make[1]: Leaving directory `/builddir/build/BUILD/ethtool-3.8' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MqWRIf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386 ++ dirname /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386 + cd ethtool-3.8 + make DESTDIR=/builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386 'INSTALL=install -p' install make[1]: Entering directory `/builddir/build/BUILD/ethtool-3.8' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/sbin' install -p ethtool '/builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/man/man8' install -p -m 644 ethtool.8 '/builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/man/man8' make[1]: Leaving directory `/builddir/build/BUILD/ethtool-3.8' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ethtool-3.8 extracting debug info from /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/sbin/ethtool dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1109 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ethtool-3.8-4.el7_0.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MSFMsX + umask 022 + cd /builddir/build/BUILD + cd ethtool-3.8 + DOCDIR=/builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/doc/ethtool-3.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/doc/ethtool-3.8 + cp -pr AUTHORS /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/doc/ethtool-3.8 + cp -pr ChangeLog /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/doc/ethtool-3.8 + cp -pr COPYING /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/doc/ethtool-3.8 + cp -pr LICENSE /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/doc/ethtool-3.8 + cp -pr NEWS /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/doc/ethtool-3.8 + cp -pr README /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386/usr/share/doc/ethtool-3.8 + exit 0 Provides: ethtool = 2:3.8-4.el7_0 ethtool(x86-32) = 2:3.8-4.el7_0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libm.so.6 libm.so.6(GLIBC_2.0) rtld(GNU_HASH) Conflicts: filesystem < 3 Processing files: ethtool-debuginfo-3.8-4.el7_0.i686 Provides: ethtool-debuginfo = 2:3.8-4.el7_0 ethtool-debuginfo(x86-32) = 2:3.8-4.el7_0 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386 Wrote: /builddir/build/RPMS/ethtool-3.8-4.el7_0.i686.rpm Wrote: /builddir/build/RPMS/ethtool-debuginfo-3.8-4.el7_0.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wRKaT5 + umask 022 + cd /builddir/build/BUILD + cd ethtool-3.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ethtool-3.8-4.el7_0.i386 + exit 0 Child return code was: 0 LEAVE do -->