GNU bug report logs - #77897
"make clean" should do a "rm -rf .deps"

Previous Next

Package: automake;

Reported by: Sam Varshavchik <mrsam <at> courier-mta.com>

Date: Fri, 18 Apr 2025 11:58:05 UTC

Severity: normal

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sam Varshavchik <mrsam <at> courier-mta.com>
Subject: bug#77897: closed (Re: bug#77897: "make clean" should do a       
  "rm -rf .deps")
Date: Tue, 22 Apr 2025 21:28:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#77897: "make clean" should do a "rm -rf .deps"

which was filed against the automake package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 77897 <at> debbugs.gnu.org.

-- 
77897: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77897
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Karl Berry <karl <at> freefriends.org>
To: 77897-done <at> debbugs.gnu.org
Subject: Re: bug#77897: "make clean" should do a
         "rm -rf .deps"
Date: Tue, 22 Apr 2025 15:27:21 -0600

[Message part 3 (message/rfc822, inline)]
From: Sam Varshavchik <mrsam <at> courier-mta.com>
To: bug-automake <at> gnu.org
Subject: "make clean" should do a "rm -rf
 .deps"
Date: Fri, 18 Apr 2025 07:56:49 -0400
[Message part 4 (text/plain, inline)]
.deps/filename gets created during building with --enable-dependency- 
tracking and should get removed by make clean. But it does not. For example:

main.h:

int helloworld();

main.c:

#include <main.h>

int helloworld()
{
   return 0;
}

int main()
{
   helloworld();
}

Set up a minimal Makefile.am and configure.ac to build this. Building this  
will create .deps/<filename> with a:

main.o: main.h main.c

Now: 1) 'rm -f main.h"  2) Remove the #include

Then try to build this:

make clean
make

Will fail because that dependency exists and make does not know how to build  
main.h. I have to rm -rf .deps myself.

automake 1.16.5

[Message part 5 (application/pgp-signature, inline)]

This bug report was last modified 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.