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 aarch64 --nodeps /builddir/build/SPECS/python-cups.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-93891-5984/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-cups-2.0.1-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-cups.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-93891-5984/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UcwCc4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pycups-2.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pycups-2.0.1.tar.gz + 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 checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /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/lib/rpm/rpmuncompress /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/lib/rpm/rpmuncompress /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/lib/rpm/rpmuncompress /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.ylNnhr + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pycups-2.0.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /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-aarch64-3.11 gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION="2.0.1" -I/usr/include/python3.11 -c cupsconnection.c -o build/temp.linux-aarch64-3.11/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.11/Python.h:95, from cupsconnection.h:25, from cupsconnection.c:22: /usr/include/python3.11/ceval.h:27:43: note: declared here 27 | 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.11/ceval.h:27:43: note: declared here 27 | 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 -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION="2.0.1" -I/usr/include/python3.11 -c cupsipp.c -o build/temp.linux-aarch64-3.11/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.11/Python.h:95, from cupsipp.h:26, from cupsipp.c:22: /usr/include/python3.11/ceval.h:27:43: note: declared here 27 | 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.11/ceval.h:27:43: note: declared here 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION="2.0.1" -I/usr/include/python3.11 -c cupsmodule.c -o build/temp.linux-aarch64-3.11/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 -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION="2.0.1" -I/usr/include/python3.11 -c cupsppd.c -o build/temp.linux-aarch64-3.11/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-aarch64-3.11 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-aarch64-3.11/cupsconnection.o build/temp.linux-aarch64-3.11/cupsipp.o build/temp.linux-aarch64-3.11/cupsmodule.o build/temp.linux-aarch64-3.11/cupsppd.o -L/usr/lib64 -lcups -o build/lib.linux-aarch64-3.11/cups.cpython-311-aarch64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QT0sMd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64 + cd pycups-2.0.1 + make install-rpmhook DESTDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64 /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-5.ocs23.aarch64/usr/lib64 creating /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/lib64/python3.11/site-packages copying build/lib.linux-aarch64-3.11/cups.cpython-311-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/lib64/python3.11/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/lib64/python3.11/site-packages/pycups-2.0.1-py3.11.egg-info + rm -rfv /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/bin/__pycache__ + export PYTHONPATH=/builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/lib64/python3.11/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/lib64/python3.11/site-packages + /usr/bin/python3 -m pydoc -w cups wrote cups.html + /usr/bin/mkdir html + /usr/bin/mv cups.html html + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.0.1-5.ocs23 --unique-debug-suffix -2.0.1-5.ocs23.aarch64 --unique-debug-src-base python-cups-2.0.1-5.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/pycups-2.0.1 extracting debug info from /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/lib64/python3.11/site-packages/cups.cpython-311-aarch64-linux-gnu.so 556 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: python3-cups-2.0.1-5.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XSjU61 + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/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-5.ocs23.aarch64/usr/share/doc/python3-cups + cp -pr README /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/share/doc/python3-cups + cp -pr NEWS /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/share/doc/python3-cups + cp -pr TODO /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/share/doc/python3-cups + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dACmqb + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/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-5.ocs23.aarch64/usr/share/licenses/python3-cups + cp -pr COPYING /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/share/licenses/python3-cups + RPM_EC=0 ++ jobs -p + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.11/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: Finding OrderWithRequires: Provides: python3-cups = 2.0.1-5.ocs23 python3-cups(aarch-64) = 2.0.1-5.ocs23 python3.11dist(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 ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcups.so.2()(64bit) python(abi) = 3.11 rtld(GNU_HASH) Processing files: python-cups-doc-2.0.1-5.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oNm5S9 + umask 022 + cd /builddir/build/BUILD + cd pycups-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/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-5.ocs23.aarch64/usr/share/doc/python-cups-doc + cp -pr examples /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/share/doc/python-cups-doc + cp -pr html /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64/usr/share/doc/python-cups-doc + RPM_EC=0 ++ jobs -p + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.11/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: Finding OrderWithRequires: Provides: python-cups-doc = 2.0.1-5.ocs23 python-cups-doc(aarch-64) = 2.0.1-5.ocs23 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-5.ocs23.aarch64 warning: Deprecated external dependency generator is used! Provides: python-cups-debugsource = 2.0.1-5.ocs23 python-cups-debugsource(aarch-64) = 2.0.1-5.ocs23 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-5.ocs23.aarch64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.11/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: debuginfo(build-id) = b619ad57c9dae51ab1f427f1ae926f06105cc453 python3-cups-debuginfo = 2.0.1-5.ocs23 python3-cups-debuginfo(aarch-64) = 2.0.1-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-cups-debugsource(aarch-64) = 2.0.1-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-cups-2.0.1-5.ocs23.aarch64 Wrote: /builddir/build/RPMS/python-cups-doc-2.0.1-5.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/python-cups-debugsource-2.0.1-5.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-cups-2.0.1-5.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-cups-debuginfo-2.0.1-5.ocs23.aarch64.rpm RPM build warnings: Deprecated external dependency generator is used! Deprecated external dependency generator is used! Deprecated external dependency generator is used! Deprecated external dependency generator is used! Child return code was: 0