Mock Version: 1.4.15 Mock Version: 1.4.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/smartmontools.spec'], timeout=86400nspawn_args=[]shell=Falseuid=996chrootPath='/var/lib/mock/v8.0-testing-1359-582/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/smartmontools.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 Wrote: /builddir/build/SRPMS/smartmontools-6.5-1.1.xcpng8.0.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/smartmontools.spec'], timeout=86400nspawn_args=[]shell=Falseuid=996chrootPath='/var/lib/mock/v8.0-testing-1359-582/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/smartmontools.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.OCRWkb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smartmontools-6.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/smartmontools-6.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd smartmontools-6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (smartmontools-5.38-defaultconf.patch):' Patch #1 (smartmontools-5.38-defaultconf.patch): + /usr/bin/cat /builddir/build/SOURCES/smartmontools-5.38-defaultconf.patch + /usr/bin/patch -p1 -b --suffix .defaultconf --fuzz=0 patching file smartd.conf Patch #2 (smartmontools-6.2-up2datedrivedb.patch): + echo 'Patch #2 (smartmontools-6.2-up2datedrivedb.patch):' + /usr/bin/cat /builddir/build/SOURCES/smartmontools-6.2-up2datedrivedb.patch + /usr/bin/patch -p1 -b --suffix .up2datedrivedb --fuzz=0 patching file drivedb.h + for fe in AUTHORS ChangeLog + iconv -f iso-8859-1 -t utf-8 + touch -r AUTHORS AUTHORS.new + mv -f AUTHORS.new AUTHORS + for fe in AUTHORS ChangeLog + iconv -f iso-8859-1 -t utf-8 + touch -r ChangeLog ChangeLog.new + mv -f ChangeLog.new ChangeLog + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lc6Z44 + umask 022 + cd /builddir/build/BUILD + cd smartmontools-6.5 + autoreconf -i + 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 ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './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-selinux --with-libcap-ng=yes --with-systemdsystemunitdir=/usr/lib/systemd/system --sysconfdir=/etc/smartmontools/ 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 make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-koji-linux-gnu-g++... no checking for x86_64-koji-linux-gnu-c++... no checking for x86_64-koji-linux-gnu-gpp... no checking for x86_64-koji-linux-gnu-aCC... no checking for x86_64-koji-linux-gnu-CC... no checking for x86_64-koji-linux-gnu-cxx... no checking for x86_64-koji-linux-gnu-cc++... no checking for x86_64-koji-linux-gnu-cl.exe... no checking for x86_64-koji-linux-gnu-FCC... no checking for x86_64-koji-linux-gnu-KCC... no checking for x86_64-koji-linux-gnu-RCC... no checking for x86_64-koji-linux-gnu-xlC_r... no checking for x86_64-koji-linux-gnu-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether the C++ compiler works... no BUILDSTDERR: configure: error: in `/builddir/build/BUILD/smartmontools-6.5': BUILDSTDERR: configure: error: C++ compiler cannot create executables BUILDSTDERR: See `config.log' for more details RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.lc6Z44 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.lc6Z44 (%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 734, in do_with_status 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/smartmontools.spec