On 2025-08-30 13:23, Adam Thiede wrote:
Hello - I'm interested in packaging xfsdump for alpine linux. However, alpine uses musl libc and I had to change a lot of things to get xfsdump to build. Mostly it was changing types that are specific to glibc (i.e. stat64 -> stat). I'm not much of a c programmer myself so I am likely misunderstanding some things, but changing these types allows xfsdump to compile and function on musl libc. xfsdump still compiles on Debian with this patch too.
You might want to double-check with Gentoo's Musl porting notes: https://wiki.gentoo.org/wiki/Musl_porting_notes esp. 2.6: "error: LFS64 interfaces". We currently still take the "workaround" route: https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-fs/xfsdump/xfsdump-3.1.12.ebuild?id=33791d44f8bbe7a8d1566a218a76050d9f51c33d ..but fixing this for real is certainly a good idea! cheers Holger