delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/07/21/09:07:56

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 5A605385382D
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 26LD6uLn019525
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
s=dec2015msa; t=1658408817;
bh=uxI37UhCkgTeAhU5F1ne+EXCPCXfZw76QrwGXIu+eIY=;
h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
b=NiWHRDnhC6cVpzfSMapxBV3zrfnGc/9loQIbKYC7RPjydfZlHgHi75vSkxN59Vo0P
KPynIIJ58PsJNLOrmgeI5KFQQn8W1lemu9UszWibFNpsnREdxX8gHPxRdm/24camRH
sMsHzqDVsJqYz5kXVCbVuz2WHkk40PoBcZ/6dKVwi12pyaayxfTQdTWru/pJiu62Zb
5ogSuUOyvAzQgWFLLsdpI55cPJNRgxlPQHyFXyDAagdkiY9qqOHjexWo4cptDd3Gw3
nLLW5CI9BSwkgoiIY332ZIzGFYwYbzpVp1O2zsEthqFckGwSXRmaLr/a0c9UxHh8NG
UwUdyq8LgJmDw==
X-Nifty-SrcIP: [119.150.44.95]
Date: Thu, 21 Jul 2022 22:06:57 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: Error when building autoconf2.1, broken package?
Message-Id: <20220721220657.133463ad30893543b32c38e3@nifty.ne.jp>
In-Reply-To: <CADt9576yap6_9=wcZDLKsUqz4bAaP3yOexVs_wykJFfGg3W+=Q@mail.gmail.com>
References: <CADt9576yap6_9=wcZDLKsUqz4bAaP3yOexVs_wykJFfGg3W+=Q AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, 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
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 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 DOT yano AT nifty DOT ne DOT jp>

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