this patchset allows net-libs/libtirpc-0.2.4-r1 to be build against musl libc this patchset isn't intended for inclusion to official portage tree, it is intented for the musl branch in the hardened-dev overlay. Reproducible: Always
Created attachment 390028 [details, diff] fix DECLS bug
Created attachment 390030 [details, diff] fix cdefs bug
Created attachment 390032 [details, diff] fix queue.h bug
Created attachment 390034 [details, diff] fix the rest of the issues
Created attachment 390460 [details, diff] 0001-Provide-getrpcbynumber-and-getrpcbyname-if-those-are.patch new patchset
Created attachment 390462 [details, diff] 0002-Misc-header-fixes.patch new patchset
Created attachment 390464 [details, diff] 0003-fix_DECLS.patch new patchset
Created attachment 390466 [details, diff] 0004-fix_cdefs_h_include.patch new patchset
Created attachment 390468 [details, diff] 0005-fix_queue_h_include.patch new patchset
Created attachment 390470 [details, diff] 0006-fix_remaining_issues.patch new patchset
latest patchset vs version 0.2.5, it seems that 0.2.5 works better with musl as it is easier to disable des support because musl doesn't supports it.
Created attachment 390590 [details, diff] 0001-Provide-getrpcbynumber-and-getrpcbyname-if-those-are.patch
Created attachment 390592 [details, diff] 0002-Misc-header-fixes.patch
Created attachment 390594 [details, diff] 0003-fix_cdefs_h_include.patch
Created attachment 390596 [details, diff] 0004-fix_DECLS.patch
Created attachment 390598 [details, diff] 0005-fix_remaining_issues.patch
Created attachment 390600 [details, diff] 0006-fix_queue_h_include.patch
Created attachment 390602 [details, diff] 0007-no-des.patch
Created attachment 390604 [details, diff] diff.patch ebuild patch, eautoconf and eautoreconf are needed.
please make a single commit against hardened-dev::musl overlay and upload the patch
Created attachment 393610 [details, diff] patch against hardened musl branch
pushed to the overlay
there's an upstream mailing list that the maintainers watch (the nfs one). these patches really should get sent there.
(In reply to SpanKY from comment #23) > there's an upstream mailing list that the maintainers watch (the nfs one). > these patches really should get sent there. You're right, we're becoming too lazy with the overlay. Re-opening this so we don't forget to push these upstream.
Looks like most of the patches in the musl overlay have made it into upstream libtirpc, despite lack of effort from the musl team.
(In reply to Matt Turner from comment #25) > Looks like most of the patches in the musl overlay have made it into > upstream libtirpc, despite lack of effort from the musl team. Everything that is required has been pushed upstream already, I updated the 1.1.4 ebuild with the last pending patch and drop'd the unneeded bcopy to mem patch.
(In reply to Jory A. Pratt from comment #26) > (In reply to Matt Turner from comment #25) > > Looks like most of the patches in the musl overlay have made it into > > upstream libtirpc, despite lack of effort from the musl team. > > Everything that is required has been pushed upstream already, I updated the > 1.1.4 ebuild with the last pending patch and drop'd the unneeded bcopy to > mem patch. Since its a relatively small patch, maybe we can look at mainlining this into ::gentoo ? cc'ing Base for comment. -r1 seems to be in overlay already .. this could be conveniently ported over ;)
(In reply to Michael 'veremitz' Everitt from comment #27) > (In reply to Jory A. Pratt from comment #26) > > (In reply to Matt Turner from comment #25) > > > Looks like most of the patches in the musl overlay have made it into > > > upstream libtirpc, despite lack of effort from the musl team. > > > > Everything that is required has been pushed upstream already, I updated the > > 1.1.4 ebuild with the last pending patch and drop'd the unneeded bcopy to > > mem patch. > > Since its a relatively small patch, maybe we can look at mainlining this > into ::gentoo ? cc'ing Base for comment. -r1 seems to be in overlay already > .. this could be conveniently ported over ;) I'll add it if someone upstreams it first. It's been five years.
(In reply to Matt Turner from comment #28) > (In reply to Michael 'veremitz' Everitt from comment #27) > > > > Since its a relatively small patch, maybe we can look at mainlining this > > into ::gentoo ? cc'ing Base for comment. -r1 seems to be in overlay already > > .. this could be conveniently ported over ;) > > I'll add it if someone upstreams it first. It's been five years. Tada - https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=5735d1c8c9400e1ede403a1abb48b90514a89889 :D tia!
libtirpc-1.2.5 should work with musl.