X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=UxFhu9K+olDLmKjd Y06NmIH2TC88iwVsx+ZV546JD2WhGVDkuUJ/MsyNKwIejVuEAhqp8j0q6bFkR805 MVy91T+UeOMvlRpQrnThbvl8soFTHi+6u9SLXY9bevKV/nc+toXjIY66hAYM0CfK QD7UAja0xP2b2yGLAu2p8RDXNK0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=9FHmH0GsFBYmr3cZDZ25p4 8Xq10=; b=a3Ragm9vkACB3TiJ4247EKX1JL3DL8ctCyV2xmcDXMMWPRRA7EFOFf TU+/0dBwJsZXX8VN6WgJX8gZkk+aUQtimi+5zh8syn7TfGfkGkMGmVIFf37ksZNw xmMXgfYb0A9yqdhYD7Jh5eCUD7qltlQUcbvM35VaukYAq0sfY6LSc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:!192.168.0.3!, H*i:sk:9048BC1, H*RU:!192.168.0.3!, H*f:sk:9048BC1 X-HELO: mail-io1-f53.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=P/gICJadSPWNQBACl8bVYCplP8g+0Lqm4dCmcXFp0ps=; b=Btai2BD9r1xmHyAcDIggq1FZpxLQQ7hZbXM445DFXjsk6uscsob0d+Oy62QyEwdgMF Q2/XDbH1qWjq5CzGFXmPQhZcrt66dxcuFHXfZzN28sNBH4sDZYFHgGWuXmd47qmV0Q8Q YGumkClrkcMtQQxtSdgBc8lRJxgzefBonmPtoISL6cp4Yeh7lzTO0QIZhLv8UdVcmYUd ++Vx99xD7kKXUDvZapAceuSnzfkFok0xAWeH231d74jh0EtXl6s7uUXWLJShUK0Ol8fl 6Akm58+7k6GEQVcJrVUzMkTd2BtXBvI8htm/68K4QwnT7HTpAPgfATx/nVDissbSVjrV tLkA== Subject: Re: setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line? To: cygwin AT cygwin DOT com References: <9048BC14027F144BABE0D9876ECAD41633A67FD5 AT HUCMBX07P DOT hostedmsx DOT local> From: cyg Simple Openpgp: preference=signencrypt Message-ID: <5c42bbfb-f916-1613-c9d9-ffb221b86404@gmail.com> Date: Thu, 1 Nov 2018 12:43:55 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <9048BC14027F144BABE0D9876ECAD41633A67FD5@HUCMBX07P.hostedmsx.local> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 11/1/2018 12:37 PM, John Doucette wrote: > Hi all, > > My current setup-x86 is version 2.893. > Cygwin is not installed yet, so I am running setup-x86.exe from within PowerShell on Win7. > > PS C:\> .\setup-x86.exe -V > PS C:\ > Cygwin setup 2.893 > > First I run setup to download all things Devel using: > > PS C:\> .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -C Devel -q > > This correctly downloads all Devel stuff and dependencies as expected, including the boost-build package. Then I want to download the sources for just boost-build. Since the dependencies for boost-build have already been resolved above I use: > > PS C:\> .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -I -P boost-build -q > > This does download the sources for package boost-build, but ALSO downloads the sources for ALL of the dependencies of boost-build! I.e. sources for cygwin, gcc, bash, ... etc. The same thing happens if -Y is added to the command as below. > > PS C:\> .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -Y -I -P boost-build -q > > Trying to directly download the src package in question doesn't work either, as in: > > PS C:\> .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -I -P boost-build-src -q > > I can accomplish what I want if I use the setup-x86 gui for the second part of the operation. I.e. First run the first command above to get all of latest Devel. > > PS C:\> .\setup-x86.exe -D -l C:\X027-001-011 -O -s http://mirrors.kernel.org/sourceware/cygwin -f -C Devel -q > > Then start up the setup-x86.exe ui. Choose to download only from the same mirror to the same local folder. Under the View pulldown, select Category. Click on the circle symbol by All cycling around through Install -> Reinstall -> Uninstall -> Default resulting in all items being marked as skipped. Expand the Devel category and select boost-build 1.66.0-1. Then also tick off the boost-build src box. Select Next, Next ... until download starts. Only the boost-build sources are downloaded. Make it easy on yourself; download the -src package directly from the mirror release directory. You'll need cygport package to build it. -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple