public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Error when building autoconf2.1, broken package?
@ 2022-07-19 10:42 Carlo B.
  2022-07-21 13:06 ` Takashi Yano
  0 siblings, 1 reply; 6+ messages in thread
From: Carlo B. @ 2022-07-19 10:42 UTC (permalink / raw)
  To: cygwin

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.

Sincerely,

Carlo Bramini.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when building autoconf2.1, broken package?
  2022-07-19 10:42 Error when building autoconf2.1, broken package? Carlo B.
@ 2022-07-21 13:06 ` Takashi Yano
  2022-07-22 14:44   ` Carlo B.
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Yano @ 2022-07-21 13:06 UTC (permalink / raw)
  To: cygwin

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>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when building autoconf2.1, broken package?
  2022-07-21 13:06 ` Takashi Yano
@ 2022-07-22 14:44   ` Carlo B.
  2022-08-03 19:52     ` Jon Turney
  0 siblings, 1 reply; 6+ messages in thread
From: Carlo B. @ 2022-07-22 14:44 UTC (permalink / raw)
  To: Takashi Yano; +Cc: cygwin

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>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when building autoconf2.1, broken package?
  2022-07-22 14:44   ` Carlo B.
@ 2022-08-03 19:52     ` Jon Turney
  2022-08-10 10:35       ` Carlo B.
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Turney @ 2022-08-03 19:52 UTC (permalink / raw)
  To: Carlo B., The Cygwin Mailing List

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.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'

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when building autoconf2.1, broken package?
  2022-08-03 19:52     ` Jon Turney
@ 2022-08-10 10:35       ` Carlo B.
  2022-09-30 13:25         ` Jon Turney
  0 siblings, 1 reply; 6+ messages in thread
From: Carlo B. @ 2022-08-10 10:35 UTC (permalink / raw)
  To: Jon Turney; +Cc: The Cygwin Mailing List

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'

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when building autoconf2.1, broken package?
  2022-08-10 10:35       ` Carlo B.
@ 2022-09-30 13:25         ` Jon Turney
  0 siblings, 0 replies; 6+ messages in thread
From: Jon Turney @ 2022-09-30 13:25 UTC (permalink / raw)
  To: Carlo B., The Cygwin Mailing List

On 10/08/2022 11:35, Carlo B. wrote:
> 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:
>>> 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.

This isn't really responsive to my question: Are you building an 
autoconf2.1 package because the one we provide is deficient in some way, 
or because you want to?

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

This should be fixed as of cygport 0.35.3

>> (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)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-30 13:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 10:42 Error when building autoconf2.1, broken package? Carlo B.
2022-07-21 13:06 ` Takashi Yano
2022-07-22 14:44   ` Carlo B.
2022-08-03 19:52     ` Jon Turney
2022-08-10 10:35       ` Carlo B.
2022-09-30 13:25         ` Jon Turney

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).