Summary: | sys-libs/efivar-38 - multiple issues building on musl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/rhboot/efivar/issues/197 https://github.com/rhboot/efivar/issues/202 https://bugs.gentoo.org/show_bug.cgi?id=567678 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 895152 | ||
Bug Blocks: | |||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 sys-libs:efivar-38:20220117-153116.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 762409 [details]
emerge-info.txt
Created attachment 762410 [details]
emerge-history.txt
Created attachment 762411 [details]
environment
Created attachment 762412 [details]
etc.portage.tar.bz2
Created attachment 762413 [details]
sys-libs:efivar-38:20220117-153116.log
Created attachment 762414 [details]
temp.tar.bz2
efivar also uses a couple of glibcisms: qsort_r and on_exit. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=730abf538cfee41cd32dc8dba03c44d7c470b2e2 commit 730abf538cfee41cd32dc8dba03c44d7c470b2e2 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-06 10:34:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-06 10:35:03 +0000 profiles/features/musl: mask =efivar-38 Fails to buid. Bug: https://bugs.gentoo.org/831363 Signed-off-by: Sam James <sam@gentoo.org> profiles/features/musl/package.mask | 5 +++++ 1 file changed, 5 insertions(+) (In reply to Mike Gilbert from comment #7) > efivar also uses a couple of glibcisms: qsort_r and on_exit. musl gained qsort_r in 1.2.3 and on_exit got fixed upstream. Patches: https://github.com/rhboot/efivar/commit/cece3ffd5be2f8641eb694513f2b73e5eb97ffd3 https://github.com/rhboot/efivar/commit/df09b472419466987f2f30176dd00937e640aa9a We might want https://github.com/rhboot/efivar/commit/15622b7e5761f3dde3f0e42081380b2b41639a48 https://github.com/rhboot/efivar/commit/aab4e9b10ac9e98588a1b19771cf6f4c8c0a3096 https://github.com/rhboot/efivar/commit/6be2cb1c0139ac177e754b0767abf1ca1533847f too. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e84fe06747ac63707f1a46dd16a658dc033d57f8 commit e84fe06747ac63707f1a46dd16a658dc033d57f8 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-02-17 22:08:08 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-02-17 22:08:08 +0000 sys-libs/efivar: backport a couple fixes Closes: https://bugs.gentoo.org/831363 Closes: https://bugs.gentoo.org/895152 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-libs/efivar/efivar-38.ebuild | 2 + .../efivar/files/efivar-38-efisecdb-musl.patch | 179 +++++++++++++++++++++ .../efivar/files/efivar-38-efisecdb-optarg.patch | 51 ++++++ 3 files changed, 232 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba5be6b036453b7c2d7ef160826d8c99856123b commit 8ba5be6b036453b7c2d7ef160826d8c99856123b Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-18 02:11:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-18 02:11:44 +0000 profiles/features/musl: unmask efivar-38 Now builds on musl. Bug: https://bugs.gentoo.org/831363 Signed-off-by: Sam James <sam@gentoo.org> profiles/features/musl/package.mask | 7 ------- 1 file changed, 7 deletions(-) |