bug-automake
[Top][All Lists]
Advanced

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

Re: make install using "-j"


From: David Everly
Subject: Re: make install using "-j"
Date: Sat, 24 Jun 2006 07:38:45 -0600
User-agent: Mutt/1.5.9i

Thanks for looking into this and sorry for the late response:

On Wed, Jun 21, 2006 at 09:32:16PM +0200, Ralf Wildenhues wrote:
> [ http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00018.html ]
> 
> Hello David, everyone,
> 
> Summary of this post:
> 
> 1) I think I can reproduce the bug you reported with a small test, but
>    would like confirmation that this is indeed the same issue.

It looks like the same issue to me.

> 2) IMHO the bug has since been fixed "accidentally" in install-sh.

I will try the install-sh from CVS on Monday (I only have gnu/linux at
home).

> * David Everly wrote on Tue, Jun 20, 2006 at 09:37:56PM CEST:
> > 
> [...]
> >mkdir: cannot create /tmp/am-dc-7581//home/deverly: File exists
> >mkdir: cannot create /tmp/am-dc-7581//home/deverly: File exists
> >mkdir: cannot create /tmp/am-dc-7581//home/deverly/trunk-nightly: File exists
> >mkdir: cannot create /tmp/am-dc-7581//home/deverly/trunk-nightly: File exists
> 
> 0) Above output isn't enough information.  It is important to also post
> the command that 'make' issued that caused the failures, and, in this
> case, also a couple of commands that happened earlier.  Please do so to
> confirm the following analysis.

I'll send more on Monday.

> 1) An interesting and tricky issue.  I can reproduce the failure on:
> 
> > ia64-hp-hpux11.23
> 
> with this version of the script (from Automake-1.9.6):
> 
> > ./install-sh 2005-05-14.22
> 
> with this example package:
> 
> - snip -
> cat >configure.ac <<EOF
> AC_INIT([j4], [2], [devnull])
> AM_INIT_AUTOMAKE([foreign])
> AC_CONFIG_FILES([Makefile])
> AC_OUTPUT
> EOF
> cat >Makefile.am <<EOF
> # the subdir names are harmless and not relevant for the first test.
> dist_sysconf_DATA = \
>       a/b/c/d/e/file1
> dist_pkgdata_DATA = \
>       a/b/c/d/e/file2
> dist_data_DATA = \
>       a/b/c/d/e/file3 \
>       a/b/c/d/e/file4
> EOF
> mkdir -p a/b/c/d/e
> cd a/b/c/d/e
> touch file1 file2 file3 file4
> cd -
> autoreconf -vi
> ./configure
> make -j4 distcheck
> - snip -
> 
> The error output looks like this for me:
> 
> [...]
> | gmake[2]: Entering directory `/home/rwild/j4/build/j4-2/_build'
> | test -z "/home/rwild/j4/build/j4-2/_inst/etc" || 
> /home/rwild/j4/build/j4-2/install-sh -d 
> "/tmp/am-dc-27562//home/rwild/j4/build/j4-2/_inst/etc"
> | test -z "/home/rwild/j4/build/j4-2/_inst/share/j4" || 
> /home/rwild/j4/build/j4-2/install-sh -d 
> "/tmp/am-dc-27562//home/rwild/j4/build/j4-2/_inst/share/j4"
> | test -z "/home/rwild/j4/build/j4-2/_inst/share" || 
> /home/rwild/j4/build/j4-2/install-sh -d 
> "/tmp/am-dc-27562//home/rwild/j4/build/j4-2/_inst/share"
> | mkdir: cannot create /tmp/am-dc-27562//home/rwild/j4: File exists
> | mkdir: cannot create /tmp/am-dc-27562//home/rwild/j4/build/j4-2/_inst: File 
> exists
> | mkdir: cannot create 
> /tmp/am-dc-27562//home/rwild/j4/build/j4-2/_inst/share: File exists
> | gmake[2]: *** [install-dist_dataDATA] Error 1

>From memory, this looks very much like the errors I've seen.

> 2) AFAICS, this problem has been fixed in the current install-sh
> (instead of the one that ships with Automake-1.9.6).
> David, could you try the script?  You can get it with
> 
>   cvs -d :pserver:anoncvs:address@hidden:/cvs/automake \
>       co -p automake/lib/install-sh > install-sh

I will try this on Monday.





reply via email to

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