Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-libgovirt.spec'], chrootPath='/var/lib/mock/f40-build-2525935-61811/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=864000uid=997gid=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-libgovirt.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 setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/mingw-libgovirt-0.3.8-8.fc40.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-libgovirt.spec'], chrootPath='/var/lib/mock/f40-build-2525935-61811/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=864000uid=997gid=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-libgovirt.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 setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uT9Zwo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgovirt-0.3.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgovirt-0.3.8.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libgovirt-0.3.8 + rm -rf /builddir/build/BUILD/libgovirt-0.3.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libgovirt-0.3.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k5TWu0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 libgovirt-0.3.8 + run_mingw_configure --disable-gtk-doc --with-introspection=no --enable-static + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find . -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + for i in $(find . -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + mkdir -p build_win32 + pushd build_win32 ~/build/BUILD/libgovirt-0.3.8/build_win32 ~/build/BUILD/libgovirt-0.3.8 ++ /usr/bin/env ++ grep -E '^(w+)=(.*)$' ++ grep -Evw 'PWD|USER|LANG' ++ /usr/bin/cut -d= -f1 + 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-pkg-config + 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 + 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 ++ grep -- '-config$' ++ ls /usr/i686-w64-mingw32/sys-root/mingw/bin/autopoint /usr/i686-w64-mingw32/sys-root/mingw/bin/brotli.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/certtool.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/envsubst.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gdbus.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gettext.sh /usr/i686-w64-mingw32/sys-root/mingw/bin/gettextize /usr/i686-w64-mingw32/sys-root/mingw/bin/gio-querymodules.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gio.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-compile-resources.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-compile-schemas.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-genmarshal /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-gettextize /usr/i686-w64-mingw32/sys-root/mingw/bin/glib-mkenums /usr/i686-w64-mingw32/sys-root/mingw/bin/gnutls-cli-debug.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gnutls-cli.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gnutls-serv.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gobject-query.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gresource.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gsettings.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gspawn-win32-helper-console.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gspawn-win32-helper.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/gtester-report /usr/i686-w64-mingw32/sys-root/mingw/bin/iconv.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/idn2.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/libasprintf-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libatomic-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libbrotlicommon.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libbrotlidec.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libbrotlienc.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libffi-8.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextlib-0-22.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextpo-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgettextsrc-0-22.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgio-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgirepository-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libglib-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgmodule-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgmp-10.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgmpxx-4.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgnutls-30.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgobject-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libgthread-2.0-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libhogweed-6.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libidn2-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libintl-8.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libnettle-8.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libp11-kit-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-16-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-32-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-8-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-posix-3.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libpsl-5.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/librest-0.7-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/librest-extras-0.7-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libsoup-2.4-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libsoup-gnome-2.4-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libsqlite3-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtasn1-6.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtermcap-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libtextstyle-0.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libunistring-2.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/libxml2-2.dll /usr/i686-w64-mingw32/sys-root/mingw/bin/msgattrib.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcat.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcmp.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgcomm.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgconv.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgen.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgexec.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgfilter.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgfmt.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msggrep.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msginit.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgmerge.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msgunfmt.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/msguniq.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/nettle-hash.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/nettle-lfib-stream.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/nettle-pbkdf2.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/ngettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/ocsptool.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/p11-kit.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/p11tool.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2-config /usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2grep.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2test.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/pkcs1-conv.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/psktool.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/psl-make-dafsa /usr/i686-w64-mingw32/sys-root/mingw/bin/psl.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/recode-sr-latin.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/sexp-conv.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/sqlite3.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/trust.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/xgettext.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config /usr/i686-w64-mingw32/sys-root/mingw/bin/xmlcatalog.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/xmllint.exe /usr/i686-w64-mingw32/sys-root/mingw/bin/zlib1.dll + for i in `ls /usr/i686-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"` ++ basename /usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2-config ++ tr a-z+-. A-ZX_ + x=PCRE2_CONFIG + declare -x PCRE2_CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2-config + export PCRE2_CONFIG + for i in `ls /usr/i686-w64-mingw32/sys-root/mingw/bin/*|grep -- "-config$"` ++ basename /usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config ++ tr a-z+-. A-ZX_ + x=XML2_CONFIG + declare -x XML2_CONFIG=/usr/i686-w64-mingw32/sys-root/mingw/bin/xml2-config + export XML2_CONFIG + unset x i + __mingw32_topdir=. + test -x configure + __mingw32_topdir=.. + ../configure --host=i686-w64-mingw32 --build=riscv64-koji-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 --disable-gtk-doc --with-introspection=no --enable-static --disable-gtk-doc --with-introspection=no --enable-static configure: WARNING: unrecognized options: --disable-gtk-doc, --with-introspection, --disable-gtk-doc, --with-introspection checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-w64-mingw32-strip... no checking for strip... strip checking for a thread-safe mkdir -p... configure: WARNING: using cross tools not prefixed with host triplet /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '997' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking whether the C compiler works... no configure: error: in `/builddir/build/BUILD/libgovirt-0.3.8/build_win32': configure: error: C compiler cannot create executables See `config.log' for more details error: Bad exit status from /var/tmp/rpm-tmp.k5TWu0 (%build) Bad exit status from /var/tmp/rpm-tmp.k5TWu0 (%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-libgovirt.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-libgovirt.spec'