failure building HEAD

2003-11-30 Thread Robert Collins
checking whether autoconf is installed... yes
checking whether autoconf works... no
configure: error: The installed version of autoconf does not work.
Please check config.log for error messages before this one.

I get the above configuring CVS automake.

from config.log:

configure:1819: eval autoconf --version
autoconf (GNU Autoconf) 2.58
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
configure:1822: $? = 0 
configure:1830: result: yes
configure:1840: checking whether autoconf works
configure:1847: cd conftest && eval autoconf -o /dev/null conftest.ac
autom4te: cannot open /dev/null.tmp: Permission denied

Is this a 'need to use 2.59' thing? (If so, the error is misleading).

autoconf, invoked directly on other projects, works -just fine-.

Rob

-- 
GPG key available at: .





Re: failure building HEAD

2003-12-01 Thread Alexandre Duret-Lutz
>>> "Robert" == Robert Collins <[EMAIL PROTECTED]> writes:

[...]

 Robert> configure:1847: cd conftest && eval autoconf -o /dev/null conftest.ac
 Robert> autom4te: cannot open /dev/null.tmp: Permission denied

 Robert> Is this a 'need to use 2.59' thing? (If so, the error is misleading).

It works fine with Autoconf 2.58.   I wonder if your version of Autoconf
is patched, or if autoconf is a wrapper, or something.  I can't see where
this `.tmp' suffix would come from.

-- 
Alexandre Duret-Lutz





Re: failure building HEAD

2003-12-01 Thread Robert Collins
On Mon, 2003-12-01 at 18:09, Alexandre Duret-Lutz wrote:
> >>> "Robert" == Robert Collins <[EMAIL PROTECTED]> writes:
> 
> [...]
> 
>  Robert> configure:1847: cd conftest && eval autoconf -o /dev/null conftest.ac
>  Robert> autom4te: cannot open /dev/null.tmp: Permission denied
> 
>  Robert> Is this a 'need to use 2.59' thing? (If so, the error is misleading).
> 
> It works fine with Autoconf 2.58.   I wonder if your version of Autoconf
> is patched, or if autoconf is a wrapper, or something.  I can't see where
> this `.tmp' suffix would come from.

I'm on debian unstable, so there is a wrapper - but I bypassed it with
the same results.

Two things combined got it going for me:
1) ./bootstrap
2) doing an in-source-tree configure.

I'm not sure which one fixed it.

Rob

-- 
GPG key available at: .





Re: failure building HEAD

2003-12-02 Thread Alexandre Duret-Lutz
reopen 221483
stop

>>> "Robert" == Robert Collins <[EMAIL PROTECTED]> writes:

 Robert> On Mon, 2003-12-01 at 18:09, Alexandre Duret-Lutz wrote:
 >> >>> "Robert" == Robert Collins <[EMAIL PROTECTED]> writes:
 >> 
 >> [...]
 >> 
 Robert> configure:1847: cd conftest && eval autoconf -o /dev/null conftest.ac
 Robert> autom4te: cannot open /dev/null.tmp: Permission denied
 >> 
 Robert> Is this a 'need to use 2.59' thing? (If so, the error is misleading).
 >> 
 >> It works fine with Autoconf 2.58.   I wonder if your version of Autoconf
 >> is patched, or if autoconf is a wrapper, or something.  I can't see where
 >> this `.tmp' suffix would come from.

 Robert> I'm on debian unstable, so there is a wrapper - but I
 Robert> bypassed it with the same results.

I just updated my Debian packages today and saw this in the
changelog.Debian for autoconf:

autoconf (2.58-7) unstable; urgency=low

  * Make autom4te create files via a temporary followed by a rename, so
that partial writes don't happen.  Closes: #221483.

 -- Ben Pfaff <[EMAIL PROTECTED]>  Tue, 18 Nov 2003 21:43:40 -0800

I think this is the problem.  Ben, you cannot write
`$output.tmp' because when $output is /dev/null a user cannot
create /dev/null.tmp.  This change breaks the configuration of
all versions of Automake since 1.6 :(
-- 
Alexandre Duret-Lutz





Re: failure building HEAD

2003-12-02 Thread Robert Collins
On Tue, 2003-12-02 at 21:44, Alexandre Duret-Lutz wrote:
> I think this is the problem.  Ben, you cannot write
> `$output.tmp' because when $output is /dev/null a user cannot
> create /dev/null.tmp.  This change breaks the configuration of
> all versions of Automake since 1.6 :(

Yah, so, the right way to do this would be to write to a safe temp file
in /tmp, and then move that to the destination?

Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part