From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JrbHz-0004ms-QC for garchives@archives.gentoo.org; Thu, 01 May 2008 16:05:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CFA53E0511; Thu, 1 May 2008 16:05:41 +0000 (UTC) Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by pigeon.gentoo.org (Postfix) with ESMTP id 26D20E0511 for ; Thu, 1 May 2008 16:05:41 +0000 (UTC) Received: from mx1.starman.ee (mx1.starman.ee [62.65.192.16]) by smtp-gw1.starman.ee (Postfix) with ESMTP id B1797A21571 for ; Thu, 1 May 2008 19:05:40 +0300 (EEST) X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from [62.65.221.151] (pc151.host29.starman.ee [62.65.221.151]) by mx1.starman.ee (Postfix) with ESMTP id 390DF620016 for ; Thu, 1 May 2008 19:05:38 +0300 (EEST) Subject: Re: [gentoo-dev] RFC: language bindings as separate packages From: Mart Raudsepp To: gentoo-dev@lists.gentoo.org In-Reply-To: <3c32af40805010852s7fcd150cr9f29acca1f4ecfbd@mail.gmail.com> References: <20080501150930.GA25855@nibiru.local> <3c32af40805010852s7fcd150cr9f29acca1f4ecfbd@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-t/dsYfYfPsC3YRme2oWo" Date: Thu, 01 May 2008 19:05:35 +0300 Message-Id: <1209657935.13974.10.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.22.0 X-Archives-Salt: 88fecf02-350e-4e0e-8f9b-679ff634bbc3 X-Archives-Hash: 561dbac5d2a183fb5239026b2d5aeaf0 --=-t/dsYfYfPsC3YRme2oWo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On N, 2008-05-01 at 17:52 +0200, Santiago M. Mola wrote: > On Thu, May 1, 2008 at 5:09 PM, Enrico Weigelt wrote: > > > > Hi folks, > > > > while building yum, I again ran into trouble because one > > dependency has to be rebuilt with an specific useflag first > > (in this case it was libxml2 + python useflag). Actually, > > there are *lots* of these cases and (AFAIK) portage has no > > way for properly handling this - it's up to the individual > > ebuilds to check for those situations and artifically breaking > > the build. Of coure, breaking builds are ugly. >=20 > The proper solution for these cases is implementing USE dependencies, > which would obsolete pkg_setup checks, and would provide portage with > info about which USE flags are needed for each dependency. This > feature is already implemented in other package managers (it's in > Paludis, maybe in pkgcore too?) and I think we all look forward its > inclusion in portage. I do not see that as a solution, but instead maybe only a fix for the fact that it's failing at some point in an emerge run instead of knowing beforehand. It still means a rebuild of the binding providing library, which involves unnecessary recompilation of the (typically) C or C++ library, which in some cases can be a huge time sink - that in the case that the library in question isn't at that time pulled in (in that case the package manager can enable it at first merge), but already installed without the bindings USE flags. So splitting packages is the perfect solution in my opinion, given unlimited maintainer time and such. In real world that might be too hard to maintain if upstream doesn't go along, but not in all cases (depends on how much time the maintainer has, how complex the build system is, etc). --=20 Mart Raudsepp Gentoo Developer Mail: leio@gentoo.org Weblog: http://planet.gentoo.org/developers/leio --=-t/dsYfYfPsC3YRme2oWo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) iEYEABECAAYFAkgZ6k8ACgkQkeYb6olFHJcIagCg0GbWRx5mZj8xtI0X/PMbO6oO z6YAnRZUpQlJ5RDGFn1GCQjNiQvwXILm =Qk4Y -----END PGP SIGNATURE----- --=-t/dsYfYfPsC3YRme2oWo-- -- gentoo-dev@lists.gentoo.org mailing list