From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id B17273858417 for ; Sat, 2 Oct 2021 00:06:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B17273858417 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id WKIEmpS5wczbLWSYImsA8O; Sat, 02 Oct 2021 00:06:54 +0000 Received: from [192.168.1.105] ([68.147.0.90]) by cmsmtp with ESMTP id WSYHm7xzucHSBWSYIm1cDH; Sat, 02 Oct 2021 00:06:54 +0000 X-Authority-Analysis: v=2.4 cv=I4EG+Psg c=1 sm=1 tr=0 ts=6157a29e a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=GCSMl1c7_iPZsqHocTwA:9 a=QEXdDO2ut3YA:10 Reply-To: cygwin-apps@cygwin.com To: cygwin-apps@cygwin.com References: <9b1ea563-f5c0-04f2-d117-6f792b6cdb94@SystematicSw.ab.ca> <9e70e23d90edc5888580ecc51257630dc1dd7488.camel@cygwin.com> From: Brian Inglis Organization: Systematic Software Subject: Re: CI scallywag setup/cygport/autoconf missing autoconf-archive pkg Message-ID: Date: Fri, 1 Oct 2021 18:06:53 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <9e70e23d90edc5888580ecc51257630dc1dd7488.camel@cygwin.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfOIKJJpiC8sGc2eB5E0IrCjzm1if4vVZr3PdmWgoAeb4x4jKMriFZ+NRshfZaCSYCnoqFbhzxTz069Jiu72NrP3nG7+M1bgrwEHe6DDCm+ASzfeyhxk3 JdHc6KMGwA9xbo8nRf6V/cBtY/umsgmhjyuvtDTyEqqZ2oE6Y/VukGx27SuEoQGwNWzKpcLLigD13+2tPVNDfA7nCJ+GlmglpSY= X-Spam-Status: No, score=-1161.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2021 00:06:59 -0000 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.]