Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923818 - games-engines/odamex-10.4.0-r1 fails to compile: cmdlib.h:99:33: error: time_t has not been declared
Summary: games-engines/odamex-10.4.0-r1 fails to compile: cmdlib.h:99:33: error: time_...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
Depends on:
Reported: 2024-02-05 07:06 UTC by Agostino Sarubbo
Modified: 2024-05-12 16:23 UTC (History)
0 users

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

build.log.xz (build.log.xz,27.21 KB, application/x-xz)
2024-02-05 07:06 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-05 07:06:09 UTC

Issue: games-engines/odamex-10.4.0-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

Info about the issue:
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-05 07:06:11 UTC
Created attachment 884262 [details]

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):

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

    games-engines/odamex: Fix musl build with patch
    This has been merged upstream.
    Signed-off-by: James Le Cuirot <>

 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(-)