Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 2917 From donn@u.washington.edu Wed Oct 6 16:35:15 1999 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id QAA08688 for ; Wed, 6 Oct 1999 16:35:14 -0400 Received: from jason01.u.washington.edu by MIT.EDU with SMTP id AA21370; Wed, 6 Oct 99 16:35:08 EDT Received: from saul8.u.washington.edu (donn@saul8.u.washington.edu [140.142.82.3]) by jason01.u.washington.edu (8.9.3+UW99.09/8.9.3+UW99.09) with ESMTP id NAA13580 for ; Wed, 6 Oct 1999 13:35:11 -0700 Received: (from donn@localhost) by saul8.u.washington.edu (8.9.3+UW99.09/8.9.3+UW99.09) id NAA13459; Wed, 6 Oct 1999 13:35:10 -0700 (PDT) Message-Id: <199910062035.NAA13459@saul8.u.washington.edu> Date: Wed, 6 Oct 1999 13:35:10 -0700 (PDT) From: donn@u.washington.edu Reply-To: donn@u.washington.edu To: krb5-bugs@MIT.EDU Subject: Makefile VPATH problem in lib/rpc and lib/kadm5 X-Send-Pr-Version: 3.99 >Number: 767 >Category: krb5-build >Synopsis: VPATH expands dependency vars, full path doesn't work in cp >Confidential: no >Severity: serious >Priority: medium >Responsible: tlyu >State: feedback >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Wed Oct 06 16:36:01 EDT 1999 >Last-Modified: Tue Feb 22 16:15:53 EST 2000 >Originator: Donn Cave >Organization: University Computing Services University of Washington >Release: krb5-1.1 >Environment: System: OSF1 saul8 V4.0 878 alpha Machine: alpha >Description: Makefiles in lib/rpc and lib/kadm5 copy include files from source directory. This is done in a context where these include files are dependencies, and with make on Digital UNIX 4.0, the names evaluate to their full path per VPATH, in the body of the rule. When the rule attempts to copy these files from srcdir to ., it fails because the resulting cp command doesn't account for this full path. >How-To-Repeat: Build on Digital UNIX, specify separate --srcdir. >Fix: (This is surely not the only remedy.) *** lib/rpc/Makefile.in.dist Thu Sep 23 15:44:11 1999 --- lib/rpc/Makefile.in Wed Oct 6 13:19:40 1999 *************** *** 187,192 **** --- 187,193 ---- includes:: $(SRC_HDRS) $(BUILD_HDRS) if [ -d $(HDRDIR) ]; then :; else mkdir -p $(HDRDIR); fi for i in $(SRC_HDRS) ; do \ + i=`basename $$i`; \ if cmp $(srcdir)/$$i $(HDRDIR)/$$i >/dev/null 2>&1; then :; \ else \ (set -x; $(RM) $(HDRDIR)/$$i; \ *************** *** 194,199 **** --- 195,201 ---- fi ; \ done for i in $(BUILD_HDRS) ; do \ + i=`basename $$i`; \ if cmp $$i $(HDRDIR)/$$i >/dev/null 2>&1; then :; \ else \ (set -x; $(RM) $(HDRDIR)/$$i; \ >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: raeburn State-Changed-When: Tue Feb 22 16:15:16 2000 State-Changed-Why: Checked in, and similar patch to lib/kadm5/Makefile.in. >Unformatted: