D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Net-CUPS-0.640.0-11.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ANHfsK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Net-CUPS-0.64 + /usr/lib/rpm/rpmuncompress -x -v /home/pterjan/rpmbuild/SOURCES/Net-CUPS-0.64.tar.gz /usr/bin/gzip -dc '/home/pterjan/rpmbuild/SOURCES/Net-CUPS-0.64.tar.gz' | /usr/bin/tar -xvvof - drwxr-xr-x nine/users 0 2017-06-08 18:11 Net-CUPS-0.64/ drwxr-xr-x nine/users 0 2017-06-08 18:11 Net-CUPS-0.64/examples/ -rwxr-xr-x nine/users 582 2008-05-08 02:43 Net-CUPS-0.64/examples/print_file.pl -rwxr-xr-x nine/users 339 2008-05-08 02:43 Net-CUPS-0.64/examples/list_dests.pl drwxr-xr-x nine/users 0 2017-06-08 18:11 Net-CUPS-0.64/fallback/ -rw-r--r-- nine/users 140962 2008-05-08 02:43 Net-CUPS-0.64/fallback/const-c.inc -rw-r--r-- nine/users 2651 2008-05-08 02:43 Net-CUPS-0.64/fallback/const-xs.inc -rw-r--r-- nine/users 1912 2016-07-21 07:11 Net-CUPS-0.64/packer.c drwxr-xr-x nine/users 0 2017-06-08 18:11 Net-CUPS-0.64/lib/ drwxr-xr-x nine/users 0 2017-06-08 18:11 Net-CUPS-0.64/lib/Net/ drwxr-xr-x nine/users 0 2017-06-08 18:11 Net-CUPS-0.64/lib/Net/CUPS/ -rw-r--r-- nine/users 28720 2017-06-08 18:06 Net-CUPS-0.64/lib/Net/CUPS/Destination.pm -rw-r--r-- nine/users 25030 2017-06-08 18:03 Net-CUPS-0.64/lib/Net/CUPS/IPP.pm -rw-r--r-- nine/users 26107 2016-07-21 06:53 Net-CUPS-0.64/lib/Net/CUPS/PPD.pm -rw-r--r-- nine/users 29744 2017-06-08 18:09 Net-CUPS-0.64/lib/Net/CUPS.pm drwxr-xr-x nine/users 0 2017-06-08 18:11 Net-CUPS-0.64/t/ -rw-r--r-- nine/users 555 2008-05-08 02:43 Net-CUPS-0.64/t/01_use.t -rw-r--r-- nine/users 950 2008-05-08 02:43 Net-CUPS-0.64/t/02_cups.t -rw-r--r-- nine/users 292 2008-05-08 02:43 Net-CUPS-0.64/TODO -rw-r--r-- nine/users 138518 2017-06-08 18:10 Net-CUPS-0.64/const-c.inc -rw-r--r-- nine/users 207 2008-05-08 02:43 Net-CUPS-0.64/typemap -rw-r--r-- nine/users 1613 2009-08-19 02:23 Net-CUPS-0.64/README -rw-r--r-- nine/users 414 2017-06-08 18:11 Net-CUPS-0.64/MANIFEST -rw-r--r-- nine/users 2663 2017-06-08 18:10 Net-CUPS-0.64/const-xs.inc -rw-r--r-- nine/users 23497 2017-06-08 18:04 Net-CUPS-0.64/CUPS.xs drwxr-xr-x nine/users 0 2017-06-08 18:11 Net-CUPS-0.64/extra_t/ -rw-r--r-- nine/users 1197 2008-08-21 15:11 Net-CUPS-0.64/extra_t/03_destination.t -rw-r--r-- nine/users 4791 2017-06-08 18:09 Net-CUPS-0.64/Changes -rw-r--r-- nine/users 138805 2008-05-08 02:43 Net-CUPS-0.64/ppport.h -rw-r--r-- nine/users 26578 2016-07-21 06:49 Net-CUPS-0.64/Makefile.PL -rw-r--r-- nine/users 626 2017-06-08 18:11 Net-CUPS-0.64/META.yml -rw-r--r-- nine/users 1145 2017-06-08 18:11 Net-CUPS-0.64/META.json + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-CUPS-0.64 + rm -rf /home/pterjan/rpmbuild/BUILD/Net-CUPS-0.64-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Net-CUPS-0.64-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -f t/03_destination.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RNFTpR + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Net-CUPS-0.64 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Net::CUPS Configuration Running cups-config ... 2.4.10 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::CUPS Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' Running Mkbootstrap for CUPS () chmod 644 "CUPS.bs" "/usr/bin/perl5.38.2" -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.pm blib/lib/Net/CUPS.pm AutoSplitting blib/lib/Net/CUPS.pm (blib/lib/auto/Net/CUPS) 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/Destination.pm blib/lib/Net/CUPS/Destination.pm AutoSplitting blib/lib/Net/CUPS/Destination.pm (blib/lib/auto/Net/CUPS/Destination) "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/Net-CUPS-0.64/typemap' CUPS.xs > CUPS.xsc mv CUPS.xsc CUPS.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" -fPIC "-I/usr/lib64/perl5/CORE" CUPS.c In file included from CUPS.xs:27: const-c.inc: In function 'constant_14': const-c.inc:730:20: error: 'CUPS_IMAGE_RGB' undeclared (first use in this function); did you mean 'CF_IMAGE_RGB'? 730 | *iv_return = CUPS_IMAGE_RGB; | ^~~~~~~~~~~~~~ | CF_IMAGE_RGB const-c.inc:730:20: note: each undeclared identifier is reported only once for each function it appears in const-c.inc:889:20: error: 'CUPS_IMAGE_CMY' undeclared (first use in this function); did you mean 'CF_IMAGE_CMY'? 889 | *iv_return = CUPS_IMAGE_CMY; | ^~~~~~~~~~~~~~ | CF_IMAGE_CMY const-c.inc: In function 'constant_15': const-c.inc:1029:20: error: 'CUPS_IMAGE_CMYK' undeclared (first use in this function); did you mean 'CF_IMAGE_CMYK'? 1029 | *iv_return = CUPS_IMAGE_CMYK; | ^~~~~~~~~~~~~~~ | CF_IMAGE_CMYK const-c.inc: In function 'constant_16': const-c.inc:1176:20: error: 'CUPS_IMAGE_BLACK' undeclared (first use in this function); did you mean 'CF_IMAGE_BLACK'? 1176 | *iv_return = CUPS_IMAGE_BLACK; | ^~~~~~~~~~~~~~~~ | CF_IMAGE_BLACK const-c.inc:1233:20: error: 'CUPS_IMAGE_WHITE' undeclared (first use in this function); did you mean 'CF_IMAGE_WHITE'? 1233 | *iv_return = CUPS_IMAGE_WHITE; | ^~~~~~~~~~~~~~~~ | CF_IMAGE_WHITE const-c.inc: In function 'constant_19': const-c.inc:1880:20: error: 'CUPS_IMAGE_RGB_CMYK' undeclared (first use in this function); did you mean 'CF_IMAGE_RGB_CMYK'? 1880 | *iv_return = CUPS_IMAGE_RGB_CMYK; | ^~~~~~~~~~~~~~~~~~~ | CF_IMAGE_RGB_CMYK 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:359:26: note: declared here 359 | 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:390:26: note: declared here 390 | 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:19, from /usr/include/cups/cups.h:28, from CUPS.xs:7: /usr/include/cups/http.h:477:26: note: declared here 477 | 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:478:26: note: declared here 478 | 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:478:26: note: declared here 478 | 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:478:26: note: declared here 478 | 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:478:26: note: declared here 478 | 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:478:26: note: declared here 478 | 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:478:26: note: declared here 478 | 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__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:365:25: note: declared here 365 | 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:432:26: note: declared here 432 | 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:434:26: note: declared here 434 | 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:381:26: note: declared here 381 | 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:391:25: note: declared here 391 | 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:393:26: note: declared here 393 | 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:395:25: note: declared here 395 | 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:383:25: note: declared here 383 | 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:385:25: note: declared here 385 | 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:386:25: note: declared here 386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ make: *** [Makefile:352: CUPS.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RNFTpR (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RNFTpR (%build) I: [iurt_root_command] ERROR: chroot