D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 1: %{rel} + 191: arithmetic syntax error: operand expected (error token is "%{rel} + 191") warning: line 185: Possible unexpanded macro in: Release: %{1}.mga11 sh: line 1: %{rel} + 191: arithmetic syntax error: operand expected (error token is "%{rel} + 191") warning: line 189: Possible unexpanded macro in: Provides: libijs = 0.35-%{1}.mga11 sh: line 1: %{rel} + 191: arithmetic syntax error: operand expected (error token is "%{rel} + 191") warning: line 200: Possible unexpanded macro in: Release: %{1}.mga11 sh: line 1: %{rel} + 191: arithmetic syntax error: operand expected (error token is "%{rel} + 191") warning: line 206: Possible unexpanded macro in: Provides: libijs-devel = 0.35-%{1}.mga11 sh: line 1: %{rel} + 191: arithmetic syntax error: operand expected (error token is "%{rel} + 191") warning: line 207: Possible unexpanded macro in: Provides: ijs-devel = 0.35-%{1}.mga11 sh: line 1: %{rel} + 191: arithmetic syntax error: operand expected (error token is "%{rel} + 191") warning: line 208: Possible unexpanded macro in: Obsoletes: lib64ijs1-devel < 0.35-%{1}.mga11 Installing /home/iurt/rpmbuild/SRPMS/@2388990:ghostscript-10.08.0-2.mga11.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.25130Q Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pifARI + umask 022 + cd /home/iurt/rpmbuild/BUILD/ghostscript-10.08.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/ghostscript-10.08.0-build + rm -rf ghostscript-10.08.0 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/ghostscript-10.08.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghostscript-10.08.0 + /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.44dHmE + umask 022 + cd /home/iurt/rpmbuild/BUILD/ghostscript-10.08.0-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 -Wno-implicit-function-declaration -std=gnu17' + 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 -Wno-implicit-function-declaration -std=gnu17' + 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 -Wno-implicit-function-declaration -std=gnu17 ' + 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 -Wno-implicit-function-declaration -std=gnu17 ' + 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.08.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./autogen.sh Generating configuration files for ghostscript, please wait.... running autoreconf 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... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C23 features... unsupported checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for a sed that does not truncate output... /usr/bin/sed checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for pkg-config... /usr/bin/pkg-config checking for strip... /usr/bin/strip checking if compiler supports restrict... yes checking supported compiler flags... -O2 -DNDEBUG -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -Wno-unused-local-typedefs -gdwarf-2 -g3 -O0 -fvisibility=hidden ...done. checking compiler/linker address santizer support... ...done. checking compiler/linker address santizer build warnings support... extra warnings not supported ...done. checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking whether byte ordering is bigendian... no checking sse2 support... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for errno.h... yes checking for fcntl.h... yes checking for malloc.h... yes checking for memory.h... yes checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/time.h... yes checking for sys/times.h... yes checking for syslog.h... yes checking for dirent.h... yes checking for ndir.h... no checking for sys/dir.h... yes checking for sys/ndir.h... no checking for inttypes.h... (cached) yes checking for limits.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for stdarg.h... yes checking for make... yes checking if make is GNU make... yes checking for sys/window.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for dlopen in -ldl... yes checking for dlfcn.h... yes checking size of unsigned long long... 8 checking neon support... no checking for cos in -lm... yes checking for pread... yes checking for pwrite... yes checking for gcc options to detect undeclared functions... none needed checking for gcc options to ignore future-version functions... none needed checking whether pwrite is declared... yes checking whether pread is declared... yes checking whether popen is declared... yes checking for pthread_create in -lpthread... yes checking for recursive mutexes... PTHREAD_MUTEX_RECURSIVE checking for local Tesseract library source... yes checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking supported C++ compiler flags... -std=c++17 checking sse4.1 support... yes checking avx support... yes checking avx2 support... yes checking fma support... yes checking for iconv_open... yes checking for libidn with pkg-config... yes checking for systempapername in -lpaper... yes checking for paper.h... yes checking for fontconfig with pkg-config... yes checking for dbus with pkg-config... yes checking for local freetype library source... no checking for system freetype2 >= 2.4.2 with pkg-config... yes checking for local jpeg library source... no checking for jpeg_set_defaults in -ljpeg... yes checking for jpeglib.h... yes checking for jmemsys.h... no checking for local zlib source... no checking for deflate in -lz... yes checking for zlib.h... yes checking for local png library source... no checking for png_create_write_struct in -lpng... yes checking for png.h... yes checking for local brotli source... yes checking for local lcms2mt library source... no checking for local lcms2 library source... no checking for system lcms2 library... checking for _cmsCreateMutex in -llcms2... yes checking for lcms2.h... yes checking for libtiff with pkg-config... yes checking for TIFFOpen in -ltiff... yes checking for tiff.h... yes checking for cups-config... /usr/bin/cups-config checking for cups/cups.h... yes checking for cups/raster.h... yes checking for local ijs library source... yes checking for local jbig2dec library source... no checking for jbig2dec 0.19 with pkg-config... yes checking for fseeko... yes checking whether lrintf is declared... yes checking for local OpenJPEG library source... no checking for OpenJPEG2... yes checking for URF support... yes checking for SmartOffice support... no checking for GTK+ 3.x... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XdbeQueryExtension in -lXext... yes checking for XtAppCreateShell in -lXt... yes checking Checking for "extract" in default location... yes checking for mkstemp... yes checking for fopen64... yes checking for fseeko... (cached) yes checking for mkstemp64... yes checking for setlocale... yes checking for strerror... yes checking for isnan... yes checking for isinf... yes checking for fpclassify... I: [iurt_root_command] ERROR: chroot