Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943765 - app-accessibility/sphinx2-0.6-r1 fails to compile: c.h:88:19: error: expected identifier before false
Summary: app-accessibility/sphinx2-0.6-r1 fails to compile: c.h:88:19: error: expected...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 14:27 UTC by Agostino Sarubbo
Modified: 2025-02-10 09:35 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,136.42 KB, text/plain)
2024-11-18 14:27 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-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(+)