Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932295 - games-engines/frotz compile error: unknown type name ‘ulong’
Summary: games-engines/frotz compile error: unknown type name ‘ulong’
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-20 10:38 UTC by aleck
Modified: 2024-05-21 22:00 UTC (History)
1 user (show)

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


Attachments
Build log with the compiler errors (build.log,24.32 KB, text/x-log)
2024-05-20 10:39 UTC, aleck
Details
attached emerge --info (emerge--info,6.99 KB, text/plain)
2024-05-20 10:40 UTC, aleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aleck 2024-05-20 10:38:01 UTC
When building frotz with version 2.54 I get compiler errors like:

error: unknown type name ‘ulong’

Reproducible: Always

Steps to Reproduce:
1.emerge games-engines/frotz

Actual Results:  
build breaks

Expected Results:  
compiles whole project
Comment 1 aleck 2024-05-20 10:39:24 UTC
Created attachment 893567 [details]
Build log with the compiler errors
Comment 2 aleck 2024-05-20 10:40:33 UTC
Created attachment 893568 [details]
attached emerge --info
Comment 3 James Le Cuirot gentoo-dev 2024-05-21 21:37:16 UTC
You have GCC 12. It worked for me with GCC 13, albeit with some similar but different warnings. With GCC 14, those warnings are now fatal. It looks like a big of a car crash, although it does build with USE=-sdl.
Comment 4 Larry the Git Cow gentoo-dev 2024-05-21 22:00:41 UTC
The bug has been closed via the following commit(s):

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

commit 9853b42007f9c58cbe9d0d938c6772f2834a8051
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-05-21 21:59:46 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-05-21 21:59:46 +0000

    games-engines/frotz: Bump to 2.55_pre20240518 snapshot, drop old 2.54
    
    2.54 builds with GCC 13 with lots of warnings but fails with 12 and 14. This
    snapshot looks much better. Admittedly, I've only really build tested it.
    
    Closes: https://bugs.gentoo.org/932295
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-engines/frotz/Manifest                       |   2 +-
 games-engines/frotz/files/frotz-2.53-uint32.patch  | 475 ---------------------
 games-engines/frotz/files/frotz-stray-dollar.patch |  26 ++
 ...z-2.54.ebuild => frotz-2.55_pre20240518.ebuild} |   9 +-
 4 files changed, 32 insertions(+), 480 deletions(-)