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/pnm2ppa.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-240381-21841/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/pnm2ppa.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 Wrote: /builddir/build/SRPMS/pnm2ppa-1.13-2.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/pnm2ppa.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-240381-21841/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/pnm2ppa.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.qtzxlX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pnm2ppa-1.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pnm2ppa-1.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pnm2ppa-1.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd pnm2ppa-1.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ppa-0.8.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #3000 (pbm2ppa-20000205.diff): + echo 'Patch #3000 (pbm2ppa-20000205.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file pbm2ppa-0.8.6/CALIBRATION patching file pbm2ppa-0.8.6/defaults.1000.h patching file pbm2ppa-0.8.6/defaults.720.h patching file pbm2ppa-0.8.6/defaults.820.h patching file pbm2ppa-0.8.6/defaults.h patching file pbm2ppa-0.8.6/INSTALL patching file pbm2ppa-0.8.6/INSTALL-MORE patching file pbm2ppa-0.8.6/Makefile patching file pbm2ppa-0.8.6/pbm2ppa.1 patching file pbm2ppa-0.8.6/pbm2ppa.c patching file pbm2ppa-0.8.6/pbm2ppa.conf patching file pbm2ppa-0.8.6/pbm2ppa.conf.hp1000 patching file pbm2ppa-0.8.6/pbm2ppa.conf.hp720 patching file pbm2ppa-0.8.6/pbm2ppa.conf.hp820 patching file pbm2ppa-0.8.6/pbmtpg.c + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pnm2ppa-RPM_OPT_FLAGS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pnm2ppa-coverity-return-local.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pnm2ppa-ldflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pnm2ppa-gcc10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pnm2ppa-debrand.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:15: installing './compile' autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wsnhwy + 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 pnm2ppa-1.13 + '[' '-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 2024-08-17 15:09:27.113662935 +0800 +++ ./configure 2024-08-17 15:09:27.763669790 +0800 @@ -1625,7 +1625,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 checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking if cross compiling... no checking for library containing sqrt... -lm checking for library containing pow... none required checking for memmove... yes checking for memset... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes 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 sys/param.h... yes checking for inline... inline checking for GNU libc compatible malloc... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for size_t... yes checking for library containing getopt_long... none required checking for library containing syslog... none required checking whether to enable syslog... yes checking operating system... Linux checking whether to enable debugging... no checking which language is to be used... english checking whether to build the 'parse_vlink' tool... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating ppa_protocol/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o syslog.o syslog.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o gamma.o gamma.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o dither.o dither.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' dither.c: In function 'FS_Color_Dither': dither.c:370:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 370 | if (!(d == 0.0) && ((i + 8) < image->width * 3)) | ^~ dither.c: In function 'HT_Black_Dither': dither.c:499:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 499 | if (line[i] + line[i + 1] + line[i + 2] < halftone_3[j][k]) | ^ make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o pnmtools.o pnmtools.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o ppa.o ppa.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' ppa.c: In function 'compress': ppa.c:379:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 379 | if (compressed_len > final_len) | ^ ppa.c:388:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 388 | if (compressed_len > final_len) | ^ ppa.c:405:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 405 | if (compressed_len > final_len) | ^ ppa.c:416:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 416 | if (compressed_len > final_len) | ^ ppa.c:462:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 462 | if (compressed_len > final_len) | ^ ppa.c:478:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 478 | if (compressed_len > final_len) | ^ ppa.c:485:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 485 | if (compressed_len > final_len) | ^ ppa.c: In function 'ppa_print_sweep': ppa.c:670:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 670 | i < nozzle_data_size; i++, pc += 16) { | ^ make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o pnm2ppa.o pnm2ppa.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' pnm2ppa.c: In function 'print_pnm': pnm2ppa.c:120:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | fgets (line, 1024, fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~ pnm2ppa.c: In function 'main': pnm2ppa.c:866:19: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 866 | strncpy(ppa_outputFile,path,MAXPATHLEN); | ^ pnm2ppa.c:842:19: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 842 | strncpy(pnm_inputFile,path,MAXPATHLEN); | ^ pnm2ppa.c:815:15: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 815 | strncpy(gammaFile,path,MAXPATHLEN); | ^ make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o calibrate_ppa.o calibrate_ppa.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' In file included from /usr/include/string.h:548, from calibrate_ppa.c:27: In function 'strncpy', inlined from 'main' at calibrate_ppa.c:165:5: /usr/include/bits/string_fortified.h:95:10: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:10: note: in a call to built-in function 'strncpy' make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -I. -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 -O2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o make_hash_ink make_hash_ink.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' make_hash_ink.c: In function 'main': make_hash_ink.c:241:23: warning: variable 'new_dmin' set but not used [-Wunused-but-set-variable] 241 | int new_dmin = 0; | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o calibrate_ppa calibrate_ppa.o pnmtools.o gamma.o -lm make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o image.o image.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' image.c: In function 'remallocBuffer': image.c:280:60: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 280 | if (image->bufpos + image->buflines * linesize + bytes < image->bufsize) | ^ image.c:294:64: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 294 | if (image->bufpos + image->buflines * linesize + bytes < image->bufsize) | ^ make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o cutswath.o cutswath.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' cutswath.c: In function 'ppa_print_page': cutswath.c:465:35: warning: comparison of integer expressions of different signedness: 'int' and 'enum ' [-Wsign-compare] 465 | if (!gUnimode && last_dir == prev->direction){ | ^~ cutswath.c:505:35: warning: comparison of integer expressions of different signedness: 'int' and 'enum ' [-Wsign-compare] 505 | if (!gUnimode && last_dir == prev->direction){ | ^~ cutswath.c:541:31: warning: comparison of integer expressions of different signedness: 'int' and 'enum ' [-Wsign-compare] 541 | if (!gUnimode && last_dir == prev->direction){ | ^~ cutswath.c: In function 'read_black_image': cutswath.c:780:34: warning: variable 'after_color' set but not used [-Wunused-but-set-variable] 780 | BOOLEAN got_nonblank = false, after_color = false, ignore_color = false; | ^~~~~~~~~~~ cutswath.c: In function 'r2l_black_sweep': cutswath.c:1080:32: warning: variable 'oddlines' set but not used [-Wunused-but-set-variable] 1080 | int i, j , width, evenlines, oddlines; | ^~~~~~~~ cutswath.c: In function 'l2r_black_sweep': cutswath.c:1219:32: warning: variable 'oddlines' set but not used [-Wunused-but-set-variable] 1219 | int i, j , width, evenlines, oddlines; | ^~~~~~~~ cutswath.c: In function 'l2r_color_sweep': cutswath.c:1931:32: warning: variable 'oddlines' set but not used [-Wunused-but-set-variable] 1931 | int i, j , width, evenlines, oddlines; | ^~~~~~~~ cutswath.c: In function 'r2l_color_sweep': cutswath.c:2154:32: warning: variable 'oddlines' set but not used [-Wunused-but-set-variable] 2154 | int i, j , width, evenlines, oddlines; | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' ./make_hash_ink 4 3 > hash_ink.c ./make_hash_ink 1 5 >> hash_ink.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o hash_ink.o hash_ink.c make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' gcc -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 -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o pnm2ppa pnm2ppa.o syslog.o ppa.o image.o dither.o cutswath.o gamma.o hash_ink.o -lm make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' + pushd pbm2ppa-0.8.6 ~/build/BUILD/pnm2ppa-1.13/pbm2ppa-0.8.6 ~/build/BUILD/pnm2ppa-1.13 + /usr/bin/make -O -j16 V=1 VERBOSE=1 Makefile:28: warning: ignoring prerequisites on suffix rule definition gcc -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 -DDEFAULT_PRINTER=HP720 -c pbm.c In file included from pbm.c:15: pbm.h:28:7: warning: extra tokens at end of #endif directive [-Wendif-labels] 28 | #endif; | ^ pbm.c: In function 'getbytes': pbm.c:55:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 55 | for(mask=0x80, acc=0, num=0, place=data; numimage_data; | ^ ppa.c:403:27: warning: pointer targets in passing argument 1 of 'compress' differ in signedness [-Wpointer-sign] 403 | datasize=compress(data->image_data,data->nozzle_data->pins_used_d2,datasize,pc); | ~~~~^~~~~~~~~~~~ | | | unsigned char * ppa.c:281:20: note: expected 'char *' but argument is of type 'unsigned char *' 281 | int compress(char *in, int num_lines_d2, int final_len, char *iout) | ~~~~~~^~ gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o pbmtpg pbmtpg.o -lm gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o pbm2ppa pbm2ppa.o ppa.o pbm.o cutswath.o + popd ~/build/BUILD/pnm2ppa-1.13 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EeXB1i + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64 + cd pnm2ppa-1.13 + install -d /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin + install -d /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/etc + install -d /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/man/man1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64 'INSTALL=/usr/bin/install -p' INSTALLDIR=/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin CONFDIR=/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/etc MANDIR=/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/man/man1 make[1]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' make[2]: Entering directory '/builddir/build/BUILD/pnm2ppa-1.13' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin' /usr/bin/install -p pnm2ppa calibrate_ppa '/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/etc' /usr/bin/install -p -m 644 pnm2ppa.conf '/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 docs/en/pnm2ppa.1 '/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' make[1]: Leaving directory '/builddir/build/BUILD/pnm2ppa-1.13' + install -p -m 0755 utils/Linux/detect_ppa /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin + install -p -m 0755 utils/Linux/test_ppa /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin + install -p -m 0755 pbm2ppa-0.8.6/pbm2ppa /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin + install -p -m 0755 pbm2ppa-0.8.6/pbmtpg /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin + install -p -m 0644 pbm2ppa-0.8.6/pbm2ppa.conf /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/etc + install -p -m 0644 pbm2ppa-0.8.6/pbm2ppa.1 /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/man/man1 + chmod 644 docs/en/LICENSE + mkdir -p pbm2ppa + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/CALIBRATION pbm2ppa/CALIBRATION + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/CREDITS pbm2ppa/CREDITS + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/INSTALL pbm2ppa/INSTALL + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/INSTALL-MORE pbm2ppa/INSTALL-MORE + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/LICENSE pbm2ppa/LICENSE + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/README pbm2ppa/README + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.13-2.ocs23 --unique-debug-suffix -1.13-2.ocs23.aarch64 --unique-debug-src-base pnm2ppa-1.13-2.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/pnm2ppa-1.13 extracting debug info from /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin/calibrate_ppa extracting debug info from /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin/pbm2ppa extracting debug info from /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin/pnm2ppa extracting debug info from /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/bin/pbmtpg 2820 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/test_ppa from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/detect_ppa from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: pnm2ppa-1.13-2.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sSbgc8 + umask 022 + cd /builddir/build/BUILD + cd pnm2ppa-1.13 + DOCDIR=/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/CREDITS /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/INSTALL /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/README /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/RELEASE-NOTES /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/TODO /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/COLOR.txt /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/CALIBRATION.txt /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/COLOR.html /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/CALIBRATION.html /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr test.ps /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + cp -pr pbm2ppa /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/doc/pnm2ppa + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.17uVTm + umask 022 + cd /builddir/build/BUILD + cd pnm2ppa-1.13 + LICENSEDIR=/builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/licenses/pnm2ppa + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/licenses/pnm2ppa + cp -pr docs/en/LICENSE /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64/usr/share/licenses/pnm2ppa + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(pnm2ppa) = 1.13-2.ocs23 pnm2ppa = 1.13-2.ocs23 pnm2ppa(aarch-64) = 1.13-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH) Processing files: pnm2ppa-debugsource-1.13-2.ocs23.aarch64 Provides: pnm2ppa-debugsource = 1.13-2.ocs23 pnm2ppa-debugsource(aarch-64) = 1.13-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pnm2ppa-debuginfo-1.13-2.ocs23.aarch64 Provides: debuginfo(build-id) = 0f66f42894ab76ba3203a5d5792bea8890e5d7ee debuginfo(build-id) = 79d86d5b2a3ee87cea4bbfb687f61a6804b0ba3d debuginfo(build-id) = 8a4c10127194c4c6f070c0a9f5a53c54faa955f7 debuginfo(build-id) = 9d5ad0056407c27a52fe4d1a0c178b22ba94b7cf pnm2ppa-debuginfo = 1.13-2.ocs23 pnm2ppa-debuginfo(aarch-64) = 1.13-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pnm2ppa-debugsource(aarch-64) = 1.13-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pnm2ppa-1.13-2.ocs23.aarch64 Wrote: /builddir/build/RPMS/pnm2ppa-debuginfo-1.13-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/pnm2ppa-debugsource-1.13-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/pnm2ppa-1.13-2.ocs23.aarch64.rpm Child return code was: 0