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

Bug 923818

Summary: games-engines/odamex-10.4.0-r1 fails to compile: cmdlib.h:99:33: error: time_t has not been declared
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/odamex/odamex/pull/946
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2024-02-05 07:06:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-engines/odamex-10.4.0-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-05 07:06:11 UTC
Created attachment 884262 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-05 07:06:12 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: client/CMakeFiles/odamex.dir/src/am_map.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/c_bind.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/c_console.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/cl_ctf.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/cl_cvarlist.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/cl_demo.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/cl_download.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/cl_game.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/cl_level.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/cl_main.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/cl_maplist.cpp.o 
FAILED: client/CMakeFiles/odamex.dir/src/cl_mobj.cpp.o 
/var/tmp/portage/games-engines/odamex-10.4.0-r1/work/odamex-src-10.4.0/common/./cmdlib.h:99:33: error: 'time_t' has not been declared
Comment 3 Larry the Git Cow gentoo-dev 2024-05-12 16:23:12 UTC
The bug has been closed via the following commit(s):

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

commit ba3dacd5312a26126935d0f4e4a7aaffa033f7fd
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-05-12 16:21:40 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-05-12 16:23:06 +0000

    games-engines/odamex: Fix musl build with patch
    
    This has been merged upstream.
    
    Closes: https://bugs.gentoo.org/923818
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-engines/odamex/files/odamex-musl.patch | 119 +++++++++++++++++++++++++++
 games-engines/odamex/odamex-10.4.0-r3.ebuild |   5 +-
 2 files changed, 121 insertions(+), 3 deletions(-)