[buildd-tools-devel] Bug#736429: sbuild ignores --add-depends-arch unless --arch-all is used.

Len Sorensen lennartsorensen at ruggedcom.com
Thu Jan 23 15:49:43 UTC 2014


Package: sbuild
Version: 0.63.2-1.1~bpo60+1
Severity: normal

I discovered that the --add-depends-arch is being ignored and not
used at all, unless --arch-all is being used too.  Since it should be
adding to the dependancy list for building architecture dependant bits,
it seems needing to build the all packages should not be necesary.
--add-depends works fine though, so at least I have a workaround, but
it sure doesn't make sense the way it is behaving.

I tried to figure out in the code why it behaves this way but am not
having any luck with that yet.  It didn't look like it should be hard
to follow, but somehow I am missing something.

-- System Information:
Debian Release: 6.0.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), (500, 'oldstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sbuild depends on:
ii  adduser               3.112+nmu2         add and remove users and groups
ii  apt-utils             0.8.10.3+squeeze1  APT utility programs
ii  libsbuild-perl        0.63.2-1.1~bpo60+1 Tool for building Debian binary pa
ii  perl                  5.10.1-17squeeze6  Larry Wall's Practical Extraction 
ii  perl-modules          5.10.1-17squeeze6  Core Perl modules

Versions of packages sbuild recommends:
ii  debootstrap              1.0.26+squeeze1 Bootstrap a basic Debian system
ii  fakeroot                 1.14.4-1        Gives a fake root environment

Versions of packages sbuild suggests:
ii  deborphan              1.7.28.3+squeeze1 program that can find unused packa
ii  wget                   1.12-2.1          retrieves files from the web

-- Configuration Files:
/etc/sbuild.conf changed:
$mailfrom = "Source Builder <sbuild>";
$avg_time_db = "/var/lib/sbuild/avg-build-times";
$avg_space_db = "/var/lib/sbuild/avg-build-space";
$srcdep_lock_dir = "/var/lib/sbuild/srcdep-lock";
$purge_build_directory="successful";
$stalled_pkg_timeout = 150;
%individual_stalled_pkg_timeout = (
	smalleiffel => 300,
	jade => 300,
	atlas => 300,
	glibc => 1000,
	xfree86 => 1000,
	gcc-3.0 => 300,
	kwave => 600
);
%watches = (
	# general utilities
	sharutils		=> [qw(uuencode uudecode)],
	emacs20			=> ["emacs"],
	groff			=> ["groff"],
	bzip2			=> [qw(bzip2 bunzip2 bzcat bz2cat)],
	# development tools
	debhelper		=> [qw(dh_clean dh_testdir dh_testversion dh_buildpackage)],
	debmake			=> ["debstd"],
	bison			=> ["bison"],
	flex			=> ["flex"],
	gettext			=> [qw(gettext msgfmt msgmerge xgettext gettextize)],
	m4				=> ["m4"],
	f2c				=> [qw(f2c fc)],
	g77				=> ["g77"],
	libtool			=> [qw(/usr/share/aclocal/libtool.m4
						   /usr/share/libtool/ltmain.sh)],
	"python-dev"	=> [qw(python /usr/include/python/Python.h)],
	gperf			=> ["gperf"],
	rcs				=> [qw(ci co ident rcs rcsdiff rlog)],
	"netkit-rpc"	=> ["rpcgen"],
	# doc formatting stuff
	"sgml-tools"	=> ["sgmltools.v1"],
	"debiandoc-sgml"=> [qw(debiandoc2html debiandoc2latex2e debiandoc2texinfo
						  debiandoc2text debiandoc2dvi debiandoc2dvips
						  debiandoc2info debiandoc2ps)],
	"jade"			=> ["jade"],
	"liburi-perl"	=> ["/usr/lib/perl5/URI/URL.pm"],
	"tetex-bin"		=> [qw(tex latex dvips)],
	texi2html		=> ["texi2html"],
	latex2html		=> ["latex2html"],
	# special stuff
	"apache-dev"	=> ["apxs"],
	# test for X libs
	"xlibs-dev"		=> [qw(/usr/X11R6/lib/libX11.a /usr/X11R6/lib/libX11.so /usr/X11R6/lib/libICE.a /usr/X11R6/lib/libICE.so /usr/X11R6/lib/libXp.a /usr/X11R6/lib/libXp.so)]
);
@ignore_watches_no_build_deps = qw(debhelper debmake xlibs-dev);
%alternatives = (
	"info-browser"			=> "info",
	"httpd"				=> "apache",
	"postscript-viewer"		=> "ghostview",
	"postscript-preview"		=> "psutils",
	"www-browser"			=> "lynx",
	"awk"				=> "gawk",
	"c-shell"			=> "tcsh",
	"wordlist"			=> "wenglish",
	"tclsh"				=> "tcl8.3",
	"wish"				=> "tk8.3",
	"c-compiler"			=> "gcc",
	"fortran77-compiler"		=> "g77",
	"java-compiler"			=> "jikes",
	"libc-dev"			=> "libc6-dev",
	"libgl-dev"			=> "xlibmesa-dev",
	"libncurses-dev"		=> "libncurses5-dev",
	"libz-dev"			=> "zlib1g-dev",
	"libg++-dev"			=> "libg++2.8.1.3-glibc2.1-dev",
	"emacsen"			=> "emacs21",
	"mail-transport-agent"		=> "ssmtp",
	"mail-reader"			=> "mailx",
	"news-transport-system"		=> "inn",
	"news-reader"			=> "nn",
	"pgp"				=> "pgp-i",
	"xserver"			=> "xserver-xfree86",
	"libpng-dev"			=> "libpng12-0-dev",
	"mysql-dev"			=> "libmysqlclient10-dev",
	"giflib-dev"			=> "libungif4-dev",
	"freetype2-dev"			=> "libttf-dev"
);
@no_auto_upgrade = qw(dpkg apt bash libc6 libc6-dev dpkg-dev);
require '/etc/sbuild.conf.local';
1;

/etc/sbuild/sbuild.conf changed:
$apt_allow_unauthenticated = 1;
1;


-- no debconf information



More information about the Buildd-tools-devel mailing list