Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943997 - dev-python/tpm2-pytss-2.3.0 fails to compile: pycparser.plyparser.ParseError: stddef.h:450:31: before: nullptr_t
Summary: dev-python/tpm2-pytss-2.3.0 fails to compile: pycparser.plyparser.ParseError:...
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:
 
Reported: 2024-11-19 12:29 UTC by Agostino Sarubbo
Modified: 2024-12-02 14:50 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,66.02 KB, text/plain)
2024-11-19 12:29 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-19 12:29:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/tpm2-pytss-2.3.0 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-19 12:29:54 UTC
Created attachment 910189 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-12-02 14:50:43 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(+)