X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C6A603858D1E
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc;
 bh=rbMXBQbcy+g2xMFNWwOc+3Dh+s1fxtbWQOoeZwSd7cQ=;
 b=oD58AtPD2jdhWRJpac+oNrVrtwtSIlwmsL9Xpmq3X/WCzzDmlJIbZUQZecqrzhxANQ
 AwqFzEf+uG9nGtbsVNye/Xqik30we1sfHHQaPVXrjKzgS2eo76CklhOBWHkdw51I3ljf
 WlSmIknAfk3eaG08y1M8E352FbxkflYK2dEyjMkPvinQiETXTplDbnP9mxK2rxgK0HiK
 undTWXOK6v+Ys2VwU7z4A6oNNon+lS4VCqpcbbm9GC6bPN2++br2D+qZdsOK3AOBW/hl
 0dxTABJ4MVqe++dju995ozw8Ds7NfiNj4NAe7Ie4fn3IaYI5bMtGsNhEYcZhJD/VXXyW
 rAyA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc;
 bh=rbMXBQbcy+g2xMFNWwOc+3Dh+s1fxtbWQOoeZwSd7cQ=;
 b=JoExhjxrmW13VjLQSarYSpJJvCdM4YqbwhQrvVMeqxb76GFBq8VWEHO0FnSOe2qeoy
 uL9O+qVHs2aTfvnq4vIrAcll+AS9RAQO0Y0+siFrHrlHAknvsA0LqThbAq3E1kDe05Zc
 OmZbmOtoExYaPxPgw6r92VJ34WPSVqRbjP9pCI+KtxOT8i+shHJjCC2dLC3MAH7SWBD9
 Py64Zj1bH9avRetEycwcKEs17EcVDrxaUCZ1mhZ+KqKMuIiVa/gIb1NCC62bRagaqeDL
 cNUEJfYugq0KqBq3bPxAxXwSZTVnim0BiacuK8tAClxbfHlu/R0uYOSiEHdpvTR6gR9j
 zkJg==
X-Gm-Message-State: ACgBeo3EAPQo+oGQN2s85n41gQeyI56IQfeS+RK7XUdPrRf6QGyvcJAI
 rQrPIfrjY/3kh3rvgj5h4oGET6bci5rL5n/GzC4=
X-Google-Smtp-Source: AA6agR52B5lANPi1WPw/3gnTK5+R3/Qc4SfL1dqw8a1KCDI8WDf8rk/7YG2A9hyuIkQzFQsmtlwpZBfO9UKL6pVBQRs=
X-Received: by 2002:a5d:64ca:0:b0:220:6247:42c1 with SMTP id
 f10-20020a5d64ca000000b00220624742c1mr16783157wri.478.1660127744466; Wed, 10
 Aug 2022 03:35:44 -0700 (PDT)
MIME-Version: 1.0
References: <CADt9576yap6_9=wcZDLKsUqz4bAaP3yOexVs_wykJFfGg3W+=Q@mail.gmail.com>
 <20220721220657.133463ad30893543b32c38e3@nifty.ne.jp>
 <CADt9574Yo=BRc26A4FdGucoEOjXV+kRsJ3BrDCzLSaejU_r+pQ@mail.gmail.com>
 <de8f1bd6-8d7f-792a-6074-abfa3e655c8d@dronecode.org.uk>
In-Reply-To: <de8f1bd6-8d7f-792a-6074-abfa3e655c8d@dronecode.org.uk>
From: "Carlo B." <carlo.bramini@gmail.com>
Date: Wed, 10 Aug 2022 12:35:35 +0200
Message-ID: <CADt957675oM9Ro=19yd2OSeuo41X2Xp7i6xpSsZbvJchj9PnJA@mail.gmail.com>
Subject: Re: Error when building autoconf2.1, broken package?
To: Jon Turney <jon.turney@dronecode.org.uk>
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE 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@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Cc: The Cygwin Mailing List <cygwin@cygwin.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Hello,

Il giorno mer 3 ago 2022 alle ore 21:52 Jon Turney
<jon.turney@dronecode.org.uk> ha scritto:
>
> 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?
>
Nowadays, it is not possible to make the autconf2.1 package from "src"
because the errors written in previous emails.
I don't know if the fault is caused by a regression into cygport or it
is needed to fix the "src" package of autconf2.1 for supporting a new
syntax or something like that. Unfortunately, the main problem is that
running the cygport script for autoconf 2.1 still hangs, so perhaps it
would be useful to fix it, in one way or another one.
Thank you very much for your time and your reply.

Sincerely,

Carlo Bramini.


> >
> > Sincerely,
> >
> > Carlo Bramini.
> >
> > Il giorno gio 21 lug 2022 alle ore 15:07 Takashi Yano
> > <takashi.yano@nifty.ne.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
