Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 922286

Summary: app-arch/rpm-4.19.1 fails to compile (MUSL-SYSTEM): rpmglob.c:84:15: error: GLOB_BRACE undeclared (first use in this function)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Takuya Wakazono <pastalian46>
Status: RESOLVED FIXED    
Severity: normal CC: pastalian46, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/34883
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

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