[Buildd-tools-devel] Bug#521486: wanna-build: apparently missing use clause for SBuild

Gustavo Noronha Silva kov at debian.org
Fri Mar 27 21:00:16 UTC 2009


Package: wanna-build
Version: 0.58.1-1
Severity: important

In my test setup of wanna-build I was getting the following problem:

kov at abacate ~/builds> wanna-build --take libsoup2.4_2.24.3-2
wanna-build (Debian sbuild) 0.58.1 (11 Mar 2009) on abacate.horta
Using database build-db/unstable
Undefined subroutine &main::version_less called at /usr/bin/wanna-build line 399.

After searching for the definition of such subrouting, I added 'use
Sbuild;' to the top of /usr/bin/wanna-build, and it worked
correctly. I'm not a perl guy, so I'm not sure this is the best
fix. Also, after fixing that, I still get some warnings:

kov at abacate ~/builds> wanna-build --take libsoup2.4_2.24.3-2
Prototype mismatch: sub main::send_mail: none vs ($$$) at /usr/bin/wanna-build line 68.
Prototype mismatch: sub main::send_mail: none vs ($$$) at /usr/bin/wanna-build line 1998.
Subroutine send_mail redefined at /usr/bin/wanna-build line 1973.
wanna-build (Debian sbuild) 0.58.1 (11 Mar 2009) on abacate.horta
Using database build-db/unstable
Use of uninitialized value in pattern match (m//) at /usr/bin/wanna-build line 513.
libsoup2.4: ok

Thanks,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wanna-build depends on:
ii  libmldbm-perl                 2.01-2     Store multidimensional hash struct
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 
ii  perl-modules                  5.10.0-19  Core Perl modules

Versions of packages wanna-build recommends:
ii  cron                          3.0pl1-105 management of regular background p
ii  exim4-daemon-light [mail-tran 4.69-9     lightweight Exim MTA (v4) daemon
ii  postgresql-8.3-debversion     1.0.1-2    Debian version number type for Pos
ii  wget                          1.11.4-2   retrieves files from the web

Versions of packages wanna-build suggests:
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep

-- no debconf information





More information about the Buildd-tools-devel mailing list