From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-044.btinternet.com (mailomta23-re.btinternet.com [213.120.69.116]) by sourceware.org (Postfix) with ESMTPS id 02BFD385702E for ; Wed, 10 May 2023 11:47:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 02BFD385702E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dronecode.org.uk Received: from re-prd-rgout-003.btmx-prd.synchronoss.net ([10.2.54.6]) by re-prd-fep-044.btinternet.com with ESMTP id <20230510114734.LALI11053.re-prd-fep-044.btinternet.com@re-prd-rgout-003.btmx-prd.synchronoss.net>; Wed, 10 May 2023 12:47:34 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped 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@btinternet.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 Received: from [192.168.1.106] (86.140.69.123) by re-prd-rgout-003.btmx-prd.synchronoss.net (5.8.814) (authenticated as jonturney@btinternet.com) id 63FE98D2083B961C; Wed, 10 May 2023 12:47:34 +0100 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 , The Cygwin Mailing List References: <06d13c30-bde6-12ed-5c8d-4b38d1d40334@towo.net> Content-Language: en-GB From: Jon Turney In-Reply-To: <06d13c30-bde6-12ed-5c8d-4b38d1d40334@towo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 List-Id: 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"