Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cups.spec'], chrootPath='/var/lib/mock/dist-oc9-build-44306-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cups-2.0.1-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cups.spec'], chrootPath='/var/lib/mock/dist-oc9-build-44306-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wa3JRT + 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 -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pycups-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-cups-2.0.1 base' + /usr/bin/git branch rpm-build + /usr/bin/git checkout rpm-build Switched to branch 'rpm-build' + /usr/bin/git branch --set-upstream-to=master branch 'rpm-build' set up to track 'master'. + /usr/bin/cat /builddir/build/SOURCES/0001-examples-cupstree.py-remove-shebang.patch + /usr/bin/git apply --index --reject - Checking patch examples/cupstree.py... Applied patch examples/cupstree.py cleanly. + /usr/bin/git commit -q -m 0001-examples-cupstree.py-remove-shebang.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0001-postscriptdriver.prov-ignore-driverless-utilities.patch + /usr/bin/git apply --index --reject - Checking patch postscriptdriver.prov... Applied patch postscriptdriver.prov cleanly. + /usr/bin/git commit -q -m 0001-postscriptdriver.prov-ignore-driverless-utilities.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/pycups-invalid-pointer.patch + /usr/bin/git apply --index --reject - Checking patch cupsconnection.c... Applied patch cupsconnection.c cleanly. + /usr/bin/git commit -q -m pycups-invalid-pointer.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/pycups-pyssizet_clean.patch + /usr/bin/git apply --index --reject - Checking patch cupsipp.h... Applied patch cupsipp.h cleanly. + /usr/bin/git commit -q -m pycups-pyssizet_clean.patch --author 'rpm-build ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u0qEve + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + CFLAGS='-O2 -g' + LDFLAGS= + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /builddir/build/BUILD/pycups-2.0.1/setup.py:37: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running build running build_ext building 'cups' extension creating build creating build/temp.linux-x86_64-3.10 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DVERSION="2.0.1" -I/usr/include/python3.10 -c cupsconnection.c -o build/temp.linux-x86_64-3.10/cupsconnection.o cupsconnection.c: In function ‘password_callback’: cupsconnection.c:377:3: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 377 | result = PyEval_CallObject (tls->cups_password_callback, args); | ^~~~~~ In file included from /usr/include/python3.10/Python.h:130, from cupsconnection.h:25, from cupsconnection.c:22: /usr/include/python3.10/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cupsconnection.c: In function ‘cups_dest_cb’: cupsconnection.c:596:3: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 596 | result = PyEval_CallObject (context->cb, args); | ^~~~~~ /usr/include/python3.10/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cupsconnection.c: In function ‘Connection_getServerPPD’: cupsconnection.c:1196:3: warning: ‘cupsGetServerPPD’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1196 | filename = cupsGetServerPPD (self->http, ppd_name); | ^~~~~~~~ In file included from cupsppd.h:24, from cupsconnection.c:23: /usr/include/cups/ppd.h:361:26: note: declared here 361 | 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] 3704 | ppdfile = cupsGetPPD2 (self->http, printer); | ^~~~~~~ /usr/include/cups/ppd.h:359:26: note: declared here 359 | 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] 3773 | status = cupsGetPPD3 (self->http, printer, &modtime, | ^~~~~~ /usr/include/cups/ppd.h:360:25: note: declared here 360 | 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:3994:3: warning: ‘cupsAdminCreateWindowsPPD’ is deprecated [-Wdeprecated-declarations] 3994 | if (!cupsAdminCreateWindowsPPD(self->http, name, ppdfile, sizeof(ppdfile))) { | ^~ In file included from cupsmodule.h:27, from cupsconnection.h:28: /usr/include/cups/adminutil.h:63:18: note: declared here 63 | extern char *cupsAdminCreateWindowsPPD(http_t *http, const char *dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~ cupsconnection.c:4003:3: warning: ‘cupsAdminExportSamba’ is deprecated [-Wdeprecated-declarations] 4003 | ret = cupsAdminExportSamba(name, ppdfile, server, user, password, tf); | ^~~ /usr/include/cups/adminutil.h:58:17: note: declared here 58 | extern int cupsAdminExportSamba(const char *dest, const char *ppd, | ^~~~~~~~~~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DVERSION="2.0.1" -I/usr/include/python3.10 -c cupsipp.c -o build/temp.linux-x86_64-3.10/cupsipp.o cupsipp.c: In function ‘cupsipp_iocb_read’: cupsipp.c:574:3: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 574 | result = PyEval_CallObject (callable, args); | ^~~~~~ In file included from /usr/include/python3.10/Python.h:130, from cupsipp.h:26, from cupsipp.c:22: /usr/include/python3.10/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cupsipp.c: In function ‘cupsipp_iocb_write’: cupsipp.c:626:3: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 626 | result = PyEval_CallObject (callable, args); | ^~~~~~ /usr/include/python3.10/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DVERSION="2.0.1" -I/usr/include/python3.10 -c cupsmodule.c -o build/temp.linux-x86_64-3.10/cupsmodule.o cupsmodule.c: In function ‘cups_ppdSetConformance’: cupsmodule.c:378:3: warning: ‘ppdSetConformance’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 378 | ppdSetConformance (level); | ^~~~~~~~~~~~~~~~~ In file included from cupsppd.h:24, from cupsmodule.c:35: /usr/include/cups/ppd.h:406:25: note: declared here 406 | extern void ppdSetConformance(ppd_conform_t c) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DVERSION="2.0.1" -I/usr/include/python3.10 -c cupsppd.c -o build/temp.linux-x86_64-3.10/cupsppd.o cupsppd.c: In function ‘PPD_init’: cupsppd.c:231:3: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 231 | self->ppd = ppdOpenFile (filename); | ^~~~ In file included from cupsppd.h:24, from cupsppd.c:22: /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."); | ^~~~~~~~~~~ cupsppd.c: In function ‘PPD_dealloc’: cupsppd.c:254:5: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 254 | ppdClose (self->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."); | ^~~~~~~~ cupsppd.c: In function ‘PPD_localize’: cupsppd.c:270:3: warning: ‘ppdLocalize’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 270 | if (!ppdLocalize (self->ppd)) | ^~ /usr/include/cups/ppd.h:434:25: note: declared here 434 | 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] 301 | if (ppdLocalizeIPPReason (self->ppd, reason, scheme, buffer, bufsize)) | ^~ /usr/include/cups/ppd.h:438:26: note: declared here 438 | 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] 329 | lname = ppdLocalizeMarkerName (self->ppd, name); | ^~~~~ /usr/include/cups/ppd.h:461:26: note: declared here 461 | 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] 345 | ppdMarkDefaults (self->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."); | ^~~~~~~~~~~~~~~ cupsppd.c: In function ‘PPD_markOption’: cupsppd.c:372:3: warning: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 372 | conflicts = ppdMarkOption (self->ppd, encname, encvalue); | ^~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | 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] 381 | return PyLong_FromLong (ppdConflicts (self->ppd)); | ^~~~~~ /usr/include/cups/ppd.h:367:25: note: declared here 367 | 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] 398 | opt = ppdFindOption (self->ppd, option); | ^~~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | 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] 442 | attr = ppdFindAttr (self->ppd, name, spec); | ^~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | 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] 488 | attr = ppdFindNextAttr (self->ppd, name, spec); | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | 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] 599 | emitted = ppdEmitString(self->ppd, section, min_order); | ^~~~~~~ /usr/include/cups/ppd.h:422:26: note: declared here 422 | 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] 630 | if (!ppdEmit(self->ppd, f, section)) | ^~ /usr/include/cups/ppd.h:368:25: note: declared here 368 | 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] 656 | if (!ppdEmitAfterOrder(self->ppd, f, section, limit, min_order)) | ^~ /usr/include/cups/ppd.h:417:25: note: declared here 417 | 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] 674 | if (!ppdEmitFd(self->ppd, f, section)) | ^~ /usr/include/cups/ppd.h:370:25: note: declared here 370 | 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] 710 | if (!ppdEmitJCL(self->ppd, f, job_id, user, title)) | ^~ /usr/include/cups/ppd.h:372:25: note: declared here 372 | 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] 736 | if (!ppdEmitJCLEnd(self->ppd, f)) | ^~ /usr/include/cups/ppd.h:420:25: note: declared here 420 | 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] 777 | choice = ppdFindMarkedChoice (self->ppd, keyword); | ^~~~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ cupsppd.c:784:9: warning: ‘ppdFindMarkedChoice’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 784 | choice = ppdFindMarkedChoice (self->ppd, "PageSize"); | ^~~~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ creating build/lib.linux-x86_64-3.10 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -O2 -g build/temp.linux-x86_64-3.10/cupsconnection.o build/temp.linux-x86_64-3.10/cupsipp.o build/temp.linux-x86_64-3.10/cupsmodule.o build/temp.linux-x86_64-3.10/cupsppd.o -L/usr/lib64 -lcups -o build/lib.linux-x86_64-3.10/cups.cpython-310-x86_64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IBTvnJ + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64 + cd pycups-2.0.1 + make install-rpmhook DESTDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64 make: python: No such file or directory 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' + LDFLAGS= + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64 /builddir/build/BUILD/pycups-2.0.1/setup.py:37: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running install running install_lib creating /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/lib64/python3.10/site-packages copying build/lib.linux-x86_64-3.10/cups.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/lib64/python3.10/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/lib64/python3.10/site-packages/pycups-2.0.1-py3.10.egg-info + rm -rfv /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/bin/__pycache__ + export PYTHONPATH=/builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/lib64/python3.10/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/lib64/python3.10/site-packages + /usr/bin/python3 -m pydoc -w cups wrote cups.html + /usr/bin/mkdir html + /usr/bin/mv cups.html html + /usr/lib/rpm/brp-compress /usr + /usr/lib/rpm/brp-elfperms + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-remove-la-files Processing files: python3-cups-2.0.1-3.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jPqCGY + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/doc/python3-cups-2.0.1 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/doc/python3-cups-2.0.1 + cp -pr README /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/doc/python3-cups-2.0.1 + cp -pr NEWS /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/doc/python3-cups-2.0.1 + cp -pr TODO /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/doc/python3-cups-2.0.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kNwWTy + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/licenses/python3-cups-2.0.1 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/licenses/python3-cups-2.0.1 + cp -pr COPYING /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/licenses/python3-cups-2.0.1 + RPM_EC=0 ++ jobs -p + exit 0 error: lua script failed: [string "__pythonname_provides"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_provides) error: lua script failed: [string "__pythonname_provides"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_provides) error: lua script failed: [string "__pythonname_provides"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_provides) error: lua script failed: [string "__pythonname_provides"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_provides) error: lua script failed: [string "__pythonname_provides"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_provides) error: lua script failed: [string "__pythonname_provides"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_provides) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) Provides: python3-cups = 2.0.1-3.oc9 python3-cups(x86-64) = 2.0.1-3.oc9 python3.10dist(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 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.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcups.so.2()(64bit) python(abi) = 3.10 rtld(GNU_HASH) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) Processing files: python-cups-doc-2.0.1-3.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rRWiqV + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/doc/python-cups-doc-2.0.1 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/doc/python-cups-doc-2.0.1 + cp -pr examples /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/doc/python-cups-doc-2.0.1 + cp -pr html /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64/usr/share/doc/python-cups-doc-2.0.1 + RPM_EC=0 ++ jobs -p + exit 0 error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) error: lua script failed: [string "__pythonname_obsoletes"]:3: module 'TencentOS.srpm.python' not found: no field package.preload['TencentOS.srpm.python'] no file '/usr/lib/rpm//lua/TencentOS/srpm/python.lua' no file '/usr/lib64/lua/5.4/TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS/srpm/python.so' no file '/usr/lib64/lua/5.4/TencentOS.so' no file '/usr/lib64/lua/5.4/loadall.so' no file './TencentOS.so' 1< (%lua) 0< (%__pythonname_obsoletes) Provides: python-cups-doc = 2.0.1-3.oc9 python-cups-doc(x86-64) = 2.0.1-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-cups-2.0.1-3.oc9.x86_64 Wrote: /builddir/build/RPMS/python-cups-doc-2.0.1-3.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/python3-cups-2.0.1-3.oc9.x86_64.rpm Child return code was: 0