[buildd-tools-devel] Bug#722012: Sbuild::Conf: missing use File::Spec

Vaclav Ovsik vaclav.ovsik at gmail.com
Fri Sep 6 22:12:50 UTC 2013


Package: libsbuild-perl
Version: 0.64.0-1
Severity: normal
Tags: patch

Dear Maintainer,
I just played with sbuild and I got this:

bobek:~# sbuild-adduser zito
Error reading configuration: Can't locate object method "catfile" via package "File::Spec" at /usr/share/perl5/Sbuild/Conf.pm line 71.

There is simply missing package usage statement, so I fixed this by:

--- /usr/share/perl5/Sbuild/Conf.pm~	2013-09-06 23:54:45.608414498 +0200
+++ /usr/share/perl5/Sbuild/Conf.pm	2013-09-06 23:55:08.656413817 +0200
@@ -25,6 +25,7 @@
 use warnings;
 
 use Cwd qw(cwd);
+use File::Spec;
 use POSIX qw(getgroups getgid);
 use Sbuild qw(isin);
 use Sbuild::ConfBase;

sbuild-adduser works now I hope...
Regards
-- 
Zito

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsbuild-perl depends on:
ii  adduser                         3.113+nmu3
ii  apt                             0.9.11.2
ii  apt-utils                       0.9.11.2
ii  dctrl-tools                     2.23
ii  devscripts                      2.13.3
ii  dpkg-dev                        1.17.1
ii  libdpkg-perl                    1.17.1
ii  libexception-class-perl         1.32-1
ii  libfilesys-df-perl              0.92-4+b2
ii  libmime-lite-perl               3.028-1
ii  perl                            5.18.1-3
ii  perl-modules [libio-zlib-perl]  5.18.1-3
ii  postfix [mail-transport-agent]  2.10.1-2
ii  schroot                         1.6.5-1+b1

libsbuild-perl recommends no packages.

libsbuild-perl suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/perl5/Sbuild/Conf.pm (from libsbuild-perl package)



More information about the Buildd-tools-devel mailing list