delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/05/10/07:49:10

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E4593856DD3
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1683719302;
bh=5nxlqBW0wSPv3yLhDRKEB0038LeZfiIshMLdQ/ZUKOs=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=YMP8/YWDcmg21CwwAsU8qa39rJuUa8f7yWrh8gMiiwvzw34ixe1cMIY1AkuZ6cYZU
xpjazShmm+GqvIPJJTmiWgA+qzbmmlbNVmtGXPggd3jO9hJ53tduGoBs7GUF5wfBB/
BwKn4HWTEyOwKps7AJ4Eg5rbwiQa0FzyYegqqdf0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 02BFD385702E
X-SNCR-Rigid: 63FE98D2083B961C
X-Originating-IP: [86.140.69.123]
X-OWM-Source-IP: 86.140.69.123 (GB)
X-OWM-Env-Sender: jonturney AT btinternet DOT com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrfeegiedgvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeelffeuffeugfelkeejieeftdeiteeifeefffffjefgvefhieeivefhheehteduueenucffohhmrghinhepghhithhhuhgsrdhiohdptgihghifihhnrdgtohhmnecukfhppeekiedrudegtddrieelrdduvdefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdeingdpihhnvghtpeekiedrudegtddrieelrdduvdefpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepvddprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmpdhrtghpthhtohepthhofihosehtohifohdrnhgvthdprhgvvhfkrfephhhoshhtkeeiqddugedtqdeiledquddvfedrrhgrnhhgvgekiedqudegtddrsghttggvnhhtrhgrlhhplhhushdr
tghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgvhiessghtihhnthgvrhhnvghtrdgtohhmpdhgvghokffrpefiuedpoffvtefjohhstheprhgvqdhprhguqdhrghhouhhtqddttdef
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Message-ID: <1ff7292d-237e-4500-b102-1b0e2fa0be56@dronecode.org.uk>
Date: Wed, 10 May 2023 12:47:33 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Subject: Re: cygport injects unexpected parameter
To: Thomas Wolff <towo AT towo DOT net>, The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <06d13c30-bde6-12ed-5c8d-4b38d1d40334 AT towo DOT net>
In-Reply-To: <06d13c30-bde6-12ed-5c8d-4b38d1d40334@towo.net>
X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
SPF_HELO_PASS, 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 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>
From: Jon Turney via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
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 10/05/2023 08:57, Thomas Wolff via Cygwin-apps wrote:
> I'm trying to build xterm 380 and got two problems in the cygport 
> compile step:
> 
> 1.
> *** ERROR: could not determine the autoconf version used to generate 
> ./configure; perhaps set AUTOCONF_VERSION?
> 
> I don't know why a tool wants to be told its own version (or what's 

This is not what the error message says.

> going on) but the following line in xterm.cygport seems to help:
> AUTOCONF_VERSION=$( autoconf --version | sed -e "s,.* ,," -e 1q )

Your second point explains the first.

cygport attempts to detect the version of autoconf used to generate the 
./configure script, so it knows what options it supports.

If that detection fails (as in this case, because it's generated by 
customized version), you can set AUTOCONF_VERSION appropriately.

https://cygwin.github.io/cygport/autotools_cygclass.html#AUTOCONF_VERSION

https://cygwin.com/cgit/cygwin-apps/cygport/tree/cygclass/autotools.cygclass#n711

> 2.
> configure: error: unrecognized option: --docdir=/usr/share/doc/xterm
> 
> This seems to be injected by the cygconf function, and the package 
> configure script does not know it.

For configure files generated by dickey's variant of autoconf, the 
correct thing seems to be to use AUTOCONF_VERSION="2.50"


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