DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 57G6lsK33283995
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 57G6lsK33283995
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=BCl51WhT
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 772E63858C74
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1755326872;
	bh=HcvYDwd5oe6ho75WoCM2OTy1D+t/mObSzYPP8W5ROUM=;
	h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=BCl51WhTtAQsmefHt87QJBovOuBuw3juNng5Tzt3qtle9LcW/08kabsiBziiMRTX0
	 PmRXp0GOUKB7HW1L3BMjbeHlk2QZGzSf+YKZbW9C4AzQRrNH1ibzmhYgfY1e6w0Glt
	 mt9URHKD+AcegKu3/g1KZScy+nvwbvtUIGpH2nwg=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA9A93858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CA9A93858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1755326849; cv=none;
 b=toKD4ophgr6SkvRYDVmPUlkvw43LW0B+sea7cEZbTlSPoB1nkf5nF0Ym0qhoqfQcGoSHMzE6OSWL0+P9pf2s069C9Y8oQFHCOw5U0jcnym40NRImBZ9cydQkQOZvdbvwwuFyZXQpQTZ3RDomoMVNTm4VMEtFSx2oCnKgl6cifQQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1755326849; c=relaxed/simple;
 bh=zddyXenljSCzTlZEO5PjtiS0qV0HbJFHfRNV1RhrLl8=;
 h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
 b=hohcOaxRmedjr6pH8n8nIHMpC7ExAJ5r+AG5EvfjIdzrUY6sKaf+jd251MnbUT/2VRSG/CxF0MsX1qBFdaoJ8XddCKEgLE+i9vdm7YZ6ZsUHwb/iOO5Shb2/bZXpO9zz5TSiMFZRdtZ6/iP2lYKlVyWxpERJGrxCYREE5GCFv3k=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA9A93858D1E
Date: Fri, 15 Aug 2025 23:47:29 -0700 (PDT)
X-X-Sender: jeremyd@resin.csoft.net
To: cygwin@cygwin.com
Subject: another possible setup bug: not accepting "provides" name in -P
Message-ID: <a6d1cfd0-579e-2e15-2965-98ef0f10cb3a@jdrake.com>
MIME-Version: 1.0
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Jeremy Drake via Cygwin <cygwin@cygwin.com>
Reply-To: Jeremy Drake <cygwin@jdrake.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

I was trying to clean up my workflows now that llvm 20.1.8-2 is published,
and I came across another possible setup bug.  It seems that the -P option
doesn't accept a package name that is provided rather than being the
actual name of a pacakge.

llvm20.1-devel is provided by llvm-devel 20.1.8-2, but passing that to -P
results in the message: Package 'libllvm20.1-devel' not found.  However,
libclang-devel 20.1.8-2 requires libllvm20.1-devel, and selecting that
version results in "Install libllvm-devel 20.1.8-2 (automatically added)",
so requires does respect provides.

This would be a problem for scallywag, which I believe feeds
BUILD_REQUIRES straight into -P, and BUILD_REQUIRES is specified to allow
provided names in addition to acutal package names.

(A lesser issue is that cygport warns that the provided name is not
installed when the package that provides it is in fact installed, but this
is probably a limitation of the installed package database not recording
what the installed packages provide)

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