From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-046.btinternet.com (mailomta11-sa.btinternet.com [213.120.69.17]) by sourceware.org (Postfix) with ESMTPS id C69E03857C70 for ; Thu, 20 Jan 2022 14:00:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C69E03857C70 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk Received: from sa-prd-rgout-001.btmx-prd.synchronoss.net ([10.2.38.4]) by sa-prd-fep-046.btinternet.com with ESMTP id <20220120140019.ZCMZ19171.sa-prd-fep-046.btinternet.com@sa-prd-rgout-001.btmx-prd.synchronoss.net> for ; Thu, 20 Jan 2022 14:00:19 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 613006A913012FE0 X-Originating-IP: [81.129.146.209] X-OWM-Source-IP: 81.129.146.209 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvvddrudekgdeghecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpedvtdetffekveevjeegheeglefhtdeggfeilefggfdutedufedvgefgieeiffdtveenucfkphepkedurdduvdelrddugeeirddvtdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdefngdpihhnvghtpeekuddruddvledrudegiedrvddtledpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedupdhrtghpthhtoheptgihghifihhnqdgrphhpshestgihghifihhnrdgtohhm X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.103] (81.129.146.209) by sa-prd-rgout-001.btmx-prd.synchronoss.net (5.8.716.04) (authenticated as jonturney@btinternet.com) id 613006A913012FE0 for cygwin-apps@cygwin.com; Thu, 20 Jan 2022 14:00:19 +0000 Message-ID: <7d1b36c6-1484-c76d-5698-91dd1868b87f@dronecode.org.uk> Date: Thu, 20 Jan 2022 14:00:02 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: how to obsolete now-removed subpackage? Content-Language: en-GB To: "cygwin-apps@cygwin.com" References: <164267844372.1313732.6963001602045507938@server2.sourceware.org> <84551e01-2f6d-21d5-27e0-4237badd8ec0@cornell.edu> From: Jon Turney In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3570.9 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2022 14:00:25 -0000 On 20/01/2022 13:42, Jon Turney wrote: > On 20/01/2022 13:12, Ken Brown wrote: >> On 1/20/2022 7:14 AM, Glenn Strauss wrote: >>> lighttpd 1.4.64 removes long-deprecated packages, >>> including mod_trigger_b4_dl (replaceable with a lua script, if needed) >>> >>> I am trying to build using lighttpd.cygport and after uploading package >>> 1.4.64-1, I got errors, so I tried adding >>>    PKG_OBSOLETES="lighttpd-mod_trigger_b4_dl" >>> to lighttpd.cygport and building lighttpd.cyport package 1.4.64-2 >> >>> Am I using PKG_OBSOLETES incorrectly? >> >> Yes.  The cygport manual says that PKG_OBSOLETES is "A single-line >> string containing a list of package(s) which this package replaces.... >> Note that the PKG_OBSOLETES name is descriptive rather than literal, >> where "PKG" should be substituted with the name of the binary package >> whose contents it describes." Reading this again... To be clear, PKG needs to be replaced by the name of a package. So, you probably want something like: lighttpd_OBSOLETES="lighttpd-mod_trigger_b4_dl" > I think this might be a bug in calm (which processes the package uploads). > > How OBSOLETES is put into effect has changed slightly in the latest > version of cygport, and calm hasn't caught up with it yet. > > Thanks for reporting this. ... but there might still be an issue I need to think about here.