this hefty patchset allows net-fs/nfs-utils-1.3.0-r1 to be build against musl libc this patchset isn't intended for inclusion to official portage tree, it is intended for the musl branch in the hardened-dev overlay. Reproducible: Always
Created attachment 391610 [details, diff] 0001-Add-string.h-to-source-files-that-need-it.patch
Created attachment 391612 [details, diff] 0001-conffile-use-standard-uint-_t-and-unsigned-char.patch
Created attachment 391614 [details, diff] 0001-fix_queue_h_include.patch
Created attachment 391616 [details, diff] 0002-Fix-header-include-for-definition-of-NULL.patch
Created attachment 391618 [details, diff] 0002-mountd-talk-to-kernel-using-file-descriptors-instead.patch
Created attachment 391620 [details, diff] 0003-replace-__attribute_malloc__-with-the-more-portable-.patch
Created attachment 391622 [details, diff] 0004-Allow-usage-of-getrpcbynumber-when-getrpcbynumber_r-.patch
Created attachment 391624 [details, diff] 0004-nfsexport-talk-to-kernel-using-file-descriptors-inst.patch
Created attachment 391626 [details, diff] 0005-exportfs-define-_GNU_SOURCE-for-stat64.patch
Created attachment 391628 [details, diff] 0005-nfslib-remove-now-unused-FILE-helpers.patch
Created attachment 391630 [details, diff] 0006-mountd-define-_GNU_SOURCE-for-statfs64-and-use-stand.patch
Created attachment 391632 [details, diff] 0007-nfsstat-replace-the-legacy-SA_ONESHOT-with-standard-.patch
Created attachment 391634 [details, diff] 0009-gssd-talk-to-kernel-using-file-descriptors-instead-o.patch
Created attachment 391636 [details, diff] 0010-fix_missing_basename_header.patch
Created attachment 391638 [details, diff] 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
Created attachment 391640 [details, diff] 0012_add_strings_header_to_missing_src_files.patch
Created attachment 391642 [details, diff] musl-getservbyport.patch
the following patches are taken from alpine linux: 0001-Add-string.h-to-source-files-that-need-it.patch 0001-conffile-use-standard-uint-_t-and-unsigned-char.patch 0002-Fix-header-include-for-definition-of-NULL.patch 0002-mountd-talk-to-kernel-using-file-descriptors-instead.patch 0003-replace-__attribute_malloc__-with-the-more-portable-.patch 0004-Allow-usage-of-getrpcbynumber-when-getrpcbynumber_r-.patch 0004-nfsexport-talk-to-kernel-using-file-descriptors-inst.patch 0005-exportfs-define-_GNU_SOURCE-for-stat64.patch 0005-nfslib-remove-now-unused-FILE-helpers.patch 0006-mountd-define-_GNU_SOURCE-for-statfs64-and-use-stand.patch 0007-nfsstat-replace-the-legacy-SA_ONESHOT-with-standard-.patch 0009-gssd-talk-to-kernel-using-file-descriptors-instead-o.patch 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch musl-getservbyport.patch some of them needed to undergo some adjustments
(In reply to DaggyStyle from comment #18) > the following patches are taken from alpine linux: > 0001-Add-string.h-to-source-files-that-need-it.patch > > 0001-conffile-use-standard-uint-_t-and-unsigned-char.patch > > 0002-Fix-header-include-for-definition-of-NULL.patch > 0002-mountd-talk-to-kernel-using-file-descriptors-instead.patch > 0003-replace-__attribute_malloc__-with-the-more-portable-.patch > 0004-Allow-usage-of-getrpcbynumber-when-getrpcbynumber_r-.patch > 0004-nfsexport-talk-to-kernel-using-file-descriptors-inst.patch > 0005-exportfs-define-_GNU_SOURCE-for-stat64.patch > 0005-nfslib-remove-now-unused-FILE-helpers.patch > 0006-mountd-define-_GNU_SOURCE-for-statfs64-and-use-stand.patch > 0007-nfsstat-replace-the-legacy-SA_ONESHOT-with-standard-.patch > 0009-gssd-talk-to-kernel-using-file-descriptors-instead-o.patch > 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch > musl-getservbyport.patch > > some of them needed to undergo some adjustments Can you make this into a single patch against hardened-dev::musl overlay.
there's an upstream mailing list that the maintainers watch. these patches really should get sent there.
Most of the patches are already upstream. The alpine linux distribution is based on musl libc and, for version 1.3.2, uses only 3 patches: http://git.alpinelinux.org/cgit/aports/tree/main/nfs-utils
if everything is upstream now then, we're all set :) 1.3.3 is in the tree now
It's not the case that all of the patches are upstream, just *most* of them. At least 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch musl-getservbyport.patch are still necessary.