Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 1997 01:23:06 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Simon Shapiro <Shimon@i-Connect.Net>
Cc:        freebsd-current@FreeBSD.ORG, Bruce Evans <bde@zeta.org.au>
Subject:   Re: Make Release Fails...
Message-ID:  <19970916012306.17827@hydrogen.nike.efn.org>
In-Reply-To: <XFMail.970916005156.Shimon@i-Connect.Net>; from Simon Shapiro on Tue, Sep 16, 1997 at 12:51:56AM -0700
References:  <XFMail.970916005156.Shimon@i-Connect.Net>

next in thread | previous in thread | raw e-mail | index | archive | help
Simon Shapiro scribbled this message on Sep 16:
> Any reason for the following?  The hosting system was make worlded the week
> before:
> 
> rpcgen -C -c /usr/obj/usr/src/tmp/usr/include/rpcsvc/ypupdate_prot.x -o
> ypupdate_prot_xdr.c
> rm -f .depend
> mkdep -f .depend -a  -DYP -I/usr/obj/usr/src/tmp/usr/include/rpcsvc
> -I/usr/obj/usr/src/tmp/usr/include -I/usr/obj/usr/src/tmp/usr/include 
> klm_prot_xdr.c mount_xdr.c nfs_prot_xdr.c nlm_prot_xdr.c rex_xdr.c
> rnusers_xdr.c rquota_xdr.c rstat_xdr.c rwall_xdr.c sm_inter_xdr.c
> spray_xdr.c yppasswd_xdr.c ypxfrd_xdr.c ypupdate_prot_xdr.c
> /usr/src/lib/librpcsvc/rnusers.c /usr/src/lib/librpcsvc/rstat.c
> /usr/src/lib/librpcsvc/rwall.c /usr/src/lib/librpcsvc/yp_passwd.c
> /usr/src/lib/librpcsvc/yp_update.c /usr/src/lib/librpcsvc/publickey.c
> /usr/src/lib/librpcsvc/secretkey.c /usr/src/lib/librpcsvc/xcrypt.c
> klm_prot_xdr.c:6: klm_prot.h: No such file or directory
> mount_xdr.c:6: mount.h: No such file or directory
> nfs_prot_xdr.c:6: nfs_prot.h: No such file or directory
> nlm_prot_xdr.c:6: nlm_prot.h: No such file or directory
> rex_xdr.c:6: rex.h: No such file or directory
> rnusers_xdr.c:6: rnusers.h: No such file or directory
> rquota_xdr.c:6: rquota.h: No such file or directory
> rstat_xdr.c:6: rstat.h: No such file or directory
> rwall_xdr.c:6: rwall.h: No such file or directory
> sm_inter_xdr.c:6: sm_inter.h: No such file or directory
> spray_xdr.c:6: spray.h: No such file or directory
> yppasswd_xdr.c:6: yppasswd.h: No such file or directory
> ypxfrd_xdr.c:6: ypxfrd.h: No such file or directory
> ypupdate_prot_xdr.c:6: ypupdate_prot.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
> 
> All these files exist both in /usr/include and in the release build area!
> They also exist in /usr/obj/usr/src/3.0/src/tmp/usr/include,
> but not in /usr/obj/usr/src/tmp/usr/include, which does not exist at all.
> 
> This leads me to the conclusion that while make world knows about
> non-absolute, non-fixed pathnames and actually supports them, make release
> still belives that the world outside /usr/src does not exist.
> 
> Now, I'll haste to say that the 27-Aug-97 build did not suffer from this
> problem.

I believe that this will fix it... right now I'm testing it out myself
and it looks like it got past were it needed it to be:

I think what happened was that some how rgrimes patches made the cwd be
the source path instead of the objdir path.. so it wasn't finding them
in the local dir, but because the other header files were fixed to do
curdir (for source path) we never noticed...

Bruce, any objections to this fix?

Index: src/include/rpcsvc/Makefile
===================================================================
RCS file: /home/ncvs/src/include/rpcsvc/Makefile,v
retrieving revision 1.18
diff -c -r1.18 Makefile
*** Makefile	1997/08/21 18:33:13	1.18
--- Makefile	1997/09/16 07:49:24
***************
*** 25,31 ****
  	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
  		${HFILES:S;^;${.CURDIR}/;} \
  		${XFILES:S;^;${.CURDIR}/;} \
! 		${HDRS} \
  		${DESTDIR}/usr/include/rpcsvc
  
  .x.h:
--- 25,31 ----
  	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
  		${HFILES:S;^;${.CURDIR}/;} \
  		${XFILES:S;^;${.CURDIR}/;} \
! 		${HDRS:S;^;${.OBJDIR}/;} \
  		${DESTDIR}/usr/include/rpcsvc
  
  .x.h:


-- 
  John-Mark Gurney                          Modem/FAX: +1 541 683 6954
  Cu Networking

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970916012306.17827>