Subject: xdeb does not take 'defaultrelease' into account when analysing dependencies Package: xdeb Version: 0.6.4 Severity: normal
*** Please type your report below this line *** this command: ./xdeb.py -a armel -b tmp --prefer-apt cln on a squeeze system with this config beyond defaults: ----apt.conf------ APT::Default-Release "squeeze"; ------------------ -----sources.list------ deb [arch=amd64,armel] http://ftp.uk.debian.org/debian squeeze main contrib deb-src http://ftp.uk.debian.org/debian squeeze main contrib deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://ftp.uk.debian.org/debian unstable main contrib deb-src http://ftp.uk.debian.org/debian unstable main contrib deb http://ftp.uk.debian.org/debian experimental main contrib deb-src http://ftp.uk.debian.org/debian experimental main contrib deb http://www.emdebian.org/debian/ testing main ----------------- xdeb fails with: ./xdeb.py -a armel -b tmp --prefer-apt cln Building source package cache ... [sudo] password for wookey: Using file security.debian.org_dists_squeeze_updates_main_source_Sources for apt cache Using file ftp.uk.debian.org_debian_dists_squeeze_main_source_Sources for apt cache Using file ftp.uk.debian.org_debian_dists_squeeze_contrib_source_Sources for apt cache Using file ftp.uk.debian.org_debian_dists_unstable_main_source_Sources for apt cache Using file ftp.uk.debian.org_debian_dists_unstable_contrib_source_Sources for apt cache Using file ftp.uk.debian.org_debian_dists_experimental_main_source_Sources for apt cache Using file ftp.uk.debian.org_debian_dists_experimental_contrib_source_Sources for apt cache Building working tree cache ... Build sequence: gmp* cln* sudo apt-get -y --allow-unauthenticated --no-install-recommends install libgmp10-dev Reading package lists... Done Building dependency tree Reading state information... Done 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: libgmp10-dev : Depends: libgmpxx4ldbl (= 2:5.0.1+dfsg-6) but 2:4.3.2+dfsg-1 is to be installed E: Broken packages Traceback (most recent call last): File "./xdeb.py", line 938, in <module> main() File "./xdeb.py", line 914, in main [src for src in build_sequence if src in real_build]) File "./xdeb.py", line 456, in install_build_depends spawn_root(command) File "/home/wookey/source/xdeb/bzr/xdeb/xdeb-multiarch-apt-options/utils.py", line 38, in spawn_root spawn(args, **kwargs) File "/home/wookey/source/xdeb/bzr/xdeb/xdeb-multiarch-apt-options/utils.py", line 29, in spawn raise SubprocessException, ret utils.SubprocessException: 100 So the problem is an inability to install libgmp10-dev. This is because libcln6 1.3.1-2.2 is in unstable (wheezy), whilst libcln6 1.3.1-2 is in squeeze. The former depends on libgmp10, the latter on libgmp3c2 xdeb tries to get the sources and build-deps for the wheezy package, not the squeeze package, despite the APT::Default-release squeeze setting. When it tries to get them it finds that libgmp10-dev is not installable here due to the APT::Default-release=squeeze setting. xdeb needs to be more consistent about either respecting or not-respecting the APT::Default-release setting. -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xdeb depends on: ii apt-utils 0.8.10.3 APT utility programs ii build-essential 11.5 Informational list of build-essent ii devscripts 2.10.69 scripts to make the life of a Debi ii dpkg-cross 2.5.8+nmu1 tools for cross compiling Debian p ii dpkg-dev 1.15.8.10 Debian package development tools ii lintian 2.4.3 Debian package checker ii python 2.6.6-3+squeeze5 interactive high-level object-orie ii python-apt 0.7.100.1 Python interface to libapt-pkg ii python-debian 0.1.18 Python modules to work with Debian ii python-support 1.0.10 automated rebuilding support for P ii sudo 1.7.4p4-2.squeeze.1 Provide limited super user privile ii wget 1.12-2.1 retrieves files from the web Versions of packages xdeb recommends: ii fakeroot 1.14.4-1 Gives a fake root environment ii gcc 4:4.4.5-1 The GNU C compiler xdeb suggests no packages. -- no debconf information Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

