Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705194 - net-nds/rpcbind-1.2.5-r1 : src/security.c:29:10: fatal error: rpcsvc/yp.h: No such file or directory
Summary: net-nds/rpcbind-1.2.5-r1 : src/security.c:29:10: fatal error: rpcsvc/yp.h: No...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-11 23:09 UTC by sluidfoe
Modified: 2020-01-12 02:01 UTC (History)
0 users

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


Attachments
emerge --info output (emerge.info.txt,6.33 KB, text/plain)
2020-01-11 23:10 UTC, sluidfoe
Details
build.log (build.log,12.52 KB, text/plain)
2020-01-11 23:11 UTC, sluidfoe
Details
emerge -pqv =net-nds/rpcbind-1.2.5-r1::gentoo output (emerge.pqv.txt,113 bytes, text/plain)
2020-01-11 23:13 UTC, sluidfoe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sluidfoe 2020-01-11 23:09:23 UTC
It looks like pulling in sys-fs/quota[rpc] and including rpcsvc/mount.h from rpcsvc-proto causes builds to fail due to rpcsvc/yp.h not being distributed by rpcsvc-proto.

Relevant bit from rpcbind's src/security.c:

	#ifdef HAVE_RPCSVC_MOUNT_H
	#include <rpcsvc/mount.h>
	#include <rpcsvc/rquota.h>
	#include <rpcsvc/nfs_prot.h>
	#include <rpcsvc/yp.h>
	#include <rpcsvc/ypclnt.h>
	#include <rpcsvc/yppasswd.h>
	#else
	# define MOUNTPROC_MNT	1
	# define MOUNTPROC_UMNT	3
	# define NFS_PROGRAM	100003
	# define YPPROG		100004
	# define MOUNTPROG	100005
	# define YPBINDPROG	100007
	# define YPPASSWDPROG	100009
	# define RQUOTAPROG	100011

	# define YPBINDPROC_SETDOM	2
	# define YPPROC_MATCH	3
	# define YPPROC_FIRST	4
	# define YPPROC_NEXT	5
	# define YPPROC_ALL	8
	#endif

Reproducible: Always

Steps to Reproduce:
1. Emerge net-nds/rpcbind-1.2.5-r1 with new sys-fs/quota[rpc] dep
2. Build fails
Actual Results:  
Building net-nds/rpcbind-1.2.5-r1 fails

Expected Results:  
Building net-nds/rpcbind-1.2.5-r1 does not fail
Comment 1 sluidfoe 2020-01-11 23:10:18 UTC
Created attachment 602966 [details]
emerge --info output
Comment 2 sluidfoe 2020-01-11 23:11:11 UTC
Created attachment 602968 [details]
build.log
Comment 3 sluidfoe 2020-01-11 23:13:42 UTC
Created attachment 602970 [details]
emerge -pqv =net-nds/rpcbind-1.2.5-r1::gentoo output
Comment 4 Larry the Git Cow gentoo-dev 2020-01-12 02:01:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=791f842d65238c4990c3b263fb7440340f926edd

commit 791f842d65238c4990c3b263fb7440340f926edd
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-01-12 02:01:27 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-01-12 02:01:27 +0000

    net-nds/rpcbind: depend on net-libs/libnsl for rpcsvc/yp.h
    
    Closes: https://bugs.gentoo.org/705194
    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 | 1 +
 net-nds/rpcbind/rpcbind-9999.ebuild     | 1 +
 2 files changed, 2 insertions(+)