Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-portablexdr.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-85404-57475/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-portablexdr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/mingw-portablexdr-4.9.1-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-portablexdr.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-85404-57475/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-portablexdr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z6KLTQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf portablexdr-4.9.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/portablexdr-4.9.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd portablexdr-4.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'mingw-portablexdr-4.9.1 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/portablexdr-4.9.1-no-config-h.patch + /usr/bin/git apply --index --reject - Checking patch rpc/rpc.h... Applied patch rpc/rpc.h cleanly. + /usr/bin/git commit -q -m portablexdr-4.9.1-no-config-h.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/portablexdr-build-use-intptr_t-and-uintptr_t-to-cast-ptr-to-int.patch + /usr/bin/git apply --index --reject - Checking patch xdr_mem.c... Checking patch xdr_rec.c... Applied patch xdr_mem.c cleanly. Applied patch xdr_rec.c cleanly. + /usr/bin/git commit -q -m portablexdr-build-use-intptr_t-and-uintptr_t-to-cast-ptr-to-int.patch --author 'rpm-build ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bhwg4L + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd portablexdr-4.9.1 + run_mingw_configure --enable-static + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find . -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/TencentOS/config.guess ']' + for i in $(find . -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/TencentOS/config.sub ']' + mkdir -p build_win32 + pushd build_win32 ~/build/BUILD/portablexdr-4.9.1/build_win32 ~/build/BUILD/portablexdr-4.9.1 ++ /usr/bin/env ++ grep -E '^(w+)=(.*)$' ++ /usr/bin/cut -d= -f1 ++ grep -Evw 'PWD|USER|LANG' + unset + test -z '' + PATH_ORIG=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + export PATH_ORIG + PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + export PATH + HOST_CC=gcc + export HOST_CC + unset PKG_CONFIG_PATH + _PREFIX=/usr/bin/i686-w64-mingw32- ++ grep -v gcc- ++ ls -1 /usr/bin/i686-w64-mingw32-addr2line /usr/bin/i686-w64-mingw32-ar /usr/bin/i686-w64-mingw32-as /usr/bin/i686-w64-mingw32-c++filt /usr/bin/i686-w64-mingw32-cpp /usr/bin/i686-w64-mingw32-dlltool /usr/bin/i686-w64-mingw32-dllwrap /usr/bin/i686-w64-mingw32-elfedit /usr/bin/i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-13.2.1 /usr/bin/i686-w64-mingw32-gcc-ar /usr/bin/i686-w64-mingw32-gcc-nm /usr/bin/i686-w64-mingw32-gcc-ranlib /usr/bin/i686-w64-mingw32-gcov /usr/bin/i686-w64-mingw32-gcov-dump /usr/bin/i686-w64-mingw32-gcov-tool /usr/bin/i686-w64-mingw32-gprof /usr/bin/i686-w64-mingw32-ld /usr/bin/i686-w64-mingw32-ld.bfd /usr/bin/i686-w64-mingw32-lto-dump /usr/bin/i686-w64-mingw32-nm /usr/bin/i686-w64-mingw32-objcopy /usr/bin/i686-w64-mingw32-objdump /usr/bin/i686-w64-mingw32-pkg-config /usr/bin/i686-w64-mingw32-ranlib /usr/bin/i686-w64-mingw32-readelf /usr/bin/i686-w64-mingw32-size /usr/bin/i686-w64-mingw32-strings /usr/bin/i686-w64-mingw32-strip /usr/bin/i686-w64-mingw32-windmc /usr/bin/i686-w64-mingw32-windres + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-addr2line ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=ADDR2LINE + declare -x ADDR2LINE=/usr/bin/i686-w64-mingw32-addr2line + export ADDR2LINE + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-ar ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=AR + declare -x AR=/usr/bin/i686-w64-mingw32-ar + export AR + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ ++ echo /usr/bin/i686-w64-mingw32-as + x=AS + declare -x AS=/usr/bin/i686-w64-mingw32-as + export AS + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-c++filt ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=CXXFILT + declare -x CXXFILT=/usr/bin/i686-w64-mingw32-c++filt + export CXXFILT + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-cpp ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=CPP + declare -x CPP=/usr/bin/i686-w64-mingw32-cpp + export CPP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-dlltool ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=DLLTOOL + declare -x DLLTOOL=/usr/bin/i686-w64-mingw32-dlltool + export DLLTOOL + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-dllwrap ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=DLLWRAP + declare -x DLLWRAP=/usr/bin/i686-w64-mingw32-dllwrap + export DLLWRAP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-elfedit ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=ELFEDIT + declare -x ELFEDIT=/usr/bin/i686-w64-mingw32-elfedit + export ELFEDIT + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-gcc ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=GCC + declare -x GCC=/usr/bin/i686-w64-mingw32-gcc + export GCC + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-gcov ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=GCOV + declare -x GCOV=/usr/bin/i686-w64-mingw32-gcov + export GCOV + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-gcov-dump ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=GCOV_DUMP + declare -x GCOV_DUMP=/usr/bin/i686-w64-mingw32-gcov-dump + export GCOV_DUMP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-gcov-tool ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=GCOV_TOOL + declare -x GCOV_TOOL=/usr/bin/i686-w64-mingw32-gcov-tool + export GCOV_TOOL + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-gprof ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=GPROF + declare -x GPROF=/usr/bin/i686-w64-mingw32-gprof + export GPROF + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-ld ++ tr a-z+-. A-ZX__ + x=LD + declare -x LD=/usr/bin/i686-w64-mingw32-ld + export LD + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-ld.bfd ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=LD_BFD + declare -x LD_BFD=/usr/bin/i686-w64-mingw32-ld.bfd + export LD_BFD + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-lto-dump ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=LTO_DUMP + declare -x LTO_DUMP=/usr/bin/i686-w64-mingw32-lto-dump + export LTO_DUMP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-nm ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=NM + declare -x NM=/usr/bin/i686-w64-mingw32-nm + export NM + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-objcopy + x=OBJCOPY + declare -x OBJCOPY=/usr/bin/i686-w64-mingw32-objcopy + export OBJCOPY + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-objdump ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=OBJDUMP + declare -x OBJDUMP=/usr/bin/i686-w64-mingw32-objdump + export OBJDUMP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-pkg-config ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=PKG_CONFIG + declare -x PKG_CONFIG=/usr/bin/i686-w64-mingw32-pkg-config + export PKG_CONFIG + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-ranlib ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=RANLIB + declare -x RANLIB=/usr/bin/i686-w64-mingw32-ranlib + export RANLIB + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-readelf ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=READELF + declare -x READELF=/usr/bin/i686-w64-mingw32-readelf + export READELF + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-size ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=SIZE + declare -x SIZE=/usr/bin/i686-w64-mingw32-size + export SIZE + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-strings ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ tr a-z+-. A-ZX__ + x=STRINGS + declare -x STRINGS=/usr/bin/i686-w64-mingw32-strings + export STRINGS + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-strip ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=STRIP + declare -x STRIP=/usr/bin/i686-w64-mingw32-strip + export STRIP + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ sed s,/usr/bin/i686-w64-mingw32-,, ++ echo /usr/bin/i686-w64-mingw32-windmc ++ tr a-z+-. A-ZX__ + x=WINDMC + declare -x WINDMC=/usr/bin/i686-w64-mingw32-windmc + export WINDMC + for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'` ++ echo /usr/bin/i686-w64-mingw32-windres ++ tr a-z+-. A-ZX__ ++ sed s,/usr/bin/i686-w64-mingw32-,, + x=WINDRES + declare -x WINDRES=/usr/bin/i686-w64-mingw32-windres + export WINDRES + unset _PREFIX + CC=i686-w64-mingw32-gcc + export CC + CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4' + export CFLAGS + CPPFLAGS= + export CPPFLAGS + '[' -x /usr/bin/i686-w64-mingw32-g++ ']' + CXX= + export CXX + ac_cv_prog_CXX=no + export ac_cv_prog_CXX + CXXFLAGS= + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4' + export FCFLAGS + LDFLAGS='-fstack-protector -lssp' + export LDFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS ++ ls /usr/i686-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll ++ grep -- '-config$' + unset x i + __mingw32_topdir=. + test -x configure + __mingw32_topdir=.. + ../configure --host=i686-w64-mingw32 --build=aarch64-opencloudos-linux-gnu --target=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32/sys-root/mingw --exec-prefix=/usr/i686-w64-mingw32/sys-root/mingw --bindir=/usr/i686-w64-mingw32/sys-root/mingw/bin --sbindir=/usr/i686-w64-mingw32/sys-root/mingw/sbin --sysconfdir=/usr/i686-w64-mingw32/sys-root/mingw/etc --datadir=/usr/i686-w64-mingw32/sys-root/mingw/share --includedir=/usr/i686-w64-mingw32/sys-root/mingw/include --libdir=/usr/i686-w64-mingw32/sys-root/mingw/lib --libexecdir=/usr/i686-w64-mingw32/sys-root/mingw/libexec --localstatedir=/usr/i686-w64-mingw32/sys-root/mingw/var --sharedstatedir=/usr/i686-w64-mingw32/sys-root/mingw/com --mandir=/usr/i686-w64-mingw32/sys-root/mingw/share/man --infodir=/usr/i686-w64-mingw32/sys-root/mingw/share/info --enable-static --enable-static 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 for i686-w64-mingw32-strip... /usr/bin/i686-w64-mingw32-strip checking build system type... Invalid configuration `aarch64-opencloudos-linux-gnu': machine `aarch64-opencloudos' not recognized configure: error: /bin/sh ../config.sub aarch64-opencloudos-linux-gnu failed error: Bad exit status from /var/tmp/rpm-tmp.bhwg4L (%build) Bad exit status from /var/tmp/rpm-tmp.bhwg4L (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-portablexdr.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-portablexdr.spec