[Buildd-tools-devel] Bug#361113: "no such chroot" error isn't
very helpful
Roger Leigh
rleigh at whinlatter.ukfsn.org
Tue Apr 11 18:57:16 UTC 2006
Martin Michlmayr <tbm at cyrius.com> writes:
> * Martin Michlmayr <tbm at cyrius.com> [2006-04-09 12:27]:
>> /usr/bin/dpkg --purge po-debconf intltool-debian html2text libmagic1 gettext
>> file debhelper 2>&1 </dev/null
>
> my $command = get_command("$conf::dpkg --$mode @_ 2>&1 </dev/null", "root", 1, 1);
> to
> my $command = get_command("$conf::dpkg --$mode @_ 2>&1 </dev/null", "root", 1, 0);
Thanks for pointing these two out. I committed the following patch.
Regards,
Roger
Index: debian/changelog
===================================================================
--- debian/changelog (revision 553)
+++ debian/changelog (working copy)
@@ -1,3 +1,11 @@
+sbuild (0.45) UNRELEASED; urgency=low
+
+ * sbuild:
+ - build: Only print dpkg-buildpackage invocation in debug mode.
+ - uninstall_debs: Only print dpkg invocation in debug mode.
+
+ --
+
sbuild (0.44) unstable; urgency=low
* avg-pkg-build-time: Use Sbuild::Conf.
Index: sbuild
===================================================================
--- sbuild (revision 553)
+++ sbuild (working copy)
@@ -780,7 +780,7 @@
"LD_LIBRARY_PATH=".$main::ld_library_path." " : "").
"exec $conf::build_env_cmnd dpkg-buildpackage $conf::pgp_options ".
"$binopt $main::dpkg_buildpackage_signopt -r$conf::fakeroot 2>&1";
- exec_command($buildcmd, $main::username, 1, 1);
+ exec_command($buildcmd, $main::username, 1, 0);
}
else {
if (-f "/etc/ld.so.conf" && ! -r "/etc/ld.so.conf") {
@@ -1316,7 +1316,7 @@
return 1 if !@_;
print "Uninstalling packages: @_\n" if $conf::debug;
- my $command = get_command("$conf::dpkg --$mode @_ 2>&1 </dev/null", "root", 1, 1);
+ my $command = get_command("$conf::dpkg --$mode @_ 2>&1 </dev/null", "root", 1, 0);
repeat:
my $output;
my $remove_start_time = time;
--
Roger Leigh
Printing on GNU/Linux? http://gutenprint.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060411/e8ef40b3/attachment.pgp
More information about the Buildd-tools-devel
mailing list