[Buildd-tools-devel] Bug#422879: sbuild doesn't always deal well
with build-depends resolution
Lucas Nussbaum
lucas at lucas-nussbaum.net
Tue May 8 15:37:55 UTC 2007
Package: sbuild
Version: 0.53
Severity: important
Hi Roger,
I ran a build of all packages in sid using sbuild 0.53. I haven't
analyzed all the failures (~500) yet, but there's a class of failures
that is caused directly by sbuild.
When a package build-depends on a | b, and a is uninstallable, it
doesn't try to b. That's already known as bug #403246.
But when a package build-depends on a | b, and a is installable, it
installs a, even if this prevents another build-dependancy to be
installed.
Exemples follow, for all the failures I could link to sbuild problems.
You can read all logs in
gluck:~lucas/public_html/logs/2007/05/rebuild.sid.i386/
avr-libc:
Build-Depends: gcc-avr (>= 1:4.1.0-1), debhelper (>= 5), doxygen (>=
1.3.4-1), tetex-bin (<= 3.0-30) | texlive-extra-utils (>= 200
7-4), tetex-extra | texlive-extra-utils (>= 2007-4), transfig, gs,
netpbm, x11-common
Installs tetex-bin 2007-4, then realizes that it doesn't fit the
Build-Depends rule:
After installing, the following source dependencies are still unsatisfied:
tetex-bin(inst 2007-4 ! <= wanted 3.0-30)|texlive-extra-utils(missing)
Source-dependencies not satisfied; skipping avr-libc
crystalspace:
Build-Depends: debhelper (>= 4.0), python2.3-dev | python2.2-dev |
python-dev, [...]
Tries to install python2.3-dev, then fails, while python-dev is
available. (#403246)
libclass-trait-perl:
Build-Depends: debhelper (>= 4.0.2)
Build-Depends-Indep: perl (>= 5.8.0-7), libtest-differences-perl (>=
0.47), libmodule-build-perl, libtest-simple-perl (>= 0.62)
Checking for already installed source dependencies...
debhelper: missing
Using default version 5.0.49
perl: already installed (5.8.8-7 >= 5.8.0-7 is satisfied)
libtest-differences-perl: missing
Using default version 0.47-2
libmodule-build-perl: missing
libtest-simple-perl: already installed (=*=PROVIDED=*= >= 0.62 is
satisfied)
[...]
dpkg-buildpackage: source package is libclass-trait-perl
dpkg-buildpackage: source version is 0.22-2
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 0.22-2
dpkg-checkbuilddeps: Unmet build dependencies: libtest-simple-perl (>=
0.62)
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
libtest-simple-perl is Provided by perl-modules, but a versioned depends should install the real package, not use the Provide.
libmail-box-perl:
same problem as libtest-simple-perl, but with libscalar-list-utils-perl
and libtest-harness-perl
libtest-base-perl:
also build-depends on libtest-simple-perl.
libwww-perl:
build-dpends on libnet-perl, also provided by perl-modules.
Isn't it possible to use 'apt-get build-dep', or to copy its algorithm ?
Thank you for your work on sbuild. It works amazingly well on all other
packages.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the Buildd-tools-devel
mailing list