Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-12-07 Thread Roger Leigh
On Fri, Dec 03, 2010 at 02:52:56PM -0600, Jamie Strandboge wrote: --- sbuild-0.60.5.orig/lib/Sbuild/Build.pm +++ sbuild-0.60.5/lib/Sbuild/Build.pm @@ -1483,6 +1483,20 @@ warn Cannot open $self-{'Chroot Dir'}/usr/share/doc/build-essential/list: $!\n; } +# Workaround

Bug#602571: cannot build due to ESSENTIAL dep phase

2010-12-06 Thread Jamie Strandboge
On Sat, 2010-12-04 at 15:26 +0100, Loïc Minier wrote: On Sat, Dec 04, 2010, Roger Leigh wrote: Are all Ubuntu releases affected, or just the later ones? When was sysvinit removed? The current Ubuntu development release (natty, to be 11.04) is not affected anymore as I fixed

Bug#602571: cannot build due to ESSENTIAL dep phase

2010-12-04 Thread Loïc Minier
On Fri, Dec 03, 2010, Jamie Strandboge wrote: While this is an Ubuntu-specific change, the patch is small, obvious, and should not affect Debian or any of its other derivatives. While we can carry this delta going forward, I request that you

Bug#602571: cannot build due to ESSENTIAL dep phase

2010-12-04 Thread Roger Leigh
On Sat, Dec 04, 2010 at 02:22:08PM +0100, Loïc Minier wrote: On Fri, Dec 03, 2010, Jamie Strandboge wrote: While this is an Ubuntu-specific change, the patch is small, obvious, and should not affect Debian or any of its other derivatives.

Bug#602571: cannot build due to ESSENTIAL dep phase

2010-12-04 Thread Roger Leigh
On Sat, Dec 04, 2010 at 02:22:08PM +0100, Loïc Minier wrote: On Fri, Dec 03, 2010, Jamie Strandboge wrote: While this is an Ubuntu-specific change, the patch is small, obvious, and should not affect Debian or any of its other derivatives.

Bug#602571: cannot build due to ESSENTIAL dep phase

2010-12-04 Thread Loïc Minier
On Sat, Dec 04, 2010, Roger Leigh wrote: Would it be rather simpler, and a more general solution, to just add a configuration option to disable installation of build essential, to allow disabling on any system? You could then just put $install_build_essential = 0; While this particular

Bug#602571: cannot build due to ESSENTIAL dep phase

2010-12-03 Thread Jamie Strandboge
Hi, While Loïc's change is the technically correct change, it does not address existing Ubuntu releases which do not have an updated build-essential[1]. Even if we changed build-essential for all current active stable releases of Ubuntu, people would still not be able to build packages on EOL

Bug#602571: [buildd-tools-devel] Bug#602571: Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-14 Thread Roger Leigh
On Sat, Nov 13, 2010 at 04:41:29PM +0100, Loïc Minier wrote: On Fri, Nov 12, 2010, Roger Leigh wrote: The main question that needs answering is: Are all the packages listed in /usr/share/doc/build-essential/essential-packages-list and /usr/share/doc/build-essential/list available and

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-13 Thread Loïc Minier
Hi On Fri, Nov 12, 2010, Roger Leigh wrote: The main question that needs answering is: Are all the packages listed in /usr/share/doc/build-essential/essential-packages-list and /usr/share/doc/build-essential/list available and installable? Argh, thanks for pointing that out!! I

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-12 Thread Loïc Minier
Hey On Sat, Nov 06, 2010, Roger Leigh wrote: That attached patch is a crude attempt to find and eliminate provided virtual packages before we try to install them. If you could try it (against current git master), that would be great. I could still do with the debug output and other

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-12 Thread Loïc Minier
On Sat, Nov 06, 2010, Roger Leigh wrote: Grr, that's annoying. I've not seen this on Debian, but I do have the actual sysvinit package installed. So it's likely an issue with checking if virtual packages are installed. There's a quick and easy way to reproduce if you're tempted! ;-)

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-12 Thread Roger Leigh
On Fri, Nov 12, 2010 at 05:13:44PM +0100, Loïc Minier wrote: On Sat, Nov 06, 2010, Roger Leigh wrote: Grr, that's annoying. I've not seen this on Debian, but I do have the actual sysvinit package installed. So it's likely an issue with checking if virtual packages are installed.

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-06 Thread Roger Leigh
On Fri, Nov 05, 2010 at 05:55:34PM -0700, Kees Cook wrote: Package: sbuild Version: 0.60.2-1 Severity: normal User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty It seems that the ESSENTIAL dep resolution breaks me (at least on Ubuntu). I had to exit 1 from

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-06 Thread Roger Leigh
On Fri, Nov 05, 2010 at 05:55:34PM -0700, Kees Cook wrote: Package: sbuild Version: 0.60.2-1 Severity: normal User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty It seems that the ESSENTIAL dep resolution breaks me (at least on Ubuntu). I had to exit 1 from

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-06 Thread Roger Leigh
On Fri, Nov 05, 2010 at 05:55:34PM -0700, Kees Cook wrote: Package: sbuild Version: 0.60.2-1 Severity: normal User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty It seems that the ESSENTIAL dep resolution breaks me (at least on Ubuntu). I had to exit 1 from

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-06 Thread Kees Cook
Hi Roger, On Sat, Nov 06, 2010 at 11:08:29PM +, Roger Leigh wrote: apt-cache --names-only search '^sysvinit$' | sed -e 's/\([^[:space:]][[:space:]]*\)[[:space:]].*/\1/' What do you get in your chroot for the above? This returns nothing. 17:20 root@(natty-amd64)gorgon# apt-cache

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-06 Thread Kees Cook
On Sat, Nov 06, 2010 at 11:17:58PM +, Roger Leigh wrote: That attached patch is a crude attempt to find and eliminate provided virtual packages before we try to install them. If you could try it (against current git master), that would be great. I could still do with the debug output

Bug#602571: [buildd-tools-devel] Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-06 Thread Roger Leigh
On Sat, Nov 06, 2010 at 05:26:37PM -0700, Kees Cook wrote: Hi Roger, On Sat, Nov 06, 2010 at 11:08:29PM +, Roger Leigh wrote: apt-cache --names-only search '^sysvinit$' | sed -e 's/\([^[:space:]][[:space:]]*\)[[:space:]].*/\1/' What do you get in your chroot for the above?

Bug#602571: [buildd-tools-devel] Bug#602571: Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-06 Thread Roger Leigh
On Sat, Nov 06, 2010 at 05:27:40PM -0700, Kees Cook wrote: On Sat, Nov 06, 2010 at 11:17:58PM +, Roger Leigh wrote: That attached patch is a crude attempt to find and eliminate provided virtual packages before we try to install them. If you could try it (against current git master),

Bug#602571: cannot build due to ESSENTIAL dep phase

2010-11-05 Thread Kees Cook
Package: sbuild Version: 0.60.2-1 Severity: normal User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty It seems that the ESSENTIAL dep resolution breaks me (at least on Ubuntu). I had to exit 1 from install_essential() to restore my ability to build (0.60.0 was working fine). I see