Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghostscript.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-298861-29233/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghostscript.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False sh: line 1: fc-list: command not found dirname: missing operand Try 'dirname --help' for more information. sh: line 1: fc-list: command not found dirname: missing operand Try 'dirname --help' for more information. Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghostscript-10.02.1-8.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghostscript.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-298861-29233/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghostscript.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qVCRDC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghostscript-10.02.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ghostscript-10.02.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghostscript-10.02.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ghostscript-10.02.1-txtwrite-device-needs-to-countdown-the-device-on-tex.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ghostscript-10.02.1-PostScript-Fix-selectdevice.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-33871-OPVP-device-prevent-unsafe-parameter-change-with-SAF.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-29510-Uniprint-device-prevent-string-configuration-changes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-33870-Bug-707686.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-33869-Bug-707691.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-33869-Bug-707691-part-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Bug-707510-review-printing-of-pointers.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Bug-707510-don-t-allow-PDF-files-with-bad-Filters-to.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-Bug-707510-don-t-use-strlen-on-passwords.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-Bug-707510-fix-LIBIDN-usage.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-Bug-707510-5-Reject-OCRLanguage-changes-after-SAFER-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-Bug-707510-3-Bounds-checks-when-using-CIDFont-relate.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-Bug-707510-5-2-The-original-fix-was-overly-aggressiv.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-46951-PS-interpreter-check-the-type-of-the-Pattern-Impleme.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-46952-PDF-interpreter-sanitise-W-array-values-in-Xref-stre.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf cups/libs freetype ijs jbig2dec jpeg lcms2mt leptonica libpng openjpeg tesseract tiff windows zlib + sed -i 's/bdftops dvipdf eps2eps/bdftops eps2eps/g' base/unixinst.mak + rm -rf man/dvipdf.1 + rm -rf 'man/de/dvipdf*' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gjzc14 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ghostscript-10.02.1 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-11-01 20:42:37.000000000 +0800 +++ ./configure 2024-11-11 11:26:06.785801011 +0800 @@ -2409,7 +2409,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-compile-inits --without-versioned-path --with-fontpath=/usr/share/fonts/urw-base35:/usr/share/fonts/google-droid-fonts:/usr/share/ghostscript/conf.d/ configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking for aarch64-opencloudos-linux-gnu-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 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 aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for aarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking for aarch64-opencloudos-linux-gnu-strip... no 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... ...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... no 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 limits.h... yes checking for malloc.h... yes checking for memory.h... yes checking for stdlib.h... (cached) yes checking for string.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 unistd.h... (cached) 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 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 for cos in -lm... yes checking for pread... yes checking for pwrite... yes checking for gcc options needed to detect all undeclared 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... no checking for C++ compiler... checking whether the compiler supports GNU C++... no checking whether g++ accepts -g... no checking for g++ option to enable C++11 features... none needed no checking for iconv_open... yes checking for libidn with pkg-config... no checking for stringprep in -lidn... no 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 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 aarch64-opencloudos-linux-gnu-cups-config... no 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... no checking for ijs_server_init in -lijs... yes checking for ijs/ijs.h... 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... checking for SmartOffice support... checking for local CAL library source... 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... no checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for vprintf... yes checking for working fork... yes checking for working vfork... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for bzero... yes checking for dup2... yes checking for floor... yes checking for gettimeofday... yes checking for memchr... yes checking for memmove... yes checking for memset... yes