[buildd-tools-devel] Bug#559655: sbuild: dealing with experimental is a PITA
Cyril Brulebois
kibi at debian.org
Sun Dec 6 03:06:21 UTC 2009
Package: sbuild
Version: 0.59.0-1
Severity: important
Hi,
I tried to set up an sbuild chroot since cowbuilder was driving me nuts,
but it's not going much further. If apt-get is expected to behave badly,
sbuild probably should take that into account. If tweaks are expected in
the chroot (like apt pinning), that probably should be documented. And
since I couldn't find a single bug about experimental, I'm opening this
one.
My setup (forgetting the abspath issue for a second), assuming I
remember properly what I did a few hours ago:
| $ sudo sbuild-createchroot sid sid $mirror
| $ # rename appropriately
| $ # add experimental lines to sources.list
| $ sbuild-update experimental-amd64
| $ sbuild-upgrade experimental-amd64
| $ sbuild -c experimental-amd64-sbuild -s -A \
| xserver-xorg-input-synaptics_1.2.0-3.dsc
(This version is available in experimental.)
First try:
| ** Using build dependencies supplied by package:
| Build-Depends: debhelper (>= 5.0.0), libx11-dev, libxext-dev, libxi-dev (>= 2:1.2.0), x11proto-core-dev, xserver-xorg-dev (>= 2:1.7), pkg-config, quilt, automake, libtool, xutils-dev
|
| ┌──────────────────────────────────────────────────────────────────────────────┐
| │ Install build dependencies │
| └──────────────────────────────────────────────────────────────────────────────┘
|
| Checking for already installed source dependencies...
| debhelper: missing
| Using default version 7.4.9
| libx11-dev: missing
| libxext-dev: missing
| libxi-dev: missing
| Using default version 2:1.2.1-2
| x11proto-core-dev: missing
| xserver-xorg-dev: missing
| Default version of xserver-xorg-dev not sufficient, using version 2:1.7.0-1
| pkg-config: missing
| quilt: missing
| automake: missing
| libtool: missing
| xutils-dev: missing
| Checking for source dependency conflicts...
| E: Broken packages
| Installing positive dependencies: debhelper libx11-dev libxext-dev libxi-dev x11proto-core-dev xserver-xorg-dev=2:1.7.0-1 pkg-config quilt automake libtool xutils-dev
| Reading package lists...
| Building dependency tree...
| Reading state information...
| Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
|
| The following packages have unmet dependencies:
| xserver-xorg-dev: Depends: x11proto-input-dev (>= 1.9.99.902) but 1.5.0-2 is to be installed
| Depends: x11proto-xext-dev (>= 7.0.99.3) but 7.0.4-2 is to be installed
| E: Broken packages
| apt-get failed.
| Package installation failed
| Trying to reinstall removed packages:
| Trying to uninstall newly installed packages:
| Source-dependencies not satisfied; skipping xserver-xorg-input-synaptics
So I decided to install xserver-xorg-dev from experimental manually in
the chroot, I'd be needing it anyway for multiple packages. Once that
done (sudo schroot + apt-get install --no-install-recommends), second
try:
| ** Using build dependencies supplied by package:
| Build-Depends: debhelper (>= 5.0.0), libx11-dev, libxext-dev, libxi-dev (>= 2:1.2.0), x11proto-core-dev, xserver-xorg-dev (>= 2:1.7), pkg-config, quilt, automake, libtool, xutils-dev
|
| ┌──────────────────────────────────────────────────────────────────────────────┐
| │ Install build dependencies │
| └──────────────────────────────────────────────────────────────────────────────┘
|
| Checking for already installed source dependencies...
| debhelper: missing
| Using default version 7.4.9
| libx11-dev: missing
| libxext-dev: missing
| libxi-dev: missing
| Using default version 2:1.2.1-2
| x11proto-core-dev: already installed (7.0.16-1)
| xserver-xorg-dev: already installed (2:1.7.0-1 >= 2:1.7 is satisfied)
| pkg-config: missing
| quilt: missing
| automake: missing
| libtool: missing
| xutils-dev: missing
| Checking for source dependency conflicts...
| E: Broken packages
| Installing positive dependencies: debhelper libx11-dev libxext-dev libxi-dev pkg-config quilt automake libtool xutils-dev
| Reading package lists...
| Building dependency tree...
| Reading state information...
| Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
|
| The following packages have unmet dependencies:
| libxext-dev: Depends: x11proto-xext-dev but it is not going to be installed
| x11proto-input-dev: Breaks: libxi-dev (< 2:1.2.99) but 2:1.2.1-2 is to be installed
| E: Broken packages
| apt-get failed.
| Package installation failed
| Trying to reinstall removed packages:
| Trying to uninstall newly installed packages:
| Source-dependencies not satisfied; skipping xserver-xorg-input-synaptics
So I had to manually install (the same way) libxi-dev from experimental
before being able to actually build a single package (out of 30+).
It shouldn't be _that_ hard to build packages targeted at experimental.
As said above, I can understand some extra steps may be needed, but
please identify and document them (recursive grep on experimental in
sbuild's /u/s/d didn't reveal anything).
Thanks in advance.
Mraw,
KiBi.
-- System Information:
Debian Release: sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-rc8-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sbuild depends on:
ii adduser 3.111 add and remove users and groups
ii libsbuild-perl 0.59.0-1 Tool for building Debian binary pa
ii perl 5.10.1-8 Larry Wall's Practical Extraction
ii perl-modules 5.10.1-8 Core Perl modules
Versions of packages sbuild recommends:
ii debootstrap 1.0.20 Bootstrap a basic Debian system
ii fakeroot 1.14.4-1 Gives a fake root environment
Versions of packages sbuild suggests:
pn deborphan <none> (no description available)
ii wget 1.12-1.1 retrieves files from the web
-- no debconf information
More information about the Buildd-tools-devel
mailing list