Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922286 - app-arch/rpm-4.19.1 fails to compile (MUSL-SYSTEM): rpmglob.c:84:15: error: GLOB_BRACE undeclared (first use in this function)
Summary: app-arch/rpm-4.19.1 fails to compile (MUSL-SYSTEM): rpmglob.c:84:15: error: G...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Takuya Wakazono
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-17 08:04 UTC by Agostino Sarubbo
Modified: 2024-02-02 03:58 UTC (History)
2 users (show)

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


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

Issue: app-arch/rpm-4.19.1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-17 08:04:35 UTC
Created attachment 882452 [details]
build.log

build log and emerge --info
Comment 2 Takuya Wakazono 2024-01-17 09:13:30 UTC
Upstream issue
https://github.com/rpm-software-management/rpm/issues/2844
Comment 3 Larry the Git Cow gentoo-dev 2024-02-02 03:58:19 UTC
The bug has been closed via the following commit(s):

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

commit 191bd72e6913e1c56736e801e0fb9e1f7262cfb2
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2024-01-18 15:00:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-02 03:56:56 +0000

    app-arch/rpm: fix musl build
    
    Closes: https://bugs.gentoo.org/888954
    Closes: https://bugs.gentoo.org/922286
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/rpm/files/rpm-4.18.1-musl-nls.patch    | 42 ++++++++++++++++++
 app-arch/rpm/files/rpm-4.19.1-musl-compat.patch | 59 +++++++++++++++++++++++++
 app-arch/rpm/rpm-4.18.1.ebuild                  |  1 +
 app-arch/rpm/rpm-4.19.1.ebuild                  |  2 +
 4 files changed, 104 insertions(+)