Mock Version: 1.1.32 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/ledmon.spec'], False, '/srv/build/3/workerI/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, 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 x86_64 --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'} warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ledmon-0.79-3.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/ledmon.spec'], False, '/srv/build/3/workerI/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, 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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.s2QY6r + 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 . Patch #0 (ledmon_cflags.patch): + echo '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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G24Qsx + 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 -m64 -mtune=generic --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 -m64 -mtune=generic --std=c99 -D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE -I../config -M dellssd.c ahci.c slave.c list.c ledmon.c status.c utils.c ledctl.c scsi.c pidfile.c sysfs.c cntrl.c enclosure.c raid.c block.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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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 -m64 -mtune=generic --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.os8reJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64 + cd ledmon-0.79 + make install 'INSTALL=/usr/bin/install -p' DESTDIR=/builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64 SBIN_DIR=/builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64//usr/sbin MANDIR=/builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/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-3.el7.x86_64 install make[1]: Entering directory `/builddir/build/BUILD/ledmon-0.79/src' install -D ./ledmon /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/usr/sbin/ledmon install -D ./ledctl /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/usr/sbin/ledctl make[1]: Leaving directory `/builddir/build/BUILD/ledmon-0.79/src' make -C doc DESTDIR=/builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64 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-3.el7.x86_64/usr/share/man/man8/ledmon.8.gz install -D -m 644 ./ledctl.8.gz /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/usr/share/man/man8/ledctl.8.gz install -D -m 644 ./ledctl.conf.5.gz /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/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 110000000 /builddir/build/BUILD/ledmon-0.79 extracting debug info from /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/usr/sbin/ledctl extracting debug info from /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/usr/sbin/ledmon /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 423 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-3.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.u4RA6V + umask 022 + cd /builddir/build/BUILD + cd ledmon-0.79 + DOCDIR=/builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/usr/share/doc/ledmon-0.79 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/usr/share/doc/ledmon-0.79 + cp -pr README /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/usr/share/doc/ledmon-0.79 + cp -pr COPYING /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64/usr/share/doc/ledmon-0.79 + exit 0 Provides: ledctl = 0.79-3.el7 ledmon = 0.79-3.el7 ledmon(x86-64) = 0.79-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libsgutils2.so.2()(64bit) rtld(GNU_HASH) Obsoletes: ledctl = 0.1-1 Processing files: ledmon-debuginfo-0.79-3.el7.x86_64 Provides: ledmon-debuginfo = 0.79-3.el7 ledmon-debuginfo(x86-64) = 0.79-3.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-3.el7.x86_64 warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Wrote: /builddir/build/RPMS/ledmon-0.79-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/ledmon-debuginfo-0.79-3.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ENpgxz + umask 022 + cd /builddir/build/BUILD + cd ledmon-0.79 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ledmon-0.79-3.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->