D: [iurt_root_command] chroot warning: %setup_compile_flags is deprecated, use %set_build_flags instead Installing /home/iurt/rpmbuild/SRPMS/playonlinux-4.3.4-2.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LvNPlb + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf playonlinux + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/PlayOnLinux_4.3.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd playonlinux + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/playonlinux-4.2.8-deb-set-debian-env.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/playonlinux-4.3.3-hicolor.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + find -name '*.py' -exec sed -i '{}' -e 's|/usr/bin/python$|/usr/bin/python2|' ';' + find -name '*.py' -exec sed -i '{}' -e 's|/usr/bin/env python$|/usr/bin/python2|' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qavSza + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd playonlinux + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/make -O -j8 V=1 VERBOSE=1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd -lGL -lX11 python2 -m py_compile ./python/*.py /bin/bash: python2: command not found make: *** [Makefile:49: build] Error 127 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.qavSza (%build) RPM build errors: %setup_compile_flags is deprecated, use %set_build_flags instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.qavSza (%build) I: [iurt_root_command] ERROR: chroot