Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931593 - dev-python/tpm2-pytss-2.2.1 - Wheel build failed
Summary: dev-python/tpm2-pytss-2.2.1 - Wheel build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christopher Byrne
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-05-08 16:27 UTC by Toralf Förster
Modified: 2024-05-09 20:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.69 KB, text/plain)
2024-05-08 16:27 UTC, Toralf Förster
Details
dev-python:tpm2-pytss-2.2.1:20240507-224818.log (dev-python:tpm2-pytss-2.2.1:20240507-224818.log,6.97 KB, text/plain)
2024-05-08 16:27 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,89.41 KB, application/x-xz)
2024-05-08 16:27 UTC, Toralf Förster
Details
environment (environment,162.60 KB, text/plain)
2024-05-08 16:27 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.36 KB, application/x-xz)
2024-05-08 16:27 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,39.43 KB, application/x-xz)
2024-05-08 16:27 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,88.84 KB, application/x-xz)
2024-05-08 16:27 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.68 KB, application/x-xz)
2024-05-08 16:27 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-05-08 16:27:46 UTC
  #define TPM2_HR_PCR ...     (literally dot-dot-dot)
  #define TPM2_HR_PCR NUMBER  (with NUMBER an integer constant, decimal/hex/octal)
got:
  #define TPM2_HR_PCR ...<< TPM2_HR_SHIFT)
adding path: /var/tmp/portage/dev-python/tpm2-pytss-2.2.1/work/tpm2-pytss-2.2.1/scripts
 * ERROR: dev-python/tpm2-pytss-2.2.1::gentoo failed (compile phase):
 *   Wheel build failed
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20240502-075502

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.5
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.22_p7 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit 434cf829d74c98426b39e280730e9c75b797eb11
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue May 7 22:04:26 2024 +0000

    2024-05-07 22:04:26 UTC

emerge -qpvO dev-python/tpm2-pytss
[ebuild  N    ] dev-python/tpm2-pytss-2.2.1  USE="fapi -debug -test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2024-05-08 16:27:47 UTC
Created attachment 892509 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-08 16:27:48 UTC
Created attachment 892510 [details]
dev-python:tpm2-pytss-2.2.1:20240507-224818.log
Comment 3 Toralf Förster gentoo-dev 2024-05-08 16:27:49 UTC
Created attachment 892511 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-05-08 16:27:51 UTC
Created attachment 892512 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-08 16:27:51 UTC
Created attachment 892513 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-08 16:27:52 UTC
Created attachment 892514 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-08 16:27:54 UTC
Created attachment 892515 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-08 16:27:55 UTC
Created attachment 892516 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-05-09 20:49:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=278cd9db03bbe938c24e4e3c4fc080c913415a4d

commit 278cd9db03bbe938c24e4e3c4fc080c913415a4d
Author:     Christopher Byrne <salah.coronya@gmail.com>
AuthorDate: 2024-05-09 02:27:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-09 20:48:36 +0000

    dev-python/tpm2-pytss: Fix compile for newer tpm2-tss, cryptogrpahy
    
    Closes: https://bugs.gentoo.org/931557
    Closes: https://bugs.gentoo.org/931593
    Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36609
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-skip-some-FAPI-tests-if-testing-agains-t.patch | 83 ++++++++++++++++++++++
 ...y-fixes-for-newer-version-of-cryptography.patch | 53 ++++++++++++++
 ...ss-2.2.1-scripts-update-regex-for-defines.patch | 28 ++++++++
 dev-python/tpm2-pytss/tpm2-pytss-2.2.1.ebuild      |  6 ++
 4 files changed, 170 insertions(+)