<86>May 28 03:57:26 userdel[2408312]: delete user 'rooter' <86>May 28 03:57:26 userdel[2408312]: removed group 'rooter' owned by 'rooter' <86>May 28 03:57:26 userdel[2408312]: removed shadow group 'rooter' owned by 'rooter' <86>May 28 03:57:26 groupadd[2408324]: group added to /etc/group: name=rooter, GID=1826 <86>May 28 03:57:26 groupadd[2408324]: group added to /etc/gshadow: name=rooter <86>May 28 03:57:26 groupadd[2408324]: new group: name=rooter, GID=1826 <86>May 28 03:57:26 useradd[2408331]: new user: name=rooter, UID=1826, GID=1826, home=/root, shell=/bin/bash, from=none <86>May 28 03:57:26 userdel[2408358]: delete user 'builder' <86>May 28 03:57:26 userdel[2408358]: removed group 'builder' owned by 'builder' <86>May 28 03:57:26 userdel[2408358]: removed shadow group 'builder' owned by 'builder' <86>May 28 03:57:26 groupadd[2408382]: group added to /etc/group: name=builder, GID=1827 <86>May 28 03:57:26 groupadd[2408382]: group added to /etc/gshadow: name=builder <86>May 28 03:57:26 groupadd[2408382]: new group: name=builder, GID=1827 <86>May 28 03:57:26 useradd[2408403]: new user: name=builder, UID=1827, GID=1827, home=/usr/src, shell=/bin/bash, from=none <13>May 28 03:57:29 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>May 28 03:57:29 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>May 28 03:57:29 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>May 28 03:57:29 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>May 28 03:57:29 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>May 28 03:57:29 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>May 28 03:57:29 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 28 03:57:29 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 28 03:57:29 rpmi: ca-certificates-2024.02.24-alt1 sisyphus+341362.100.1.1 1708791001 installed <13>May 28 03:57:29 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>May 28 03:57:29 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>May 28 03:57:29 rpmi: libcrypto3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <13>May 28 03:57:29 rpmi: libssl3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <13>May 28 03:57:29 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>May 28 03:57:30 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>May 28 03:57:30 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>May 28 03:57:30 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>May 28 03:57:30 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed WARNING: %python3_build is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead <13>May 28 03:57:32 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>May 28 03:57:32 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>May 28 03:57:32 rpmi: python3-module-packaging-24.0-alt1 sisyphus+342487.100.2.1 1710407438 installed <13>May 28 03:57:32 rpmi: libsqlite3-3.44.2-alt1 sisyphus+335409.100.3.3 1701347810 installed <13>May 28 03:57:32 rpmi: python3-modules-sqlite3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>May 28 03:57:32 rpmi: python3-module-coverage-7.3.2-alt1 sisyphus+340977.100.1.1 1708279274 installed <13>May 28 03:57:32 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>May 28 03:57:32 rpmi: libgnutls30-3.8.4-alt1 sisyphus+343729.100.2.1 1711571288 installed <13>May 28 03:57:32 rpmi: libngtcp2.16-1.5.0-alt1 sisyphus+347555.200.1.1 1716185826 installed <13>May 28 03:57:32 rpmi: libngtcp2_crypto_gnutls8-1.5.0-alt1 sisyphus+347555.200.1.1 1716185826 installed <13>May 28 03:57:32 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>May 28 03:57:32 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>May 28 03:57:32 rpmi: python3-module-asn1crypto-1.5.1-alt1 sisyphus+297473.100.1.1 1648574689 installed <13>May 28 03:57:32 rpmi: python3-module-zombie-imp-0.0.2-alt1 sisyphus+339293.100.1.1 1706537230 installed <13>May 28 03:57:32 rpmi: python3-module-pkg_resources-1:70.0.0-alt1 sisyphus+349080.100.2.1 1716802750 installed <13>May 28 03:57:32 rpmi: python3-module-pycparser-2.21-alt1.1 sisyphus+309935.7300.4.1 1668527005 installed <13>May 28 03:57:33 rpmi: python3-module-cffi-1.16.0-alt1 sisyphus+333513.10400.71.1 1704539931 installed <13>May 28 03:57:33 rpmi: mercurial-6.5.2-alt1 sisyphus+333513.46600.73.1 1704644085 installed <13>May 28 03:57:33 rpmi: libsofthsm-2.6.1-alt3 sisyphus+343950.100.1.1 1711730408 installed <13>May 28 03:57:33 rpmi: libpython3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>May 28 03:57:33 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>May 28 03:57:33 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>May 28 03:57:33 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>May 28 03:57:34 rpmi: python3-dev-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>May 28 03:57:34 rpmi: python3-module-setuptools-1:70.0.0-alt1 sisyphus+349080.100.2.1 1716802750 installed <13>May 28 03:57:34 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>May 28 03:57:34 rpmi: publicsuffix-list-dafsa-20240415-alt1 sisyphus+345249.100.1.1 1713270235 installed <13>May 28 03:57:34 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>May 28 03:57:34 rpmi: libnghttp3.9-1.3.0-alt1 sisyphus+347555.300.1.1 1716185868 installed <13>May 28 03:57:34 rpmi: libnghttp2-1.62.1-alt1 sisyphus+347555.100.1.1 1716185760 installed <13>May 28 03:57:34 rpmi: openldap-common-2.6.7-alt2 sisyphus+347731.100.1.1 1715194911 installed <13>May 28 03:57:34 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>May 28 03:57:34 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>May 28 03:57:34 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>May 28 03:57:34 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>May 28 03:57:34 rpmi: libxxhash-0.8.2-alt1 sisyphus+336514.200.7.1 1702672118 installed <13>May 28 03:57:34 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>May 28 03:57:34 rpmi: rsync-3.2.7-alt1 sisyphus+325006.2000.1.1 1689497333 installed <13>May 28 03:57:34 rpmi: openssh-common-9.6p1-alt1 sisyphus+338324.200.2.1 1706093654 installed <13>May 28 03:57:34 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>May 28 03:57:34 rpmi: liblmdb-0.9.32-alt1 sisyphus+342426.100.1.1 1710124288 installed <13>May 28 03:57:34 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>May 28 03:57:34 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <86>May 28 03:57:34 groupadd[2421989]: group added to /etc/group: name=_keytab, GID=999 <86>May 28 03:57:34 groupadd[2421989]: group added to /etc/gshadow: name=_keytab <86>May 28 03:57:34 groupadd[2421989]: new group: name=_keytab, GID=999 <13>May 28 03:57:34 rpmi: libkrb5-1.21.2-alt2 sisyphus+338902.100.2.1 1706700934 installed <13>May 28 03:57:34 rpmi: libgsasl-2.2.0-alt1 sisyphus+333173.100.1.1 1698696954 installed <86>May 28 03:57:34 groupadd[2422058]: group added to /etc/group: name=sasl, GID=998 <86>May 28 03:57:34 groupadd[2422058]: group added to /etc/gshadow: name=sasl <86>May 28 03:57:34 groupadd[2422058]: new group: name=sasl, GID=998 <13>May 28 03:57:34 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>May 28 03:57:34 rpmi: libldap2-2.6.7-alt2 sisyphus+347731.100.1.1 1715194911 installed <13>May 28 03:57:34 rpmi: libcurl-8.7.1-alt2 sisyphus+345773.100.1.1 1713974723 installed <13>May 28 03:57:34 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922743 installed <86>May 28 03:57:34 groupadd[2422210]: group added to /etc/group: name=sshagent, GID=997 <86>May 28 03:57:34 groupadd[2422210]: group added to /etc/gshadow: name=sshagent <86>May 28 03:57:34 groupadd[2422210]: new group: name=sshagent, GID=997 <13>May 28 03:57:34 rpmi: openssh-clients-9.6p1-alt1 sisyphus+338324.200.2.1 1706093654 installed <13>May 28 03:57:34 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>May 28 03:57:34 rpmi: diffstat-1.64-alt1 sisyphus+346132.200.3.2 1716466240 installed <13>May 28 03:57:34 rpmi: git-core-2.42.2-alt1 sisyphus+348068.100.1.1 1715721632 installed <13>May 28 03:57:34 rpmi: python3-module-setuptools_scm-8.1.0-alt1 sisyphus+347617.100.2.1 1715079551 installed <13>May 28 03:57:35 rpmi: python3-module-Cython-3.0.7-alt1 sisyphus+333513.11404.71.1 1704540401 installed <86>May 28 03:57:35 groupadd[2422726]: group added to /etc/group: name=ods, GID=996 <86>May 28 03:57:35 groupadd[2422726]: group added to /etc/gshadow: name=ods <86>May 28 03:57:35 groupadd[2422726]: new group: name=ods, GID=996 <86>May 28 03:57:35 useradd[2422735]: new user: name=ods, UID=999, GID=996, home=/var/lib/softhsm, shell=/sbin/nologin, from=none <13>May 28 03:57:35 rpmi: softhsm-2.6.1-alt3 sisyphus+343950.100.1.1 1711730408 installed <13>May 28 03:57:35 rpmi: python3-module-cryptography-42.0.5-alt1 sisyphus+341498.100.1.1 1709027829 installed <13>May 28 03:57:35 rpmi: python3-module-oscrypto-1.3.0-alt1.1 sisyphus+339401.1100.2.1 1706623614 installed <13>May 28 03:57:35 rpmi: python3-module-pytest-8.0.2-alt1 sisyphus+341429.100.2.1 1709025013 installed <13>May 28 03:57:35 rpmi: python3-module-cached-property-1.5.2-alt1 sisyphus+275903.100.2.1 1624873020 installed <13>May 28 03:57:35 rpmi: openssl-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed WARNING: %python3_build is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-pkcs11-0.7.0-alt1.nosrc.rpm (w1.gzdio) WARNING: %python3_build is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead Installing python3-module-pkcs11-0.7.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95937 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-pkcs11-0.7.0 + echo 'Source #0 (python3-module-pkcs11-0.7.0.tar):' Source #0 (python3-module-pkcs11-0.7.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-pkcs11-0.7.0.tar + cd python3-module-pkcs11-0.7.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (python-pkcs11_mark-tests-as-xfail.patch):' Patch #0 (python-pkcs11_mark-tests-as-xfail.patch): + /bin/patch -p1 patching file tests/test_ecc.py patching file tests/test_x509.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.95937 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-pkcs11-0.7.0 + export SETUPTOOLS_SCM_PRETEND_VERSION=0.7.0 + SETUPTOOLS_SCM_PRETEND_VERSION=0.7.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + /usr/bin/python3 setup.py build /usr/lib64/python3/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/usr/lib/python3/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' running build running build_py creating build creating build/lib.linux-x86_64-cpython-312 creating build/lib.linux-x86_64-cpython-312/pkcs11 copying pkcs11/types.py -> build/lib.linux-x86_64-cpython-312/pkcs11 copying pkcs11/mechanisms.py -> build/lib.linux-x86_64-cpython-312/pkcs11 copying pkcs11/exceptions.py -> build/lib.linux-x86_64-cpython-312/pkcs11 copying pkcs11/defaults.py -> build/lib.linux-x86_64-cpython-312/pkcs11 copying pkcs11/constants.py -> build/lib.linux-x86_64-cpython-312/pkcs11 copying pkcs11/__init__.py -> build/lib.linux-x86_64-cpython-312/pkcs11 creating build/lib.linux-x86_64-cpython-312/pkcs11/util copying pkcs11/util/x509.py -> build/lib.linux-x86_64-cpython-312/pkcs11/util copying pkcs11/util/rsa.py -> build/lib.linux-x86_64-cpython-312/pkcs11/util copying pkcs11/util/ec.py -> build/lib.linux-x86_64-cpython-312/pkcs11/util copying pkcs11/util/dsa.py -> build/lib.linux-x86_64-cpython-312/pkcs11/util copying pkcs11/util/dh.py -> build/lib.linux-x86_64-cpython-312/pkcs11/util copying pkcs11/util/__init__.py -> build/lib.linux-x86_64-cpython-312/pkcs11/util running egg_info creating python_pkcs11.egg-info writing python_pkcs11.egg-info/PKG-INFO writing dependency_links to python_pkcs11.egg-info/dependency_links.txt writing requirements to python_pkcs11.egg-info/requires.txt writing top-level names to python_pkcs11.egg-info/top_level.txt writing manifest file 'python_pkcs11.egg-info/SOURCES.txt' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'python_pkcs11.egg-info/SOURCES.txt' writing manifest file 'python_pkcs11.egg-info/SOURCES.txt' copying pkcs11/_pkcs11.pyx -> build/lib.linux-x86_64-cpython-312/pkcs11 running build_ext warning: pkcs11/_pkcs11.pyx:17:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: pkcs11/_errors.pyx:85:44: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: pkcs11/_pkcs11.pyx:1366:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: pkcs11/_pkcs11.pyx:1390:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: pkcs11/_pkcs11.pyx:1421:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 performance hint: pkcs11/_errors.pyx:85:6: Exception check on 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:196:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:211:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:219:70: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:219:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:230:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:268:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:274:28: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:282:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:303:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:316:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:336:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:363:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:366:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:380:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:427:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:488:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:566:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:582:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:590:63: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:590:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:606:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:609:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:616:51: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:615:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:633:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:640:32: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:646:32: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:651:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:656:64: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:656:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:720:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:731:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:747:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:759:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:769:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:855:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:892:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:896:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:903:56: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:902:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:935:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:947:74: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:946:28: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:957:67: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:957:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:983:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:987:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:994:55: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:993:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1026:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:1038:74: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:1037:28: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:1048:67: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:1048:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1074:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1077:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:1084:52: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:1083:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1105:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1115:28: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1120:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:1125:65: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:1125:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1150:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1152:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1172:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1182:28: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1186:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1210:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:1217:59: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:1216:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1276:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1338:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1409:38: Exception check after calling 'C_GetFunctionList' will always require the GIL to be acquired. Declare 'C_GetFunctionList' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. performance hint: pkcs11/_pkcs11.pyx:1409:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1432:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1439:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1470:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. warning: pkcs11/_pkcs11.pyx:1478:64: Use boundscheck(False) for faster access performance hint: pkcs11/_pkcs11.pyx:1478:20: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1487:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1556:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1557:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. performance hint: pkcs11/_pkcs11.pyx:1562:24: Exception check after calling 'assertRV' will always require the GIL to be acquired. Possible solutions: 1. Declare 'assertRV' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'assertRV' to allow an error code to be returned. Compiling pkcs11/_pkcs11.pyx because it changed. [1/1] Cythonizing pkcs11/_pkcs11.pyx building 'pkcs11._pkcs11' extension creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/pkcs11 x86_64-alt-linux-gcc -fno-strict-overflow -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -O3 -Wall -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -ffat-lto-objects -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -ffat-lto-objects -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -I/usr/include/python3.12 -c pkcs11/_pkcs11.c -o build/temp.linux-x86_64-cpython-312/pkcs11/_pkcs11.o x86_64-alt-linux-gcc -shared -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto build/temp.linux-x86_64-cpython-312/pkcs11/_pkcs11.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-312/pkcs11/_pkcs11.cpython-312.so + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.56786 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-pkcs11-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-pkcs11-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd python3-module-pkcs11-0.7.0 + export SETUPTOOLS_SCM_PRETEND_VERSION=0.7.0 + SETUPTOOLS_SCM_PRETEND_VERSION=0.7.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-pkcs11-buildroot --force /usr/lib64/python3/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/usr/lib/python3/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' running install /usr/lib64/python3/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /usr/src/tmp/python3-module-pkcs11-buildroot creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64 creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3 creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11 copying build/lib.linux-x86_64-cpython-312/pkcs11/_pkcs11.cpython-312.so -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11 copying build/lib.linux-x86_64-cpython-312/pkcs11/_pkcs11.pyx -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11 creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util copying build/lib.linux-x86_64-cpython-312/pkcs11/util/__init__.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util copying build/lib.linux-x86_64-cpython-312/pkcs11/util/dh.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util copying build/lib.linux-x86_64-cpython-312/pkcs11/util/dsa.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util copying build/lib.linux-x86_64-cpython-312/pkcs11/util/ec.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util copying build/lib.linux-x86_64-cpython-312/pkcs11/util/rsa.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util copying build/lib.linux-x86_64-cpython-312/pkcs11/util/x509.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util copying build/lib.linux-x86_64-cpython-312/pkcs11/__init__.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11 copying build/lib.linux-x86_64-cpython-312/pkcs11/constants.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11 copying build/lib.linux-x86_64-cpython-312/pkcs11/defaults.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11 copying build/lib.linux-x86_64-cpython-312/pkcs11/exceptions.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11 copying build/lib.linux-x86_64-cpython-312/pkcs11/mechanisms.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11 copying build/lib.linux-x86_64-cpython-312/pkcs11/types.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11 byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__init__.py to __init__.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dh.py to dh.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dsa.py to dsa.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/ec.py to ec.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/rsa.py to rsa.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/x509.py to x509.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__init__.py to __init__.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/constants.py to constants.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/defaults.py to defaults.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/exceptions.py to exceptions.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/mechanisms.py to mechanisms.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/types.py to types.cpython-312.pyc running install_egg_info running egg_info writing python_pkcs11.egg-info/PKG-INFO writing dependency_links to python_pkcs11.egg-info/dependency_links.txt writing requirements to python_pkcs11.egg-info/requires.txt writing top-level names to python_pkcs11.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'python_pkcs11.egg-info/SOURCES.txt' writing manifest file 'python_pkcs11.egg-info/SOURCES.txt' Copying python_pkcs11.egg-info to /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/python_pkcs11-0.7.0-py3.12.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-pkcs11-buildroot (auto) mode of './usr/lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/python3-module-pkcs11-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-pkcs11-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-pkcs11-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-pkcs11-buildroot ./usr/lib64: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-pkcs11-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/python3-module-pkcs11-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-pkcs11-buildroot using /usr/bin/python3 Can't list '/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages' unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__pycache__/__init__.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__pycache__/constants.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__pycache__/defaults.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__pycache__/exceptions.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__pycache__/mechanisms.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__pycache__/types.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__pycache__/__init__.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__pycache__/dh.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__pycache__/dsa.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__pycache__/ec.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__pycache__/rsa.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__pycache__/x509.cpython-312.pyc compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dh.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/ec.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/rsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/x509.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/constants.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/defaults.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/exceptions.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/mechanisms.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/types.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-pkcs11-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dh.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/ec.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/rsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/x509.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/constants.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/defaults.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/exceptions.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/mechanisms.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/types.py Can't list '/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-pkcs11-buildroot using /usr/bin/python3 -OO Can't list '/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages' compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dh.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/ec.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/rsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/x509.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/constants.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/defaults.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/exceptions.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/mechanisms.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/types.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/pkcs11/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/__pycache__/__init__.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/__pycache__/constants.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/__pycache__/constants.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/__pycache__/defaults.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/__pycache__/defaults.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/__pycache__/exceptions.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/__pycache__/exceptions.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/__pycache__/mechanisms.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/__pycache__/mechanisms.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/__pycache__/types.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/__pycache__/types.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/__init__.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/dh.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/dh.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/dsa.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/dsa.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/rsa.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/rsa.cpython-312.pyc' './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/x509.cpython-312.opt-1.pyc' => './usr/lib64/python3/site-packages/pkcs11/util/__pycache__/x509.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.17661 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-pkcs11-0.7.0 + mkdir -p /usr/src/.config/softhsm2 + cat + softhsm2-util --init-token --free --label TEST --pin 1234 --so-pin 5678 <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/python_pkcs11.egg-info/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/build/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/tools/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/tests/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/pkcs11/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/extern/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/docs/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/python_pkcs11.egg-info/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/build/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/tools/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/tests/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/pkcs11/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/extern/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 softhsm2-util: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/docs/token.object <11>May 28 03:58:03 softhsm2-util: OSToken.cpp(600): Token integrity check failed Slot 0 has a free/uninitialized token. The token has been initialized and is reassigned to slot 1870194262 + export PKCS11_MODULE=/usr/lib64/libsofthsm2.so + PKCS11_MODULE=/usr/lib64/libsofthsm2.so + export PKCS11_TOKEN_LABEL=TEST + PKCS11_TOKEN_LABEL=TEST + export PKCS11_TOKEN_PIN=1234 + PKCS11_TOKEN_PIN=1234 + export PKCS11_TOKEN_SO_PIN=5678 + PKCS11_TOKEN_SO_PIN=5678 + export PYTHONPATH=/usr/src/tmp/python3-module-pkcs11-buildroot//usr/lib64/python3/site-packages + PYTHONPATH=/usr/src/tmp/python3-module-pkcs11-buildroot//usr/lib64/python3/site-packages + py.test-3 -v --import-mode=append ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0 collecting ... collected 70 items tests/test_aes.py::AESTests::test_encrypt <11>May 28 03:58:03 python3: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/python_pkcs11.egg-info/token.object <11>May 28 03:58:03 python3: ObjectStore.cpp(74): Failed to open token python_pkcs11.egg-info <11>May 28 03:58:03 python3: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/build/token.object <11>May 28 03:58:03 python3: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 python3: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/tools/token.object <11>May 28 03:58:03 python3: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 python3: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/tests/token.object <11>May 28 03:58:03 python3: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 python3: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/pkcs11/token.object <11>May 28 03:58:03 python3: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 python3: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/extern/token.object <11>May 28 03:58:03 python3: OSToken.cpp(600): Token integrity check failed <11>May 28 03:58:03 python3: File.cpp(94): Could not open the file (No such file or directory): /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/docs/token.object <11>May 28 03:58:03 python3: OSToken.cpp(600): Token integrity check failed PASSED [ 1%] tests/test_aes.py::AESTests::test_encrypt_big_string PASSED [ 2%] tests/test_aes.py::AESTests::test_encrypt_stream PASSED [ 4%] tests/test_aes.py::AESTests::test_encrypt_whacky_sizes PASSED [ 5%] tests/test_aes.py::AESTests::test_sign SKIPPED (Requires 4227) [ 7%] tests/test_aes.py::AESTests::test_sign_stream SKIPPED (Requires 4227) [ 8%] tests/test_aes.py::AESTests::test_wrap PASSED [ 10%] tests/test_des.py::DESTests::test_encrypt_des2 PASSED [ 11%] tests/test_des.py::DESTests::test_encrypt_des3 PASSED [ 12%] tests/test_des.py::DESTests::test_generate_des2_key PASSED [ 14%] tests/test_des.py::DESTests::test_generate_des3_key PASSED [ 15%] tests/test_dh.py::DHTests::test_derive_key PASSED [ 17%] tests/test_dh.py::DHTests::test_generate_params PASSED [ 18%] tests/test_dh.py::DHTests::test_load_params PASSED [ 20%] tests/test_digest.py::DigestTests::test_digest PASSED [ 21%] tests/test_digest.py::DigestTests::test_digest_generator PASSED [ 22%] tests/test_digest.py::DigestTests::test_digest_key PASSED [ 24%] tests/test_digest.py::DigestTests::test_digest_key_data PASSED [ 25%] tests/test_dsa.py::DSATests::test_generate_keypair_and_sign PASSED [ 27%] tests/test_dsa.py::DSATests::test_generate_keypair_directly PASSED [ 28%] tests/test_dsa.py::DSATests::test_generate_params PASSED [ 30%] tests/test_ecc.py::ECCTests::test_derive_key PASSED [ 31%] tests/test_ecc.py::ECCTests::test_import_key_named_curve SKIPPED (Re...) [ 32%] tests/test_ecc.py::ECCTests::test_import_key_pair PASSED [ 34%] tests/test_ecc.py::ECCTests::test_import_key_params PASSED [ 35%] tests/test_ecc.py::ECCTests::test_sign_ecdsa PASSED [ 37%] tests/test_ecc.py::ECCTests::test_sign_eddsa <11>May 28 03:58:03 python3: OSSLECDSA.cpp(304): ECDSA key generation failed (0x08000081) XFAIL [ 38%] tests/test_iterators.py::IteratorTests::test_close_iterators XFAIL [ 40%] tests/test_iterators.py::IteratorTests::test_partial_decrypt PASSED [ 41%] tests/test_public_key_external.py::ExternalPublicKeyTests::test_ecdh PASSED [ 42%] tests/test_public_key_external.py::ExternalPublicKeyTests::test_ecdsa SKIPPED [ 44%] tests/test_public_key_external.py::ExternalPublicKeyTests::test_rsa PASSED [ 45%] tests/test_public_key_external.py::ExternalPublicKeyTests::test_terrible_hybrid_file_encryption_app PASSED [ 47%] tests/test_rsa.py::RSATests::test_encrypt_oaep PASSED [ 48%] tests/test_rsa.py::RSATests::test_encrypt_too_much_data <11>May 28 03:58:03 python3: OSSLRSA.cpp(1244): Too much data supplied for RSA OAEP encryption PASSED [ 50%] tests/test_rsa.py::RSATests::test_key_wrap PASSED [ 51%] tests/test_rsa.py::RSATests::test_sign_default <11>May 28 03:58:04 python3: SoftHSM.cpp(5480): The size of the signature differs from the size of the mechanism PASSED [ 52%] tests/test_rsa.py::RSATests::test_sign_pkcs_v15 <11>May 28 03:58:04 python3: SoftHSM.cpp(5480): The size of the signature differs from the size of the mechanism PASSED [ 54%] tests/test_rsa.py::RSATests::test_sign_pss PASSED [ 55%] tests/test_rsa.py::RSATests::test_sign_stream PASSED [ 57%] tests/test_sessions.py::SessionTests::test_copy_object PASSED [ 58%] tests/test_sessions.py::SessionTests::test_create_object PASSED [ 60%] tests/test_sessions.py::SessionTests::test_destroy_object PASSED [ 61%] tests/test_sessions.py::SessionTests::test_generate_key PASSED [ 62%] tests/test_sessions.py::SessionTests::test_generate_keypair PASSED [ 64%] tests/test_sessions.py::SessionTests::test_generate_random PASSED [ 65%] tests/test_sessions.py::SessionTests::test_get_key PASSED [ 67%] tests/test_sessions.py::SessionTests::test_get_key_not_found PASSED [ 68%] tests/test_sessions.py::SessionTests::test_get_key_vague PASSED [ 70%] tests/test_sessions.py::SessionTests::test_get_objects PASSED [ 71%] tests/test_sessions.py::SessionTests::test_open_session PASSED [ 72%] tests/test_sessions.py::SessionTests::test_open_session_and_login_so PASSED [ 74%] tests/test_sessions.py::SessionTests::test_open_session_and_login_user PASSED [ 75%] tests/test_sessions.py::SessionTests::test_seed_random PASSED [ 77%] tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_double_initialise PASSED [ 78%] tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_double_initialise_different_libs PASSED [ 80%] tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_mechanism_info PASSED [ 81%] tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_mechanism_info_ec PASSED [ 82%] tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_mechanisms PASSED [ 84%] tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_slots PASSED [ 85%] tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_token PASSED [ 87%] tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_tokens PASSED [ 88%] tests/test_threading.py::ThreadingTests::test_concurrency PASSED [ 90%] tests/test_x509.py::X509Tests::test_import_ca_certificate PASSED [ 91%] tests/test_x509.py::X509Tests::test_import_ca_certificate_easy PASSED [ 92%] tests/test_x509.py::X509Tests::test_self_sign_certificate XFAIL [ 94%] tests/test_x509.py::X509Tests::test_sign_csr PASSED [ 95%] tests/test_x509.py::X509Tests::test_verify_certificate_dsa PASSED [ 97%] tests/test_x509.py::X509Tests::test_verify_certificate_ecdsa SKIPPED [ 98%] tests/test_x509.py::X509Tests::test_verify_certificate_rsa PASSED [100%] =============================== warnings summary =============================== tests/test_public_key_external.py::ExternalPublicKeyTests::test_ecdh /usr/src/RPM/BUILD/python3-module-pkcs11-0.7.0/tests/test_public_key_external.py:82: CryptographyDeprecationWarning: Curve argument must be an instance of an EllipticCurve class. Did you pass a class by mistake? This will be an exception in a future version of cryptography. bob_priv = ec.generate_private_key(ec.SECP256R1, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============= 62 passed, 5 skipped, 3 xfailed, 1 warning in 0.81s ============== + exit 0 Processing files: python3-module-pkcs11-0.7.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.27851 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-pkcs11-0.7.0 + DOCDIR=/usr/src/tmp/python3-module-pkcs11-buildroot/usr/share/doc/python3-module-pkcs11-0.7.0 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-pkcs11-buildroot/usr/share/doc/python3-module-pkcs11-0.7.0 + /usr/bin/mkdir -p /usr/src/tmp/python3-module-pkcs11-buildroot/usr/share/doc/python3-module-pkcs11-0.7.0 + cp -prL README.rst /usr/src/tmp/python3-module-pkcs11-buildroot/usr/share/doc/python3-module-pkcs11-0.7.0 + chmod -R go-w /usr/src/tmp/python3-module-pkcs11-buildroot/usr/share/doc/python3-module-pkcs11-0.7.0 + chmod -R a+rX /usr/src/tmp/python3-module-pkcs11-buildroot/usr/share/doc/python3-module-pkcs11-0.7.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.F4nJrg find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XGy22t find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) py3prov: detected potential module:pkcs11 py3prov: detected potential module:pkcs11 py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__init__.py: "pkcs11.constants" lines:[5] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__init__.py: "pkcs11.exceptions" lines:[6] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__init__.py: "pkcs11.mechanisms" lines:[7] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__init__.py: "pkcs11.types" lines:[8] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/__init__.py: "pkcs11" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/constants.py: "enum" lines:[[9]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/constants.py: "aenum" lines:[[[11]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/defaults.py: "pkcs11.constants" lines:[11] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/defaults.py: "pkcs11.mechanisms" lines:[17] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/types.py: "pkcs11.constants" lines:[12] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/types.py: "pkcs11.mechanisms" lines:[20] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/types.py: "pkcs11.exceptions" lines:[21] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dh.py: "pkcs11.util" lines:[8] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dh.py: "pkcs11.constants" lines:[9] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dh.py: "pkcs11.exceptions" lines:[10] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dsa.py: "pkcs11.util" lines:[9] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/dsa.py: "pkcs11.constants" lines:[10] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/ec.py: "pkcs11.constants" lines:[14] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/ec.py: "pkcs11.mechanisms" lines:[15] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/rsa.py: "pkcs11.util" lines:[7] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/rsa.py: "pkcs11.constants" lines:[8] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/rsa.py: "pkcs11.mechanisms" lines:[9] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/rsa.py: "pkcs11.defaults" lines:[10] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/x509.py: "pkcs11.constants" lines:[7] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/x509.py: "pkcs11.mechanisms" lines:[8] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/x509.py: "pkcs11.util.rsa" lines:[[[41]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib64/python3/site-packages/pkcs11/util/x509.py: "pkcs11.util.dsa" lines:[[[[44]]]]: Ignore for REQ:slight Provides: python3(pkcs11), python3(pkcs11._pkcs11), python3(pkcs11.constants), python3(pkcs11.defaults), python3(pkcs11.exceptions), python3(pkcs11.mechanisms), python3(pkcs11.types), python3(pkcs11.util), python3(pkcs11.util.dh), python3(pkcs11.util.dsa), python3(pkcs11.util.ec), python3(pkcs11.util.rsa), python3(pkcs11.util.x509) Requires: /usr/lib64/python3/site-packages, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.4)(64bit), python3(asn1crypto.algos) < 0, python3(asn1crypto.core) < 0, python3(asn1crypto.keys) < 0, python3(asn1crypto.x509) < 0, python3(binascii) < 0, python3(cached_property) < 0, python3(datetime) < 0, python3(enum) < 0, python3(struct) < 0, python3(threading) < 0, python3.12-ABI(64bit), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.U44EVt Creating python3-module-pkcs11-debuginfo package Processing files: python3-module-pkcs11-debuginfo-0.7.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ekwOvI find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZVhGMB find-requires: running scripts (debuginfo) Requires: python3-module-pkcs11 = 0.7.0-alt1, debug64(libc.so.6) Adding to python3-module-pkcs11-debuginfo a strict dependency on python3-module-pkcs11 Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-pkcs11-0.7.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-pkcs11-debuginfo-0.7.0-alt1.x86_64.rpm (w2.lzdio) 41.19user 3.56system 0:33.52elapsed 133%CPU (0avgtext+0avgdata 376748maxresident)k 0inputs+0outputs (0major+765225minor)pagefaults 0swaps 4.15user 2.89system 0:48.81elapsed 14%CPU (0avgtext+0avgdata 132216maxresident)k 1896inputs+0outputs (0major+297608minor)pagefaults 0swaps --- python3-module-pkcs11-0.7.0-alt1.x86_64.rpm.repo 2024-01-07 17:22:52.000000000 +0000 +++ python3-module-pkcs11-0.7.0-alt1.x86_64.rpm.hasher 2024-05-28 03:58:12.046614928 +0000 @@ -116,3 +116,3 @@ File: /usr/lib64/python3/site-packages/pkcs11/__pycache__/types.cpython-312.pyc 100644 root:root dd508f2630eb2792f76608eb39c48f32 -File: /usr/lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so 100644 root:root b56a397522bb7a2b53dbec65042c5783 +File: /usr/lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so 100644 root:root a2f619f6e708b3bc24393c855dfdd930 File: /usr/lib64/python3/site-packages/pkcs11/_pkcs11.pyx 100644 root:root 1a642ef7333e4c10ad89713dffa69bfb @@ -157,2 +157,2 @@ File: /usr/share/doc/python3-module-pkcs11-0.7.0/README.rst 100644 root:root df6f14075d55ba45e79c7568190bfd4b -RPMIdentity: e0fd7bdc4a90fd816e3cffb6d137f2adabca14c22c5f614f3029cfe88a82b1916f670a1ea87a6f4433e1625fc239d07bc952616e93af7263a26a82b419e95c3a +RPMIdentity: 58d4167b4e0e6ab433e053e8ac38308152ef6c42f5d979bb573f0e6b3a52759c9e2b7050177ba84fbd033c0aef3750348ca2d39383d2f6e2020c7c5fcca8178e --- python3-module-pkcs11-debuginfo-0.7.0-alt1.x86_64.rpm.repo 2024-01-07 17:22:52.000000000 +0000 +++ python3-module-pkcs11-debuginfo-0.7.0-alt1.x86_64.rpm.hasher 2024-05-28 03:58:12.632624738 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/9e 40755 root:root -/usr/lib/debug/.build-id/9e/41a2673b0d220ce03f9223e3a025dc0c0e1334 120777 root:root ../../../../lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so -/usr/lib/debug/.build-id/9e/41a2673b0d220ce03f9223e3a025dc0c0e1334.debug 120777 root:root ../../usr/lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug +/usr/lib/debug/.build-id/aa 40755 root:root +/usr/lib/debug/.build-id/aa/c0d795fd45f8a4a451ebb9a3bf7d4c74b37187 120777 root:root ../../../../lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so +/usr/lib/debug/.build-id/aa/c0d795fd45f8a4a451ebb9a3bf7d4c74b37187.debug 120777 root:root ../../usr/lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug /usr/lib/debug/usr/lib64/python3 40755 root:root @@ -18,5 +18,5 @@ Provides: python3-module-pkcs11-debuginfo = 0.7.0-alt1:sisyphus+333513.51400.73.1 -File: /usr/lib/debug/.build-id/9e 40755 root:root -File: /usr/lib/debug/.build-id/9e/41a2673b0d220ce03f9223e3a025dc0c0e1334 120777 root:root ../../../../lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so -File: /usr/lib/debug/.build-id/9e/41a2673b0d220ce03f9223e3a025dc0c0e1334.debug 120777 root:root ../../usr/lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug +File: /usr/lib/debug/.build-id/aa 40755 root:root +File: /usr/lib/debug/.build-id/aa/c0d795fd45f8a4a451ebb9a3bf7d4c74b37187 120777 root:root ../../../../lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so +File: /usr/lib/debug/.build-id/aa/c0d795fd45f8a4a451ebb9a3bf7d4c74b37187.debug 120777 root:root ../../usr/lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug File: /usr/lib/debug/usr/lib64/python3 40755 root:root @@ -24,3 +24,3 @@ File: /usr/lib/debug/usr/lib64/python3/site-packages/pkcs11 40755 root:root -File: /usr/lib/debug/usr/lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug 100644 root:root 93955deaa1c3edad6de4097e7686e4da +File: /usr/lib/debug/usr/lib64/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug 100644 root:root d50a21d5b1e0c0318b5459ee82ef0f96 File: /usr/src/debug/python3-module-pkcs11-0.7.0 40755 root:root @@ -32,2 +32,2 @@ File: /usr/src/debug/python3-module-pkcs11-0.7.0/pkcs11/_pkcs11.c 100644 root:root b547c5cd7cea8001665aff819815dd19 -RPMIdentity: d7a90256616d3e219414b1b4d9f6f1c3e06a8c2d44e5333870f10f5e3c83222c950505022cd4253aaeb861bf1f1b53eec3c27be33285c59b494ca0bf65092a4a +RPMIdentity: 22fdc1cc22020925c2c6b5b00456c6e448ee0b7918c6bdd25aff1f02c3e719767fb4f3465ec763e7ac1dd21ce827a8cf7895144d47a7f5d4081c34e66097871a