From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67602 invoked by alias); 14 May 2016 07:23:17 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 67587 invoked by uid 89); 14 May 2016 07:23:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1853, road, policy, face X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 14 May 2016 07:23:15 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b1Tuo-0003zl-2O for cygwin-apps@cygwin.com; Sat, 14 May 2016 09:23:10 +0200 Received: from nat-178-19-224-0.net.encoline.de ([178.19.224.0]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 May 2016 09:23:10 +0200 Received: from Stromeko by nat-178-19-224-0.net.encoline.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 May 2016 09:23:10 +0200 To: cygwin-apps@cygwin.com From: Achim Gratz Subject: Re: Building from source packages Date: Sat, 14 May 2016 07:23:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00072.txt.bz2 Am 13.05.2016 um 16:33 schrieb Jon Turney: > Out of the 3135 cygported packages for x86, only 175 set DEPEND. > > I don't know how we can ensure DEPEND contains accurate information > without some sort of build service which tests that it does. That's the trouble exactly. There is no way to find out if your build dependencies are complete short of starting with a base installation and then adding them one-by-one. So far I've typically only added dependencies when the build would otherwise succeed anyway (due to alternatives picked up in configury). > Also, there's probably room here for some policy on what is and isn't > required in DEPEND i.e. packages essential for building, which are > already dependencies of cygport, probably don't need to be listed. > Additionally, some cygclasses probably imply additional build > dependencies, i.e. 'inherit gnome' implies gnome-common is a build-dep, > etc. That will occasionally fall flat on its face when the dependencies of those tools themselves change, but then it is hard to figure out what the actual dependencies are unless you try to build manually, see above. > Further, turning DEPEND into a list of cygwin packages to install can be > complex (e.g., if it contains some pkgconfig atoms, it requires > knowledge of the files contained in all packages to find the one which > contains a particular .pc file). Isn't that what cygcheck does? What's missing is a record of all files read during the build from the installation. > A few packages mistakenly use DEPENDS rather than DEPEND, which is > silently ignored > > pkg maintainer > --- ---------- > cloog-isl Achim Gratz > isl Achim Gratz > mpclib Achim Gratz Heh. I'm pretty sure I've inherited the packages that way... I'll try to remember that these need cleanup. -- Achim. (on the road :-)