www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/22/09:56:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9A88F394742F
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
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com;
bimi=skipped
X-SNCR-Rigid: 61A69BAC0ED437C1
X-Originating-IP: [81.158.20.253]
X-OWM-Source-IP: 81.158.20.253 (GB)
X-OWM-Env-Sender: jonturney AT btinternet DOT com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvvddrudeghedgheehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeevteduiefggfeluddtiedtueevveekfeduvedvleektdduffeifeetieffkeevgeenucffohhmrghinhepmhhirhhrohhrshgvrhhvihgtvgdrohhrghdpshhouhhrtggvfigrrhgvrdhorhhgpdgthihgfihinhdrtghomhenucfkphepkedurdduheekrddvtddrvdehfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtfegnpdhinhgvthepkedurdduheekrddvtddrvdehfedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtoheprggurghmseguihhnfihoohguihgvrdhorhhgpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Message-ID: <6a5f9651-0a66-083e-284e-f1e3cff6c8e5@dronecode.org.uk>
Date: Tue, 22 Mar 2022 13:54:48 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Unable to install source packages when running setup from command
line
To: Adam Dinwoodie <adam AT dinwoodie DOT org>,
The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <20220320182012 DOT palikdvrzv36bsh4 AT lucy DOT dinwoodie DOT org>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
In-Reply-To: <20220320182012.palikdvrzv36bsh4@lucy.dinwoodie.org>
X-Spam-Status: No, score=-3569.0 required=5.0 tests=BAYES_00, FORGED_SPF_HELO,
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KHOP_HELO_FCRDNS, NICE_REPLY_A,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,
SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE 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 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>
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 20/03/2022 18:20, Adam Dinwoodie wrote:
> Hi,
> 
> I *suspect* this is a bug, but it might just be this isn't supposed to
> work: there doesn't seem to be a way to download a source package for an
> already-installed Cygwin package when using setup from the command line.
> 
> If I run, for example:
> 
>      /bin/setup-x86_64.exe -d -l 'C:\Users\Adam\Downloads' -s http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/ -IP bash-completion -R 'C:\cygwin64'
> 
> I'd expected this to select and automatically install the source package
> for bash-completion.  In fact, "bash-completion" does show up in the
> list of pending packages, but the "Src?" column is unchecked and greyed
> out; I can't even select it manually in the GUI selection tool.
> Unsurprisingly, when I continue through the installer, the source
> package doesn't get installed.  I see similar behaviour if -M or -q are
> also added to the argument list.
> 
> Everything works as expected if I don't specify a package on the command
> line, and just select the source package from the GUI manually.  And
> while selecting a package that isn't currently installed seems to hit
> the same bug I've previously described with not showing up in the
> "Pending" list[0], it does successfully install both the requested
> package and the source package.
> 
> I've attached the setup.log and setup.log.full files, in case they're
> useful for working out what's going wrong.

Yeah, this is a bug.

The design of '--include-source' is a bit weird, being "also install 
source for everything we are installing"  not "also install source of 
named packages" (so '-IP foo' does nothing if foo is already installed) 
(see [1])

As usual, PTC :)

[1] https://cygwin.com/pipermail/cygwin/2020-March/244099.html

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