[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automake-installed auxiliary scripts can get silently out-of-date af
From: |
Eric Blake |
Subject: |
Re: Automake-installed auxiliary scripts can get silently out-of-date after an Automake upgrade |
Date: |
Tue, 26 Jun 2012 10:22:56 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 06/26/2012 05:23 AM, Stefano Lattarini wrote:
>> Execute this with Automake 1.10.3:
>> $ aclocal
>> $ automake -Wall -a -c
>> configure.ac:2: installing `./install-sh'
>> configure.ac:2: installing `./missing'
>>
>> Then execute this with Automake 1.12:
>> $ aclocal
>> $ automake -Wall
>>
>> No warning. How is a developer meant to notice that he's doing something
>> wrong if 'automake -Wall' does not tell him?
>>
> This is actually a good point. When you upgrade your build system to
> a new Automake version, you should run automake with the "--force" option,
> to ensure that the automake-installed scripts are updated even if they
> are already present in the build tree. But if you fail to do so, you
> don't get any warning, which is not very user-friendly and can cause such
> hard-to-spot errors.
>
> Any idea for a simple solution to this problem?
Well, you _did_ add the new --is-lightweight option to the updated
'missing', and since running 'automake' already checks whether 'missing'
is present (otherwise it suggests rerunning 'automake --install'),
wouldn't it just be a matter of changing that check to instead be
whether 'missing --is-lightweight' succeeds? That is, your new feature
of a changed calling convention also came with an easily probed witness
option.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH] {master} missing: do not touch timestamps; only warn for out-of-date files, (continued)
- Re: [PATCH] {master} missing: do not touch timestamps; only warn for out-of-date files, Eric Blake, 2012/06/25
- Re: [PATCH] {master} missing: do not touch timestamps; only warn for out-of-date files, Stefano Lattarini, 2012/06/26
- Re: [PATCH] {master} missing: do not touch timestamps; only warn for out-of-date files, Bruno Haible, 2012/06/26
- Automake-installed auxiliary scripts can get silently out-of-date after an Automake upgrade (was: Re: [PATCH] {master} missing: do not touch timestamps; only warn for out-of-date files), Stefano Lattarini, 2012/06/26
- Re: Automake-installed auxiliary scripts can get silently out-of-date after an Automake upgrade, Eric Blake, 2012/06/26
- Re: Automake-installed auxiliary scripts can get silently out-of-date after an Automake upgrade, Stefano Lattarini, 2012/06/26
- Re: Automake-installed auxiliary scripts can get silently out-of-date after an Automake upgrade, Eric Blake, 2012/06/26
- Re: Automake-installed auxiliary scripts can get silently out-of-date after an Automake upgrade, Stefano Lattarini, 2012/06/26
- Re: Automake-installed auxiliary scripts can get silently out-of-date after an Automake upgrade, Bruno Haible, 2012/06/26
- Re: Automake-installed auxiliary scripts can get silently out-of-date after an Automake upgrade, Eric Blake, 2012/06/26
- Re: Automake-installed auxiliary scripts can get silently out-of-date after an Automake upgrade,
Eric Blake <=
- Re: [PATCH] {master} missing: do not touch timestamps; only warn for out-of-date files, Eric Blake, 2012/06/27