From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EUGb0-0005GB-9q for garchives@archives.gentoo.org; Tue, 25 Oct 2005 04:39:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9P4cox0014034; Tue, 25 Oct 2005 04:38:50 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9P4b4K0014484 for ; Tue, 25 Oct 2005 04:37:04 GMT Received: from c-67-171-150-177.hsd1.or.comcast.net ([67.171.150.177] helo=[192.168.1.106]) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1EUGYZ-0006Nf-Ss for gentoo-dev@lists.gentoo.org; Tue, 25 Oct 2005 04:37:04 +0000 Message-ID: <435DB66F.9060807@gentoo.org> Date: Mon, 24 Oct 2005 21:37:03 -0700 From: Donnie Berkholz User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051023) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Reminder on dependencies. References: <1130199485.1413.3.camel@Darkmere.darkmere> In-Reply-To: <1130199485.1413.3.camel@Darkmere.darkmere> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 1da9de81-e2d3-4353-ad93-8f7a7ea7fd69 X-Archives-Hash: 6ef18253bae7c8a30d03a8fc07e9c888 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Spider (D.m.D. Lj.) wrote: | If your package, libFoo, installs .h files that directly require header | files from libBar, then you have a Runtime dependency on libBar, not | only a compile time dependency | | | Why? Because libFoo should be usable at runtime, even for compiling | things not managed by our tree. And if BazPack has a configure check, | requires explicitly libFoo, tests for the presence of said header, and | all checks out.. Then BazPack should be able to work, and libFoo's | header certainly shouldn't be broken for use in compile. Now, the other side of the story. It's not true runtime dependence because it's not required for programs to run, only to compile. And the way I see it, things required for programs to compile are by definition DEPEND rather than RDEPEND. The consequences of the two sides are like this, from what I can see: 1) Headers are run-time and build-time deps - - Headers have to be installed even when you're using purely binary packages, because they are supposedly needed at "runtime" for your packages to work. - - Also, header packages can't be uninstalled after the build via depclean because they're specified as run-time dependencies. 2) Headers are build-time deps only - - Binary packages don't require the header packages. - - Header packages can be unmerged after builds. - - Packages requiring the headers have to DEPEND on them directly, because DEPENDs don't cascade. (Although this brings to mind the concept of some sort of cascadable DEPEND.) I'd like to hear what some other people think about this. Thanks, Donnie -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDXbZvXVaO67S1rtsRAr54AKDOMyoDoqBtogZu62eVV65Erv4nYACgukFK MP1+UujlQePnkCckhseZYsw= =HU3R -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list