bugGNUstep - Bugs: bug #29730, Build attempt when typing 'make...


You are not allowed to post comments on this tracker with your current authentification level.

bug #29730: Build attempt when typing 'make distclean' twice

Submitted by:  Quentin Mathé <qmathe>
Submitted on:  Sat May 1 15:16:59 2010  
Category: MakefilesSeverity: 2 - Minor
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon Jun 30 12:22:08 2014, comment #3:

Here is a proposed patch to fix this issue. While here, I also fixed clean/distclean so that all generated files are deleted. The comments are probably more verbose than needed, feel free to trim them.

P.S. Tests/base/NSInvocationOperation/GNUmakefile should be removed from the repository.

(file #31642)

Yavor Doganov <yavor>
Sat May 8 14:10:02 2010, comment #2:

ok, I understand the problem better. I agree that the fix can wait since it is a small issue.

To be precise… The annoying case is when you type 'make distclean' just before leaving a project directory and later on you return to this directory. When you return, you might type 'svn up && make distclean' to be sure you start on a clean base, but right at this point you get stuck as you described.

Quentin Mathé <qmathe>
Project Member
Tue May 4 13:06:00 2010, comment #1:

Thanks Quentin

yes, that's a "known" issue in gnustep-base's makefiles/configure. It's time to fix it :-)

It works that way because the GNUmakefiles are partially generated by ./configure, so you need to do a full ./configure before you can run any targets - including 'distclean'.

That makes sense for building or installing, but for 'distclean' it doesn't make that much sense. I find it annoying when you can't complete the ./configure (eg, missing dependency), and you're stuck as you can't go forward and can't even go back to a distclean state because distclean itself requires configure.

There are a number of possible solutions, but I'd need to think a bit. It's not an urgent issue though, may even be prudent to fix it after the release.

Suggestions (if anyone has any) are welcome. :-)


Nicola Pero <nico>
Project Member
Sat May 1 15:16:59 2010, original submission:

If I build and clean GNUstep Base svn trunk with:
./configure && make && make distclean && make distclean

The last 'make distclean' invocation appear to re-run ./configure when I expect it to do nothing.

I haven't tested it, but I suppose the same issue exists in GNUstep GUI and Back.


Quentin Mathé <qmathe>
Project Member


Attached Files
file #31642:  fix-distclean.patch added by yavor (4kB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by yavor (Updated the item)
  • -unavailable- added by nico (Posted a comment)
  • -unavailable- added by qmathe (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Jun 30 12:22:08 2014yavorAttached File-=>Added fix-distclean.patch, #31642

    Back to the top

    Powered by Savane 3.1-cleanup1