* Package: dev-python/tpm2-pytss-1.2.0  * Repository: overlay-local  * USE: amd64 elibc_glibc fapi kernel_linux python_targets_python3_7 python_targets_python3_9 userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tpm2-pytss-1.2.0.tar.gz to /var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work >>> Source unpacked in /var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work >>> Preparing source in /var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work/tpm2-pytss-1.2.0 ... * Build system packages: * dev-python/gpep517 : 13 * dev-python/installer : 0.5.1-r1 * dev-python/setuptools : 65.6.3 * dev-python/setuptools_scm : 7.1.0 * dev-python/wheel : 0.38.4 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work/tpm2-pytss-1.2.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work/tpm2-pytss-1.2.0 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for tpm2-pytss-1.2.0 via setuptools.build_meta gpep517 build-wheel --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work/tpm2-pytss-1.2.0-python3_7/wheel 2023-01-06 18:20:33,289 gpep517 INFO Building wheel via backend setuptools.build_meta 2023-01-06 18:20:33,873 root INFO running bdist_wheel 2023-01-06 18:20:33,887 root INFO running build 2023-01-06 18:20:33,887 root INFO running build_py 2023-01-06 18:20:33,893 root INFO creating build 2023-01-06 18:20:33,893 root INFO creating build/lib.linux-x86_64-cpython-37 2023-01-06 18:20:33,893 root INFO creating build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,893 root INFO copying src/tpm2_pytss/constants.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,893 root INFO copying src/tpm2_pytss/TCTILdr.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,893 root INFO copying src/tpm2_pytss/FAPI.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,894 root INFO copying src/tpm2_pytss/callbacks.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,894 root INFO copying src/tpm2_pytss/utils.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,894 root INFO copying src/tpm2_pytss/fapi_info.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,894 root INFO copying src/tpm2_pytss/types.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,895 root INFO copying src/tpm2_pytss/tsskey.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,895 root INFO copying src/tpm2_pytss/TCTI.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,895 root INFO copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,895 root INFO copying src/tpm2_pytss/TSS2_Exception.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,895 root INFO copying src/tpm2_pytss/encoding.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,896 root INFO copying src/tpm2_pytss/__init__.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss 2023-01-06 18:20:33,896 root INFO creating build/lib.linux-x86_64-cpython-37/tpm2_pytss/internal 2023-01-06 18:20:33,896 root INFO copying src/tpm2_pytss/internal/templates.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss/internal 2023-01-06 18:20:33,896 root INFO copying src/tpm2_pytss/internal/constants.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss/internal 2023-01-06 18:20:33,897 root INFO copying src/tpm2_pytss/internal/utils.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss/internal 2023-01-06 18:20:33,897 root INFO copying src/tpm2_pytss/internal/crypto.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss/internal 2023-01-06 18:20:33,897 root INFO copying src/tpm2_pytss/internal/__init__.py -> build/lib.linux-x86_64-cpython-37/tpm2_pytss/internal 2023-01-06 18:20:33,898 root WARNING warning: build_py: byte-compiling is disabled, skipping. 2023-01-06 18:20:33,898 root INFO running build_ext 2023-01-06 18:20:33,898 root INFO generating cffi module 'build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c' 2023-01-06 18:20:33,898 root INFO creating build/temp.linux-x86_64-cpython-37 2023-01-06 18:20:34,062 root INFO building 'tpm2_pytss._libtpm2_pytss' extension 2023-01-06 18:20:34,063 root INFO creating build/temp.linux-x86_64-cpython-37/build 2023-01-06 18:20:34,063 root INFO creating build/temp.linux-x86_64-cpython-37/build/temp.linux-x86_64-cpython-37 2023-01-06 18:20:34,063 root INFO x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -mtune=generic -O2 -pipe -O3 -fno-semantic-interposition -fwrapv -mtune=generic -O2 -pipe -fPIC -I/usr/include/python3.7m -c build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c -o build/temp.linux-x86_64-cpython-37/build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.o build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48575:1: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 48575 | static uint32_t _cffi_d_Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal(TPMS_ALGORITHM_DESCRIPTION const * x0, uint8_t * x1, size_t x2, size_t * x3) | ^~~~~~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c: In function ‘_cffi_d_Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal’: build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48577:3: warning: ‘Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal’ is deprecated [-Wdeprecated-declarations] 48577 | return Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal(x0, x1, x2, x3); | ^~~~~~ In file included from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:575: /usr/include/tss2/tss2_mu.h:752:1: note: declared here 752 | Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c: In function ‘_cffi_f_Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal’: build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48583:3: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 48583 | TPMS_ALGORITHM_DESCRIPTION const * x0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48602:5: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 48602 | x0 = ((size_t)datasize) <= 640 ? (TPMS_ALGORITHM_DESCRIPTION const *)alloca((size_t)datasize) : NULL; | ^~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48632:3: warning: ‘Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal’ is deprecated [-Wdeprecated-declarations] 48632 | { result = Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal(x0, x1, x2, x3); } | ^ In file included from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:575: /usr/include/tss2/tss2_mu.h:752:1: note: declared here 752 | Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Marshal( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c: At top level: build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48645:1: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 48645 | static uint32_t _cffi_d_Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Unmarshal(uint8_t const * x0, size_t x1, size_t * x2, TPMS_ALGORITHM_DESCRIPTION * x3) | ^~~~~~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c: In function ‘_cffi_d_Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Unmarshal’: build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48647:3: warning: ‘Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Unmarshal’ is deprecated [-Wdeprecated-declarations] 48647 | return Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Unmarshal(x0, x1, x2, x3); | ^~~~~~ In file included from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:575: /usr/include/tss2/tss2_mu.h:760:1: note: declared here 760 | Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Unmarshal( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c: In function ‘_cffi_f_Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Unmarshal’: build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48656:3: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 48656 | TPMS_ALGORITHM_DESCRIPTION * x3; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48694:5: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 48694 | x3 = ((size_t)datasize) <= 640 ? (TPMS_ALGORITHM_DESCRIPTION *)alloca((size_t)datasize) : NULL; | ^~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:48702:3: warning: ‘Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Unmarshal’ is deprecated [-Wdeprecated-declarations] 48702 | { result = Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Unmarshal(x0, x1, x2, x3); } | ^ In file included from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:575: /usr/include/tss2/tss2_mu.h:760:1: note: declared here 760 | Tss2_MU_TPMS_ALGORITHM_DESCRIPTION_Unmarshal( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c: At top level: build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:66507:1: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 66507 | static void _cffi_checkfld__TPMS_ALGORITHM_DESCRIPTION(TPMS_ALGORITHM_DESCRIPTION *p) | ^~~~~~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:66514:8: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 66514 | struct _cffi_align__TPMS_ALGORITHM_DESCRIPTION { char x; TPMS_ALGORITHM_DESCRIPTION y; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:69395:3: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 69395 | { "alg", offsetof(TPMS_ALGORITHM_DESCRIPTION, alg), | ^ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:69396:12: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 69396 | sizeof(((TPMS_ALGORITHM_DESCRIPTION *)0)->alg), | ^~~~~~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:69398:3: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 69398 | { "attributes", offsetof(TPMS_ALGORITHM_DESCRIPTION, attributes), | ^ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:69399:19: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 69399 | sizeof(((TPMS_ALGORITHM_DESCRIPTION *)0)->attributes), | ^~~~~~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:70317:5: warning: ‘TPMS_ALGORITHM_DESCRIPTION’ is deprecated [-Wdeprecated-declarations] 70317 | sizeof(TPMS_ALGORITHM_DESCRIPTION), offsetof(struct _cffi_align__TPMS_ALGORITHM_DESCRIPTION, y), 87, 2 }, | ^~~~~~ In file included from /usr/include/tss2/tss2_tcti.h:40, from /usr/include/tss2/tss2_esys.h:9, from build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.c:571: /usr/include/tss2/tss2_tpm2_types.h:927:8: note: declared here 927 | struct TPMS_ALGORITHM_DESCRIPTION { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-01-06 18:20:42,972 root INFO x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -mtune=generic -O2 -pipe build/temp.linux-x86_64-cpython-37/build/temp.linux-x86_64-cpython-37/tpm2_pytss._libtpm2_pytss.o -L/usr/lib64 -ltss2-esys -ltss2-tctildr -ltss2-rc -ltss2-mu -ltss2-fapi -o build/lib.linux-x86_64-cpython-37/tpm2_pytss/_libtpm2_pytss.abi3.so adding path: /var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work/tpm2-pytss-1.2.0/scripts Traceback (most recent call last): File "", line 180, in get_versions AttributeError: module 'pkgconfig.pkgconfig' has no attribute 'modversion' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python-exec/python3.7/gpep517", line 4, in sys.exit(main()) File "/usr/lib/python3.7/site-packages/gpep517/__main__.py", line 406, in main return func(args) File "/usr/lib/python3.7/site-packages/gpep517/__main__.py", line 202, in build_wheel print(build_wheel_impl(args, args.wheel_dir), file=out) File "/usr/lib/python3.7/site-packages/gpep517/__main__.py", line 194, in build_wheel_impl wheel_name = backend.build_wheel(str(wheel_dir), args.config_json) File "/usr/lib/python3.7/site-packages/setuptools/build_meta.py", line 414, in build_wheel wheel_directory, config_settings) File "/usr/lib/python3.7/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3.7/site-packages/setuptools/build_meta.py", line 335, in run_setup exec(code, locals()) File "", line 240, in File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command super().run_command(command) File "/usr/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 325, in run self.run_command("build") File "/usr/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command super().run_command(command) File "/usr/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 132, in run self.run_command(cmd_name) File "/usr/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command super().run_command(command) File "/usr/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/cffi/setuptools_ext.py", line 144, in run base_class.run(self) File "", line 196, in run File "", line 181, in get_versions AttributeError: module 'pkgconfig.pkgconfig' has no attribute 'PackageNotFoundError' * ERROR: dev-python/tpm2-pytss-1.2.0::overlay-local failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3571: Called distutils-r1_src_compile * environment, line 1594: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 700: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3168: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2642: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2640: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1086: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1576: Called distutils-r1_python_compile * environment, line 1399: Called distutils_pep517_install '/var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work/tpm2-pytss-1.2.0-python3_7/install' * environment, line 1896: Called die * The specific snippet of code: * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); * * If you need support, post the output of `emerge --info '=dev-python/tpm2-pytss-1.2.0::overlay-local'`, * the complete build log and the output of `emerge -pqv '=dev-python/tpm2-pytss-1.2.0::overlay-local'`. * The complete build log is located at '/var/tmp/portage/dev-python/tpm2-pytss-1.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/tpm2-pytss-1.2.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work/tpm2-pytss-1.2.0' * S: '/var/tmp/portage/dev-python/tpm2-pytss-1.2.0/work/tpm2-pytss-1.2.0'