Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898564 - sys-boot/plymouth-22.02.122-r1 fails to compile (MUSL-CLANG-SYSTEM): ply-command-parser.c:734:21: error: call to undeclared function rpmatch; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: sys-boot/plymouth-22.02.122-r1 fails to compile (MUSL-CLANG-SYSTEM): ply-comm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard: patch
Keywords: PullRequest
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2023-03-01 08:27 UTC by Agostino Sarubbo
Modified: 2025-03-10 01:42 UTC (History)
0 users

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


Attachments
build.log (build.log,75.69 KB, text/plain)
2023-03-01 08: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 2023-03-01 08:27:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-boot/plymouth-22.02.122-r1 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-01 08:27:07 UTC
Created attachment 855372 [details]
build.log

build log and emerge --info
Comment 2 immolo 2023-12-20 13:55:32 UTC
This seems to only be a LLVM issue rather than a musl one as I can build successfully with a gcc package.env.
Comment 3 Larry the Git Cow gentoo-dev 2025-03-10 01:42:19 UTC
The bug has been closed via the following commit(s):

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

commit 167714a29964bccf4b95921d91f71c23cf12619d
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-26 14:25:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-10 01:40:01 +0000

    sys-boot/plymouth: update EAPI 7 -> 8, fix musl build, QA issues
    
    Use C23/compiler extension to conditionally include right header.
    Clean up *.la files.
    Keep empty directories, they are needed for runtime services.
    Fix is only for 22.02.122, not 24.004.60 or live.
    
    Closes: https://bugs.gentoo.org/839081
    Closes: https://bugs.gentoo.org/925430
    Closes: https://bugs.gentoo.org/921110
    Closes: https://bugs.gentoo.org/898564
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40771
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/plymouth-22.02.122-has_rpmatch.patch     |  16 +++
 sys-boot/plymouth/plymouth-22.02.122-r4.ebuild     | 122 +++++++++++++++++++++
 2 files changed, 138 insertions(+)