Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-CUPS.spec'], chrootPath='/var/lib/mock/f40-build-732303-104620/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-CUPS.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/perl-Net-CUPS-0.64-24.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-CUPS.spec'], chrootPath='/var/lib/mock/f40-build-732303-104620/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-CUPS.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9JmLGB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Net-CUPS-0.64 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Net-CUPS-0.64.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-CUPS-0.64 + rm -rf /builddir/build/BUILD/Net-CUPS-0.64-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/Net-CUPS-0.64-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (perl-Net-CUPS-use-libcupsfilters.patch):' Patch #0 (perl-Net-CUPS-use-libcupsfilters.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libcupsfilters --fuzz=0 patching file Makefile.PL patching file const-c.inc patching file fallback/const-c.inc patching file lib/Net/CUPS.pm patching file lib/Net/CUPS/Destination.pm patching file lib/Net/CUPS/IPP.pm patching file lib/Net/CUPS/PPD.pm + find . -type f -exec chmod -c -x '{}' + mode of './examples/list_dests.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './examples/print_file.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gtCOCq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Net-CUPS-0.64 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' NO_PACKLIST=1 NO_PERLLOCAL=1 Net::CUPS Configuration Running cups-config ... 2.4.6 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::CUPS + /usr/bin/make -O -j4 V=1 VERBOSE=1 Running Mkbootstrap for CUPS () chmod 644 "CUPS.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CUPS.bs blib/arch/auto/Net/CUPS/CUPS.bs 644 cp lib/Net/CUPS/PPD.pm blib/lib/Net/CUPS/PPD.pm AutoSplitting blib/lib/Net/CUPS/PPD.pm (blib/lib/auto/Net/CUPS/PPD) cp lib/Net/CUPS/PPD.pm.libcupsfilters blib/lib/Net/CUPS/PPD.pm.libcupsfilters cp lib/Net/CUPS/Destination.pm.libcupsfilters blib/lib/Net/CUPS/Destination.pm.libcupsfilters cp lib/Net/CUPS/Destination.pm blib/lib/Net/CUPS/Destination.pm AutoSplitting blib/lib/Net/CUPS/Destination.pm (blib/lib/auto/Net/CUPS/Destination) cp lib/Net/CUPS.pm blib/lib/Net/CUPS.pm AutoSplitting blib/lib/Net/CUPS.pm (blib/lib/auto/Net/CUPS) cp lib/Net/CUPS/IPP.pm.libcupsfilters blib/lib/Net/CUPS/IPP.pm.libcupsfilters cp lib/Net/CUPS/IPP.pm blib/lib/Net/CUPS/IPP.pm AutoSplitting blib/lib/Net/CUPS/IPP.pm (blib/lib/auto/Net/CUPS/IPP) cp lib/Net/CUPS.pm.libcupsfilters blib/lib/Net/CUPS.pm.libcupsfilters "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Net-CUPS-0.64/typemap' CUPS.xs > CUPS.xsc mv CUPS.xsc CUPS.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" -fPIC "-I/usr/lib64/perl5/CORE" CUPS.c CUPS.xs: In function ‘password_cb_wrapper’: CUPS.xs:49:12: warning: unused variable ‘n_a’ [-Wunused-variable] 49 | STRLEN n_a; | ^~~ CUPS.xs: In function ‘XS_Net__CUPS_NETCUPS_getDestination’: CUPS.xs:158:30: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | name = cupsGetDefault(); | ^ CUPS.xs: In function ‘XS_Net__CUPS_NETCUPS_getPPD’: CUPS.xs:194:17: warning: ‘cupsGetPPD’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 194 | filename = cupsGetPPD( name ); | ^~~~~~~~ In file included from CUPS.xs:20: /usr/include/cups/ppd.h:358:26: note: declared here 358 | extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~ CUPS.xs:195:17: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 195 | RETVAL = ppdOpenFile( filename ); | ^~~~~~ /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS_NETCUPS_requestData’: CUPS.xs:213:17: warning: ‘httpConnect’ is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] 213 | http = httpConnect( server, port ); | ^~~~ In file included from /usr/include/cups/ipp.h:18, from /usr/include/cups/cups.h:28, from CUPS.xs:7: /usr/include/cups/http.h:476:26: note: declared here 476 | extern http_t *httpConnect(const char *host, int port) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); | ^~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS_NETCUPS_getPPDMakes’: CUPS.xs:235:17: warning: ‘httpConnectEncrypt’ is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] 235 | http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); | ^~~~ /usr/include/cups/http.h:477:26: note: declared here 477 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); | ^~~~~~~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS_NETCUPS_getAllPPDs’: CUPS.xs:286:17: warning: ‘httpConnectEncrypt’ is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] 286 | http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); | ^~~~ /usr/include/cups/http.h:477:26: note: declared here 477 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); | ^~~~~~~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS_NETCUPS_deleteDestination’: CUPS.xs:336:17: warning: ‘httpConnectEncrypt’ is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] 336 | http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); | ^~~~ /usr/include/cups/http.h:477:26: note: declared here 477 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); | ^~~~~~~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS_NETCUPS_addDestination’: CUPS.xs:355:17: warning: ‘httpConnectEncrypt’ is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] 355 | http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); | ^~~~ /usr/include/cups/http.h:477:26: note: declared here 477 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); | ^~~~~~~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS_NETCUPS_getPPDFileName’: CUPS.xs:391:17: warning: ‘httpConnectEncrypt’ is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] 391 | http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); | ^~~~ /usr/include/cups/http.h:477:26: note: declared here 477 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); | ^~~~~~~~~~~~~~~~~~ CUPS.xs:405:40: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 405 | tmpppd = ippGetString(attr, 0, NULL); | ^ CUPS.xs: In function ‘XS_Net__CUPS__Destination_NETCUPS_getDeviceAttribute’: CUPS.xs:446:17: warning: ‘httpConnectEncrypt’ is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] 446 | http = httpConnectEncrypt( cupsServer(), ippPort(), cupsEncryption() ); | ^~~~ /usr/include/cups/http.h:477:26: note: declared here 477 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); | ^~~~~~~~~~~~~~~~~~ CUPS.xs:444:23: warning: unused variable ‘description’ [-Wunused-variable] 444 | char *description = NULL; | ^~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_freePPD’: CUPS.xs:747:17: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 747 | ppdClose( ppd ); | ^~~~~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_getFirstOption’: CUPS.xs:758:17: warning: ‘ppdFirstOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 758 | option = ppdFirstOption( ppd ); | ^~~~~~ /usr/include/cups/ppd.h:431:26: note: declared here 431 | extern ppd_option_t *ppdFirstOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_getNextOption’: CUPS.xs:771:17: warning: ‘ppdNextOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 771 | option = ppdNextOption( ppd ); | ^~~~~~ /usr/include/cups/ppd.h:433:26: note: declared here 433 | extern ppd_option_t *ppdNextOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_getOption’: CUPS.xs:785:17: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 785 | option = ppdFindOption( ppd, keyword ); | ^~~~~~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_getPageLength’: CUPS.xs:797:17: warning: ‘ppdPageLength’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 797 | RETVAL = ppdPageLength( ppd, size ); | ^~~~~~ /usr/include/cups/ppd.h:390:25: note: declared here 390 | extern float ppdPageLength(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_getPageSize’: CUPS.xs:809:17: warning: ‘ppdPageSize’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 809 | page_size = ppdPageSize( ppd, size ); | ^~~~~~~~~ /usr/include/cups/ppd.h:392:26: note: declared here 392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_getPageWidth’: CUPS.xs:855:17: warning: ‘ppdPageWidth’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 855 | RETVAL = ppdPageWidth( ppd, size ); | ^~~~~~ /usr/include/cups/ppd.h:394:25: note: declared here 394 | extern float ppdPageWidth(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_isMarked’: CUPS.xs:866:17: warning: ‘ppdIsMarked’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 866 | RETVAL = ppdIsMarked( ppd, option, choice ); | ^~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_markDefaults’: CUPS.xs:874:17: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 874 | ppdMarkDefaults( ppd ); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__PPD_NETCUPS_markOption’: CUPS.xs:885:17: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 885 | RETVAL = ppdMarkOption( ppd, option, choice ); | ^~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS__IPP_NETCUPS_addString’: CUPS.xs:913:34: warning: variable ‘attribute’ set but not used [-Wunused-but-set-variable] 913 | ipp_attribute_t* attribute = NULL; | ^~~~~~~~~ CUPS.xs: In function ‘XS_Net__CUPS_NETCUPS_addDestination’: CUPS.xs:369:17: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 369 | strncpy(uri, device_uri, sizeof(uri)); | ^ rm -f blib/arch/auto/Net/CUPS/CUPS.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong CUPS.o -o blib/arch/auto/Net/CUPS/CUPS.so \ -lcups -lperl \ chmod 755 blib/arch/auto/Net/CUPS/CUPS.so Manifying 4 pod documents + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.APM00O + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Net-CUPS-0.64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CUPS.bs blib/arch/auto/Net/CUPS/CUPS.bs 644 Manifying 4 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/CUPS.so Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/autosplit.ix Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/Destination/autosplit.ix Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/PPD/autosplit.ix Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/IPP/autosplit.ix Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/Net/CUPS.pm Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/Net/CUPS.pm.libcupsfilters Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/Net/CUPS/Destination.pm Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/Net/CUPS/PPD.pm Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/Net/CUPS/Destination.pm.libcupsfilters Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/Net/CUPS/IPP.pm Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/Net/CUPS/IPP.pm.libcupsfilters Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/lib64/perl5/vendor_perl/Net/CUPS/PPD.pm.libcupsfilters Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/man/man3/Net::CUPS::IPP.3pm Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/man/man3/Net::CUPS::Destination.3pm Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/man/man3/Net::CUPS.3pm Installing /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/man/man3/Net::CUPS::PPD.3pm + find /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.64-24.fc40 --unique-debug-suffix -0.64-24.fc40.riscv64 --unique-debug-src-base perl-Net-CUPS-0.64-24.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Net-CUPS-0.64 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/perl-Net-CUPS-0.64-24.fc40.riscv64 455 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TW90EM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Net-CUPS-0.64 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CUPS.bs blib/arch/auto/Net/CUPS/CUPS.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01_use.t ... ok t/02_cups.t .. ok All tests successful. Files=2, Tests=12, 1 wallclock secs ( 0.14 usr 0.01 sys + 1.18 cusr 0.15 csys = 1.48 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Net-CUPS-0.64-24.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Y9HjtQ + umask 022 + cd /builddir/build/BUILD + cd Net-CUPS-0.64 + DOCDIR=/builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/doc/perl-Net-CUPS + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/doc/perl-Net-CUPS + cp -pr /builddir/build/BUILD/Net-CUPS-0.64/Changes /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/doc/perl-Net-CUPS + cp -pr /builddir/build/BUILD/Net-CUPS-0.64/README /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/doc/perl-Net-CUPS + cp -pr /builddir/build/BUILD/Net-CUPS-0.64/TODO /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/doc/perl-Net-CUPS + cp -pr /builddir/build/BUILD/Net-CUPS-0.64/examples /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64/usr/share/doc/perl-Net-CUPS + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Net::CUPS) = 0.64 perl(Net::CUPS::Destination) = 0.61 perl(Net::CUPS::IPP) = 0.61 perl(Net::CUPS::PPD) = 0.61 perl-Net-CUPS = 0.64-24.fc40 perl-Net-CUPS(riscv-64) = 0.64-24.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcups.so.2()(64bit) libperl.so.5.38()(64bit) perl(:MODULE_COMPAT_5.38.0) perl(:VERSION) >= 5.6.0 perl(AutoLoader) perl(Carp) perl(Exporter) perl(Net::CUPS) perl(Net::CUPS::Destination) perl(Net::CUPS::IPP) perl(Net::CUPS::PPD) perl(XSLoader) perl(strict) perl(warnings) perl-libs rtld(GNU_HASH) Processing files: perl-Net-CUPS-debugsource-0.64-24.fc40.riscv64 Provides: perl-Net-CUPS-debugsource = 0.64-24.fc40 perl-Net-CUPS-debugsource(riscv-64) = 0.64-24.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Net-CUPS-debuginfo-0.64-24.fc40.riscv64 Provides: debuginfo(build-id) = e33f6037eedb83d00f61d72a73e4d5c559ccee75 perl-Net-CUPS-debuginfo = 0.64-24.fc40 perl-Net-CUPS-debuginfo(riscv-64) = 0.64-24.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Net-CUPS-debugsource(riscv-64) = 0.64-24.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64 Wrote: /builddir/build/RPMS/perl-Net-CUPS-0.64-24.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Net-CUPS-debuginfo-0.64-24.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Net-CUPS-debugsource-0.64-24.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9PxRmj + umask 022 + cd /builddir/build/BUILD + cd Net-CUPS-0.64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Net-CUPS-0.64-24.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.8tAPI4 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/Net-CUPS-0.64-SPECPARTS + rm -rf Net-CUPS-0.64 Net-CUPS-0.64.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0