--- Begin Message ---
Package: src:tpm2-pytss
Version: 2.1.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem=pybuild --with python3,sphinxdoc
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:110: Building wheel for python3.12 with "build"
module
I: pybuild base:310: python3.12 -m build --skip-dependency-check --no-isolation --wheel
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_tpm2_pytss
* Building wheel...
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:27: SyntaxWarning: invalid escape
sequence '\('
s = re.sub("#define TSS2_RC_LAYER\(level\).*", "", s)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape
sequence '\('
s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape
sequence '\g'
s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:31: SyntaxWarning: invalid escape
sequence '\*'
s = re.sub("/\*.*?\*/", "", s, flags=re.MULTILINE)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape
sequence '\('
s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape
sequence '\g'
s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape
sequence '\('
s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape
sequence '\g'
s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:37: SyntaxWarning: invalid escape
sequence '\)'
"(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:37: SyntaxWarning: invalid escape
sequence '\g'
"(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:39: SyntaxWarning: invalid escape
sequence '\g'
s = re.sub("(#define [A-Za-z0-9_]+) .*", "\g<1>...", s)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:42: SyntaxWarning: invalid escape
sequence '\['
s = re.sub("\[.+?\]", "[...]", s)
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:77: SyntaxWarning: invalid escape
sequence '\)'
"#define TPM2_MAX_TAGGED_POLICIES.*\n.*TPMS_TAGGED_POLICY\)\)",
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:262: SyntaxWarning: invalid escape
sequence '\s'
"TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", s, re.DOTALL | re.MULTILINE
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:266: SyntaxWarning: invalid escape
sequence '\s'
"TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", "", s, 1, re.DOTALL | re.MULTILINE
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:270: SyntaxWarning: invalid escape
sequence '\s'
"TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", s, re.DOTALL | re.MULTILINE
/<<PKGBUILDDIR>>/scripts/prepare_headers.py:274: SyntaxWarning: invalid escape
sequence '\s'
"TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);",
adding path: /<<PKGBUILDDIR>>/scripts
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-312
creating build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/utils.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/TCTISPIHelper.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/__init__.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/TCTI.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/TCTILdr.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/policy.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/FAPI.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/constants.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/fapi_info.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/types.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/TSS2_Exception.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/encoding.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss
copying src/tpm2_pytss/tsskey.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss
creating build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal
copying src/tpm2_pytss/internal/utils.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal
copying src/tpm2_pytss/internal/__init__.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal
copying src/tpm2_pytss/internal/templates.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal
copying src/tpm2_pytss/internal/crypto.py ->
build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal
running build_ext
generating cffi module
'build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.c'
creating build/temp.linux-x86_64-cpython-312
building 'tpm2_pytss._libtpm2_pytss' extension
creating build/temp.linux-x86_64-cpython-312/build
creating build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/tss2
-I/usr/include/tss -I/usr/include/python3.12 -c
build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.c -o
build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.o
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro
-Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time
-D_FORTIFY_SOURCE=2
build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.o
-L/usr/lib/x86_64-linux-gnu -ltss2-esys -ltss2-tctildr -ltss2-rc -ltss2-mu -ltss2-policy
-ltss2-tcti-spi-helper -o
build/lib.linux-x86_64-cpython-312/tpm2_pytss/_libtpm2_pytss.abi3.so
generated _type_map with 62 mappings in
build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/type_mapping.py and
/<<PKGBUILDDIR>>/src/tpm2_pytss/internal/type_mapping.py
generated _element_type_map with 5 mappings
generated _versions with 3 versions
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/utils.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TCTISPIHelper.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/__init__.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TCTI.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TCTILdr.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
creating build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/utils.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/__init__.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/type_mapping.py
-> build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/templates.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/crypto.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/versions.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/policy.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/FAPI.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/constants.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/fapi_info.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/types.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TSS2_Exception.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/_libtpm2_pytss.abi3.so ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/encoding.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/ESAPI.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/tsskey.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
running install_egg_info
running egg_info
creating src/tpm2_pytss.egg-info
writing src/tpm2_pytss.egg-info/PKG-INFO
writing dependency_links to src/tpm2_pytss.egg-info/dependency_links.txt
writing requirements to src/tpm2_pytss.egg-info/requires.txt
writing top-level names to src/tpm2_pytss.egg-info/top_level.txt
writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt'
reading manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'src/tpm2_pytss/version'
warning: no files found matching 'src/tpm2_pytss/config.json'
warning: no files found matching '*' under directory 'src/tpm2_pytss/swig'
warning: no files found matching '*' under directory 'tests'
warning: no files found matching '*' under directory 'examples'
warning: no previously-included files found matching
'src/tpm2_pytss/internal/type_mapping.py'
adding license file 'LICENSE'
writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt'
Copying src/tpm2_pytss.egg-info to
build/bdist.linux-x86_64/wheel/tpm2_pytss-2.1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/tpm2_pytss-2.1.0.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_tpm2_pytss/.tmp-txi12xnh/tpm2_pytss-2.1.0-cp312-cp312-linux_x86_64.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'tpm2_pytss/ESAPI.py'
adding 'tpm2_pytss/FAPI.py'
adding 'tpm2_pytss/TCTI.py'
adding 'tpm2_pytss/TCTILdr.py'
adding 'tpm2_pytss/TCTISPIHelper.py'
adding 'tpm2_pytss/TSS2_Exception.py'
adding 'tpm2_pytss/__init__.py'
adding 'tpm2_pytss/_libtpm2_pytss.abi3.so'
adding 'tpm2_pytss/constants.py'
adding 'tpm2_pytss/encoding.py'
adding 'tpm2_pytss/fapi_info.py'
adding 'tpm2_pytss/policy.py'
adding 'tpm2_pytss/tsskey.py'
adding 'tpm2_pytss/types.py'
adding 'tpm2_pytss/utils.py'
adding 'tpm2_pytss/internal/__init__.py'
adding 'tpm2_pytss/internal/crypto.py'
adding 'tpm2_pytss/internal/templates.py'
adding 'tpm2_pytss/internal/type_mapping.py'
adding 'tpm2_pytss/internal/utils.py'
adding 'tpm2_pytss/internal/versions.py'
adding 'tpm2_pytss-2.1.0.dist-info/LICENSE'
adding 'tpm2_pytss-2.1.0.dist-info/METADATA'
adding 'tpm2_pytss-2.1.0.dist-info/WHEEL'
adding 'tpm2_pytss-2.1.0.dist-info/top_level.txt'
adding 'tpm2_pytss-2.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built tpm2_pytss-2.1.0-cp312-cp312-linux_x86_64.whl
I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with
"installer" module
I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build"
module
I: pybuild base:310: python3.11 -m build --skip-dependency-check --no-isolation --wheel
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tpm2_pytss
* Building wheel...
adding path: /<<PKGBUILDDIR>>/scripts
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/utils.py -> build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/TCTISPIHelper.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/__init__.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/TCTI.py -> build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/TCTILdr.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/policy.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/FAPI.py -> build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/constants.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/fapi_info.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/types.py -> build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/TSS2_Exception.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/encoding.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-x86_64-cpython-311/tpm2_pytss
copying src/tpm2_pytss/tsskey.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss
creating build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal
copying src/tpm2_pytss/internal/utils.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal
copying src/tpm2_pytss/internal/__init__.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal
copying src/tpm2_pytss/internal/templates.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal
copying src/tpm2_pytss/internal/crypto.py ->
build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal
running build_ext
generating cffi module
'build/temp.linux-x86_64-cpython-311/tpm2_pytss._libtpm2_pytss.c'
creating build/temp.linux-x86_64-cpython-311
building 'tpm2_pytss._libtpm2_pytss' extension
creating build/temp.linux-x86_64-cpython-311/build
creating build/temp.linux-x86_64-cpython-311/build/temp.linux-x86_64-cpython-311
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/tss2
-I/usr/include/tss -I/usr/include/python3.11 -c
build/temp.linux-x86_64-cpython-311/tpm2_pytss._libtpm2_pytss.c -o
build/temp.linux-x86_64-cpython-311/build/temp.linux-x86_64-cpython-311/tpm2_pytss._libtpm2_pytss.o
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro
-Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time
-D_FORTIFY_SOURCE=2
build/temp.linux-x86_64-cpython-311/build/temp.linux-x86_64-cpython-311/tpm2_pytss._libtpm2_pytss.o
-L/usr/lib/x86_64-linux-gnu -ltss2-esys -ltss2-tctildr -ltss2-rc -ltss2-mu -ltss2-policy
-ltss2-tcti-spi-helper -o
build/lib.linux-x86_64-cpython-311/tpm2_pytss/_libtpm2_pytss.abi3.so
generated _type_map with 62 mappings in
build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal/type_mapping.py and
/<<PKGBUILDDIR>>/src/tpm2_pytss/internal/type_mapping.py
generated _element_type_map with 5 mappings
generated _versions with 3 versions
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/utils.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/TCTISPIHelper.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/__init__.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/TCTI.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/TCTILdr.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
creating build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal/utils.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal/__init__.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal/type_mapping.py
-> build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal/templates.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal/crypto.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/internal/versions.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss/internal
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/policy.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/FAPI.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/constants.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/fapi_info.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/types.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/TSS2_Exception.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/_libtpm2_pytss.abi3.so ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/encoding.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/ESAPI.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
copying build/lib.linux-x86_64-cpython-311/tpm2_pytss/tsskey.py ->
build/bdist.linux-x86_64/wheel/tpm2_pytss
running install_egg_info
running egg_info
writing src/tpm2_pytss.egg-info/PKG-INFO
writing dependency_links to src/tpm2_pytss.egg-info/dependency_links.txt
writing requirements to src/tpm2_pytss.egg-info/requires.txt
writing top-level names to src/tpm2_pytss.egg-info/top_level.txt
reading manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'src/tpm2_pytss/version'
warning: no files found matching 'src/tpm2_pytss/config.json'
warning: no files found matching '*' under directory 'src/tpm2_pytss/swig'
warning: no files found matching '*' under directory 'tests'
warning: no files found matching '*' under directory 'examples'
warning: no previously-included files found matching
'src/tpm2_pytss/internal/type_mapping.py'
adding license file 'LICENSE'
writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt'
Copying src/tpm2_pytss.egg-info to
build/bdist.linux-x86_64/wheel/tpm2_pytss-2.1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/tpm2_pytss-2.1.0.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tpm2_pytss/.tmp-wo85zour/tpm2_pytss-2.1.0-cp311-cp311-linux_x86_64.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'tpm2_pytss/ESAPI.py'
adding 'tpm2_pytss/FAPI.py'
adding 'tpm2_pytss/TCTI.py'
adding 'tpm2_pytss/TCTILdr.py'
adding 'tpm2_pytss/TCTISPIHelper.py'
adding 'tpm2_pytss/TSS2_Exception.py'
adding 'tpm2_pytss/__init__.py'
adding 'tpm2_pytss/_libtpm2_pytss.abi3.so'
adding 'tpm2_pytss/constants.py'
adding 'tpm2_pytss/encoding.py'
adding 'tpm2_pytss/fapi_info.py'
adding 'tpm2_pytss/policy.py'
adding 'tpm2_pytss/tsskey.py'
adding 'tpm2_pytss/types.py'
adding 'tpm2_pytss/utils.py'
adding 'tpm2_pytss/internal/__init__.py'
adding 'tpm2_pytss/internal/crypto.py'
adding 'tpm2_pytss/internal/templates.py'
adding 'tpm2_pytss/internal/type_mapping.py'
adding 'tpm2_pytss/internal/utils.py'
adding 'tpm2_pytss/internal/versions.py'
adding 'tpm2_pytss-2.1.0.dist-info/LICENSE'
adding 'tpm2_pytss-2.1.0.dist-info/METADATA'
adding 'tpm2_pytss-2.1.0.dist-info/WHEEL'
adding 'tpm2_pytss-2.1.0.dist-info/top_level.txt'
adding 'tpm2_pytss-2.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built tpm2_pytss-2.1.0-cp311-cp311-linux_x86_64.whl
I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:310: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_tpm2_pytss/build; python3.12 -m pytest
test
============================= test session starts ==============================
platform linux -- Python 3.12.0, pytest-7.4.3, pluggy-1.3.0
rootdir: /<<PKGBUILDDIR>>
plugins: cov-4.1.0, xdist-3.4.0, forked-1.6.0
collected 569 items
test/test_crypto.py ................................................ [ 8%]
test/test_encoding.py ......................................sss.ssssssss [ 17%]
sssss................. [ 21%]
test/test_esapi.py .ss.................................................. [ 30%]
..s....................s................................................ [ 43%]
. [ 43%]
test/test_exception.py ...... [ 44%]
test/test_fapi.py ssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 53%]
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 64%]
test/test_internal.py . [ 64%]
test/test_policy.py .............. [ 67%]
test/test_tcti.py s.s....s.....s.s... [ 70%]
test/test_tcti_spi_helper.py ...... [ 71%]
test/test_tsskey.py ............. [ 73%]
test/test_types.py ..................................................... [ 83%]
...................................................................... [ 95%]
test/test_utils.py ...............ss......... [100%]
====================== 427 passed, 142 skipped in 37.25s =======================
I: pybuild base:310: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tpm2_pytss/build; python3.11 -m pytest
test
============================= test session starts ==============================
platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
rootdir: /<<PKGBUILDDIR>>
plugins: cov-4.1.0, xdist-3.4.0, forked-1.6.0
collected 569 items
test/test_crypto.py ................................................ [ 8%]
test/test_encoding.py ......................................sss.ssssssss [ 17%]
sssss................. [ 21%]
test/test_esapi.py .ss.................................................. [ 30%]
..s....................s................................................ [ 43%]
. [ 43%]
test/test_exception.py ...... [ 44%]
test/test_fapi.py ssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 53%]
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 64%]
test/test_internal.py . [ 64%]
test/test_policy.py .............. [ 67%]
test/test_tcti.py s.s....s.....s.s... [ 70%]
test/test_tcti_spi_helper.py ...... [ 71%]
test/test_tsskey.py ............. [ 73%]
test/test_types.py ..................................................... [ 83%]
...................................................................... [ 95%]
test/test_utils.py ...............ss......... [100%]
====================== 427 passed, 142 skipped in 37.21s =======================
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=pybuild
dh_prep -O--buildsystem=pybuild
dh_auto_install -O--buildsystem=pybuild
I: pybuild plugin_pyproject:156: Copying package built for python3.12 to destdir
I: pybuild plugin_pyproject:156: Copying package built for python3.11 to destdir
dh_installdocs -O--buildsystem=pybuild
dh_installdocs: warning: Cannot auto-detect main package for
python-tpm2-pytss-doc. If the default is wrong, please use --doc-main-package
debian/rules override_dh_sphinxdoc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=./src python3 -m sphinx -b html -N docs/ \
/<<PKGBUILDDIR>>/debian/python-tpm2-pytss-doc/usr/share/doc/python-tpm2-pytss-doc/html
Running Sphinx v7.2.6
Mocking tpm2_pytss._libtpm2_pytss
making output directory... done
loading intersphinx inventory from
/usr/share/doc/python3-doc/html/objects.inv...
loading intersphinx inventory from
/usr/share/doc/python-cryptography-doc/html/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory '/usr/share/doc/python-cryptography-doc/html/objects.inv' not
fetchable due to <class 'FileNotFoundError'>: [Errno 2] No such file or
directory: '/usr/share/doc/python-cryptography-doc/html/objects.inv'
myst v2.0.0: MdParserConfig(commonmark_only=False, gfm_only=False,
enable_extensions=set(), disable_syntax=[], all_links_external=False,
url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None,
fence_as_directive=set(), number_code_blocks=[], title_to_header=False,
heading_anchors=0, heading_slug_func=None, html_meta={},
footnote_transition=True, words_per_minute=200, substitutions={},
linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True,
dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True,
mathjax_classes='tex2jax_process|mathjax_process|math|output_area',
enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 19 source files that are out of date
updating environment: [new config] 19 added, 0 changed, 0 removed
[2Kreading sources... [ 5%] CODE_OF_CONDUCT
[2Kreading sources... [ 11%] SECURITY
[2Kreading sources... [ 16%] api
[2Kreading sources... [ 21%] constants
[2Kreading sources... [ 26%] contributing
[2Kreading sources... [ 32%] esys
[2Kreading sources... [ 37%] exception
[2Kreading sources... [ 42%] fapi
[2Kreading sources... [ 47%] index
[2Kreading sources... [ 53%] install
[2Kreading sources... [ 58%] maintainers
[2Kreading sources... [ 63%] policy
[2Kreading sources... [ 68%] project
[2Kreading sources... [ 74%] release
[2Kreading sources... [ 79%] tcti
[2Kreading sources... [ 84%] testing
[2Kreading sources... [ 89%] tsskey
[2Kreading sources... [ 95%] types
[2Kreading sources... [100%] utils
WARNING: autodoc: failed to import class 'FAPI' from module 'tpm2_pytss'; the
following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/util/inspect.py", line 330, in
safe_getattr
return getattr(obj, name, *defargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'tpm2_pytss' has no attribute 'FAPI'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line
135, in import_object
obj = attrgetter(obj, mangled_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line
319, in get_attr
return autodoc_attrgetter(self.env.app, obj, name, *defargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line
2810, in autodoc_attrgetter
return safe_getattr(obj, name, *defargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx/util/inspect.py", line 346, in
safe_getattr
raise AttributeError(name) from exc
AttributeError: FAPI
WARNING: autodoc: failed to import class 'policy' from module 'tpm2_pytss'; the
following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/util/inspect.py", line 330, in
safe_getattr
return getattr(obj, name, *defargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'tpm2_pytss' has no attribute 'policy'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line
135, in import_object
obj = attrgetter(obj, mangled_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line
319, in get_attr
return autodoc_attrgetter(self.env.app, obj, name, *defargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/__init__.py", line
2810, in autodoc_attrgetter
return safe_getattr(obj, name, *defargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx/util/inspect.py", line 346, in
safe_getattr
raise AttributeError(name) from exc
AttributeError: policy
WARNING: autodoc: failed to import module 'TCTISPIHelper' from module
'tpm2_pytss'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line
69, in import_module
return importlib.import_module(modname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/<<PKGBUILDDIR>>/src/tpm2_pytss/TCTISPIHelper.py", line 10, in <module>
raise NotImplementedError("Package tss2-tcti-spi-helper not present")
NotImplementedError: Package tss2-tcti-spi-helper not present
looking for now-outdated files... none found
pickling environment... done
checking consistency... /<<PKGBUILDDIR>>/docs/SECURITY.md: WARNING: document
isn't included in any toctree
done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
[2Kwriting output... [ 5%] CODE_OF_CONDUCT
[2Kwriting output... [ 11%] SECURITY
[2Kwriting output... [ 16%] api
[2Kwriting output... [ 21%] constants
[2Kwriting output... [ 26%] contributing
[2Kwriting output... [ 32%] esys
[2Kwriting output... [ 37%] exception
[2Kwriting output... [ 42%] fapi
[2Kwriting output... [ 47%] index
[2Kwriting output... [ 53%] install
[2Kwriting output... [ 58%] maintainers
[2Kwriting output... [ 63%] policy
[2Kwriting output... [ 68%] project
[2Kwriting output... [ 74%] release
[2Kwriting output... [ 79%] tcti
[2Kwriting output... [ 84%] testing
[2Kwriting output... [ 89%] tsskey
[2Kwriting output... [ 95%] types
[2Kwriting output... [100%] utils
generating indices... genindex py-modindex done
[2Khighlighting module code... [ 12%] tpm2_pytss.ESAPI
[2Khighlighting module code... [ 25%] tpm2_pytss.TCTI
[2Khighlighting module code... [ 38%] tpm2_pytss.TCTILdr
[2Khighlighting module code... [ 50%] tpm2_pytss.TSS2_Exception
[2Khighlighting module code... [ 62%] tpm2_pytss.constants
[2Khighlighting module code... [ 75%] tpm2_pytss.tsskey
[2Khighlighting module code... [ 88%] tpm2_pytss.types
[2Khighlighting module code... [100%] tpm2_pytss.utils
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
Extension error:
Handler <function builder_finished_handler at 0x7ff460de68e0> for event
'build-finished' threw an exception (exception: str expected, not _StrPath)
make[1]: *** [debian/rules:21: override_dh_sphinxdoc] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202312/
About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
--- End Message ---