From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-046.btinternet.com (mailomta30-sa.btinternet.com [213.120.69.36]) by sourceware.org (Postfix) with ESMTPS id A2E753858D20 for ; Sat, 6 Jan 2024 21:16:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A2E753858D20 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 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A2E753858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=213.120.69.36 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704575813; cv=none; b=onLm3fOwA23awnv5kyV315VkWM51h0tuh/QwCCqnCyQFDaj6CtYzSBNlV2oYoCzx6r6qmLxccv0icl/OP8VZHxmBxXBWECWTM7d+ivwSM6Q9aq9fOzBTavqr5nEXCU8T7Y6r1sxOcNuDoyZK7YTiBwRGhSPE7vPYP6t32jleCz8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704575813; c=relaxed/simple; bh=TcagO8yO0F+zyjAH3V+WfTSFPCop9RwVZvL9tvoVR/k=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=kdqJh/qXVYk0IzNS+IndL9Wxmv29+BrhNAyJ7JLOyLolyMVz+4a8jqP/sUr2rgGeP6tuONNOhISn3GO5GyR6AQVGha7rPddwJ6ENI227aii85cYub9VYldwIudCA04WN4dD8Cpz8I46vnFoaLwZlauj+fm+MWc2zxP2Bk0oIu78= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from sa-prd-rgout-002.btmx-prd.synchronoss.net ([10.2.38.5]) by sa-prd-fep-046.btinternet.com with ESMTP id <20240106211648.WISV17034.sa-prd-fep-046.btinternet.com@sa-prd-rgout-002.btmx-prd.synchronoss.net>; Sat, 6 Jan 2024 21:16:48 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 6567CC1E05180058 X-Originating-IP: [86.139.158.103] X-OWM-Source-IP: 86.139.158.103 X-OWM-Env-Sender: jon.turney@dronecode.org.uk X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehuddgudeghecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegoufhushhpvggtthffohhmrghinhculdegledmnecujfgurhepkfffgggfuffvfhfhvegjtgfgsehtjeertddtvdejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpedvfedugfejkeetheevfeethedtteehtdfghfdukeeutdffffdvtdetkedvleduudenucffohhmrghinhepghhithhhuhgsrdhiohenucfkphepkeeirddufeelrdduheekrddutdefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdejngdpihhnvghtpeekiedrudefledrudehkedruddtfedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepuehrihgrnhdrkfhnghhlihhssefuhihsthgvmhgrthhitgfufidrrggsrdgtrgdprhgtphhtthhopegthihgfihinhdqrghpphhssegthihgfihinhdrtghomhdprhgvvhfkrfephhhoshhtkeeiqddufeelqdduheekqddutdefrdhrrghnghgvkeeiqddu feelrdgsthgtvghnthhrrghlphhluhhsrdgtohhmpdgruhhthhgpuhhsvghrpehjohhnthhurhhnvgihsegsthhinhhtvghrnhgvthdrtghomhdpghgvohfkrfepifeupdfovfetjfhoshhtpehsrgdqphhrugdqrhhgohhuthdqtddtvd X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.107] (86.139.158.103) by sa-prd-rgout-002.btmx-prd.synchronoss.net (authenticated as jonturney@btinternet.com) id 6567CC1E05180058; Sat, 6 Jan 2024 21:16:48 +0000 Message-ID: <7c2eb119-6010-41dc-a4c0-b53d59923133@dronecode.org.uk> Date: Sat, 6 Jan 2024 21:16:47 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: github scallywag cygport src_patch_apply_hook and autoconf2.7 install issues To: Brian Inglis References: <44789b67-c629-43a2-ba2a-29598f40b62e@SystematicSW.ab.ca> Content-Language: en-GB From: Jon Turney Cc: cygwin-apps@cygwin.com In-Reply-To: <44789b67-c629-43a2-ba2a-29598f40b62e@SystematicSW.ab.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no 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 06/01/2024 20:10, Brian Inglis via Cygwin-apps wrote: > Updating gsasl to 2.2.1 local package build runs fine, but github > scallywag now fails in two places: > > - cygport src_prep src_patch_apply_hook now fails to find patch file > passed as $1: I've looked at the cygport, but what you're doing here is very confusing. Even with the poor state of the documentation for that hook [1], the fact that this hook doesn't take any care over the result it returns is a red flag. [1] https://cygwin.github.io/cygport/src_prep_cygpart.html#src_patch_apply_hook (So it seems like maybe it should 'patch || error', and then return 0) It seems like this cygport is written making some assumption about the current directory when this hook is run, that it's the top-level directory containing the patch files. I could understand that's maybe been accidentally changed from a previous version with some other change to cygport, but I don't quite understand how that can be true locally. However, it's certainly not guaranteed, because this hook was not designed for you to do your own patch application like this in. All that said: If you write '${top}/$1' it works for me, but you absolutely shouldn't be relying on undocumented cygport internals like that... > ``` > >>> Preparing gsasl-2.2.1-1.x86_64 > >>> Unpacking source gsasl-2.2.1.tar.gz > patch -b /usr/share/gtk-doc/data/gtk-doc.flat.make > gsasl-2-gtk-doc-make-pdf-imgdir.patch > patch: **** Can't open patch file gsasl-2-gtk-doc-make-pdf-imgdir.patch > : No such file or directory > patch -b /usr/share/gtk-doc/data/gtk-doc.make > gsasl-2-gtk-doc-make-pdf-imgdir.patch > patch: **** Can't open patch file gsasl-2-gtk-doc-make-pdf-imgdir.patch > : No such file or directory > patch -b /usr/share/gtk-doc/data/gtk-doc.no-xslt-flat.make > gsasl-2-gtk-doc-make-pdf-imgdir.patch > patch: **** Can't open patch file gsasl-2-gtk-doc-make-pdf-imgdir.patch > : No such file or directory > patch -b /usr/share/gtk-doc/data/gtk-doc.no-xslt.make > gsasl-2-gtk-doc-make-pdf-imgdir.patch > patch: **** Can't open patch file gsasl-2-gtk-doc-make-pdf-imgdir.patch > : No such file or directory > *** Warning: patch gsasl-2-gtk-doc-make-pdf-imgdir.patch skipped by > src_patch_apply_hook > >>> Preparing working source directory > ``` > > - autoconf2.7 is not found, although it is in cygport dependencies, > installed in step 4 cygwin install action, with 42 dependencies expanded > to 232 install tasks, and package BUILD_REQUIRES, with 29 dependencies > expanded to 259 install tasks, excluding autoconf, but build fails: > ``` > >>> Compiling gsasl-2.2.1-1.x86_64 > *** ERROR: autoconf2.7 is required to build this package > ``` This seems to be some breakage from today's update to autoconf 2.72. Top Men, working on, etc.