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

Bug 832428

Summary: net-fs/openafs-1.8.8.1-r1 fails to compile: checking your AFS sysname.. configure: error: An AFS sysname is required
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: bircoph
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
1-config.log

Description Agostino Sarubbo gentoo-dev 2022-01-31 12:44:40 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-31 12:44:43 UTC
Created attachment 764044 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-31 12:44:44 UTC
Created attachment 764045 [details]
1-config.log

1-config.log
Comment 3 Cheyenne Wills 2022-08-04 20:42:26 UTC
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.