Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lvm2.spec'], timeout=86400nspawn_args=[]shell=Falseuid=996chrootPath='/var/lib/mock/v7.99-base-488-234/root'gid=135user='mockbuild'env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lvm2.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: warning: Could not canonicalize hostname: koji.xcp-ng.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/lvm2-2.02.130-6.xs+1.2.xcpng.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lvm2.spec'], timeout=86400nspawn_args=[]shell=Falseuid=996chrootPath='/var/lib/mock/v7.99-base-488-234/root'gid=135user='mockbuild'env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lvm2.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DHzBAS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf LVM2.2.02.130 + /usr/bin/gzip -dc /builddir/build/SOURCES/LVM2.2.02.130.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd LVM2.2.02.130 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lvm2-rhel7.patch):' Patch #0 (lvm2-rhel7.patch): + /usr/bin/cat /builddir/build/SOURCES/lvm2-rhel7.patch + /usr/bin/patch -p1 -b --suffix .rhel7 --fuzz=0 patching file VERSION patching file VERSION_DM Patch #1 (lvm2-set-default-preferred_names.patch): + echo 'Patch #1 (lvm2-set-default-preferred_names.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-set-default-preferred_names.patch + /usr/bin/patch -p1 -b --suffix .preferred_names --fuzz=0 patching file conf/example.conf.in patching file lib/config/config_settings.h Patch #2 (lvm2-drop-unavailable-libblkid-2_24-BLKID_SUBLKS_BADCSUM-for-signature-detection.patch): + echo 'Patch #2 (lvm2-drop-unavailable-libblkid-2_24-BLKID_SUBLKS_BADCSUM-for-signature-detection.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-drop-unavailable-libblkid-2_24-BLKID_SUBLKS_BADCSUM-for-signature-detection.patch + /usr/bin/patch -p1 -b --suffix .blkid_sublks_badcsum --fuzz=0 patching file configure Hunk #1 succeeded at 11706 (offset 489 lines). Hunk #2 succeeded at 11723 (offset 489 lines). Hunk #3 succeeded at 11749 (offset 489 lines). Hunk #4 succeeded at 11759 (offset 489 lines). Hunk #5 succeeded at 11767 (offset 489 lines). patching file configure.in Hunk #1 succeeded at 1278 (offset 85 lines). patching file lib/device/dev-type.c Hunk #1 succeeded at 647 (offset 22 lines). Patch #3 (lvm2-remove-mpath-device-handling-from-udev-rules.patch): + echo 'Patch #3 (lvm2-remove-mpath-device-handling-from-udev-rules.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-remove-mpath-device-handling-from-udev-rules.patch + /usr/bin/patch -p1 -b --suffix .multipath --fuzz=0 patching file udev/10-dm.rules.in Patch #4 (lvm2-lvmlockd-tech-preview-warning.patch): + echo 'Patch #4 (lvm2-lvmlockd-tech-preview-warning.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-lvmlockd-tech-preview-warning.patch + /usr/bin/patch -p1 -b --suffix .lvmlockd_tech_preview --fuzz=0 patching file tools/toollib.c Hunk #1 succeeded at 990 (offset 9 lines). Patch #5 (lvm2-2_02_131-standardise-error-paths.patch): + echo 'Patch #5 (lvm2-2_02_131-standardise-error-paths.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_131-standardise-error-paths.patch + /usr/bin/patch -p1 -b --suffix .error_paths --fuzz=0 patching file daemons/cmirrord/functions.c patching file daemons/lvmetad/lvmetad-core.c patching file lib/metadata/metadata.c patching file libdm/libdm-file.c patching file libdm/libdm-report.c patching file libdm/libdm-stats.c patching file liblvm/lvm_pv.c patching file tools/dmsetup.c Patch #6 (lvm2-2_02_131-dmstats-fixups.patch): + echo 'Patch #6 (lvm2-2_02_131-dmstats-fixups.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_131-dmstats-fixups.patch + /usr/bin/patch -p1 -b --suffix .dmstats_fixups --fuzz=0 patching file libdm/libdm-stats.c patching file tools/dmsetup.c Patch #7 (lvm2-2_02_131-ignore-persistent-cache-if-configuration-changed.patch): + echo 'Patch #7 (lvm2-2_02_131-ignore-persistent-cache-if-configuration-changed.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_131-ignore-persistent-cache-if-configuration-changed.patch + /usr/bin/patch -p1 -b --suffix .persistent_cache_ignore --fuzz=0 patching file WHATS_NEW patching file tools/lvmcmdline.c Patch #8 (lvm2-2_02_131-fix-vg-metadata-comparison-failure-while-scanning-the-vg-for-lvmetad.patch): + echo 'Patch #8 (lvm2-2_02_131-fix-vg-metadata-comparison-failure-while-scanning-the-vg-for-lvmetad.patch):' patching file WHATS_NEW + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_131-fix-vg-metadata-comparison-failure-while-scanning-the-vg-for-lvmetad.patch + /usr/bin/patch -p1 -b --suffix .lvmetad_rescan_vg_meta_comparison --fuzz=0 patching file lib/cache/lvmetad.c Patch #9 (lvm2-2_02_131-swapping-of-lv-identifiers-handles-more-complex-lvs.patch): + echo 'Patch #9 (lvm2-2_02_131-swapping-of-lv-identifiers-handles-more-complex-lvs.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_131-swapping-of-lv-identifiers-handles-more-complex-lvs.patch + /usr/bin/patch -p1 -b --suffix .lv_swapping_complex --fuzz=0 patching file WHATS_NEW patching file tools/lvconvert.c patching file tools/lvconvert_poll.c Patch #10 (lvm2-2_02_131-do-not-check-for-full-thin-pool-when-activating-without-messages.patch): + echo 'Patch #10 (lvm2-2_02_131-do-not-check-for-full-thin-pool-when-activating-without-messages.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_131-do-not-check-for-full-thin-pool-when-activating-without-messages.patch + /usr/bin/patch -p1 -b --suffix .thin_no_messages_no_check --fuzz=0 patching file WHATS_NEW_DM patching file libdm/libdm-deptree.c Patch #11 (lvm2-2_02_131-disallow-usage-of-stripe-and-stripesize-when-creating-cache-pool.patch): + echo 'Patch #11 (lvm2-2_02_131-disallow-usage-of-stripe-and-stripesize-when-creating-cache-pool.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_131-disallow-usage-of-stripe-and-stripesize-when-creating-cache-pool.patch + /usr/bin/patch -p1 -b --suffix .disallow_stripe_for_cache_pool --fuzz=0 patching file WHATS_NEW patching file tools/lvcreate.c Patch #12 (lvm2-2_02_131-fix-vgimportclone-cache_dir-path-name.patch): + echo 'Patch #12 (lvm2-2_02_131-fix-vgimportclone-cache_dir-path-name.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_131-fix-vgimportclone-cache_dir-path-name.patch + /usr/bin/patch -p1 -b --suffix .vgimportclone_cache_dir --fuzz=0 patching file WHATS_NEW patching file scripts/vgimportclone.sh Patch #13 (lvm2-2_02_133-check-for-space-in-thin-pool-before-creating-new-thin.patch): + echo 'Patch #13 (lvm2-2_02_133-check-for-space-in-thin-pool-before-creating-new-thin.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_133-check-for-space-in-thin-pool-before-creating-new-thin.patch + /usr/bin/patch -p1 -b --suffix .check_for_thin_pool_space --fuzz=0 patching file WHATS_NEW patching file lib/metadata/lv_manip.c Patch #14 (lvm2-2_02_133-enforce-writethrough-mode-for-cleaner-policy.patch): + echo 'Patch #14 (lvm2-2_02_133-enforce-writethrough-mode-for-cleaner-policy.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_133-enforce-writethrough-mode-for-cleaner-policy.patch + /usr/bin/patch -p1 -b --suffix .writethrough_cleaner_policy --fuzz=0 patching file WHATS_NEW_DM patching file libdm/libdm-deptree.c Patch #15 (lvm2-2_02_135-fix-resize-of-full-thin-pool-causing-data-loss.patch): + echo 'Patch #15 (lvm2-2_02_135-fix-resize-of-full-thin-pool-causing-data-loss.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_135-fix-resize-of-full-thin-pool-causing-data-loss.patch + /usr/bin/patch -p1 -b --suffix .thin_pool_resize_data_loss --fuzz=0 patching file lib/activate/dev_manager.c patching file libdm/.exported_symbols.Base patching file libdm/.exported_symbols.DM_1_02_107 patching file libdm/libdevmapper.h patching file libdm/libdm-deptree.c patching file test/shell/lvextend-thin-bz1274676.sh Patch #16 (lvm2-2_02_142-do-not-check-for-suspended-devices-if-scanning-for-lvmetad-update.patch): + echo 'Patch #16 (lvm2-2_02_142-do-not-check-for-suspended-devices-if-scanning-for-lvmetad-update.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_142-do-not-check-for-suspended-devices-if-scanning-for-lvmetad-update.patch + /usr/bin/patch -p1 -b --suffix .susp_devs_lvmetad_update --fuzz=0 patching file WHATS_NEW patching file lib/filters/filter-usable.c Patch #17 (lvm2-2_02_140-restore-background-polling-processing-during-auto-activation.patch): + echo 'Patch #17 (lvm2-2_02_140-restore-background-polling-processing-during-auto-activation.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_140-restore-background-polling-processing-during-auto-activation.patch + /usr/bin/patch -p1 -b --suffix .background_polling_auto_activation --fuzz=0 patching file WHATS_NEW patching file tools/pvscan.c patching file tools/tools.h patching file tools/vgchange.c Patch #18 (lvm2-2_02_155-fix-flushing-for-mirror-target.patch): + echo 'Patch #18 (lvm2-2_02_155-fix-flushing-for-mirror-target.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_155-fix-flushing-for-mirror-target.patch + /usr/bin/patch -p1 -b --suffix .flushing_mirror --fuzz=0 patching file WHATS_NEW patching file lib/activate/activate.c patching file lib/activate/dev_manager.c Patch #19 (lvm2-2_02_131-fix-devices-filter-to-be-applied-before-disk-accessing-filters.patch): + echo 'Patch #19 (lvm2-2_02_131-fix-devices-filter-to-be-applied-before-disk-accessing-filters.patch):' + /usr/bin/cat /builddir/build/SOURCES/lvm2-2_02_131-fix-devices-filter-to-be-applied-before-disk-accessing-filters.patch + /usr/bin/patch -p1 -b --suffix .fix_filter_order --fuzz=0 patching file WHATS_NEW patching file lib/commands/toolcontext.c Patch #2000 (allow_lv_change_with_metadata_ro): + echo 'Patch #2000 (allow_lv_change_with_metadata_ro):' + /usr/bin/cat /builddir/build/SOURCES/allow_lv_change_with_metadata_ro + /usr/bin/patch -p1 --fuzz=0 patching file lib/locking/locking.c Hunk #2 succeeded at 267 (offset 1 line). Patch #2001 (scan_only_the_device_in_LVM_DEVICE_env.diff): + echo 'Patch #2001 (scan_only_the_device_in_LVM_DEVICE_env.diff):' + /usr/bin/cat /builddir/build/SOURCES/scan_only_the_device_in_LVM_DEVICE_env.diff + /usr/bin/patch -p1 --fuzz=0 patching file lib/commands/toolcontext.c Hunk #1 succeeded at 1249 (offset 234 lines). Hunk #2 succeeded at 1265 (offset 12 lines). patching file lib/filters/filter-persistent.c Hunk #4 succeeded at 249 (offset 1 line). Patch #2002 (fix-aliasing-segv.patch): + echo 'Patch #2002 (fix-aliasing-segv.patch):' + /usr/bin/cat /builddir/build/SOURCES/fix-aliasing-segv.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/cache/lvmcache.c Patch #2003 (udev-rule-to-stop-device-mapper-running-blkid-on.patch): + echo 'Patch #2003 (udev-rule-to-stop-device-mapper-running-blkid-on.patch):' + /usr/bin/cat /builddir/build/SOURCES/udev-rule-to-stop-device-mapper-running-blkid-on.patch + /usr/bin/patch -p1 --fuzz=0 patching file udev/13-dm-disk.rules.in Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pVTf9Q + exit 0 + umask 022 + cd /builddir/build/BUILD + cd LVM2.2.02.130 + 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' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/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 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess BUILDSTDERR: ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub BUILDSTDERR: ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' + ./configure --build=x86_64-koji-linux-gnu --host=x86_64-koji-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm --with-default-pid-dir=/run --with-default-locking-dir=/run/lock/lvm --with-usrlibdir=/usr/lib64 --enable-lvm1_fallback --enable-fsadm --with-pool=internal --enable-write_install --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd --enable-blkid_wiping --enable-python-bindings --with-cluster=internal --with-clvmd=corosync --enable-cmirrord --with-udevdir=/usr/lib/udev/rules.d --enable-udev_sync --with-thin=internal --with-cache=internal --enable-lvmpolld --enable-lockd-dlm --enable-lockd-sanlock BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-koji-linux-gnu checking host system type... x86_64-koji-linux-gnu checking target system type... x86_64-koji-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... gawk checking for x86_64-koji-linux-gnu-gcc... no checking for gcc... no checking for x86_64-koji-linux-gnu-cc... no checking for cc... no checking for x86_64-koji-linux-gnu-cl.exe... no checking for cl.exe... no BUILDSTDERR: configure: error: in `/builddir/build/BUILD/LVM2.2.02.130': BUILDSTDERR: configure: error: no acceptable C compiler found in $PATH BUILDSTDERR: See `config.log' for more details RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.pVTf9Q (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.pVTf9Q (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lvm2.spec