Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944893 - dev-lang/jwasm-2.18 fails to compile: bool.h:35:27: error: two or more data types in declaration specifiers
Summary: dev-lang/jwasm-2.18 fails to compile: bool.h:35:27: error: two or more data t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-25 08:33 UTC by Agostino Sarubbo
Modified: 2025-03-03 12:16 UTC (History)
0 users

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


Attachments
build.log (build.log,70.79 KB, text/plain)
2024-11-25 08:33 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-25 08:33:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/jwasm-2.18 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-25 08:33:46 UTC
Created attachment 911845 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-03-03 12:16:46 UTC
The bug has been closed via the following commit(s):

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

commit f1015f45233053c975697981e6078b0dce19e5ba
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2025-03-03 11:38:37 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2025-03-03 12:05:49 +0000

    dev-lang/jwasm: GCC 15 fixes
    
    - add missing includes and append -D_POSIX_SOURCE cppflag in order to
      resolve implicit function declaration issues
    - set -std=c17 because upstream typedefs bool in code base
    
    Upstream-PR: https://github.com/Baron-von-Riedesel/JWasm/pull/34
    Closes: https://bugs.gentoo.org/944893
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 .../jwasm/files/jwasm-2.18-missing-includes.patch  | 56 ++++++++++++++++++++++
 .../{jwasm-2.18.ebuild => jwasm-2.18-r1.ebuild}    |  9 ++--
 2 files changed, 62 insertions(+), 3 deletions(-)