Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832428 - net-fs/openafs-1.8.8.1-r1 fails to compile: checking your AFS sysname.. configure: error: An AFS sysname is required
Summary: net-fs/openafs-1.8.8.1-r1 fails to compile: checking your AFS sysname.. confi...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-31 12:44 UTC by Agostino Sarubbo
Modified: 2024-04-03 10:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,42.50 KB, text/plain)
2022-01-31 12:44 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,51.71 KB, text/plain)
2022-01-31 12:44 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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.