Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/hyperv-daemons.spec'], False, '/srv/build/7/E/mock-root/c7.00.03-x86_64/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 x86_64 --nodeps builddir/build/SPECS/hyperv-daemons.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/hyperv-daemons-0-0.24.20130826git.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/hyperv-daemons.spec'], False, '/srv/build/7/E/mock-root/c7.00.03-x86_64/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 x86_64 --nodeps builddir/build/SPECS/hyperv-daemons.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M0fMM2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hyperv-daemons-0 + /usr/bin/mkdir -p hyperv-daemons-0 + cd hyperv-daemons-0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -pvL /builddir/build/SOURCES/COPYING COPYING '/builddir/build/SOURCES/COPYING' -> 'COPYING' + cp -pvL /builddir/build/SOURCES/hv_kvp_daemon.c hv_kvp_daemon.c '/builddir/build/SOURCES/hv_kvp_daemon.c' -> 'hv_kvp_daemon.c' + cp -pvL /builddir/build/SOURCES/hv_get_dhcp_info.sh hv_get_dhcp_info.sh '/builddir/build/SOURCES/hv_get_dhcp_info.sh' -> 'hv_get_dhcp_info.sh' + cp -pvL /builddir/build/SOURCES/hv_get_dns_info.sh hv_get_dns_info.sh '/builddir/build/SOURCES/hv_get_dns_info.sh' -> 'hv_get_dns_info.sh' + cp -pvL /builddir/build/SOURCES/hv_set_ifconfig.sh hv_set_ifconfig.sh '/builddir/build/SOURCES/hv_set_ifconfig.sh' -> 'hv_set_ifconfig.sh' + cp -pvL /builddir/build/SOURCES/hypervkvpd.service hypervkvpd.service '/builddir/build/SOURCES/hypervkvpd.service' -> 'hypervkvpd.service' + cp -pvL /builddir/build/SOURCES/hv_vss_daemon.c hv_vss_daemon.c '/builddir/build/SOURCES/hv_vss_daemon.c' -> 'hv_vss_daemon.c' + cp -pvL /builddir/build/SOURCES/hypervvssd.service hypervvssd.service '/builddir/build/SOURCES/hypervvssd.service' -> 'hypervvssd.service' Patch #0 (hypervkvpd-0-corrected_paths_to_external_scripts.patch): + echo 'Patch #0 (hypervkvpd-0-corrected_paths_to_external_scripts.patch):' + /usr/bin/cat /builddir/build/SOURCES/hypervkvpd-0-corrected_paths_to_external_scripts.patch + /usr/bin/patch -p1 -b --suffix .external_scripts --fuzz=0 patching file hv_kvp_daemon.c Hunk #1 succeeded at 828 (offset 16 lines). Hunk #2 succeeded at 845 (offset 16 lines). Hunk #3 succeeded at 1352 (offset 21 lines). Patch #1 (hypervkvpd-0-include_fix.patch): + echo 'Patch #1 (hypervkvpd-0-include_fix.patch):' + /usr/bin/cat /builddir/build/SOURCES/hypervkvpd-0-include_fix.patch + /usr/bin/patch -p1 -b --suffix .include --fuzz=0 patching file hv_kvp_daemon.c Patch #2 (hypervkvpd-0-long_file_names_from_readdir.patch): + echo 'Patch #2 (hypervkvpd-0-long_file_names_from_readdir.patch):' + /usr/bin/cat /builddir/build/SOURCES/hypervkvpd-0-long_file_names_from_readdir.patch + /usr/bin/patch -p1 -b --suffix .long_names --fuzz=0 patching file hv_kvp_daemon.c Hunk #2 succeeded at 603 (offset 14 lines). Hunk #3 succeeded at 691 (offset 14 lines). Patch #3 (hypervkvpd-0-dont_call_deamon.patch): + echo 'Patch #3 (hypervkvpd-0-dont_call_deamon.patch):' + /usr/bin/cat /builddir/build/SOURCES/hypervkvpd-0-dont_call_deamon.patch + /usr/bin/patch -p1 -b --suffix .daemon --fuzz=0 patching file hv_kvp_daemon.c Hunk #1 succeeded at 1429 (offset -5 lines). + echo 'Patch #100 (hypervvssd-0-fix_includes.patch):' Patch #100 (hypervvssd-0-fix_includes.patch): + /usr/bin/patch -p1 -b --suffix .include --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/hypervvssd-0-fix_includes.patch patching file hv_vss_daemon.c Patch #101 (hypervvssd-0-dont_call_daemon.patch): + echo 'Patch #101 (hypervvssd-0-dont_call_daemon.patch):' + /usr/bin/cat /builddir/build/SOURCES/hypervvssd-0-dont_call_daemon.patch + /usr/bin/patch -p1 -b --suffix .daemon --fuzz=0 patching file hv_vss_daemon.c Hunk #1 succeeded at 144 (offset -4 lines). Patch #102 (hypervvssd-0-ignore-VFAT-mounts.patch): + echo 'Patch #102 (hypervvssd-0-ignore-VFAT-mounts.patch):' + /usr/bin/cat /builddir/build/SOURCES/hypervvssd-0-ignore-VFAT-mounts.patch + /usr/bin/patch -p3 -b --suffix .vfat --fuzz=0 patching file hv_vss_daemon.c Hunk #1 succeeded at 88 (offset 1 line). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QIFlaV + umask 022 + cd /builddir/build/BUILD + cd hyperv-daemons-0 ++ ls /usr/src/kernels ++ head -n 1 ++ sort -dr + gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -iquote /usr/src/kernels/3.10.0-121.el7.x86_64/include -c hv_kvp_daemon.c hv_kvp_daemon.c: In function 'kvp_update_file': hv_kvp_daemon.c:150:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] size_t bytes_written; ^ hv_kvp_daemon.c: In function 'main': hv_kvp_daemon.c:1615:6: warning: pointer targets in passing argument 2 of 'kvp_key_add_or_modify' differ in signedness [-Wpointer-sign] hv_msg->body.kvp_set.data.value_size)) ^ hv_kvp_daemon.c:356:12: note: expected 'const char *' but argument is of type '__u8 *' static int kvp_key_add_or_modify(int pool, const char *key, int key_size, const char *value, ^ hv_kvp_daemon.c:1615:6: warning: pointer targets in passing argument 4 of 'kvp_key_add_or_modify' differ in signedness [-Wpointer-sign] hv_msg->body.kvp_set.data.value_size)) ^ hv_kvp_daemon.c:356:12: note: expected 'const char *' but argument is of type '__u8 *' static int kvp_key_add_or_modify(int pool, const char *key, int key_size, const char *value, ^ hv_kvp_daemon.c:1624:6: warning: pointer targets in passing argument 2 of 'kvp_get_value' differ in signedness [-Wpointer-sign] hv_msg->body.kvp_set.data.value_size)) ^ hv_kvp_daemon.c:410:12: note: expected 'const char *' but argument is of type '__u8 *' static int kvp_get_value(int pool, const char *key, int key_size, char *value, ^ hv_kvp_daemon.c:1624:6: warning: pointer targets in passing argument 4 of 'kvp_get_value' differ in signedness [-Wpointer-sign] hv_msg->body.kvp_set.data.value_size)) ^ hv_kvp_daemon.c:410:12: note: expected 'char *' but argument is of type '__u8 *' static int kvp_get_value(int pool, const char *key, int key_size, char *value, ^ hv_kvp_daemon.c:1631:6: warning: pointer targets in passing argument 2 of 'kvp_key_delete' differ in signedness [-Wpointer-sign] hv_msg->body.kvp_delete.key_size)) ^ hv_kvp_daemon.c:313:12: note: expected 'const char *' but argument is of type '__u8 *' static int kvp_key_delete(int pool, const char *key, int key_size) ^ hv_kvp_daemon.c:1653:6: warning: pointer targets in passing argument 3 of 'kvp_pool_enumerate' differ in signedness [-Wpointer-sign] HV_KVP_EXCHANGE_MAX_VALUE_SIZE)) ^ hv_kvp_daemon.c:442:12: note: expected 'char *' but argument is of type '__u8 *' static int kvp_pool_enumerate(int pool, int index, char *key, int key_size, ^ hv_kvp_daemon.c:1653:6: warning: pointer targets in passing argument 5 of 'kvp_pool_enumerate' differ in signedness [-Wpointer-sign] HV_KVP_EXCHANGE_MAX_VALUE_SIZE)) ^ hv_kvp_daemon.c:442:12: note: expected 'char *' but argument is of type '__u8 *' static int kvp_pool_enumerate(int pool, int index, char *key, int key_size, ^ hv_kvp_daemon.c: In function 'kvp_get_ip_info.constprop.5': hv_kvp_daemon.c:998:28: warning: 'ip_buffer' may be used uninitialized in this function [-Wmaybe-uninitialized] ip_buffer->addr_family |= ADDR_FAMILY_IPV6; ^ + gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld hv_kvp_daemon.o -o hypervkvpd ++ ls /usr/src/kernels ++ sort -dr ++ head -n 1 + gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -iquote /usr/src/kernels/3.10.0-121.el7.x86_64/include -c hv_vss_daemon.c + gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld hv_vss_daemon.o -o hypervvssd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jELNlQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64 + cd hyperv-daemons-0 + rm -rf /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/sbin + install -p -m 0755 hypervkvpd /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/sbin + install -p -m 0755 hypervvssd /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/lib/systemd/system + install -p -m 0644 /builddir/build/SOURCES/hypervkvpd.service /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/lib/systemd/system + install -p -m 0644 /builddir/build/SOURCES/hypervvssd.service /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/libexec/hypervkvpd + install -p -m 0755 hv_get_dhcp_info.sh /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/libexec/hypervkvpd/hv_get_dhcp_info + install -p -m 0755 hv_get_dns_info.sh /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/libexec/hypervkvpd/hv_get_dns_info + install -p -m 0755 hv_set_ifconfig.sh /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/libexec/hypervkvpd/hv_set_ifconfig + mkdir -p /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/var/lib/hyperv + /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/hyperv-daemons-0 extracting debug info from /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/sbin/hypervkvpd extracting debug info from /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/sbin/hypervvssd /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 87 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: hyperv-daemons-0-0.24.20130826git.el7.x86_64 Provides: hyperv-daemons = 0-0.24.20130826git.el7 hyperv-daemons(x86-64) = 0-0.24.20130826git.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Processing files: hypervkvpd-0-0.24.20130826git.el7.x86_64 Provides: hypervkvpd = 0-0.24.20130826git.el7 hypervkvpd(x86-64) = 0-0.24.20130826git.el7 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(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) rtld(GNU_HASH) Processing files: hypervvssd-0-0.24.20130826git.el7.x86_64 Provides: hypervvssd = 0-0.24.20130826git.el7 hypervvssd(x86-64) = 0-0.24.20130826git.el7 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: hyperv-daemons-license-0-0.24.20130826git.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RR5vSM + umask 022 + cd /builddir/build/BUILD + cd hyperv-daemons-0 + DOCDIR=/builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/share/doc/hyperv-daemons-license-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/share/doc/hyperv-daemons-license-0 + cp -pr COPYING /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64/usr/share/doc/hyperv-daemons-license-0 + exit 0 Provides: hyperv-daemons-license = 0-0.24.20130826git.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hyperv-daemons-debuginfo-0-0.24.20130826git.el7.x86_64 Provides: hyperv-daemons-debuginfo = 0-0.24.20130826git.el7 hyperv-daemons-debuginfo(x86-64) = 0-0.24.20130826git.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/hyperv-daemons-0-0.24.20130826git.el7.x86_64 Wrote: /builddir/build/RPMS/hyperv-daemons-0-0.24.20130826git.el7.x86_64.rpm Wrote: /builddir/build/RPMS/hypervkvpd-0-0.24.20130826git.el7.x86_64.rpm Wrote: /builddir/build/RPMS/hypervvssd-0-0.24.20130826git.el7.x86_64.rpm Wrote: /builddir/build/RPMS/hyperv-daemons-license-0-0.24.20130826git.el7.noarch.rpm Wrote: /builddir/build/RPMS/hyperv-daemons-debuginfo-0-0.24.20130826git.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Re4JIt + umask 022 + cd /builddir/build/BUILD + cd hyperv-daemons-0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hyperv-daemons-0-0.24.20130826git.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->