public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin-apps@cygwin.com
Subject: Re: CI scallywag setup/cygport/autoconf missing autoconf-archive pkg
Date: Fri, 1 Oct 2021 18:06:53 -0600	[thread overview]
Message-ID: <d32971d8-2fe7-b86d-c221-2e24a800b8bd@SystematicSw.ab.ca> (raw)
In-Reply-To: <9e70e23d90edc5888580ecc51257630dc1dd7488.camel@cygwin.com>

On 2021-10-01 15:37, Yaakov Selkowitz via Cygwin-apps wrote:
> On Wed, 2021-09-29 at 22:15 -0600, Brian Inglis wrote:
>> Autotools needs m4 macros in autoreconf-archive to config for gcov and
>> other dependencies or build fails with e.g.
>> "configure.ac:33: error: possibly undefined macro: AX_CODE_COVERAGE
>>      If this token and others are legitimate, please use m4_pattern_allow.
>>      See the Autoconf documentation."
>> CI scallywag setup does not install nor does cygport nor autoconf
>> require autoconf-archive so packages have to include in BUILD_REQUIRES.
>> As autoconf requires: autoconf2.1 autoconf2.5 bash sed, I believe that
>> would be the more appropriate place for an autoconf-archive requirement,
>> otherwise cygport would have to require it, which is not so obvious.
> autoconf-archive would be a build requirement of the package whose
> configure.ac references the AX_* macro, not of the autotools themselves.

It appears to be just installed as part of build or development packages 
on upstreams systems, perhaps the GNU Build System, such that they don't 
even mention it as a requirement.

It appears that the newer AX_... macros are defined in autoconf-archive, 
and they are now being used in packages.

I would prefer it be required by autoconf or cygport, as I expect more 
if its macros will be used in the future, especially as more packages 
will require it to build with autotools, but it is not obvious that part 
of the autoconf infrastructure is not automatically installed, nor where 
one should look to find AX_... whatever in a package that is not installed.

I only figured it out because I was looking for issues with autotools 
macros because of issues with gnulib in GNU packages, which I have been 
dealing with recently in three packages, and expect more unless they 
pull in the newer release with the patch applied.
I have posted a general message to the list to watch out for that issue, 
which crashes all programs configured with it.

As the lack of autoconf-archive installed by scallywag CI kills jobs run 
when commits are pushed, I expect this to cause some frustration to 
maintainers, which given lag in package updates with the current 
shortage of people and time, I would like to mitigate likely future 
common issues as much as possible.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

  reply	other threads:[~2021-10-02  0:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30  4:15 Brian Inglis
2021-10-01 21:37 ` Yaakov Selkowitz
2021-10-02  0:06   ` Brian Inglis [this message]
2021-10-02  4:15 ` Achim Gratz
2021-10-02  5:48   ` Brian Inglis
2021-10-02 14:13     ` Ken Brown
2021-10-02 16:35       ` Brian Inglis
2021-10-03 19:14         ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d32971d8-2fe7-b86d-c221-2e24a800b8bd@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).