Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 877427

Summary: net-fs/nfs-utils-2.6.1: build without nis support, using internal rpcgen tool
Product: Gentoo Linux Reporter: Jocelyn Mayer <l_indien>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein, l_indien
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=877423
https://bugs.gentoo.org/show_bug.cgi?id=877433
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild patch
Patch to fix internal rpcgen tool compilation
output from emerge --info =net-fs/nfs-utils-2.6.1
Updated ebuild patch for version 2.6.1
Updated ebuild patch for version 2.6.1

Description Jocelyn Mayer 2022-10-17 10:56:56 UTC
On a system built without NIS support, not having net-libs/libnsl & net-libs/rpcsvc-proto merged, nfs-utils cannot build because of missing rpcgen tool.
However, the package has an '--with-rpcgen=internal' configuration option which solves this issue and also provides the rpcgen tool for other packages with the same problem

Reproducible: Always

Steps to Reproduce:
1. Build without NIS support, masking net-libs/libnsl and net-libs/rpcsvc-proto
2. Try to build net-fs/nfs-utils
3. Build fails because of lack of rpcgen tool
Actual Results:  
Build fails

Expected Results:  
Use rpcgen bundled with net-fs/nfs-utils package for building and providing
Comment 1 Jocelyn Mayer 2022-10-17 10:59:16 UTC
Created attachment 824571 [details, diff]
Ebuild patch
Comment 2 Jocelyn Mayer 2022-10-17 11:01:13 UTC
Created attachment 824573 [details, diff]
Patch to fix internal rpcgen tool compilation

This patched is referenced in the previous ebuild patch
Comment 3 Jocelyn Mayer 2022-10-17 11:02:49 UTC
Created attachment 824575 [details]
output from emerge --info =net-fs/nfs-utils-2.6.1
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-17 19:27:32 UTC
(In reply to Jocelyn Mayer from comment #2)
> Created attachment 824573 [details, diff] [details, diff]
> Patch to fix internal rpcgen tool compilation
> 
> This patched is referenced in the previous ebuild patch

Please send this patch upstream & link the submission here.
Comment 5 Jocelyn Mayer 2022-10-18 03:26:03 UTC
Sorry, my mistake, this has already been fixed upstream since I did this patch for version 2.3.3:
  internal rpcgen is now built first and used for nfs-utils build when
    --rpcgen=internal option is given.
Thus, the source code patch is not needed anymore, I'm going to mark it obsolete and give an updated ebuild patch.
Comment 6 Jocelyn Mayer 2022-10-18 03:27:07 UTC
Created attachment 824649 [details, diff]
Updated ebuild patch for version 2.6.1
Comment 7 Jocelyn Mayer 2022-10-18 03:29:28 UTC
Created attachment 824651 [details, diff]
Updated ebuild patch for version 2.6.1

Previously submited patch has useless "noise" as heading