Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877427 - net-fs/nfs-utils-2.6.1: build without nis support, using internal rpcgen tool
Summary: net-fs/nfs-utils-2.6.1: build without nis support, using internal rpcgen tool
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-10-17 10:56 UTC by Jocelyn Mayer
Modified: 2022-10-18 03:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patch (file_877427.txt,1.62 KB, patch)
2022-10-17 10:59 UTC, Jocelyn Mayer
Details | Diff
Patch to fix internal rpcgen tool compilation (file_877427.txt,1.08 KB, patch)
2022-10-17 11:01 UTC, Jocelyn Mayer
Details | Diff
output from emerge --info =net-fs/nfs-utils-2.6.1 (emerge_infos,24.47 KB, text/plain)
2022-10-17 11:02 UTC, Jocelyn Mayer
Details
Updated ebuild patch for version 2.6.1 (net-fs_nfs-utils_nfs-utils-2.6.1.ebuild.patch,1.65 KB, patch)
2022-10-18 03:27 UTC, Jocelyn Mayer
Details | Diff
Updated ebuild patch for version 2.6.1 (net-fs_nfs-utils_nfs-utils-2.6.1.ebuild.patch,1.19 KB, patch)
2022-10-18 03:29 UTC, Jocelyn Mayer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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