-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
QuestionType:EnhancementplatformAny platform specific questions/issues can be tagged with this labelAny platform specific questions/issues can be tagged with this label
Metadata
Metadata
Assignees
Labels
QuestionType:EnhancementplatformAny platform specific questions/issues can be tagged with this labelAny platform specific questions/issues can be tagged with this label
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
mchangir commentedon Jul 17, 2017
Doesn't the musl-gcc wrapper provide the necessary magic to link to the platform specific 'C' Library on Alpine Linux ?
seuf commentedon Jul 19, 2017
I think you're right, the musl-gcc wrapper provide some magic to link glic functions, but all the functions must be POSIX compliant. I read that glusterfs use not POSIX functions : https://bugs.alpinelinux.org/issues/2834 .
mati865 commentedon Nov 22, 2017
Portablexdr doesn't seem to work with glusterfs (usually
rpcgen
is provided by glibc but musl doesn't have it):Both 3.10.7 and master produce the same error.
janreges commentedon Dec 13, 2018
+1
CrazyPandar commentedon Mar 12, 2019
+1
kalebskeithley commentedon Mar 14, 2019
rpcgen is in its own separate package. At least in alpine 3.9.2. (Similar to Fedora28+ and RHEL8 where rpcgen has been removed from glibc. I expect other distributions will do the same eventually.)
I didn't look in any older versions.
apk update && apk add rpcgen
But there are other issues with this rpcgen that alpine ships. It's not the same as the unbundled rpcgen in Fedora and doesn't like the "hyper" data type in, e.g., glusterfs4-xdr.x
apk info rpcgen
says it's built from the source from/git.linux-nfs.org which I presume is really git://git.linux-nfs.org/projects/steved/nfs-utils.git, and rpcgen in that repo is deprecated according to steved.Alpine should probably use the rpcgen that's in Fedora from https://github.com/thkukuk/rpcsvc-proto.git, which supports the "hyper" data type (i.e. quad_t).
Without support for hyper, nobody is going to get very far building glusterfs.
Someone with a vested interest in Alpine should get them to update to a modern/current rpcgen. In the mean time anyone wanting to build gluster will absolutely have to build their own rpcgen from source.
stale commentedon Apr 30, 2020
Thank you for your contributions.
Noticed that this issue is not having any activity in last ~6 months! We are marking this issue as stale because it has not had recent activity.
It will be closed in 2 weeks if no one responds with a comment here.
J0WI commentedon Apr 30, 2020
Please keep this open to track it somewhere.
sunnyku commentedon Apr 30, 2020
Thanks for reply; removing tag.
stale commentedon Nov 27, 2020
Thank you for your contributions.
Noticed that this issue is not having any activity in last ~6 months! We are marking this issue as stale because it has not had recent activity.
It will be closed in 2 weeks if no one responds with a comment here.
46 remaining items
pranithk commentedon Jan 17, 2025
I see that @kohlschuetter is working on this issue and sent PR for the same. Re-opening the issue.
Add support for Alpine Linux 3.21 / linux-musl
Add support for Alpine Linux 3.21 / linux-musl
Add support for Alpine Linux 3.21 / linux-musl
Add support for Alpine Linux 3.21 / linux-musl
kohlschuetter commentedon Jan 29, 2025
The code in the above PR works just fine to build on/run with Alpine Linux 3.21, and I hope it can get merged soon.
I also have a working ABUILD/apk binaries for x86_64, which I'm trying to push to the Alpine Linux community repo at some point in the near future (this will require some sort of "release tarball", which I'm currently hosting on my own forked repo).
Add support for Alpine Linux 3.21 / linux-musl
Add support for Alpine Linux 3.21 / linux-musl
Add support for Alpine Linux 3.21 / linux-musl
Add support for Alpine Linux 3.21 / linux-musl
kohlschuetter commentedon Mar 6, 2025
See my Alpine APKBUILD sources on how to build apks for Alpine Linux: https://github.com/kohlschuetter/alpine-repo/tree/apkbuild/abuild-sources/glusterfs
Also see the corresponding blog post for installation instructions, https://kohlschuetter.github.io/blog/posts/2025/03/06/alpine-linux-glusterfs/
geek-at commentedon May 9, 2025
@kohlschuetter on alpine 3.21 I get this error when trying to install via your repo:
Have you encountered this?
mykaul commentedon May 11, 2025
Did you try installing https://pkgs.alpinelinux.org/package/edge/testing/x86_64/tcmalloc ?
kohlschuetter commentedon Jun 5, 2025
@geek-at Please try the updated apks form my repository (just released). If you have further problems with the binary packages, please file an issue in my alpine-repo project.