<86>Jun 8 08:20:15 userdel[1875053]: delete user 'rooter' <86>Jun 8 08:20:15 userdel[1875053]: removed group 'rooter' owned by 'rooter' <86>Jun 8 08:20:15 userdel[1875053]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 8 08:20:15 groupadd[1875117]: group added to /etc/group: name=rooter, GID=1868 <86>Jun 8 08:20:15 groupadd[1875117]: group added to /etc/gshadow: name=rooter <86>Jun 8 08:20:15 groupadd[1875117]: new group: name=rooter, GID=1868 <86>Jun 8 08:20:15 useradd[1875188]: new user: name=rooter, UID=1868, GID=1868, home=/root, shell=/bin/bash, from=none <86>Jun 8 08:20:15 userdel[1875246]: delete user 'builder' <86>Jun 8 08:20:15 userdel[1875246]: removed group 'builder' owned by 'builder' <86>Jun 8 08:20:15 userdel[1875246]: removed shadow group 'builder' owned by 'builder' <86>Jun 8 08:20:15 groupadd[1875305]: group added to /etc/group: name=builder, GID=1869 <86>Jun 8 08:20:15 groupadd[1875305]: group added to /etc/gshadow: name=builder <86>Jun 8 08:20:15 groupadd[1875305]: new group: name=builder, GID=1869 <86>Jun 8 08:20:15 useradd[1875359]: new user: name=builder, UID=1869, GID=1869, home=/usr/src, shell=/bin/bash, from=none <13>Jun 8 08:20:19 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Jun 8 08:20:19 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Jun 8 08:20:19 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Jun 8 08:20:19 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Jun 8 08:20:19 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Jun 8 08:20:19 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Jun 8 08:20:19 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 8 08:20:19 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 8 08:20:19 rpmi: ca-certificates-2024.02.24-alt1 sisyphus+341362.100.1.1 1708791001 installed <13>Jun 8 08:20:19 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Jun 8 08:20:19 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Jun 8 08:20:19 rpmi: libcrypto3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605920 installed <13>Jun 8 08:20:19 rpmi: libssl3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605920 installed <13>Jun 8 08:20:19 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Jun 8 08:20:20 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Jun 8 08:20:20 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Jun 8 08:20:20 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Jun 8 08:20:20 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>Jun 8 08:20:22 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718975 installed <13>Jun 8 08:20:22 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Jun 8 08:20:22 rpmi: python3-module-packaging-24.0-alt1 sisyphus+342487.100.2.1 1710407438 installed <13>Jun 8 08:20:22 rpmi: libsqlite3-3.44.2-alt1 sisyphus+335409.100.3.3 1701347861 installed <13>Jun 8 08:20:22 rpmi: python3-modules-sqlite3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Jun 8 08:20:22 rpmi: python3-module-coverage-7.3.2-alt1 sisyphus+340977.100.1.1 1708279274 installed <13>Jun 8 08:20:22 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Jun 8 08:20:22 rpmi: libgnutls30-3.8.4-alt1 sisyphus+343729.100.2.1 1711570650 installed <13>Jun 8 08:20:22 rpmi: libngtcp2.16-1.5.0-alt1 sisyphus+347555.200.1.1 1716185833 installed <13>Jun 8 08:20:22 rpmi: libngtcp2_crypto_gnutls8-1.5.0-alt1 sisyphus+347555.200.1.1 1716185833 installed <13>Jun 8 08:20:22 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Jun 8 08:20:22 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Jun 8 08:20:22 rpmi: python3-module-asn1crypto-1.5.1-alt1 sisyphus+297473.100.1.1 1648574689 installed <13>Jun 8 08:20:22 rpmi: python3-module-zombie-imp-0.0.2-alt1 sisyphus+339293.100.1.1 1706537230 installed <13>Jun 8 08:20:22 rpmi: python3-module-pkg_resources-1:70.0.0-alt1 sisyphus+349080.100.2.1 1716802752 installed <13>Jun 8 08:20:22 rpmi: python3-module-pycparser-2.21-alt1.1 sisyphus+309935.7300.4.1 1668527005 installed <13>Jun 8 08:20:22 rpmi: python3-module-cffi-1.16.0-alt1 sisyphus+333513.10400.71.1 1704540321 installed <13>Jun 8 08:20:23 rpmi: mercurial-6.5.2-alt1 sisyphus+333513.46600.73.1 1704642737 installed <13>Jun 8 08:20:23 rpmi: libsofthsm-2.6.1-alt3 sisyphus+343950.100.1.1 1711730440 installed <13>Jun 8 08:20:23 rpmi: libpython3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Jun 8 08:20:23 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Jun 8 08:20:23 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Jun 8 08:20:23 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Jun 8 08:20:24 rpmi: python3-dev-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Jun 8 08:20:24 rpmi: python3-module-setuptools-1:70.0.0-alt1 sisyphus+349080.100.2.1 1716802752 installed <13>Jun 8 08:20:24 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593140 installed <13>Jun 8 08:20:24 rpmi: publicsuffix-list-dafsa-20240415-alt1 sisyphus+345249.100.1.1 1713270235 installed <13>Jun 8 08:20:24 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684771 installed <13>Jun 8 08:20:24 rpmi: libnghttp3.9-1.3.0-alt1 sisyphus+347555.300.1.1 1716185876 installed <13>Jun 8 08:20:24 rpmi: libnghttp2-1.62.1-alt1 sisyphus+347555.100.1.1 1716185764 installed <13>Jun 8 08:20:24 rpmi: openldap-common-2.6.7-alt2 sisyphus+347731.100.1.1 1715194911 installed <13>Jun 8 08:20:24 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Jun 8 08:20:24 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Jun 8 08:20:24 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Jun 8 08:20:24 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Jun 8 08:20:24 rpmi: libxxhash-0.8.2-alt1 sisyphus+336514.200.7.1 1702672120 installed <13>Jun 8 08:20:24 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Jun 8 08:20:24 rpmi: rsync-3.2.7-alt1 sisyphus+325006.2000.1.1 1689498390 installed <13>Jun 8 08:20:24 rpmi: openssh-common-9.6p1-alt1 sisyphus+338324.200.2.1 1706093727 installed <13>Jun 8 08:20:24 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Jun 8 08:20:24 rpmi: liblmdb-0.9.32-alt1 sisyphus+342426.100.1.1 1710124284 installed <13>Jun 8 08:20:24 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Jun 8 08:20:24 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <86>Jun 8 08:20:24 groupadd[1924148]: group added to /etc/group: name=_keytab, GID=999 <86>Jun 8 08:20:24 groupadd[1924148]: group added to /etc/gshadow: name=_keytab <86>Jun 8 08:20:24 groupadd[1924148]: new group: name=_keytab, GID=999 <13>Jun 8 08:20:24 rpmi: libkrb5-1.21.2-alt2 sisyphus+338902.100.2.1 1706700985 installed <13>Jun 8 08:20:24 rpmi: libgsasl-2.2.0-alt1 sisyphus+333173.100.1.1 1698696961 installed <86>Jun 8 08:20:24 groupadd[1924435]: group added to /etc/group: name=sasl, GID=998 <86>Jun 8 08:20:24 groupadd[1924435]: group added to /etc/gshadow: name=sasl <86>Jun 8 08:20:24 groupadd[1924435]: new group: name=sasl, GID=998 <13>Jun 8 08:20:24 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112524 installed <13>Jun 8 08:20:24 rpmi: libldap2-2.6.7-alt2 sisyphus+347731.100.1.1 1715194925 installed <13>Jun 8 08:20:24 rpmi: libcurl-8.7.1-alt2 sisyphus+345773.100.1.1 1713974756 installed <13>Jun 8 08:20:24 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922745 installed <86>Jun 8 08:20:25 groupadd[1924784]: group added to /etc/group: name=sshagent, GID=997 <86>Jun 8 08:20:25 groupadd[1924784]: group added to /etc/gshadow: name=sshagent <86>Jun 8 08:20:25 groupadd[1924784]: new group: name=sshagent, GID=997 <13>Jun 8 08:20:25 rpmi: openssh-clients-9.6p1-alt1 sisyphus+338324.200.2.1 1706093727 installed <13>Jun 8 08:20:25 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>Jun 8 08:20:25 rpmi: diffstat-1.64-alt1 sisyphus+346132.200.3.2 1716466240 installed <13>Jun 8 08:20:25 rpmi: git-core-2.42.2-alt1 sisyphus+348068.100.1.1 1715721643 installed <13>Jun 8 08:20:25 rpmi: python3-module-setuptools_scm-8.1.0-alt1 sisyphus+347617.100.2.1 1715079551 installed <13>Jun 8 08:20:25 rpmi: python3-module-Cython-3.0.7-alt1 sisyphus+333513.11404.71.1 1704540844 installed <86>Jun 8 08:20:25 groupadd[1927229]: group added to /etc/group: name=ods, GID=996 <86>Jun 8 08:20:25 groupadd[1927229]: group added to /etc/gshadow: name=ods <86>Jun 8 08:20:25 groupadd[1927229]: new group: name=ods, GID=996 <86>Jun 8 08:20:25 useradd[1927284]: new user: name=ods, UID=999, GID=996, home=/var/lib/softhsm, shell=/sbin/nologin, from=none <13>Jun 8 08:20:25 rpmi: softhsm-2.6.1-alt3 sisyphus+343950.100.1.1 1711730440 installed <13>Jun 8 08:20:25 rpmi: python3-module-cryptography-42.0.5-alt1 sisyphus+341498.100.1.1 1709027854 installed <13>Jun 8 08:20:25 rpmi: python3-module-oscrypto-1.3.0-alt1.1 sisyphus+339401.1100.2.1 1706623614 installed <13>Jun 8 08:20:25 rpmi: python3-module-pytest-8.2.2-alt1 sisyphus+350387.100.2.1 1717665127 installed <13>Jun 8 08:20:25 rpmi: python3-module-cached-property-1.5.2-alt1 sisyphus+275903.100.2.1 1624873020 installed <13>Jun 8 08:20:25 rpmi: openssl-3.1.6-alt1 sisyphus+350419.100.1.1 1717605920 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: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.78443 + umask 022 + /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): + /usr/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.78443 + umask 022 + /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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build /usr/lib/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-i686-cpython-312 creating build/lib.linux-i686-cpython-312/pkcs11 copying pkcs11/types.py -> build/lib.linux-i686-cpython-312/pkcs11 copying pkcs11/mechanisms.py -> build/lib.linux-i686-cpython-312/pkcs11 copying pkcs11/exceptions.py -> build/lib.linux-i686-cpython-312/pkcs11 copying pkcs11/defaults.py -> build/lib.linux-i686-cpython-312/pkcs11 copying pkcs11/constants.py -> build/lib.linux-i686-cpython-312/pkcs11 copying pkcs11/__init__.py -> build/lib.linux-i686-cpython-312/pkcs11 creating build/lib.linux-i686-cpython-312/pkcs11/util copying pkcs11/util/x509.py -> build/lib.linux-i686-cpython-312/pkcs11/util copying pkcs11/util/rsa.py -> build/lib.linux-i686-cpython-312/pkcs11/util copying pkcs11/util/ec.py -> build/lib.linux-i686-cpython-312/pkcs11/util copying pkcs11/util/dsa.py -> build/lib.linux-i686-cpython-312/pkcs11/util copying pkcs11/util/dh.py -> build/lib.linux-i686-cpython-312/pkcs11/util copying pkcs11/util/__init__.py -> build/lib.linux-i686-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-i686-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-i686-cpython-312 creating build/temp.linux-i686-cpython-312/pkcs11 i586-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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -I/usr/include/python3.12 -c pkcs11/_pkcs11.c -o build/temp.linux-i686-cpython-312/pkcs11/_pkcs11.o i586-alt-linux-gcc -shared -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic build/temp.linux-i686-cpython-312/pkcs11/_pkcs11.o -L/usr/lib -o build/lib.linux-i686-cpython-312/pkcs11/_pkcs11.cpython-312.so + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.94459 + umask 022 + /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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-pkcs11-buildroot --force /usr/lib/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/lib/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/lib creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11 copying build/lib.linux-i686-cpython-312/pkcs11/_pkcs11.cpython-312.so -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11 copying build/lib.linux-i686-cpython-312/pkcs11/_pkcs11.pyx -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11 creating /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util copying build/lib.linux-i686-cpython-312/pkcs11/util/__init__.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util copying build/lib.linux-i686-cpython-312/pkcs11/util/dh.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util copying build/lib.linux-i686-cpython-312/pkcs11/util/dsa.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util copying build/lib.linux-i686-cpython-312/pkcs11/util/ec.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util copying build/lib.linux-i686-cpython-312/pkcs11/util/rsa.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util copying build/lib.linux-i686-cpython-312/pkcs11/util/x509.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util copying build/lib.linux-i686-cpython-312/pkcs11/__init__.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11 copying build/lib.linux-i686-cpython-312/pkcs11/constants.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11 copying build/lib.linux-i686-cpython-312/pkcs11/defaults.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11 copying build/lib.linux-i686-cpython-312/pkcs11/exceptions.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11 copying build/lib.linux-i686-cpython-312/pkcs11/mechanisms.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11 copying build/lib.linux-i686-cpython-312/pkcs11/types.py -> /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11 byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/__init__.py to __init__.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/dh.py to dh.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/dsa.py to dsa.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/ec.py to ec.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/rsa.py to rsa.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/x509.py to x509.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__init__.py to __init__.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/constants.py to constants.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/defaults.py to defaults.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/exceptions.py to exceptions.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/mechanisms.py to mechanisms.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/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/lib/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/lib/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/lib: (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 unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__pycache__/__init__.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__pycache__/constants.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__pycache__/defaults.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__pycache__/exceptions.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__pycache__/mechanisms.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__pycache__/types.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/__pycache__/__init__.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/__pycache__/dh.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/__pycache__/dsa.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/__pycache__/ec.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/__pycache__/rsa.cpython-312.pyc unlink /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/__pycache__/x509.cpython-312.pyc compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/dh.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/dsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/ec.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/rsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/x509.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/constants.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/defaults.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/exceptions.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/mechanisms.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/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/lib/python3/site-packages/pkcs11/util/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/dh.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/dsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/ec.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/rsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/x509.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/constants.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/defaults.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/exceptions.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/mechanisms.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/types.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-pkcs11-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/dh.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/dsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/ec.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/rsa.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/util/x509.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/__init__.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/constants.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/defaults.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/exceptions.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/mechanisms.py compile /usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/types.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pkcs11/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/__pycache__/constants.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/__pycache__/constants.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/__pycache__/defaults.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/__pycache__/defaults.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/__pycache__/exceptions.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/__pycache__/exceptions.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/__pycache__/mechanisms.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/__pycache__/mechanisms.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/__pycache__/types.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/__pycache__/types.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/util/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/util/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/util/__pycache__/dh.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/util/__pycache__/dh.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/util/__pycache__/dsa.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/util/__pycache__/dsa.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/util/__pycache__/rsa.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/util/__pycache__/rsa.cpython-312.pyc' './usr/lib/python3/site-packages/pkcs11/util/__pycache__/x509.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pkcs11/util/__pycache__/x509.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.25228 + umask 022 + /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>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 softhsm2-util: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 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 440771740 + export PKCS11_MODULE=/usr/lib/libsofthsm2.so + PKCS11_MODULE=/usr/lib/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/lib/python3/site-packages + PYTHONPATH=/usr/src/tmp/python3-module-pkcs11-buildroot//usr/lib/python3/site-packages + py.test-3 -v --import-mode=append ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.2.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>Jun 8 08:20:59 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>Jun 8 08:20:59 python3: ObjectStore.cpp(74): Failed to open token python_pkcs11.egg-info <11>Jun 8 08:20:59 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>Jun 8 08:20:59 python3: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 python3: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 python3: ObjectStore.cpp(74): Failed to open token tools <11>Jun 8 08:20:59 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>Jun 8 08:20:59 python3: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 python3: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 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>Jun 8 08:20:59 python3: OSToken.cpp(600): Token integrity check failed <11>Jun 8 08:20:59 python3: ObjectStore.cpp(74): Failed to open token extern <11>Jun 8 08:20:59 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>Jun 8 08:20:59 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>Jun 8 08:21:00 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>Jun 8 08:21:00 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>Jun 8 08:21:00 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>Jun 8 08:21:00 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 2.15s ============== + exit 0 Processing files: python3-module-pkcs11-0.7.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.87303 + umask 022 + /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 + /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.iPUj5H 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.SrxDZE 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/lib/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/lib/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/lib/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/lib/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/lib/python3/site-packages/pkcs11/__init__.py: "pkcs11" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/constants.py: "enum" lines:[[9]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/python3/site-packages/pkcs11/constants.py: "aenum" lines:[[[11]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-pkcs11-buildroot/usr/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/python3/site-packages, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), 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, rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.04Tjkb 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.GgamJh find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OJ09Y1 find-requires: running scripts (debuginfo) Requires: python3-module-pkcs11 = 0.7.0-alt1, debug(libc.so.6) Adding to python3-module-pkcs11-debuginfo a strict dependency on python3-module-pkcs11 Wrote: /usr/src/RPM/RPMS/i586/python3-module-pkcs11-0.7.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/python3-module-pkcs11-debuginfo-0.7.0-alt1.i586.rpm (w2.lzdio) 50.01user 3.51system 0:39.96elapsed 133%CPU (0avgtext+0avgdata 336048maxresident)k 0inputs+0outputs (0major+790531minor)pagefaults 0swaps 4.18user 3.29system 0:56.87elapsed 13%CPU (0avgtext+0avgdata 127844maxresident)k 696inputs+0outputs (0major+315078minor)pagefaults 0swaps --- python3-module-pkcs11-0.7.0-alt1.i586.rpm.repo 2024-01-07 16:42:14.000000000 +0000 +++ python3-module-pkcs11-0.7.0-alt1.i586.rpm.hasher 2024-06-08 08:21:08.971842152 +0000 @@ -116,3 +116,3 @@ File: /usr/lib/python3/site-packages/pkcs11/__pycache__/types.cpython-312.pyc 100644 root:root a8c74b9b714c07fb7bef388c6dc41693 -File: /usr/lib/python3/site-packages/pkcs11/_pkcs11.cpython-312.so 100644 root:root 3058f99e276f9b65a7cfaabe3059cf5d +File: /usr/lib/python3/site-packages/pkcs11/_pkcs11.cpython-312.so 100644 root:root fe14c55039e0007f91e2c52f694560e3 File: /usr/lib/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: 8207e92a6f8fae22bb406e9eaacef4b426f56dd59176a064e36658f0d36fcca88144c9976d2f194b4b3f820d10c5c6649ad0bc393225f1e41f51517742aacac7 +RPMIdentity: feebc7559868d77a7292e32e2005bf4e03c3febe68469c9e23b07497d967bc585e69cbb3301afe7496c65d96df54fee38fa52a92b23bdebf695e2f4855cef997 --- python3-module-pkcs11-debuginfo-0.7.0-alt1.i586.rpm.repo 2024-01-07 16:42:14.000000000 +0000 +++ python3-module-pkcs11-debuginfo-0.7.0-alt1.i586.rpm.hasher 2024-06-08 08:21:09.063844045 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/1a 40755 root:root -/usr/lib/debug/.build-id/1a/772bc287c9761790fc2b3434a338030b9a7e8a 120777 root:root ../../../python3/site-packages/pkcs11/_pkcs11.cpython-312.so -/usr/lib/debug/.build-id/1a/772bc287c9761790fc2b3434a338030b9a7e8a.debug 120777 root:root ../../usr/lib/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug +/usr/lib/debug/.build-id/5d 40755 root:root +/usr/lib/debug/.build-id/5d/c918e6a3bca3f0fc9ad0cea5b178b7b0a67584 120777 root:root ../../../python3/site-packages/pkcs11/_pkcs11.cpython-312.so +/usr/lib/debug/.build-id/5d/c918e6a3bca3f0fc9ad0cea5b178b7b0a67584.debug 120777 root:root ../../usr/lib/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug /usr/lib/debug/usr/lib/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/1a 40755 root:root -File: /usr/lib/debug/.build-id/1a/772bc287c9761790fc2b3434a338030b9a7e8a 120777 root:root ../../../python3/site-packages/pkcs11/_pkcs11.cpython-312.so -File: /usr/lib/debug/.build-id/1a/772bc287c9761790fc2b3434a338030b9a7e8a.debug 120777 root:root ../../usr/lib/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug +File: /usr/lib/debug/.build-id/5d 40755 root:root +File: /usr/lib/debug/.build-id/5d/c918e6a3bca3f0fc9ad0cea5b178b7b0a67584 120777 root:root ../../../python3/site-packages/pkcs11/_pkcs11.cpython-312.so +File: /usr/lib/debug/.build-id/5d/c918e6a3bca3f0fc9ad0cea5b178b7b0a67584.debug 120777 root:root ../../usr/lib/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug File: /usr/lib/debug/usr/lib/python3 40755 root:root @@ -24,3 +24,3 @@ File: /usr/lib/debug/usr/lib/python3/site-packages/pkcs11 40755 root:root -File: /usr/lib/debug/usr/lib/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug 100644 root:root afe67c87cc8602f6b248a639a1b76019 +File: /usr/lib/debug/usr/lib/python3/site-packages/pkcs11/_pkcs11.cpython-312.so.debug 100644 root:root fa2b13d8d89380479f081aaeea6d6ec7 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: 3f152d4d600e898ab86198c65d943d06d1a66e42ddfafbdc6cdf8870609adc823f27bd75135ecb400eef385291bc8cc5ee4e41e20b0b524c2e9335f46ab6d323 +RPMIdentity: 859dadde81b6fbbda61b8a44308de74625ed164502244816a81c0c7e388041adb8ecfd84ef9d53b5972040877988c6b1dca538749e34f0b65fb3fee5d3b813ea