From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32866 invoked by alias); 1 Nov 2018 16:44:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32845 invoked by uid 89); 1 Nov 2018 16:44:02 -0000 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 Received: from mail-io1-f53.google.com (HELO mail-io1-f53.google.com) (209.85.166.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Nov 2018 16:44:00 +0000 Received: by mail-io1-f53.google.com with SMTP id d80-v6so12663007iof.1 for ; Thu, 01 Nov 2018 09:44:00 -0700 (PDT) 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== Return-Path: Received: from [192.168.0.3] (d47-69-109-131.nap.wideopenwest.com. [69.47.131.109]) by smtp.gmail.com with ESMTPSA id t187-v6sm5015066itb.20.2018.11.01.09.43.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 09:43:57 -0700 (PDT) Subject: Re: setup.exe: How do I download sources for just ONE package when using setup-x86 from the command-line? To: cygwin@cygwin.com References: <9048BC14027F144BABE0D9876ECAD41633A67FD5@HUCMBX07P.hostedmsx.local> From: cyg Simple Openpgp: preference=signencrypt Message-ID: <5c42bbfb-f916-1613-c9d9-ffb221b86404@gmail.com> Date: Thu, 01 Nov 2018 16:44:00 -0000 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 X-SW-Source: 2018-11/txt/msg00010.txt.bz2 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