www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/08/03/15:52:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 140F63858413
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=dronecode.org.uk
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com;
bimi=skipped
X-SNCR-Rigid: 62E573CC00C61E48
X-Originating-IP: [81.129.146.135]
X-OWM-Source-IP: 81.129.146.135 (GB)
X-OWM-Env-Sender: jonturney AT btinternet DOT com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvfedrvddvjedgudeffecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepjeevffeuhefhueduledugeefgfetheefgfffgfejgfdvhffgvddtudffudfgveefnecuffhomhgrihhnpedufedrihhnfhhonecukfhppeekuddruddvledrudegiedrudefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddthegnpdhinhgvthepkedurdduvdelrddugeeirddufeehpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepvddprhgtphhtthhopegtrghrlhhordgsrhgrmhhinhhisehgmhgrihhlrdgtohhmpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Message-ID: <de8f1bd6-8d7f-792a-6074-abfa3e655c8d@dronecode.org.uk>
Date: Wed, 3 Aug 2022 20:52:06 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Error when building autoconf2.1, broken package?
To: "Carlo B." <carlo DOT bramini AT gmail DOT com>,
The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <CADt9576yap6_9=wcZDLKsUqz4bAaP3yOexVs_wykJFfGg3W+=Q AT mail DOT gmail DOT com>
<20220721220657 DOT 133463ad30893543b32c38e3 AT nifty DOT ne DOT jp>
<CADt9574Yo=BRc26A4FdGucoEOjXV+kRsJ3BrDCzLSaejU_r+pQ AT mail DOT gmail DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
In-Reply-To: <CADt9574Yo=BRc26A4FdGucoEOjXV+kRsJ3BrDCzLSaejU_r+pQ@mail.gmail.com>
X-Spam-Status: No, score=-1198.7 required=5.0 tests=BAYES_00, FORGED_SPF_HELO,
GIT_PATCH_0, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NONE,
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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 22/07/2022 15:44, Carlo B. wrote:
> Hello,
> it works, thank you very much.
> I also added AUTOCONF_VERSION=2.13 directly into the cygport script,
> before calling cygconf and it also worked fine without manually
> setting that environment variable.
> I think that it would be worth to update the cygport script into
> autoconf2.1-2.13-12-src.tar.bz2 to make it working again also for
> other people.

Is there something wrong with our supplied autconf2.1 package?

> 
> Sincerely,
> 
> Carlo Bramini.
> 
> Il giorno gio 21 lug 2022 alle ore 15:07 Takashi Yano
> <takashi DOT yano AT nifty DOT ne DOT jp> ha scritto:
>>
>> On Tue, 19 Jul 2022 12:42:47 +0200
>> "Carlo B." wrote:
>>> Hello,
>>> I did these actions:
>>> 1) Downloaded autoconf2.1-2.13-12-src.tar.bz2
>>> 2) Unpack that file.
>>> 3) I run this command:
>>>
>>> cygport autoconf2.1.cygport all
>>>
>>> and this is the output on screen:
>>>
>>>>>> Preparing autoconf2.1-2.13-12.x86_64
>>>>>> Unpacking source autoconf-2.13.tar.gz
>>> *** Info: applying patch autoconf2.1-texinfo.patch (-p2):
>>> patching file autoconf.texi
>>>>>> Preparing working source directory
>>> *** Info: applying patch autoconf2.1-2.13-12.cygwin.patch (-p2):
>>> patching file CYGWIN-PATCHES/autoconf2.1.README
>>>>>> Compiling autoconf2.1-2.13-12.x86_64
>>> *** ERROR: could not detect autoconf version; perhaps set AUTOCONF_VERSION?

This is a regression in cygport, which I'll see about fixing.

(Briefly: cygport tries to detect the version of autoconf which was used 
to generate the ./configure script, so it knows what option arguments to 
supply to it.  Recently this was extended to detect autoconf 2.7x, but 
that seems to have broken detecting autoconf 2.1x)

>>>
>>> Have you an idea of the cause of the problem?
>>> I tried to download and rebuild also autoconf2.5 and autoconf2.7 and
>>> they worked fine, only 2.1 fails.
>>> Thank you very much for your time.
>>
>> I could build autoconf2.1 successfully by the following steps.
>>
>>
>> 1) Modify autoconf2.1.cygport as follows.
>>
>> diff --git a/autoconf2.1.cygport.orig b/autoconf2.1.cygport
>> index c8b075f..6876c3c 100755
>> --- a/autoconf2.1.cygport.orig
>> +++ b/autoconf2.1.cygport
>> @@ -28,7 +28,7 @@ src_compile() {
>>          cd ${B}
>>          cygconf --program-suffix=-2.13
>>          cygmake -j1
>> -       (makeinfo --no-split -I ${S} -o autoconf2.13.info autoconf.texi)
>> +       (makeinfo --no-split -o autoconf2.13.info ${S}/autoconf.texi)

I'm not sure why this change is needed.

>>   }
>>
>>   DIFF_EXCLUDES="autoconf.info standards.info stamp-vti version.texi"
>>
>> 2) Run 'export AUTOCONF_VERSION=2.13'
>> 3) Run 'cygport autoconf2.1.cygport all'

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019