Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831726 - games-arcade/gnujump-1.0.8-r1 fails to compile: main.c:48:14: error: LC_ALL undeclared (first use in this function)
Summary: games-arcade/gnujump-1.0.8-r1 fails to compile: main.c:48:14: error: LC_ALL u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-21 11:34 UTC by Agostino Sarubbo
Modified: 2022-08-13 09:09 UTC (History)
0 users

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


Attachments
build.log (build.log,146.76 KB, text/plain)
2022-01-21 11:34 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 2022-01-21 11:34:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-arcade/gnujump-1.0.8-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-21 11:34:18 UTC
Created attachment 762992 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-21 11:34:19 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


./configure: line 7095: AX_LANG_COMPILER_MS: command not found
./configure: line 7190: AX_CHECK_GLU: command not found
main.c:48:14: error: 'LC_ALL' undeclared (first use in this function)
Comment 3 Larry the Git Cow gentoo-dev 2022-08-13 09:09:59 UTC
The bug has been closed via the following commit(s):

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

commit 0a28d94c37b7f5e2965619db0cad19ffd0dc010a
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-08-13 03:21:55 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-08-13 09:00:06 +0000

    games-arcade/gnujump: EAPI6->8, misc fixes
    
    * update dead homepage
    * run eautoreconf so ./configure is not missing macros wrt bug #818814
    * depend on libsdl[opengl] to pull SDL's headers deps wrt bug #739078,
      and also depend on GLU directly given gnujump uses glu.h too
    * depend on gettext/libintl
    * GPL-3 -> GPL-3+
    * include potentially missing locale.h, e.g. with musl wrt bug #831726
    
    Closes: https://bugs.gentoo.org/739078
    Closes: https://bugs.gentoo.org/818814
    Closes: https://bugs.gentoo.org/831726
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../gnujump/files/gnujump-1.0.8-musl.patch         | 10 +++++
 games-arcade/gnujump/gnujump-1.0.8-r1.ebuild       | 35 ---------------
 games-arcade/gnujump/gnujump-1.0.8-r2.ebuild       | 52 ++++++++++++++++++++++
 3 files changed, 62 insertions(+), 35 deletions(-)