Re: [gentoo-dev] Warn users not to do separate /usr partition without proper initramfs in the handbook?

2011-08-11 Thread Dale
Rich Freeman wrote: On Thu, Aug 4, 2011 at 7:49 AM, Dalerdalek1...@gmail.com wrote: From a users perspective. Could it not be possible to have some USE flag, or other setting, that would tell portage that a separate /usr partition is being used then have the needed files placed elsewhere

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Zac Medico
On 08/10/2011 10:19 PM, Fabio Erculiani wrote: On Thu, Aug 11, 2011 at 1:31 AM, Zac Medico zmed...@gentoo.org wrote: On 08/10/2011 02:14 PM, Fabio Erculiani wrote: The problem here is that Portage enforces the same rule by trying to schedule the PDEPEND as soon as possible This behavior was

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Ciaran McCreesh
On Wed, 10 Aug 2011 23:31:01 -0700 Zac Medico zmed...@gentoo.org wrote: The ASAP behavior seems relatively optimal Unfortunately, what it *seems* and what it *is* are two entirely different things, and the whole thing breaks down when post-dependent packages have dependencies themselves. If ASAP

[gentoo-dev] [k3b] KDE_HANDBOOK=always?

2011-08-11 Thread Jesús J . Guerrero Botella
Hello. How is it possible that this dependency became mandatory tonight for k3b? I don't think a handbook is a critical feature and k3b has been working like a charm for two years without it. Cheers. -- Jesús Guerrero Botella

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Fabio Erculiani
On Thu, Aug 11, 2011 at 7:36 AM, Ciaran McCreesh ciaran.mccre...@googlemail.com wrote: On Wed, 10 Aug 2011 23:14:22 +0200 Fabio Erculiani lx...@gentoo.org wrote: I've intermittently spent my last two days trying to figure out a weird bug on Entropy dependency resolution algorithm (which is

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Fabio Erculiani
On Thu, Aug 11, 2011 at 8:31 AM, Zac Medico zmed...@gentoo.org wrote: The ASAP behavior seems relatively optimal, which makes it difficult to argue that ebuild maintainers should have to go to the trouble of creating virtuals and updating reverse dependencies. Yes it is and I agree, but the

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Ciaran McCreesh
On Thu, 11 Aug 2011 08:54:54 +0200 Fabio Erculiani lx...@gentoo.org wrote: I've intermittently spent my last two days trying to figure out a weird bug on Entropy dependency resolution algorithm (which is actually just a simple topological sorting out of a digraph) You can't use a naive

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Ciaran McCreesh
On Thu, 11 Aug 2011 08:59:01 +0200 Fabio Erculiani lx...@gentoo.org wrote: On Thu, Aug 11, 2011 at 8:31 AM, Zac Medico zmed...@gentoo.org wrote: The ASAP behavior seems relatively optimal, which makes it difficult to argue that ebuild maintainers should have to go to the trouble of

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Brian Harring
On Thu, Aug 11, 2011 at 08:54:54AM +0200, Fabio Erculiani wrote: On Thu, Aug 11, 2011 at 7:36 AM, Ciaran McCreesh ciaran.mccre...@googlemail.com wrote: Purely as a quality of implementation issue, scheduling a PDEPEND reasonably soon after (or even before) the package requiring it may be a

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Fabio Erculiani
The case which triggered my attention was actually app-office/libreoffice with USE=java. pkg_setup (through java-utils-2.eclass java-pkg_switch-vm [1]) expects to find a functional JDK environment, even though jdom-jaxen is not required as RDEPEND by anything inside java eclasses and libreoffice

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Zac Medico
On 08/10/2011 11:59 PM, Fabio Erculiani wrote: I would rather want to see it becoming mandatory by PMS, also. But beside the ASAP, do you agree that there is still a dependency issue? Well, let's just say that it's not practical for me to be bothered by such things. I can't control how ebuild

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Zac Medico
On 08/11/2011 12:13 AM, Fabio Erculiani wrote: 1. implement the ASAP feature in Entropy and live with broken dependencies 2. live with broken dependencies 3. Fix the broken dependencies 4. Fix the broken dependencies and have PMS defining rules for scheduling PDEPENDs. It's fair enough for

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Ciaran McCreesh
On Thu, 11 Aug 2011 00:37:18 -0700 Zac Medico zmed...@gentoo.org wrote: It's fair enough for you to call them broken dependencies. However, when writing broken dependencies it what comes natural to ebuild developers, is it practical to fight them even though you can write your dependency

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Ulrich Mueller
On Thu, 11 Aug 2011, Fabio Erculiani wrote: The case which triggered my attention was actually app-office/libreoffice with USE=java. pkg_setup (through java-utils-2.eclass java-pkg_switch-vm [1]) expects to find a functional JDK environment, Generally, you cannot rely on any dependency

Re: [gentoo-dev] [k3b] KDE_HANDBOOK=always?

2011-08-11 Thread Markos Chandras
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/11/2011 07:42 AM, Jesús J. Guerrero Botella wrote: Hello. How is it possible that this dependency became mandatory tonight for k3b? I don't think a handbook is a critical feature and k3b has been working like a charm for two years

Re: [gentoo-dev] The fun of being a PDEPEND

2011-08-11 Thread Fabio Erculiani
On Thu, Aug 11, 2011 at 10:24 AM, Ulrich Mueller u...@gentoo.org wrote: On Thu, 11 Aug 2011, Fabio Erculiani wrote: Generally, you cannot rely on any dependency (outside of the system set) being present in pkg_setup: http://dev.gentoo.org/~ulm/pms/head/pms.html#x1-720008 Ulrich You may

Re: [gentoo-dev] [RFC] /etc/resolv.conf symlink through net-dns/resolvconf-symlink

2011-08-11 Thread Michał Górny
On Wed, 10 Aug 2011 22:03:42 -0400 Mike Frysinger vap...@gentoo.org wrote: On Wednesday, August 10, 2011 05:55:19 Michał Górny wrote: I'm attaching a net-dns/resolvconf-symlink ebuild which replaces /etc/resolv.conf with a symlink to a runtime-writable location when installed. That package

Re: [gentoo-dev] [k3b] KDE_HANDBOOK=always?

2011-08-11 Thread Jesús J . Guerrero Botella
2011/8/11 Markos Chandras hwoar...@gentoo.org: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/11/2011 07:42 AM, Jesús J. Guerrero Botella wrote: Hello. How is it possible that this dependency became mandatory tonight for k3b? I don't think a handbook is a critical feature and k3b

Re: [gentoo-dev] Warn users not to do separate /usr partition without proper initramfs in the handbook?

2011-08-11 Thread Rich Freeman
On Thu, Aug 11, 2011 at 2:04 AM, Dale rdalek1...@gmail.com wrote: I understand that Fedora is wanting to do this.  What I don't understand is why.  It seems it is udev that is wrecking this havoc. Well, the answer is a bit more nuanced. First, keep in mind that in a typical linux distro the

Re: [gentoo-dev] [k3b] KDE_HANDBOOK=always?

2011-08-11 Thread Thomas Sachau
Jesús J. Guerrero Botella schrieb: 2011/8/11 Markos Chandras hwoar...@gentoo.org: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/11/2011 07:42 AM, Jesús J. Guerrero Botella wrote: Hello. How is it possible that this dependency became mandatory tonight for k3b? I don't think a

[gentoo-dev] Re: Warn users not to do separate /usr partition without proper initramfs in the handbook?

2011-08-11 Thread Duncan
Rich Freeman posted on Thu, 11 Aug 2011 08:20:21 -0400 as excerpted: On Thu, Aug 11, 2011 at 2:04 AM, Dale rdalek1...@gmail.com wrote: I understand that Fedora is wanting to do this.  What I don't understand is why.  It seems it is udev that is wrecking this havoc. Well, the answer is a bit

[gentoo-portage-dev] [PATCH] Distfile Patching Support for Portage

2011-08-11 Thread Rafael Goncalves Martins
Hi, I'm sending attached a patch that does the basic implementation of Distfile Patching Support for Portage. This is part of my GSoC project [1]. It relies on the tools provided by app-portage/distpatch, commited to the tree today, and is able to get an old tarball, plus a XZ compressed binary

Re: [gentoo-portage-dev] [PATCH] Distfile Patching Support for Portage

2011-08-11 Thread Rafael Goncalves Martins
On Thu, Aug 11, 2011 at 12:29 PM, Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com wrote: 2011-08-11 10:12:04 Rafael Goncalves Martins napisał(a): +                                       except subprocess.CalledProcessError, e: Please test your patch with all Python versions