bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make -j# for parallel build failed


From: William Park
Subject: Re: make -j# for parallel build failed
Date: Fri, 1 Jul 2005 01:19:55 -0400
User-agent: Mutt/1.4.2i

On Thu, Jun 30, 2005 at 12:52:26AM +0200, Martin von Gagern wrote:
> There was an issue reported and hopefully solved at gentoo:
> http://bugs.gentoo.org/show_bug.cgi?id=87247
> http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-shells/bash/files/bash-3.0-parallel.patch?rev=1.1&content-type=text/vnd.viewcvs-markup
> This should probably be fixed upstream as well.


Thanks for the heads up.  Unfortunately, 'make clean' removes
pathnames.h, and this creates problem for 'make -j3'.  Fix was to remove
pathnames.h only when Makefiles are removed (ie. make distclean, make
maintainer-clean).  Patch is below:


--- Makefile.in--orig   2005-07-01 01:04:54.000000000 -0400
+++ Makefile.in 2005-07-01 01:06:16.000000000 -0400
@@ -728,7 +728,7 @@
 
 basic-clean:
        $(RM) $(OBJECTS) $(Program) bashbug
-       $(RM) .build .made version.h pathnames.h
+       $(RM) .build .made version.h
 
 clean: basic-clean
        ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
@@ -759,6 +759,7 @@
        -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
        $(RM) $(CREATED_CONFIGURE) tags TAGS 
        $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES)
+       $(RM) pathnames.h
 
 maintainer-clean:      basic-clean
        @echo This command is intended for maintainers to use.
@@ -773,6 +774,7 @@
        -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
        $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES)
        $(RM) $(CREATED_SUPPORT) Makefile
+       $(RM) pathnames.h
 
 maybe-clean:
        -if test "X$(topdir)" != "X$(BUILD_DIR)" ; then \


-- 
William Park <opengeometry@yahoo.ca>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
           http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
          http://freshmeat.net/projects/bashdiff/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]