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 was assuming that sysvinit was indeed a virtual package in Ubuntu per the original bug report, but it's not! "apt-get install sysvinit" indeed suggests upstart and sysvinit-utils; that's because each of them Replaces: sysvinit, but sysvinit-utils Provides: sysvutils, not sysvinit! (and upstart has unrelated Provides) I checked and there is no sysvinit Provides in Ubuntu; simply an out-of-date essential.list in build-essential... (it's not generated at build time) Once I fixed /usr/share/doc/build-essential/essential-packages-list not to list sysvinit in the chroot, I could build packages just fine. I've uploaded a fixed build-essential package to Ubuntu. > Virtual packages are not resolved automatically in 0.60.4; > you'll need to set $resolve_virtual=1 in your sbuild configuration > (for the internal resolver; the apt/aptitude resolvers do this > automatically). Ah, I didn't know about this config either; thanks for pointing it out! With the /usr/share/doc/build-essential/essential-packages-list fix, "$resolve_virtual = 1;" didn't affect the build (it would still build with virtuals enabled). With the /usr/share/doc/build-essential/essential-packages-list fix, I tried your sbuild-vpkg.patch again; packages still build fine both with "$resolve_virtual = 1;" and without. Without the /usr/share/doc/build-essential/essential-packages-list fix, I found that the output was a bit more cryptic with your patch, since I got: ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (internal resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Build-Depends: build-essential, fakeroot Checking for already installed dependencies... build-essential: already installed (11.5) fakeroot: already installed (1.14.4-1ubuntu1) Checking for dependency conflicts... Installing positive dependencies: Removing negative dependencies: Checking correctness of dependencies... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install dpkg build dependencies (internal resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 6.0.7), pkg-config, gettext (>= 0.18), po4a (>= 0.33.1), libncursesw5-dev, zlib1g-dev (>= 1:1.1.3-19.1), libbz2-dev, flex, libselinux1-dev (>= 1.28-4), libtimedate-perl, libio-string-perl Checking for already installed dependencies... base-files: already installed (5.0.0ubuntu25) base-passwd: already installed (3.5.22) bash: already installed (4.1-2ubuntu4) coreutils: already installed (8.5-1ubuntu3) dash: already installed (0.5.5.1-7ubuntu1) debianutils: already installed (3.4.1) diffutils: already installed (1:3.0-1) dpkg: already installed (1.15.8.5ubuntu1) e2fsprogs: already installed (1.41.12-1ubuntu2) findutils: already installed (4.4.2-1ubuntu1) grep: already installed (2.6.3-3) gzip: already installed (1.3.12-9ubuntu1.1) hostname: already installed (3.04ubuntu1) ncurses-base: already installed (5.7+20100626-0ubuntu1) ncurses-bin: already installed (5.7+20100626-0ubuntu1) perl-base: already installed (5.10.1-15ubuntu2) sed: already installed (4.2.1-7) login: already installed (1:4.1.4.2-1ubuntu3) sysvinit-utils: already installed (2.87dsf-4ubuntu18) sysvinit: missing tar: already installed (1.23-2) bsdutils: already installed (1:2.17.2-0ubuntu1) mount: already installed (2.17.2-0ubuntu1) util-linux: already installed (2.17.2-0ubuntu1) libc6-dev: already installed (2.12.1-0ubuntu7) gcc: already installed (4:4.5.1-1ubuntu2 >= 4:4.4.3 is satisfied) g++: already installed (4:4.5.1-1ubuntu2 >= 4:4.4.3 is satisfied) make: already installed (3.81-8) dpkg-dev: already installed (1.15.8.5ubuntu1 >= 1.13.5 is satisfied) debhelper: missing pkg-config: missing gettext: missing po4a: missing libncursesw5-dev: missing zlib1g-dev: missing libbz2-dev: missing flex: missing libselinux1-dev: missing libtimedate-perl: already installed (1.2000-1) libio-string-perl: missing Package installation not possible: failed to find virtual dependencies Source-dependencies not satisfied; skipping dpkg Not cleaning session: cloned chroot in use The error message is more confusing than the original one since the mention of ESSENTIAL as a separate step was bit more explicit; I suspect the change is not related to your patch though, but rather to other sbuild updates. I'm not familiar with sbuild, but from reading sbuild-vpkg.patch it seemed entirely appropriate, but since I can't confirm it fixes anything, I don't know whether you want to include it or not. It seems this bug can be closed since it's a problem in Ubuntu's build-essential, I'm leaving it open in case you'd like to merge sbuild-vpkg.patch. Thanks! -- Loïc Minier -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org