[buildd-tools-devel] Bug#722012: Bug#722012: sbuild-createchroot 'tempfile' can't be called as a method at /usr/sbin/sbuild-createchroot

Roger Leigh rleigh at codelibre.net
Sun Oct 13 18:43:28 UTC 2013


severity 722012 serious
severity 724858 serious
forcemerge 724858 722012
thanks

On Thu, Sep 19, 2013 at 02:24:10PM -0500, Paul Elliott wrote:
> Below is the patch for my debian testing system.
> But it is only cargo cult programing.
> ##############cut here with a chain saw###########
> --- sbuild-createchroot.orig	2013-09-19 12:27:43.000000000 -0500
> +++ sbuild-createchroot	2013-09-19 13:22:30.000000000 -0500
> @@ -137,7 +137,7 @@
>  use Sbuild::Sysconfig;
>  use Sbuild::Conf qw();
>  use File::Path qw(mkpath rmtree);
> -use File::Temp ();
> +use File::Temp qw(tempfile);
>  use File::Copy;
>  use Cwd qw(abs_path);
>  
> @@ -392,7 +392,7 @@
>  # the sbuild chroot directory created, unless it's been requested to keep the
>  # directory.
>  if ($conf->get('MAKE_SBUILD_TARBALL')) {
> -    my ($tmpfh, $tmpfile) = File::Temp->tempfile("XXXXXX");
> +    my ($tmpfh, $tmpfile) = tempfile("XXXXXX");
>      my @program_list;

Thanks for the patch; I've applied a very similiar patch from #724858;
this will be in the next upload.


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20131013/0aa34e35/attachment.sig>


More information about the Buildd-tools-devel mailing list