public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Carlo B." <carlo.bramini@gmail.com>
To: Takashi Yano <takashi.yano@nifty.ne.jp>
Cc: cygwin@cygwin.com
Subject: Re: Error when building autoconf2.1, broken package?
Date: Fri, 22 Jul 2022 16:44:41 +0200	[thread overview]
Message-ID: <CADt9574Yo=BRc26A4FdGucoEOjXV+kRsJ3BrDCzLSaejU_r+pQ@mail.gmail.com> (raw)
In-Reply-To: <20220721220657.133463ad30893543b32c38e3@nifty.ne.jp>

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.

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?
> >
> > 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)
>  }
>
>  DIFF_EXCLUDES="autoconf.info standards.info stamp-vti version.texi"
>
> 2) Run 'export AUTOCONF_VERSION=2.13'
> 3) Run 'cygport autoconf2.1.cygport all'
>
> --
> Takashi Yano <takashi.yano@nifty.ne.jp>

  reply	other threads:[~2022-07-22 14:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19 10:42 Carlo B.
2022-07-21 13:06 ` Takashi Yano
2022-07-22 14:44   ` Carlo B. [this message]
2022-08-03 19:52     ` Jon Turney
2022-08-10 10:35       ` Carlo B.
2022-09-30 13:25         ` Jon Turney

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='CADt9574Yo=BRc26A4FdGucoEOjXV+kRsJ3BrDCzLSaejU_r+pQ@mail.gmail.com' \
    --to=carlo.bramini@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=takashi.yano@nifty.ne.jp \
    /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).