quota support for rpcbind-1.2.5-r1 should not be required Reproducible: Always Steps to Reproduce: 1. attempt upgrade of rpcbind to rpcbind-1.2.5-r1 2. view new required deep Actual Results: emerge: there are no ebuilds built with USE flags to satisfy "sys-fs/quota[rpc]". !!! One of the following packages is required to complete your request: - sys-fs/quota-4.05-r1::gentoo (Change USE: +rpc) (dependency required by "net-nds/rpcbind-1.2.5-r1::gentoo" [ebuild]) (dependency required by "net-fs/nfs-utils-2.4.2-r1::gentoo" [installed]) (dependency required by "@selected" [set]) (dependency required by "@world" [argument]) Expected Results: no requirement on (locally unused) quota support if not desired add IUSE flag quota append use condtional line to CDEPEND quota? ( sys-fs/quota[rpc] ) under prepare phase (before configure): if quota flag not set then remove references that will cause it to fail: cd work directory sed -i "/RQUOTAPROG/d" ./src/security.c sed -i "/rquota.h/d" ./src/security.c configured/compiles/works when built this way (without quota support) will work on a patched ebuild for others to test
*** This bug has been marked as a duplicate of bug 665222 ***
The issues between this and the suggested duplicate bug 665222 are not the same. Quota support is not required for rpcbind to function and quotas often aren't used with nfs setups at all. Making the quota dep optional would avoid always pulling a package that is seldom used.
I wonder if we should maybe just drop the #ifdef HAVE_RPCSVC_MOUNT_H section entirely, and just rely on the copy/pasted values below it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=800eb4146cfe655ca8962d7fb692bae138bdfeb1 commit 800eb4146cfe655ca8962d7fb692bae138bdfeb1 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-01-13 16:54:37 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-01-13 16:56:28 +0000 net-nds/rpcbind: avoid using rpcsvc headers Closes: https://bugs.gentoo.org/705224 Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild | 63 --------------------------------- net-nds/rpcbind/rpcbind-1.2.5.ebuild | 7 +++- net-nds/rpcbind/rpcbind-9999.ebuild | 10 +++--- 3 files changed, 10 insertions(+), 70 deletions(-)