Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945056 - dev-python/tpm2-pytss-2.3.0 - [libtool] [gcc-15] Wheel build failed
Summary: dev-python/tpm2-pytss-2.3.0 - [libtool] [gcc-15] Wheel build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christopher Byrne
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-26 18:40 UTC by Toralf Förster
Modified: 2024-12-02 14:50 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.35 KB, text/plain)
2024-11-26 18:40 UTC, Toralf Förster
Details
dev-python:tpm2-pytss-2.3.0:20241126-154129.log (dev-python:tpm2-pytss-2.3.0:20241126-154129.log,18.44 KB, text/plain)
2024-11-26 18:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.70 KB, text/plain)
2024-11-26 18:40 UTC, Toralf Förster
Details
environment (environment,165.52 KB, text/plain)
2024-11-26 18:40 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-11-26 18:40 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.48 KB, application/x-xz)
2024-11-26 18:40 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.11 KB, application/x-xz)
2024-11-26 18:40 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,206.92 KB, text/plain)
2024-11-26 18:40 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.88 KB, application/x-xz)
2024-11-26 18:40 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-11-26 18:40:25 UTC
  File "/usr/lib/python3.12/site-packages/pycparser/c_parser.py", line 1945, in p_error
    self._parse_error(
  File "/usr/lib/python3.12/site-packages/pycparser/plyparser.py", line 67, in _parse_error
    raise ParseError("%s: %s" % (coord, msg))
pycparser.plyparser.ParseError: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/stddef.h:450:31: before: nullptr_t
 * ERROR: dev-python/tpm2-pytss-2.3.0::gentoo failed (compile phase):
 *   Wheel build failed
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20241124-192502

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit b26d4381f1eb41660e4c9cf0241b5fbc8d409890
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 26 15:18:27 2024 +0000

    2024-11-26 15:18:27 UTC

emerge -qpvO =dev-python/tpm2-pytss-2.3.0
[ebuild  N    ] dev-python/tpm2-pytss-2.3.0  USE="fapi -debug -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-11-26 18:40:25 UTC
Created attachment 912044 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-26 18:40:26 UTC
Created attachment 912045 [details]
dev-python:tpm2-pytss-2.3.0:20241126-154129.log
Comment 3 Toralf Förster gentoo-dev 2024-11-26 18:40:28 UTC
Created attachment 912046 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-26 18:40:29 UTC
Created attachment 912047 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-26 18:40:30 UTC
Created attachment 912048 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-26 18:40:31 UTC
Created attachment 912049 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-26 18:40:31 UTC
Created attachment 912050 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-26 18:40:33 UTC
Created attachment 912051 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-11-26 18:40:34 UTC
Created attachment 912052 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-12-02 14:50:41 UTC
The bug has been closed via the following commit(s):

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

commit bd60fb07f2716ed71b22201b32e7ba730e1a99da
Author:     Christopher Byrne <salah.coronya@gmail.com>
AuthorDate: 2024-12-02 03:26:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-02 14:48:24 +0000

    dev-python/tpm2-pytss: Fix compile under gcc-15
    
    Added a patch to force "-std=c99" when preprocessing. As pcyparser only
    supports completely C99, this shouldn't be an issue
    
    Closes: https://bugs.gentoo.org/943997
    Closes: https://bugs.gentoo.org/945056
    Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/tpm2-pytss-2.3.0-preprocess-as-C99.patch  | 21 +++++++++++++++++++++
 dev-python/tpm2-pytss/tpm2-pytss-2.3.0.ebuild       |  4 ++++
 2 files changed, 25 insertions(+)