Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 943765

Summary: app-accessibility/sphinx2-0.6-r1 fails to compile: c.h:88:19: error: expected identifier before false
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Accessibility Team <accessibility>
Status: RESOLVED FIXED    
Severity: normal CC: sound, ted.d.rodgers
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/39895
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-11-18 14:27:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-accessibility/sphinx2-0.6-r1 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#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-18 14:27:13 UTC
Created attachment 908973 [details]
build.log

build log and emerge --info
Comment 2 tdr 2024-11-19 07:19:32 UTC
successfully builds with CFLAGS="${CFLAGS} -std=gnu17"
Comment 3 Larry the Git Cow gentoo-dev 2025-02-10 09:15:56 UTC
The bug has been referenced in the following commit(s):

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

commit d8256b77eec6a27f5108b49167750191df3f742f
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-12-29 15:18:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 09:14:40 +0000

    app-accessibility/sphinx2: Port to C23
    
    This fixes a number of compile errors, a number of K&R definitions
    and missing system definitions that aren't actully missing
    
    Bug: https://bugs.gentoo.org/919360
    Bug: https://bugs.gentoo.org/943765
    Bug: https://bugs.gentoo.org/880537
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/39895
    Signed-off-by: Sam James <sam@gentoo.org>

 .../sphinx2/files/sphinx2-0.6-c99.patch            | 500 +++++++++++++++++++++
 app-accessibility/sphinx2/sphinx2-0.6-r2.ebuild    |  39 ++
 2 files changed, 539 insertions(+)