[buildd-tools-devel] Bug#665021: nuitka: FTBFS: unsatisfiable build-dependencies: base-files (< 6.0) but 6.7 is to be installed

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Mar 23 06:16:11 UTC 2012


(Ccing the sbuild maintainers mailing list)

On 23/03/12 at 03:24 +0100, Kay Hayen wrote:
> 
> Hello Lucas,
> 
> >>The following packages have unmet dependencies:
> >>  sbuild-build-depends-nuitka-dummy : Depends: base-files (<  6.0) but 6.7 is to be installed
> >>                                      Depends: base-files (<  6.0) but 6.7 is to be installed
> >>E: Broken packages
> >
> >The full build log is available from:
> >    http://people.debian.org/~lucas/logs/2012/03/21/nuitka_0.3.20.1+ds-1.log
> >
> >A list of current common problems and possible solutions is available at
> >http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> >
> >About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
> >of the Grid'5000 platform, using a clean chroot.  Internet was not
> >accessible from the build systems.
> 
> The relevant part of the control file is this:
> 
> Build-Depends: debhelper (>= 7.4.3),
>                g++-4.6 (>= 4.6.1) | g++-4.5,
>                python (>= 2.6.6-2),
>                python-all-dbg (>= 2.6.6-2),
>                python-all-dev (>= 2.6.6-2),
>                rst2pdf (>= 0.14-2),
>                scons (>=2.0.0),
>                base-files (<<6.0) | python3-all-dev (>= 3.2),
>                base-files (<<6.0) | python3-all-dbg (>= 3.2)
> 
> Consider the last two lines. The versioned dependency on base-files
> can be fulfilled by having python3-all-dev and python3-all-dbg
> available for install.
> 
> Checking the archive, these appear to be still available:
> 
> apt-show-versions -a python3-all-dbg
> python3-all-dbg 3.2.2-1 install ok installed
> python3-all-dbg 3.2.2-1     testing  ftp.debian.org
> python3-all-dbg 3.2.3~rc1-2 unstable ftp.debian.org
> python3-all-dbg/testing uptodate 3.2.2-1
> 
> apt-show-versions -a python3-all-dev
> python3-all-dev 3.2.2-1 install ok installed
> python3-all-dev 3.2.2-1     testing  ftp.debian.org
> python3-all-dev 3.2.3~rc1-2 unstable ftp.debian.org
> python3-all-dev/testing uptodate 3.2.2-1
> 
> For some reason, the log of yours says:
> 
> Merged 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 (>= 7.4.3), g++-4.6 (>= 4.6.1) |
> g++-4.5, python (>= 2.6.6-2), python-all-dbg (>= 2.6.6-2),
> python-all-dev (>= 2.6.6-2), rst2pdf (>= 0.14-2), scons (>= 2.0.0),
> base-files (<< 6.0) | python3-all-dev (>= 3.2), base-files (<< 6.0)
> | python3-all-dbg (>= 3.2)
> Filtered 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, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>=
> 1.13.5), debhelper (>= 7.4.3), g++-4.6 (>= 4.6.1), python (>=
> 2.6.6-2), python-all-dbg (>= 2.6.6-2), python-all-dev (>= 2.6.6-2),
> rst2pdf (>= 0.14-2), scons (>= 2.0.0), base-files (<< 6.0),
> base-files (<< 6.0)
> 
> Witness how that filtering  removed the "|" conditions in both cases
> and then insisted on "base-files << 6.0".
> 
> It appears that my pbuilder, in sid doesn't at all do this merging
> and filtering of build dependencies, and therefore doesn't exhibit
> this problem, here it says:
> 
> Depends: debhelper (>= 7.4.3), g++-4.6 (>= 4.6.1) | g++-4.5, python
> (>= 2.6.6-2), python-all-dbg (>= 2.6.6-2), python-all-dev (>=
> 2.6.6-2), rst2pdf (>= 0.14-2), scons (>= 2.0.0), base-files (<< 6.0)
> | python3-all-dev (>= 3.2), base-files (<< 6.0) | python3-all-dbg
> (>= 3.2)
> 
> I am assuming a bug in an underlying package and ask to reassign this bug.

Indeed, sbuild tends to drop alternative build-depends in order to
enforce deterministic builds.

I'm not sure if there's a bug in sbuild there, but given that squeeze
and later have base-files >= 6.0, I'd recommend just dropping the
alternative build-dep.

Lucas



More information about the Buildd-tools-devel mailing list