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: 3285 From ghudson@MIT.EDU Sun Jan 12 12:05:18 1997 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 MAA00959 for ; Sun, 12 Jan 1997 12:05:16 -0500 Received: from THE-LIGHT-FANTASTIC.MIT.EDU by MIT.EDU with SMTP id AA16644; Sun, 12 Jan 97 12:05:14 EST Received: (from ghudson@localhost) by the-light-fantastic.MIT.EDU (8.6.12/8.6.12) id MAA15682; Sun, 12 Jan 1997 12:05:12 -0500 Message-Id: <199701121705.MAA15682@the-light-fantastic.MIT.EDU> Date: Sun, 12 Jan 1997 12:05:12 -0500 From: Greg Hudson To: krb5-bugs@MIT.EDU Subject: "make clean" removes config.log >Number: 337 >Category: krb5-build >Synopsis: "make clean" removes config.log >Confidential: yes >Severity: serious >Priority: medium >Responsible: tlyu >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Sun Jan 12 12:06:00 EST 1997 >Last-Modified: Fri May 30 16:02:07 EDT 1997 >Originator: >Organization: >Release: >Environment: >Description: This bug applies to krb5beta7; I haven't checked whether it's still present in the 1.0 release. At least in src/appl/bsd, and probably everywhere, the "make clean" target removes config.log, pre.out, post.out, and Makefile.out, which are not files generated by building the program. The Gnu Coding Standards forbid this behavior: `clean' Delete all files from the current directory that are normally created by building the program. Don't delete the files that record the configuration. Also preserve files that could be made by building, but normally aren't because the distribution comes with them. Delete `.dvi' files here if they are not part of the distribution. `distclean' Delete all files from the current directory that are created by configuring or building the program. If you have unpacked the source and built the program without creating any other files, `make distclean' should leave only the files that were in the distribution. In practice, removing config.log is really irritating because it makes it difficult to track down a problem I'm currently experiencing: once in a blue moon, the Kerberos 5 configure script on Solaris decides that "initgroups" isn't defined and the build (which follows a "make clean") blows out. By that time config.log has been blown away, and I have no way of figuring out what went wrong. >How-To-Repeat: >Fix: >Audit-Trail: Responsible-Changed-From-To: gnats-admin->tlyu Responsible-Changed-By: tlyu Responsible-Changed-When: Wed Jan 15 22:39:14 1997 Responsible-Changed-Why: Refiled State-Changed-From-To: open-feedback State-Changed-By: tlyu State-Changed-When: Sun Mar 16 02:37:09 1997 State-Changed-Why: This is fixed on the trunk by changes to pre.in and post.in. I'm not sure whether this will make it into 1.0p1 though, since lots of changes have happened to pre.in and post.in since the 1.0 release branch in order to support the new library build procedure. State-Changed-From-To: feedback-closed State-Changed-By: tlyu State-Changed-When: Fri May 30 16:01:44 1997 State-Changed-Why: Not fixing this in 1.0pl1; fix is on trunk though. >Unformatted: