Mock Version: 2.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-cups.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1596126089.864979/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o60h__89:/etc/resolv.conf', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o60h__89:/etc/resolv.conf', '--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', 'a4c99ec7070f44cfa9c10df64118237c', '-D', '/var/lib/mock/epel-8-x86_64-1596126089.864979/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o60h__89:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False sh: /usr/bin/python3: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cups-2.0.1-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-cups.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1596126089.864979/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o60h__89:/etc/resolv.conf', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o60h__89:/etc/resolv.conf', '--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', '3a99c950c3a84201ba7a2e3cbbf5eec9', '-D', '/var/lib/mock/epel-8-x86_64-1596126089.864979/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o60h__89:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YJiS2G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pycups-2.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pycups-2.0.1.tar.gz + /usr/bin/tar -xvvof - drwxrwxr-x zdohnal/zdohnal 0 2020-04-23 12:34 pycups-2.0.1/ -rw-rw-r-- zdohnal/zdohnal 18092 2019-08-20 07:58 pycups-2.0.1/COPYING -rw-rw-r-- zdohnal/zdohnal 1171 2020-04-23 10:34 pycups-2.0.1/Makefile -rw-rw-r-- zdohnal/zdohnal 11132 2020-04-23 12:32 pycups-2.0.1/NEWS -rw-rw-r-- zdohnal/zdohnal 1296 2020-04-23 12:34 pycups-2.0.1/PKG-INFO -rw-rw-r-- zdohnal/zdohnal 1091 2020-04-20 04:37 pycups-2.0.1/README -rw-rw-r-- zdohnal/zdohnal 214 2020-04-23 10:42 pycups-2.0.1/TODO -rw-rw-r-- zdohnal/zdohnal 172122 2020-04-23 09:29 pycups-2.0.1/cupsconnection.c -rw-rw-r-- zdohnal/zdohnal 2118 2020-04-23 07:17 pycups-2.0.1/cupsconnection.h -rw-rw-r-- zdohnal/zdohnal 22243 2020-04-23 08:59 pycups-2.0.1/cupsipp.c -rw-rw-r-- zdohnal/zdohnal 1360 2020-04-23 07:22 pycups-2.0.1/cupsipp.h -rw-rw-r-- zdohnal/zdohnal 36411 2020-04-23 11:44 pycups-2.0.1/cupsmodule.c -rw-rw-r-- zdohnal/zdohnal 1660 2020-04-23 07:19 pycups-2.0.1/cupsmodule.h -rw-rw-r-- zdohnal/zdohnal 46838 2020-04-23 07:19 pycups-2.0.1/cupsppd.c -rw-rw-r-- zdohnal/zdohnal 1358 2020-04-23 07:23 pycups-2.0.1/cupsppd.h drwxrwxr-x zdohnal/zdohnal 0 2020-04-23 12:34 pycups-2.0.1/examples/ -rwxrwxr-x zdohnal/zdohnal 1804 2019-08-20 07:58 pycups-2.0.1/examples/cupstree.py -rwxrwxr-x zdohnal/zdohnal 7703 2020-04-23 07:25 pycups-2.0.1/postscriptdriver.prov -rw-rw-r-- zdohnal/zdohnal 165 2019-08-20 07:58 pycups-2.0.1/psdriver.attr -rw-rw-r-- zdohnal/zdohnal 2565 2020-04-23 12:33 pycups-2.0.1/setup.py -rw-rw-r-- zdohnal/zdohnal 886 2019-08-20 07:58 pycups-2.0.1/test.py + STATUS=0 + '[' 0 -ne 0 ']' + cd pycups-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/^#!\/usr\/bin\/python/d' examples/cupstree.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GemSUL + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_ext building 'cups' extension creating build creating build/temp.linux-x86_64-3.6 gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DVERSION="2.0.1" -I/usr/include/python3.6m -c cupsmodule.c -o build/temp.linux-x86_64-3.6/cupsmodule.o cupsmodule.c: In function ‘cups_ppdSetConformance’: cupsmodule.c:378:3: warning: ‘ppdSetConformance’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdSetConformance (level); ^~~~~~~~~~~~~~~~~ In file included from cupsppd.h:24, from cupsmodule.c:35: /usr/include/cups/ppd.h:406:14: note: declared here extern void ppdSetConformance(ppd_conform_t c) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~~~~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DVERSION="2.0.1" -I/usr/include/python3.6m -c cupsconnection.c -o build/temp.linux-x86_64-3.6/cupsconnection.o cupsconnection.c: In function ‘Connection_getServerPPD’: cupsconnection.c:1196:3: warning: ‘cupsGetServerPPD’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] filename = cupsGetServerPPD (self->http, ppd_name); ^~~~~~~~ In file included from cupsppd.h:24, from cupsconnection.c:23: /usr/include/cups/ppd.h:361:15: note: declared here extern char *cupsGetServerPPD(http_t *http, const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~~~~~~~~~ cupsconnection.c: In function ‘Connection_getPPD’: cupsconnection.c:3704:3: warning: ‘cupsGetPPD2’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdfile = cupsGetPPD2 (self->http, printer); ^~~~~~~ In file included from cupsppd.h:24, from cupsconnection.c:23: /usr/include/cups/ppd.h:359:20: note: declared here extern const char *cupsGetPPD2(http_t *http, const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~~~~ cupsconnection.c: In function ‘Connection_getPPD3’: cupsconnection.c:3773:3: warning: ‘cupsGetPPD3’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] status = cupsGetPPD3 (self->http, printer, &modtime, ^~~~~~ In file included from cupsppd.h:24, from cupsconnection.c:23: /usr/include/cups/ppd.h:360:22: note: declared here extern http_status_t cupsGetPPD3(http_t *http, const char *name, time_t *modtime, char *buffer, size_t bufsize) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~~~~ cupsconnection.c: In function ‘Connection_adminExportSamba’: cupsconnection.c:3993:3: warning: ‘cupsAdminCreateWindowsPPD’ is deprecated [-Wdeprecated-declarations] if (!cupsAdminCreateWindowsPPD(self->http, name, ppdfile, sizeof(ppdfile))) { ^~ In file included from cupsmodule.h:27, from cupsconnection.h:28, from cupsconnection.c:22: /usr/include/cups/adminutil.h:63:14: note: declared here extern char *cupsAdminCreateWindowsPPD(http_t *http, const char *dest, ^~~~~~~~~~~~~~~~~~~~~~~~~ cupsconnection.c:4002:3: warning: ‘cupsAdminExportSamba’ is deprecated [-Wdeprecated-declarations] ret = cupsAdminExportSamba(name, ppdfile, server, user, password, tf); ^~~ In file included from cupsmodule.h:27, from cupsconnection.h:28, from cupsconnection.c:22: /usr/include/cups/adminutil.h:58:12: note: declared here extern int cupsAdminExportSamba(const char *dest, const char *ppd, ^~~~~~~~~~~~~~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DVERSION="2.0.1" -I/usr/include/python3.6m -c cupsppd.c -o build/temp.linux-x86_64-3.6/cupsppd.o cupsppd.c: In function ‘PPD_init’: cupsppd.c:231:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] self->ppd = ppdOpenFile (filename); ^~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:389:20: note: declared here extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~~~~ cupsppd.c: In function ‘PPD_dealloc’: cupsppd.c:254:5: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdClose (self->ppd); ^~~~~~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:364:14: note: declared here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~ cupsppd.c: In function ‘PPD_localize’: cupsppd.c:270:3: warning: ‘ppdLocalize’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!ppdLocalize (self->ppd)) ^~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:434:13: note: declared here extern int ppdLocalize(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~~~~ cupsppd.c: In function ‘PPD_localizeIPPReason’: cupsppd.c:301:3: warning: ‘ppdLocalizeIPPReason’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (ppdLocalizeIPPReason (self->ppd, reason, scheme, buffer, bufsize)) ^~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:438:20: note: declared here extern const char *ppdLocalizeIPPReason(ppd_file_t *ppd, ^~~~~~~~~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_localizeMarkerName’: cupsppd.c:329:3: warning: ‘ppdLocalizeMarkerName’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] lname = ppdLocalizeMarkerName (self->ppd, name); ^~~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:461:20: note: declared here extern const char *ppdLocalizeMarkerName(ppd_file_t *ppd, ^~~~~~~~~~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_markDefaults’: cupsppd.c:345:3: warning: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults (self->ppd); ^~~~~~~~~~~~~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:384:14: note: declared here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_markOption’: cupsppd.c:372:3: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] conflicts = ppdMarkOption (self->ppd, encname, encvalue); ^~~~~~~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:385:13: note: declared here extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, ^~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_conflicts’: cupsppd.c:381:3: warning: ‘ppdConflicts’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] return PyLong_FromLong (ppdConflicts (self->ppd)); ^~~~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:367:13: note: declared here extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~~~~~ cupsppd.c: In function ‘PPD_findOption’: cupsppd.c:398:3: warning: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] opt = ppdFindOption (self->ppd, option); ^~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:380:22: note: declared here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_findAttr’: cupsppd.c:442:3: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] attr = ppdFindAttr (self->ppd, name, spec); ^~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:399:20: note: declared here extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, ^~~~~~~~~~~ cupsppd.c: In function ‘PPD_findNextAttr’: cupsppd.c:488:3: warning: ‘ppdFindNextAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] attr = ppdFindNextAttr (self->ppd, name, spec); ^~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:401:20: note: declared here extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, ^~~~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_emitString’: cupsppd.c:599:3: warning: ‘ppdEmitString’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] emitted = ppdEmitString(self->ppd, section, min_order); ^~~~~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:422:15: note: declared here extern char *ppdEmitString(ppd_file_t *ppd, ppd_section_t section, ^~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_emit’: cupsppd.c:630:3: warning: ‘ppdEmit’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!ppdEmit(self->ppd, f, section)) ^~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:368:13: note: declared here extern int ppdEmit(ppd_file_t *ppd, FILE *fp, ^~~~~~~ cupsppd.c: In function ‘PPD_emitAfterOrder’: cupsppd.c:656:3: warning: ‘ppdEmitAfterOrder’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!ppdEmitAfterOrder(self->ppd, f, section, limit, min_order)) ^~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:417:13: note: declared here extern int ppdEmitAfterOrder(ppd_file_t *ppd, FILE *fp, ^~~~~~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_emitFd’: cupsppd.c:674:3: warning: ‘ppdEmitFd’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!ppdEmitFd(self->ppd, f, section)) ^~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:370:13: note: declared here extern int ppdEmitFd(ppd_file_t *ppd, int fd, ^~~~~~~~~ cupsppd.c: In function ‘PPD_emitJCL’: cupsppd.c:710:3: warning: ‘ppdEmitJCL’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!ppdEmitJCL(self->ppd, f, job_id, user, title)) ^~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:372:13: note: declared here extern int ppdEmitJCL(ppd_file_t *ppd, FILE *fp, int job_id, ^~~~~~~~~~ cupsppd.c: In function ‘PPD_emitJCLEnd’: cupsppd.c:736:3: warning: ‘ppdEmitJCLEnd’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!ppdEmitJCLEnd(self->ppd, f)) ^~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:420:13: note: declared here extern int ppdEmitJCLEnd(ppd_file_t *ppd, FILE *fp) ^~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_writeFd’: cupsppd.c:777:7: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] choice = ppdFindMarkedChoice (self->ppd, keyword); ^~~~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:377:22: note: declared here extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, ^~~~~~~~~~~~~~~~~~~ cupsppd.c:784:2: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] choice = ppdFindMarkedChoice (self->ppd, "PageSize"); ^~~~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /usr/include/cups/ppd.h:377:22: note: declared here extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, ^~~~~~~~~~~~~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DVERSION="2.0.1" -I/usr/include/python3.6m -c cupsipp.c -o build/temp.linux-x86_64-3.6/cupsipp.o creating build/lib.linux-x86_64-3.6 gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.6/cupsmodule.o build/temp.linux-x86_64-3.6/cupsconnection.o build/temp.linux-x86_64-3.6/cupsppd.o build/temp.linux-x86_64-3.6/cupsipp.o -L/usr/lib64 -lcups -lpython3.6m -o build/lib.linux-x86_64-3.6/cups.cpython-36m-x86_64-linux-gnu.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2Kcl8Z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64 + cd pycups-2.0.1 + make install-rpmhook DESTDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64 make: python: Command not found if [ -n "/usr/lib/rpm" ]; then \ RPMCONFIG="$DESTDIR/usr/lib/rpm" ; \ mkdir -p "$RPMCONFIG"/fileattrs ; \ install -m0644 psdriver.attr "$RPMCONFIG"/fileattrs/ ; \ install -m0755 postscriptdriver.prov "$RPMCONFIG"/ ; \ fi + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib64/python3.6/site-packages copying build/lib.linux-x86_64-3.6/cups.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib64/python3.6/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib64/python3.6/site-packages/pycups-2.0.1-py3.6.egg-info + export PYTHONPATH=/builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib64/python3.6/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib64/python3.6/site-packages + /usr/bin/python3.6 -m pydoc -w cups wrote cups.html + /usr/bin/mkdir html + /usr/bin/mv cups.html html + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0.1-1.el8 --unique-debug-suffix -2.0.1-1.el8.x86_64 --unique-debug-src-base python-cups-2.0.1-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pycups-2.0.1 extracting debug info from /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib64/python3.6/site-packages/cups.cpython-36m-x86_64-linux-gnu.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 555 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib64/python3.6 using /usr/libexec/platform-python Bytecompiling .py files below /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/lib/debug/usr/lib64/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/rpm/postscriptdriver.prov from /usr/bin/python3 to #!/usr/bin/python3.6 Processing files: python3-cups-2.0.1-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gy4o8f + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/doc/python3-cups + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/doc/python3-cups + cp -pr README /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/doc/python3-cups + cp -pr NEWS /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/doc/python3-cups + cp -pr TODO /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/doc/python3-cups + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hq9eaw + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/licenses/python3-cups + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/licenses/python3-cups + cp -pr COPYING /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/licenses/python3-cups + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.6/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: python3-cups = 2.0.1-1.el8 python3-cups(x86-64) = 2.0.1-1.el8 python3.6dist(pycups) = 2.0.1 python3dist(pycups) = 2.0.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3.6 libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcups.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython3.6m.so.1.0()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Processing files: python-cups-doc-2.0.1-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BK2OYP + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/doc/python-cups-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/doc/python-cups-doc + cp -pr examples /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/doc/python-cups-doc + cp -pr html /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64/usr/share/doc/python-cups-doc + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.6/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: python-cups-doc = 2.0.1-1.el8 python-cups-doc(x86-64) = 2.0.1-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python-cups-debugsource-2.0.1-1.el8.x86_64 warning: Deprecated external dependency generator is used! Provides: python-cups-debugsource = 2.0.1-1.el8 python-cups-debugsource(x86-64) = 2.0.1-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-cups-debuginfo-2.0.1-1.el8.x86_64 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.6/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " warning: Deprecated external dependency generator is used! Provides: debuginfo(build-id) = 774978f3586e59b4fbb31ff41e706f8182d90f78 python3-cups-debuginfo = 2.0.1-1.el8 python3-cups-debuginfo(x86-64) = 2.0.1-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-cups-debugsource(x86-64) = 2.0.1-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64 Wrote: /builddir/build/RPMS/python3-cups-2.0.1-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python-cups-doc-2.0.1-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python-cups-debugsource-2.0.1-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python3-cups-debuginfo-2.0.1-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.h6XJ7a + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-cups-2.0.1-1.el8.x86_64 + exit 0 Child return code was: 0