Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/open-vm-tools.spec'], chrootPath='/var/lib/mock/open-vm-tools-10.3.0-2.el7-20190813173644-19206/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/open-vm-tools.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/open-vm-tools-10.3.0-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/open-vm-tools.spec'], chrootPath='/var/lib/mock/open-vm-tools-10.3.0-2.el7-20190813173644-19206/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/open-vm-tools.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.H7hm7k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf open-vm-tools-10.3.0-8931395 + /usr/bin/gzip -dc /builddir/build/SOURCES/open-vm-tools-10.3.0-8931395.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd open-vm-tools-10.3.0-8931395 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (0002-Update-cloud-init-handling.patch):' Patch #2 (0002-Update-cloud-init-handling.patch): + /usr/bin/cat /builddir/build/SOURCES/0002-Update-cloud-init-handling.patch + /usr/bin/patch -p1 --fuzz=0 patching file libDeployPkg/linuxDeployment.c patching file libDeployPkg/linuxDeploymentUtilities.c Patch #3 (0003-hgfsPlugin-crash-fix.patch): + echo 'Patch #3 (0003-hgfsPlugin-crash-fix.patch):' + /usr/bin/cat /builddir/build/SOURCES/0003-hgfsPlugin-crash-fix.patch + /usr/bin/patch -p1 --fuzz=0 patching file services/plugins/hgfsServer/hgfsPlugin.c Patch #4 (ovt-Fix-RELRO-flag.patch): + echo 'Patch #4 (ovt-Fix-RELRO-flag.patch):' + /usr/bin/cat /builddir/build/SOURCES/ovt-Fix-RELRO-flag.patch + /usr/bin/patch -p1 --fuzz=0 patching file configure.ac patching file libDeployPkg/Makefile.am patching file libguestlib/Makefile.am patching file libhgfs/Makefile.am patching file libvmtools/Makefile.am patching file vgauth/lib/Makefile.am + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iLMtH3 + umask 022 + cd /builddir/build/BUILD + cd open-vm-tools-10.3.0-8931395 + autoreconf -i configure.ac:348: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4100: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5167: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:348: the top level configure.ac:348: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4100: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5167: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:348: the top level configure.ac:348: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:5274: _LT_LANG_CXX_CONFIG is expanded from... m4/libtool.m4:787: _LT_LANG is expanded from... m4/libtool.m4:770: LT_LANG is expanded from... m4/libtool.m4:798: _LT_LANG_DEFAULT_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:348: the top level configure.ac:348: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4100: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5167: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:348: the top level configure.ac:348: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4100: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5167: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:348: the top level configure.ac:348: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:5274: _LT_LANG_CXX_CONFIG is expanded from... m4/libtool.m4:787: _LT_LANG is expanded from... m4/libtool.m4:770: LT_LANG is expanded from... m4/libtool.m4:798: _LT_LANG_DEFAULT_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:348: the top level configure.ac:348: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4100: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5167: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:348: the top level configure.ac:348: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4100: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5167: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:348: the top level configure.ac:348: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:5274: _LT_LANG_CXX_CONFIG is expanded from... m4/libtool.m4:787: _LT_LANG is expanded from... m4/libtool.m4:770: LT_LANG is expanded from... m4/libtool.m4:798: _LT_LANG_DEFAULT_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:348: the top level libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. libtoolize: copying file `config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' lib/guestRpc/Makefile.am:26: warning: 'CFLAGS' is a user variable, you should not override it; lib/guestRpc/Makefile.am:26: use 'AM_CFLAGS' instead libguestlib/Makefile.am:55: warning: 'CFLAGS' is a user variable, you should not override it; libguestlib/Makefile.am:55: use 'AM_CFLAGS' instead tests/testDebug/Makefile.am:44: warning: 'CFLAGS' is a user variable, you should not override it; tests/testDebug/Makefile.am:44: use 'AM_CFLAGS' instead tests/testPlugin/Makefile.am:44: warning: 'CFLAGS' is a user variable, you should not override it; tests/testPlugin/Makefile.am:44: use 'AM_CFLAGS' instead + autoconf + CFLAGS='-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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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 -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-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 --without-kernel-modules --enable-xmlsec1 --enable-resolutionkms --without-tirpc --disable-static checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu configure: error: Unknown architecture. error: Bad exit status from /var/tmp/rpm-tmp.iLMtH3 (%build) Bad exit status from /var/tmp/rpm-tmp.iLMtH3 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/open-vm-tools.spec