D: [iurt_root_command] chroot warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/mingw-wine-gecko-2.47.4-1.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QN4tYj + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf wine-gecko-2.47.4 + /usr/bin/mkdir -p wine-gecko-2.47.4 + cd wine-gecko-2.47.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/wine-gecko-2.47.4-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /home/pterjan/rpmbuild/BUILD/wine-gecko-2.47.4-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/wine-gecko-2.47.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd wine-gecko-2.47.4/ + echo 'Patch #100 (mingw-wine-gecko-wine64.patch):' Patch #100 (mingw-wine-gecko-wine64.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .wine64 --fuzz=0 patching file wine/make_package Hunk #1 succeeded at 306 (offset 8 lines). + pushd js/src/ctypes/libffi ~/rpmbuild/BUILD/wine-gecko-2.47.4/wine-gecko-2.47.4/js/src/ctypes/libffi ~/rpmbuild/BUILD/wine-gecko-2.47.4/wine-gecko-2.47.4 + rm -rf ./ChangeLog.libffi ./ChangeLog.libffi-3.1 ./ChangeLog.libgcj ./ChangeLog.v1 ./LICENSE ./Makefile.am ./Makefile.in ./README ./acinclude.m4 ./aclocal.m4 ./compile ./config.guess ./config.sub ./configure ./configure.ac ./depcomp ./doc ./fficonfig.h.in ./generate-darwin-source-and-headers.py ./include ./install-sh ./libffi.pc.in ./libffi.xcodeproj ./libtool-ldflags ./libtool-version ./ltmain.sh ./m4 ./man ./mdate-sh ./missing ./msvcc.sh ./src ./testsuite ./texinfo.tex + gzip -dc /home/pterjan/rpmbuild/SOURCES/libffi-3.4.2.tar.gz + tar -xf - --strip-components=1 + popd ~/rpmbuild/BUILD/wine-gecko-2.47.4/wine-gecko-2.47.4 + echo 'Patch #1 (mingw-wine-gecko-gcc11.patch):' Patch #1 (mingw-wine-gecko-gcc11.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file old-configure.in patching file gfx/2d/Matrix.h patching file js/src/ctypes/libffi/configure + echo 'Patch #3 (mingw-wine-gecko-header.patch):' Patch #3 (mingw-wine-gecko-header.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file accessible/windows/uia/uiaRawElmProvider.h patching file accessible/interfaces/msaa/ISimpleDOMDocument.idl patching file accessible/interfaces/msaa/ISimpleDOMText.idl patching file other-licenses/ia2/Accessible2.idl patching file other-licenses/ia2/AccessibleAction.idl patching file other-licenses/ia2/AccessibleApplication.idl patching file other-licenses/ia2/AccessibleComponent.idl patching file other-licenses/ia2/AccessibleDocument.idl patching file other-licenses/ia2/AccessibleEditableText.idl patching file other-licenses/ia2/AccessibleImage.idl patching file other-licenses/ia2/AccessibleRelation.idl patching file other-licenses/ia2/AccessibleText.idl patching file other-licenses/ia2/AccessibleValue.idl + sed -i 's,cross_compiling=.*$,cross_compiling=yes,' nsprpub/configure + rm -f media/libstagefright/ports/win32/include/pthread.h + sed -i 's,$WINE cabarc.exe -r -m mszip N $cabfile msi/files,$WINE cabarc.exe -r -m mszip N $cabfile msi/files/*,' wine/make_package + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HU1KHH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd wine-gecko-2.47.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd wine-gecko-2.47.4 + echo 'mk_add_options MOZ_MAKE_FLAGS=-j16' + echo 'export CFLAGS="-DWINE_GECKO_SRC"' + cp wine/mozconfig-common wine/mozconfig-common.build + python3.10 -m venv env /home/pterjan/rpmbuild/tmp/rpm-tmp.HU1KHH: line 45: python3.10: command not found error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HU1KHH (%build) RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HU1KHH (%build) I: [iurt_root_command] ERROR: chroot