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

Roger Leigh rleigh at codelibre.net
Sat Nov 6 23:08:29 UTC 2010


On Fri, Nov 05, 2010 at 05:55:34PM -0700, Kees Cook wrote:
> Package: sbuild
> Version: 0.60.2-1
> Severity: normal
> User: ubuntu-devel at 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).

> Package installation not possible
> Essential dependencies not satisfied; skipping rng-tools
> Not cleaning session: cloned chroot in use
> Keeping session: natty-amd64-27f66890-e388-47ec-844d-cac0b898aa36
> 
> I assume "sysvinit: missing" is the problem, but that should be satisfied
> by "sysvinit-utils":

Actually, this should work correctly AFAICT.  It should come up as
Version == '~*=PROVIDED=*=' later on, but it aborted before that.

sbuild looks for the packages providing the package name in
Sbuild::InternalResolver::get_virtual.  This should be equivalent to

apt-cache --names-only search '^sysvinit$' | sed -e 's/\([^[:space:]][[:space:]]*\)[[:space:]].*/\1/'

What do you get in your chroot for the above?

If you set $resolve_virtual=0 in your config, does this then work OK?

TBH, fixing this might be really tricky, so it might be best to
disable installing the essential package set by default when using
the internal resolver.  Even the virtual dependency rewriting in
virtual_dependencies could do the wrong thing if a package providing
it vdep other than the one we pick is already installed; the
aptitude resolver is really the way to go since the internal
resolver is such a hairy mess it's really difficult to change without
breaking stuff.  I'm tempted to back out even the virtual_dependencies
change.


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101106/dab97c8b/attachment.pgp>


More information about the Buildd-tools-devel mailing list