Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/foomatic.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-288619-28025/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlpr0l3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlpr0l3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '752cb204b56648548e06be0607a91f5e', '-D', '/home/lib/mock/dist-ocs23-base-build-288619-28025/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlpr0l3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/foomatic.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/foomatic-4.0.13-8.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/foomatic.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-288619-28025/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlpr0l3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlpr0l3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ab9e42efca544cfbb46e1e1791a693fd', '-D', '/home/lib/mock/dist-ocs23-base-build-288619-28025/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlpr0l3a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/foomatic.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MzBMNu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf foomatic-db-engine-4.0.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/foomatic-db-engine-4.0.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd foomatic-db-engine-4.0.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/foomatic-manpages.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Recognize-fractional-numbers-in-PageSize.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod a+x mkinstalldirs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pjv9qw + 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 -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 -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 -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 -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 foomatic-db-engine-4.0.13 + export LIB_CUPS=/usr/lib/cups + LIB_CUPS=/usr/lib/cups + export CUPS_BACKENDS=/usr/lib/cups/backend + CUPS_BACKENDS=/usr/lib/cups/backend + export CUPS_FILTERS=/usr/lib/cups/filter + CUPS_FILTERS=/usr/lib/cups/filter + export CUPS_PPDS=/usr/share/cups/model + CUPS_PPDS=/usr/share/cups/model + autoconf configure.ac:45: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:45: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:45: the top level + '[' '-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-09-27 02:52:07.314331018 +0800 +++ ./configure 2024-09-27 02:52:07.338331442 +0800 @@ -1649,7 +1649,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 + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-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-xmltest configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-xmltest checking for loongarch64-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 for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for xml2-config... /usr/bin/xml2-config checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for an ANSI C-conforming const... yes checking for strdup... yes checking for strspn... yes checking for strstr... yes checking for xmlParseFile... yes checking for xmlCreatePushParserCtxt... yes checking for xmlParseChunk... yes checking for xmlFreeParserCtxt... yes checking for xmlFreeDoc... yes checking for xmlDocGetRootElement... yes checking for xmlNodeListGetString... yes checking for file... /usr/bin/file checking for cat... /usr/bin/cat checking for gs... GHOSTSCRIPT_NOT_FOUND checking for a2ps... A2PS_NOT_FOUND checking for wget... /usr/bin:/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/local/sbin:/etc/sbin checking for curl... /usr/bin/curl checking for printf... /usr/bin/printf checking Ghostscript check... no GS GHOSTSCRIPT_NOT_FOUND checking how to redirect Ghostscript output to fd 3... using /dev/fd/3 checking for perl... /usr/bin/perl Checking where Perl will find its libraries... /usr checking for bash... /usr/bin/bash checking for lpd/... /var/spool/lpd checking for lp-errs... no checking for lpd... no checking for printcap... no checking for lpd.conf... no checking for lpr-lpd... no checking for lpr-lprng... no checking for lpr-lpr... no checking for lpr... /usr/bin/lpr checking for lpq-lpd... no checking for lpq-lprng... no checking for lpq-lpr... no checking for lpq... /usr/bin/lpq checking for lprm-lpd... no checking for lprm-lprng... no checking for lprm-lpr... no checking for lprm... /usr/bin/lprm checking for lpc-lpd... no checking for lpc-lprng... no checking for lpc-lpr... no checking for lpc... /usr/sbin/lpc checking for checkpc... no checking for cups/... /etc/cups checking for lpadmin... /usr/sbin/lpadmin checking for lpstat... /usr/bin/lpstat checking for cups/model/... /usr/share/cups/model checking for cups/filter/... /usr/lib/cups/filter checking for cups/backend/... /usr/lib/cups/backend checking for cups/... /usr/lib/cups checking for cups/printers.conf... no checking for lpr-cups... no checking for lpr... /usr/bin/lpr checking for lpq-cups... no checking for lpq... /usr/bin/lpq checking for lprm-cups... no checking for lprm... /usr/bin/lprm checking for lpc-cups... no checking for lpc... /usr/sbin/lpc checking for lp-cups... no checking for lp... /usr/bin/lp checking for cancel-cups... no checking for cancel... /usr/bin/cancel checking for enable... no checking for disable... no checking for accept... no checking for reject... no checking for lpmove... /usr/sbin/lpmove checking for lpoptions... /usr/bin/lpoptions checking for lpinfo... /usr/sbin/lpinfo checking for pdq/... no checking for pdq/printrc... no checking for pdq... no checking for lpr-pdq... no checking for ppr/bin/pprd... no checking for ppr/interfaces/... no checking for ppr/PPDFiles/... no checking for ppr/... no checking for ppr... no checking for lpr-ppr... no checking for ppad... no checking for ppop... no checking for nc... no checking for netcat... no checking for rlpr... no checking for smbclient... no checking for nprint... no checking for ptal-connect... no checking for ptal-printd/... no checking for mtink/... no checking for gzip... /usr/bin/gzip checking for foomatic/db/source/... no checking for db/source/... no checking for foomatic-rip... /usr/bin/foomatic-rip checking for foomatic-rip... no configure: creating ./config.status config.status: creating Makefile config.status: creating makeDefaults config.status: creating makeMan config.status: creating foomatic-configure config.status: creating foomatic-printjob config.status: creating foomatic-kitload config.status: creating foomatic-ppdfile config.status: creating foomatic-preferred-driver config.status: creating foomatic-cleanupdrivers config.status: creating foomatic-getpjloptions config.status: creating foomatic-addpjloptions config.status: creating foomatic-compiledb config.status: creating foomatic-fix-xml config.status: creating foomatic-nonumericalids config.status: creating foomatic-replaceoldprinterids config.status: creating foomatic-ppd-options config.status: creating foomatic-printermap-to-gutenprint-xml config.status: creating foomatic-extract-text config.status: creating foomatic-searchprinter config.status: creating foomatic-ppd-to-xml configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-xmltest Finished configuring. Type 'make' to build the package then 'make install' to install it. + /usr/bin/make -O -j32 V=1 VERBOSE=1 PREFIX=/usr '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 -fasynchronous-unwind-tables -fstack-clash-protection' chmod a+rx ./makeDefaults ./makeDefaults if [ x = x--inplace ] ; then touch .testing-stamp ; fi chmod a+rx ./makeMan ./makeMan ( cd lib && /usr/bin/perl Makefile.PL verbose INSTALLDIRS=site ) ABSTRACT => q[Foomatic printer configuration library code] AUTHOR => [q[Grant Taylor ]] BUILD_REQUIRES => { } CONFIGURE_REQUIRES => { } INSTALLDIRS => q[site] NAME => q[Foomatic] PREFIX => q[/usr] PREREQ_PM => { } TEST_REQUIRES => { } Using PERL=/usr/bin/perl Generating a Unix-style Makefile Writing Makefile for Foomatic 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 -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 foomatic-combo-xml foomatic-combo-xml.c foomatic-combo-xml.c: In function 'parse': foomatic-combo-xml.c:1548:44: warning: the comparison will always evaluate as 'true' for the address of 'dfunctionalityentry' will never be NULL [-Waddress] 1548 | if ((dfunctionalityentry != NULL) && | ^~ foomatic-combo-xml.c:331:17: note: 'dfunctionalityentry' declared here 331 | char dfunctionalityentry[10240]; | ^~~~~~~~~~~~~~~~~~~ foomatic-combo-xml.c:2020:37: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 2020 | if ((dlistpointer->name != NULL) && | ^~ foomatic-combo-xml.c:46:25: note: 'name' declared here 46 | char name[128]; /* Name of driver */ | ^~~~ foomatic-combo-xml.c:2059:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2059 | if (debug) | ^~ foomatic-combo-xml.c:2062:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2062 | strcat((char *)(*data), " \n"); | ^~~~~~ foomatic-combo-xml.c: In function 'main': foomatic-combo-xml.c:2552:11: warning: the comparison will always evaluate as 'true' for the address of 'id' will never be NULL [-Waddress] 2552 | if (printerlist->id && strcmp(printerlist->id, "proto")) { | ^~~~~~~~~~~ foomatic-combo-xml.c:54:25: note: 'id' declared here 54 | char id[128]; /* ID of printer */ | ^~ foomatic-combo-xml.c:2587:17: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 2587 | if (dlistpointer->name) { | ^~~~~~~~~~~~ foomatic-combo-xml.c:46:25: note: 'name' declared here 46 | char name[128]; /* Name of driver */ | ^~~~ foomatic-combo-xml.c:2602:37: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 2602 | (dlistpointer->name != NULL)) { | ^~ foomatic-combo-xml.c:46:25: note: 'name' declared here 46 | char name[128]; /* Name of driver */ | ^~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o foomatic-perl-data foomatic-perl-data.c -lxml2 -lz -llzma -lm foomatic-perl-data.c: In function 'parseOverviewPrinter': foomatic-perl-data.c:800:19: warning: unused variable 'charset' [-Wunused-variable] 800 | xmlChar *charset; | ^~~~~~~ foomatic-perl-data.c:799:19: warning: unused variable 'id' [-Wunused-variable] 799 | xmlChar *id; /* Full printer ID, with "printer/" */ | ^~ foomatic-perl-data.c: In function 'parseChoices': foomatic-perl-data.c:2162:18: warning: unused variable 'cur3' [-Wunused-variable] 2162 | xmlNodePtr cur3; /* Another XML node pointer */ | ^~~~ foomatic-perl-data.c: In function 'parseXMLFromStdin': foomatic-perl-data.c:3385:9: warning: unused variable 'f' [-Wunused-variable] 3385 | FILE *f; | ^ foomatic-perl-data.c: In function 'generateDriverPerlData': foomatic-perl-data.c:4834:13: warning: unused variable 'printers' [-Wunused-variable] 4834 | xmlChar **printers; | ^~~~~~~~ foomatic-perl-data.c:4833:11: warning: unused variable 'num_printers' [-Wunused-variable] 4833 | int num_printers; | ^~~~~~~~~~~~ foomatic-perl-data.c:4832:12: warning: unused variable 'comment' [-Wunused-variable] 4832 | xmlChar *comment; | ^~~~~~~ foomatic-perl-data.c:4831:12: warning: unused variable 'cmd' [-Wunused-variable] 4831 | xmlChar *cmd; | ^~~ foomatic-perl-data.c:4830:12: warning: unused variable 'driver_type' [-Wunused-variable] 4830 | xmlChar *driver_type; | ^~~~~~~~~~~ foomatic-perl-data.c:4829:12: warning: unused variable 'url' [-Wunused-variable] 4829 | xmlChar *url; | ^~~ foomatic-perl-data.c:4828:12: warning: unused variable 'name' [-Wunused-variable] 4828 | xmlChar *name; | ^~~~ foomatic-perl-data.c:4827:12: warning: unused variable 'id' [-Wunused-variable] 4827 | xmlChar *id; | ^~ for m in foomatic-printjob foomatic-configure foomatic-combo-xml foomatic-perl-data foomatic-ppdfile foomatic-compiledb foomatic-ppd-options foomatic-searchprinter foomatic-ppd-to-xml foomatic-kitload foomatic-getpjloptions foomatic-addpjloptions foomatic-preferred-driver foomatic-fix-xml foomatic-nonumericalids foomatic-replaceoldprinterids foomatic-printermap-to-gutenprint-xml foomatic-cleanupdrivers foomatic-extract-text; do \ /usr/bin/perl -p -i -e "s=use lib '.*lib/';\n==s" $m; \ done chmod a+rx Makefile makeDefaults makeMan foomatic-configure foomatic-printjob foomatic-kitload foomatic-ppdfile foomatic-preferred-driver foomatic-cleanupdrivers foomatic-getpjloptions foomatic-addpjloptions foomatic-compiledb foomatic-fix-xml foomatic-nonumericalids foomatic-replaceoldprinterids foomatic-ppd-options foomatic-printermap-to-gutenprint-xml foomatic-extract-text foomatic-searchprinter foomatic-ppd-to-xml mkinstalldirs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.E1UW8o + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64 + cd foomatic-db-engine-4.0.13 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' PREFIX=/usr INSTALLSITELIB=/usr/share/perl5/vendor_perl INSTALLSITEARCH=/usr/lib64/perl5/vendor_perl ( cd lib && \ /usr/bin/make PREFIX=/usr && \ /usr/bin/make PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64 pure_install \ ) make[1]: Entering directory '/builddir/build/BUILD/foomatic-db-engine-4.0.13/lib' cp Foomatic/UIElem.pm blib/lib/Foomatic/UIElem.pm cp Foomatic/DB.pm blib/lib/Foomatic/DB.pm cp Foomatic/Defaults.pm blib/lib/Foomatic/Defaults.pm cp Foomatic/PPD.pm blib/lib/Foomatic/PPD.pm make[1]: Leaving directory '/builddir/build/BUILD/foomatic-db-engine-4.0.13/lib' make[1]: Entering directory '/builddir/build/BUILD/foomatic-db-engine-4.0.13/lib' Installing /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/perl5/vendor_perl/Foomatic/UIElem.pm Installing /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/perl5/vendor_perl/Foomatic/DB.pm Installing /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/perl5/vendor_perl/Foomatic/Defaults.pm Installing /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/perl5/vendor_perl/Foomatic/PPD.pm make[1]: Leaving directory '/builddir/build/BUILD/foomatic-db-engine-4.0.13/lib' ./mkinstalldirs /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/bin mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/bin ./mkinstalldirs /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/sbin mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/sbin ./mkinstalldirs /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/etc/foomatic mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/etc mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/etc/foomatic ./mkinstalldirs /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/foomatic/templates mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/foomatic mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/foomatic/templates /usr/bin/install -p -m 755 foomatic-printjob foomatic-configure foomatic-combo-xml foomatic-perl-data foomatic-ppdfile foomatic-compiledb foomatic-ppd-options foomatic-searchprinter foomatic-ppd-to-xml /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/bin /usr/bin/install -p -m 755 foomatic-kitload foomatic-getpjloptions foomatic-addpjloptions foomatic-preferred-driver foomatic-fix-xml foomatic-nonumericalids foomatic-replaceoldprinterids foomatic-printermap-to-gutenprint-xml foomatic-cleanupdrivers foomatic-extract-text /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/sbin ( cd foomatic-templates && \ /usr/bin/install -p -m 644 pjl_enum_choice.xml pjl_enum_option.xml pjl_num_option.xml /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/foomatic/templates \ ) /usr/bin/perl -p -i -e "s:foomatic-templates:/usr/share/foomatic/templates:g" /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/sbin/foomatic-addpjloptions ln -sf foomatic-ppdfile /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/bin/foomatic-datafile if [ -d /usr/lib/cups ]; then \ ./mkinstalldirs /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/lib/cups/driver; \ ln -sf /usr/bin/foomatic-ppdfile /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/lib/cups/driver/foomatic; \ fi mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/lib mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/lib/cups mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/lib/cups/driver ./mkinstalldirs /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/man mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/man ./mkinstalldirs /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/man/man1 ./mkinstalldirs /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/man/man8 mkdir /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/man/man8 /usr/bin/install -p -m 644 *.1 /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/man/man1 /usr/bin/install -p -m 644 *.8 /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/man/man8 + ln -sf ../../../bin/foomatic-ppdfile /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/lib/cups/driver/foomatic + mkdir -p /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/var/cache/foomatic + echo cups + rm -rf /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/lib64/ppr /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/etc/foomatic/filter.conf.sample /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/foomatic/templates + find /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64 -name .packlist -delete + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.0.13-8.ocs23 --unique-debug-suffix -4.0.13-8.ocs23.loongarch64 --unique-debug-src-base foomatic-4.0.13-8.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/foomatic-db-engine-4.0.13 extracting debug info from /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/bin/foomatic-combo-xml extracting debug info from /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/bin/foomatic-perl-data 536 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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: foomatic-4.0.13-8.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CvHRiT + umask 022 + cd /builddir/build/BUILD + cd foomatic-db-engine-4.0.13 + LICENSEDIR=/builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/licenses/foomatic + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/licenses/foomatic + cp -pr COPYING /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/share/licenses/foomatic + RPM_EC=0 ++ jobs -p + exit 0 Can't locate Foomatic/Defaults.pm in @INC (you may need to install the Foomatic::Defaults module) (@INC contains: /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/lib/cups/driver/foomatic line 9. BEGIN failed--compilation aborted at /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64/usr/lib/cups/driver/foomatic line 9. Provides: config(foomatic) = 4.0.13-8.ocs23 foomatic = 4.0.13-8.ocs23 foomatic(loongarch-64) = 4.0.13-8.ocs23 perl(Foomatic::DB) perl(Foomatic::Defaults) perl(Foomatic::PPD) perl(Foomatic::UIElem) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh coreutils Requires: /usr/bin/bash /usr/bin/perl ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) perl(Cwd) perl(Data::Dumper) perl(Encode) perl(Exporter) perl(FileHandle) perl(Foomatic::DB) perl(Foomatic::Defaults) perl(Foomatic::UIElem) perl(Getopt::Long) perl(Getopt::Std) perl(POSIX) perl(strict) perl(vars) perl-libs rtld(GNU_HASH) Processing files: foomatic-debugsource-4.0.13-8.ocs23.loongarch64 Provides: foomatic-debugsource = 4.0.13-8.ocs23 foomatic-debugsource(loongarch-64) = 4.0.13-8.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: foomatic-debuginfo-4.0.13-8.ocs23.loongarch64 Provides: debuginfo(build-id) = 0d60f383db179ca2a6c01e257d67b3aaf95da547 debuginfo(build-id) = 9eba68a917066974ea53e64e5ef25dba808928f1 foomatic-debuginfo = 4.0.13-8.ocs23 foomatic-debuginfo(loongarch-64) = 4.0.13-8.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: foomatic-debugsource(loongarch-64) = 4.0.13-8.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/foomatic-4.0.13-8.ocs23.loongarch64 Wrote: /builddir/build/RPMS/foomatic-debugsource-4.0.13-8.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/foomatic-debuginfo-4.0.13-8.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/foomatic-4.0.13-8.ocs23.loongarch64.rpm Child return code was: 0