D: [iurt_root_command] chroot RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument Installing /home/iurt/rpmbuild/SRPMS/antlr-2.7.7-44.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.jMBR2j + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf antlr-2.7.7 + /usr/bin/tar -xof /home/iurt/rpmbuild/SOURCES/antlr-2.7.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd antlr-2.7.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.jar' -exec rm -f '{}' ';' + cp -p /home/iurt/rpmbuild/SOURCES/antlr-build.xml build.xml + echo 'Patch #1 (antlr-2.7.7-newgcc.patch):' Patch #1 (antlr-2.7.7-newgcc.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./lib/cpp/antlr/CharScanner.hpp + echo 'Patch #2 (antlr-examples-license.patch):' Patch #2 (antlr-examples-license.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file examples/java/unicode.IDENTs/ShowString.java patching file examples/java/unicode.IDENTs/StreamConverter.java + sed -i 's/\r//' LICENSE.txt + /usr/bin/python3 /usr/share/java-utils/mvn_file.py antlr:antlr antlr + cp -af /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub scripts/ cp: cannot stat '/usr/lib/rpm/config.guess': No such file or directory cp: cannot stat '/usr/lib/rpm/config.sub': No such file or directory error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.jMBR2j (%prep) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.jMBR2j (%prep) I: [iurt_root_command] ERROR: chroot