Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target armv7hl --nodeps builddir/build/SPECS/ledmon.spec'], False, '/var/lib/mock/c71511-1-armhfp-b1ce95f5cf8a51e9c530950d616facd0597a921a/root/', None, 0, True, False, 993, 135, None, False, {'LANG': 'en_US.UTF-8', '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 armv7hl --nodeps builddir/build/SPECS/ledmon.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/ledmon-0.79-4.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target armv7hl --nodeps builddir/build/SPECS/ledmon.spec'], False, '/var/lib/mock/c71511-1-armhfp-b1ce95f5cf8a51e9c530950d616facd0597a921a/root/', None, 0, True, False, 993, 135, None, False, {'LANG': 'en_US.UTF-8', '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 armv7hl --nodeps builddir/build/SPECS/ledmon.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AJqdLr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ledmon-0.79 + /usr/bin/gzip -dc /builddir/build/SOURCES/ledmon-0.79.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ledmon-0.79 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ledmon_cflags.patch):' Patch #0 (ledmon_cflags.patch): + /usr/bin/cat /builddir/build/SOURCES/ledmon_cflags.patch + /usr/bin/patch -p1 -b --suffix .cflags --fuzz=0 patching file src/Makefile + echo 'Patch #1 (0001-Recognize-bool-values-in-sysfs.patch):' Patch #1 (0001-Recognize-bool-values-in-sysfs.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-Recognize-bool-values-in-sysfs.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/cntrl.c patching file src/utils.c patching file src/utils.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.40q1LN + umask 022 + cd /builddir/build/BUILD + cd ledmon-0.79 + make 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99' make -C src ledmon make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/src' mkdir -p /builddir/build/BUILD/ledmon-0.79/src/_build cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -M list.c slave.c utils.c raid.c ledctl.c dellssd.c enclosure.c ahci.c block.c scsi.c status.c ledmon.c cntrl.c pidfile.c sysfs.c smp.c | sed 's/^[a-z,0-9]/\/builddir\/build\/BUILD\/ledmon-0.79\/src\/_build\/&/' > /builddir/build/BUILD/ledmon-0.79/src/_build/.depend make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/src' make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/src' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c ledmon.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/ledmon.o ledmon.c: In function 'main': ledmon.c:805:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(t); ^ ledmon.c:806:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(t); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c pidfile.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/pidfile.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c ahci.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/ahci.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c block.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/block.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c cntrl.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/cntrl.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c enclosure.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/enclosure.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c list.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/list.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c raid.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/raid.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c scsi.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/scsi.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c slave.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/slave.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c status.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/status.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c sysfs.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/sysfs.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c smp.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/smp.o smp.c: In function '_open_smp_device': smp.c:290:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] if (fgets(buf, sizeof(buf), df) < 0) { ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c dellssd.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/dellssd.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c utils.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/utils.o cc -O2 -g -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -lsgutils2 /builddir/build/BUILD/ledmon-0.79/src/_build/ledmon.o /builddir/build/BUILD/ledmon-0.79/src/_build/pidfile.o /builddir/build/BUILD/ledmon-0.79/src/_build/ahci.o /builddir/build/BUILD/ledmon-0.79/src/_build/block.o /builddir/build/BUILD/ledmon-0.79/src/_build/cntrl.o /builddir/build/BUILD/ledmon-0.79/src/_build/enclosure.o /builddir/build/BUILD/ledmon-0.79/src/_build/list.o /builddir/build/BUILD/ledmon-0.79/src/_build/raid.o /builddir/build/BUILD/ledmon-0.79/src/_build/scsi.o /builddir/build/BUILD/ledmon-0.79/src/_build/slave.o /builddir/build/BUILD/ledmon-0.79/src/_build/status.o /builddir/build/BUILD/ledmon-0.79/src/_build/sysfs.o /builddir/build/BUILD/ledmon-0.79/src/_build/smp.o /builddir/build/BUILD/ledmon-0.79/src/_build/dellssd.o /builddir/build/BUILD/ledmon-0.79/src/_build/utils.o -o ledmon make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/src' make -C src ledctl make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/src' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -c ledctl.c -o /builddir/build/BUILD/ledmon-0.79/src/_build/ledctl.o cc -O2 -g -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -lsgutils2 /builddir/build/BUILD/ledmon-0.79/src/_build/ledctl.o /builddir/build/BUILD/ledmon-0.79/src/_build/ahci.o /builddir/build/BUILD/ledmon-0.79/src/_build/block.o /builddir/build/BUILD/ledmon-0.79/src/_build/cntrl.o /builddir/build/BUILD/ledmon-0.79/src/_build/enclosure.o /builddir/build/BUILD/ledmon-0.79/src/_build/list.o /builddir/build/BUILD/ledmon-0.79/src/_build/raid.o /builddir/build/BUILD/ledmon-0.79/src/_build/scsi.o /builddir/build/BUILD/ledmon-0.79/src/_build/slave.o /builddir/build/BUILD/ledmon-0.79/src/_build/status.o /builddir/build/BUILD/ledmon-0.79/src/_build/sysfs.o /builddir/build/BUILD/ledmon-0.79/src/_build/smp.o /builddir/build/BUILD/ledmon-0.79/src/_build/dellssd.o /builddir/build/BUILD/ledmon-0.79/src/_build/utils.o -o ledctl make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/src' make -C doc all make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/doc' pod2man -r "LEDCTL.CONF Version 0.79" -d "November 2013" \ -s 5 -n ledctl.conf -c "Inter(R) Enclosure LED Utilities Config" ledctl.conf.pod | gzip -9f > ledctl.conf.5.gz pod2man -r "LEDMON Version 0.79" -d "November 2013" \ -s 8 -n ledmon -c "Intel(R) Enclosure LED Monitor Service" ledmon.pod | gzip -9f > ledmon.8.gz pod2man -r "LEDCTL Version 0.79" -d "November 2013" \ -s 8 -n ledctl -c "Intel(R) Enclosure LED Control Application" ledctl.pod | gzip -9f > ledctl.8.gz make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/doc' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.t3ovWB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm ++ dirname /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm + cd ledmon-0.79 + make install 'INSTALL=/usr/bin/install -p' DESTDIR=/builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm SBIN_DIR=/builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm//usr/sbin MANDIR=/builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/share/man make -C src ledmon make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/src' make[1]: `ledmon' is up to date. make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/src' make -C src ledctl make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/src' make[1]: `ledctl' is up to date. make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/src' make -C doc all make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/doc' make -C src DESTDIR=/builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm install make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/src' install -D ./ledmon /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/sbin/ledmon install -D ./ledctl /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/sbin/ledctl make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/src' make -C doc DESTDIR=/builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm install make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/doc' install -D -m 644 ./ledmon.8.gz /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/share/man/man8/ledmon.8.gz install -D -m 644 ./ledctl.8.gz /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/share/man/man8/ledctl.8.gz install -D -m 644 ./ledctl.conf.5.gz /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/share/man/man5/ledctl.conf.5.gz make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/doc' + /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/ledmon-0.79 extracting debug info from /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/sbin/ledmon extracting debug info from /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/sbin/ledctl /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 425 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: ledmon-0.79-4.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pi7x2c + umask 022 + cd /builddir/build/BUILD + cd ledmon-0.79 + DOCDIR=/builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/share/doc/ledmon-0.79 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/share/doc/ledmon-0.79 + cp -pr README /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/share/doc/ledmon-0.79 + cp -pr COPYING /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm/usr/share/doc/ledmon-0.79 + exit 0 Provides: ledctl = 0.79-4.el7 ledmon = 0.79-4.el7 ledmon(armv7hl-32) = 0.79-4.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libsgutils2.so.2 rtld(GNU_HASH) Obsoletes: ledctl = 0.1-1 Processing files: ledmon-debuginfo-0.79-4.el7.armv7hl Provides: ledmon-debuginfo = 0.79-4.el7 ledmon-debuginfo(armv7hl-32) = 0.79-4.el7 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/ledmon-0.79-4.el7.arm Wrote: /builddir/build/RPMS/ledmon-0.79-4.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/ledmon-debuginfo-0.79-4.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4GSFgg + umask 022 + cd /builddir/build/BUILD + cd ledmon-0.79 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ledmon-0.79-4.el7.arm + exit 0 Child return code was: 0 LEAVE do -->