This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
2.25 nis/rpcsvc headers ?
- From: Jason Vas Dias <jason dot vas dot dias at gmail dot com>
- To: libc-help at sourceware dot org, libc-devel at sourceware dot org
- Date: Tue, 11 Apr 2017 22:51:00 +0000
- Subject: 2.25 nis/rpcsvc headers ?
- Authentication-results: sourceware.org; auth=none
Please can anyone explain why after a build & install of glibc-2.25
GIT tagged tree
there is no /usr/include/nis/rpcsvc/* ? I thought these headers were
meant to be
installed - in Makefile, it says :
installed-headers = argp/argp.h assert/assert.h catgets/nl_types.h \
$(wildcard inet/netinet/*.h) \
$(wildcard inet/arpa/*.h inet/protocols/*.h) \
# ^- these headers get installed
...
$(wildcard nis/rpcsvc/*.h) nptl_db/thread_db.h \.
# ^- but these don't
.
Yet some installed headers contain references to the NIS headers:
$ grep 'include.*nis/rpc' /usr/include/rpcsvc/*
/usr/include/rpcsvc/nis.h:#include <nis/rpcsvc/nis.h>
/usr/include/rpcsvc/nis_callback.h:#include <nis/rpcsvc/nis_callback.h>
/usr/include/rpcsvc/nis_tags.h:#include <nis/rpcsvc/nis_tags.h>
/usr/include/rpcsvc/nislib.h:#include <nis/rpcsvc/nislib.h>
/usr/include/rpcsvc/yp.h:#include <nis/rpcsvc/yp.h>
/usr/include/rpcsvc/ypclnt.h:#include <nis/rpcsvc/ypclnt.h>
/usr/include/rpcsvc/ypupd.h:#include <nis/rpcsvc/ypupd.h>
So any program that includes those rpcsvc headers will get an error .
Is there any way to get the NIS headers installed again during build ?
Simply copying does not work - they contain references to internal libc
headers like 'libc-symbols.h' and 'symbol-hacks.h' - yet glibc is
shipping references to them ?
Can anyone please explain why is this ?
If glibc has decided to disable NIS / YP, then it should not ship
headers containing references to the NIS headers.
$ make subdirs=nis
works , as does
$ make subdirs=nis install
, but no nis/rpcsvc headers get installed .
It does not seem to be a problem with $(wildcard *) selected headers
with separate $srcdir and $objdir directories, since copying the nis
subdirectory
from the $srcdir to the $objdir and doing 'make subdirs=nis install' still does
not install nis/rpcsvc headers.
Is there any way to enable NIS / YP header installation so that
compilation of RPC
using code works under GLIBC 2.25 ? No useful configure script or
INSTALL matches for "egrep -i 'nis|yp' configure INSTALL" to shed any
light on this.
Thanks in advance for any replies,
Jason