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 88C183858D20 for ; Wed, 9 Aug 2023 22:44:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 88C183858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id ThllqyZE1LAoITruwqQ76e; Wed, 09 Aug 2023 22:44:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1691621078; bh=96W4zkVkgkLIhqO2tyTyNDqjgmjt7bAS086cDzLA1bo=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=D6+kdud027AHc45yobCr05MUBGF8OKK98dyWPG4Ze9d6s28W4uhonhBtDA3QX2qog YhNbv+LjRsp+B2LZYXqWimLIt70r8xTNjQ7muZBbt+wDB/gme8VGlZX482CnJ29vGV /6SP64tsS2GLbc/K8s0Av7trUfQpwE1phVWxbBVahPlzGp9YJ7j6CRmcX8n9hVPOM6 Q+QhTIyxz2lXr+59ZRN3jSLlAQ2299IUX6ErnIWt6JtgxrsgVQmHtr6w1XAU+JfQ9Y hZJb2a1tSwnG1gXpqKMK27O1Aw/e0w4Ddoggjap+4MBkPfInabEGusibAlTPVVidkA y78DBRzivvRPQ== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id TruvqaPjCcyvuTruvqENyM; Wed, 09 Aug 2023 22:44:38 +0000 X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=64d416d6 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=ae_L3PxMXy2nfbRUiHYA:9 a=QEXdDO2ut3YA:10 Message-ID: <7ab4292f-d6b0-4ce3-8960-71931a0f929a@Shaw.ca> Date: Wed, 9 Aug 2023 16:44:37 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Reply-To: cygwin-apps@cygwin.com Subject: Re: cygport cygautoreconf failure with AC_CONFIG_MACRO_DIRS Content-Language: en-CA To: cygwin-apps@cygwin.com References: <7fc68b4f-a1a7-aec6-d87b-45a5df0fd161@Shaw.ca> <4c0fca74-5c38-82ef-e3a2-a987b49affdd@dronecode.org.uk> <5e0eaeed-751f-f661-d2c5-654fa6f165c6@Shaw.ca> <784c853f-3b60-4981-c818-a06ca262d269@dronecode.org.uk> From: Brian Inglis Organization: Inglis In-Reply-To: <784c853f-3b60-4981-c818-a06ca262d269@dronecode.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfIMYH/Jd/mXhQfKxlh3iRyP83zNqP+rjtlrfLOZteCMZ83sMHMVuAtvhM+y6jPs6VZNodJTsySHHTWdX5h/i/9v8rsNLljN2mBdZ6IYb3oxvAVAVoSPV XQ2oTb4xk4bb8d7lrgJVMNABNGDqmI7UtUcZGYu3/yb3svOMllM5LjDyZM1VO34vavaQAehTGxa1sg== X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-08-09 15:55, Jon Turney via Cygwin-apps wrote: > On 08/08/2023 19:40, Brian Inglis via Cygwin-apps wrote: >> On 2023-08-08 12:14, Jon Turney via Cygwin-apps wrote: >>> On 03/08/2023 17:21, Brian Inglis via Cygwin-apps wrote: >>>> Trying to build updated jq package, get cygautoreconf directory creation and >>>> existence bugs. >>>> Cygport dies processing AC_CONFIG_SUBDIRS([modules/oniguruma]) under two >>>> levels of AS_IF (which handle existence of oniguruma library module or >>>> libonig-devel at default or custom locations with or without configure >>>> scripts in configure.ac) with: >>>> >>>> Could not find modules/oniguruma/configure.ac or modules/oniguruma/configure.in >>> I'm not able to reproduce this problem. >>> >>> Can you provide the jq.cygport you are using. >>> >>> Also, can you be clear as to whether you have libonig-devel installed or not? >> Attached jq.cygport. >> >> As the cygport debug prep make log shows, libonig-devel is in >> DEPEND/BUILD_REQUIRES and installed. >> >> Installed cygport is latest available 0.36.6-1. >> >> With the attached cygautoreconf patch applied, it builds. > Thanks. > > So, I think the ultimate cause of the error is that you changed the SRC_URI from > that for "a file uploaded for this release" (an archive presumably generated by > 'make dist' or equivalent) to "an archive automatic generated from git at the tag". > > The later is (for obvious reasons) missing the files for git submodules, in this > case modules/oniguruma. > > Your proposed fix is effectively making the existence of the directories named > in AC_CONFIG_SUBDIRS optional.  I'm not sure that's correct or warranted. Hi Jon, The previous maintainers have been inactive for 5 years, so they have started a new org, working on a new release, and announced rc1, so I am working with them to resolve a test failure, prior to posting a Cygwin ITA. https://github.com/jqlang/jq/releases I just noticed that they have now posted a newer prerelease "rc1"! I can look at those contents later to see if they include the module, and that issue is resolved. > That leaves the second part of your patch.  I'm not sure if you're claiming this > is the same problem, a similar problem, or a different problem. That adds cygport cygautoreconf support for a newer AC_CONFIG_MACRO_DIRS macro to existing support for the older AC_CONFIG_MACRO_DIR macro. > Anyhow, out of time for staring at the wall of words for today, I'll have to > look at that again later... -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry