D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/iurt/rpmbuild/SRPMS/@2180038:ghostscript-10.05.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.mRdFGf Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.TsbhVP + umask 022 + cd /home/iurt/rpmbuild/BUILD/ghostscript-10.05.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/ghostscript-10.05.1-build + rm -rf ghostscript-10.05.1 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/ghostscript-10.05.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghostscript-10.05.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf expat freetype icclib jasper jpeg jpegxr lcms2 libpng openjpeg zlib cups/libs + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/ghostscript-10.05-openjpeg2-non-static.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/ghostscript-scripts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/ghostscript-noopt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/ghostscript-runlibfileifexists.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/ghostscript-Fontmap.local.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/1004_enable_spot_devices.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find . -name '*.*~' + xargs rm -f + rm -rf jasper libpng jpeg tiff expat zlib lcms2mt freetype + rm -rf jbig2dec + cat + bzcat /home/iurt/rpmbuild/SOURCES/ps2pdfpress.bz2 + bzcat /home/iurt/rpmbuild/SOURCES/sipixa6.upp.bz2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fVZUwc + umask 022 + cd /home/iurt/rpmbuild/BUILD/ghostscript-10.05.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -Wnoimplicit-function-declaration -std=c17' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -Wnoimplicit-function-declaration -std=c17' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -Wnoimplicit-function-declaration -std=c17 ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -Wnoimplicit-function-declaration -std=c17 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ghostscript-10.05.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./autogen.sh Generating configuration files for ghostscript, please wait.... running autoreconf configure.ac:3432: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:3432: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:3432: the top level I am going to run ./configure with no arguments - if you wish to pass any to it, please specify them on the ./autogen.sh command line. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking whether the C compiler works... no configure: error: in '/home/iurt/rpmbuild/BUILD/ghostscript-10.05.1-build/ghostscript-10.05.1': configure: error: C compiler cannot create executables See 'config.log' for more details error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fVZUwc (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fVZUwc (%build) I: [iurt_root_command] ERROR: chroot