https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-fs/openafs-1.8.8.1-r1 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 764044 [details] build.log build log and emerge --info
Created attachment 764045 [details] 1-config.log 1-config.log
The problem is within the configure step. configure is unable to determine the system name. You should be able to get around this problem by adding "--with-afs-sysname=amd64_linux26" as an option to configure within the ebuild itself. When --with-afs-sysname is not specified, configure will try to determine the system name via the --host parameter, which is --host=x86_64-gentoo-linux-musl in this case, and that doesn't match up with what is configure is looking for ("x86_64-*-linux-gnu"). As an additional comment, I'm not sure if you will run into additional problems trying to build or run using musl.
There is a simple patch that would allow the build, however it is unknown if openafs would build cleanly or even function using the musl libraries. I will try to set up a set of musl based virtual machines and attempt a build/test, but for the moment, I'm not sure of the success of using musl with openafs. For the moment, I would like to mask the use of musl with openafs until I can spend some time to perform some testing.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41d41b94b6a03626eecca6eddcca7eafa2b88fef commit 41d41b94b6a03626eecca6eddcca7eafa2b88fef Author: Cheyenne Wills <cwills@witznd.net> AuthorDate: 2025-01-06 01:42:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-06 07:23:18 +0000 net-fs/openafs: add 1.8.13.1 Update net-fs/openafs to 1.8.13.1 which has support for Linux 6.12 Add package.mask for net-fs/openafs for musl. Add package.use.mask for afs for musl. Update ebuild to add QA_CONFIG_IMPL_DECL_SKIP. Signed-off-by: Cheyenne Wills <cwills@witznd.net> Closes: https://bugs.gentoo.org/947559 Closes: https://bugs.gentoo.org/832428 Closes: https://bugs.gentoo.org/943641 Signed-off-by: Sam James <sam@gentoo.org> net-fs/openafs/Manifest | 2 + net-fs/openafs/openafs-1.8.13.1.ebuild | 346 ++++++++++++++++++++++++++++++++ profiles/features/musl/package.mask | 6 + profiles/features/musl/package.use.mask | 7 + 4 files changed, 361 insertions(+)