Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833106 - x11-misc/fracplanet-0.5.1 fails to compile: common.h:47:22: error: __STRING was not declared in this scope
Summary: x11-misc/fracplanet-0.5.1 fails to compile: common.h:47:22: error: __STRING w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-11 07:27 UTC by Agostino Sarubbo
Modified: 2023-08-21 15:49 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,136.88 KB, text/plain)
2022-02-11 07:27 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-02-11 07:27:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/fracplanet-0.5.1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-11 07:27:35 UTC
Created attachment 764827 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-08-21 15:49:39 UTC
The bug has been closed via the following commit(s):

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

commit e15137c43be58fab48f6aa455b7f3b84429dca74
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-08-21 15:35:38 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-08-21 15:49:27 +0000

    x11-misc/fracplanet: fix building against musl
    
    __STRING() is a glibc idiom. Fortunately, it is trivial to emulate.
    
    While at it, update EAPI 7 -> 8.
    
    Closes: https://bugs.gentoo.org/833106
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 x11-misc/fracplanet/files/fracplanet-0.5.1-musl.patch | 12 ++++++++++++
 x11-misc/fracplanet/fracplanet-0.5.1.ebuild           |  8 ++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)