Re: bug#19108: bad error messages in dist targets, automake 1.14.1

"Gary V. Vaughan" <[email protected]>
Newsgroups gmane.comp.sysutils.automake.patches
Message-ID <[email protected]>
Hi Stefano,

> On 19 Dec 2014, at 10:12, Stefano Lattarini <[email protected]> wrote:
> 
> severity 19108 minor
> close 19108
> thanks
> 
>> On 11/19/2014 05:40 PM, Aharon Robbins wrote:
>> Hi. I'm trying to upgrade to automake 1.14.1, and I see this:
>> 
>> @@ -993,10 +993,16 @@ dist-xz: distdir
>>      $(am__post_remove_distdir)
>> 
>>  dist-tarZ: distdir
>> +    @echo WARNING: "Support for shar distribution archives is" \
>> +                   "deprecated." >&2
>> +    @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
>>      tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
>>      $(am__post_remove_distdir)
>> 
>>  dist-shar: distdir
>> +    @echo WARNING: "Support for distribution archives compressed with" \
>> +               "legacy program 'compress' is deprecated." >&2
>> +    @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
>>      shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
>>      $(am__post_remove_distdir)
>> 
>> 
>> The error messages are associated with the wrong targets.
>> 
>> I thought I reported this already...
>> 
>> Thanks,
>> 
>> Arnold
> Thank for the report.  I've applied a fix that will appear in the next
> automake release.
> 
> <0001-dist-adjust-warning-messages-about-shar-and-tarZ-dep.patch>

It looks like the warning content for those two targets are reversed to me...

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.