too long lines were shrinked: x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/var/tmp/portage/sys-libs/efivar-38/work/efivar-38/src/include/gcc.specs -fno-merge-constants -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/var/tmp/portage/sys- x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/var/tmp/portage/sys-libs/efivar-38/work/efivar-38/src/include/gcc.specs -fno-merge-constants -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/var/tmp/portage/sys- In file included from efivar.h:16, from util.c:7: compiler.h:10:10: fatal error: sys/cdefs.h: No such file or directory 10 | #include <sys/cdefs.h> | ^~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4-20220111-092048 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * clang/llvm (if any): clang version 13.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.58.0 [2] rust-1.58.0 * The following VMs are available for generation-2: Available Java Virtual Machines: (none found) php cli: HEAD of ::gentoo commit c375b6f8ee7782ff9231ecfc6b1449fd6e7392be Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Jan 17 13:21:54 2022 +0000 2022-01-17 13:21:52 UTC emerge -qpvO sys-libs/efivar [ebuild U ] sys-libs/efivar-38 [37] USE="-test%"
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(-)