From owner-freebsd-current Tue Sep 16 01:23:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA09993 for current-outgoing; Tue, 16 Sep 1997 01:23:53 -0700 (PDT) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA09956 for ; Tue, 16 Sep 1997 01:23:47 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id BAA10728; Tue, 16 Sep 1997 01:23:07 -0700 (PDT) Message-ID: <19970916012306.17827@hydrogen.nike.efn.org> Date: Tue, 16 Sep 1997 01:23:06 -0700 From: John-Mark Gurney To: Simon Shapiro Cc: freebsd-current@FreeBSD.ORG, Bruce Evans Subject: Re: Make Release Fails... References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: ; from Simon Shapiro on Tue, Sep 16, 1997 at 12:51:56AM -0700 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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