Bug#648566: libdpkg-perl: Use of uninitialized value $msg in sprintf at /usr/share/perl5/Dpkg/ErrorHandling.pm line 48

2011-11-14 Thread John David Anglin

On 13-Nov-11, at 3:51 AM, Raphael Hertzog wrote:

What does “perl -w -MLocale::gettext -e 'print gettext(foo)'”  
return?


5.10.1-18 returns foo.
5.12.4-6 returns an empty string.

Pretty weird given the entire perl testsuite passed.  Based on
previous builds, the main problem area is thread support.

There is some glibc/perl issue.  Could that be the problem?

Dave
--
John David Anglin   dave.ang...@bell.net






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648566: libdpkg-perl: Use of uninitialized value $msg in sprintf at /usr/share/perl5/Dpkg/ErrorHandling.pm line 48

2011-11-13 Thread Raphael Hertzog
Hi,

On Sat, 12 Nov 2011, Dave Anglin wrote:
 After installing libperl5.12_5.12.4-6_hppa.deb, libperl-dev_5.12.4-6_hppa.deb,
 perl_5.12.4-6_hppa.deb, perl-base_5.12.4-6_hppa.deb and
 perl-modules_5.12.4-6_all.deb (built from source), I see errors shown below
 when using apt-get --compile source package:

99% sure that something is fishy in your perl installation. The only
explanation to your behaviour is that _g() provided by Dpkg::Gettext
always returns undef.

What does “perl -w -MLocale::gettext -e 'print gettext(foo)'” return?

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/go/ulule-rh/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648566: libdpkg-perl: Use of uninitialized value $msg in sprintf at /usr/share/perl5/Dpkg/ErrorHandling.pm line 48

2011-11-12 Thread Dave Anglin
Package: libdpkg-perl
Version: 1.16.1.1
Severity: normal

After installing libperl5.12_5.12.4-6_hppa.deb, libperl-dev_5.12.4-6_hppa.deb,
perl_5.12.4-6_hppa.deb, perl-base_5.12.4-6_hppa.deb and
perl-modules_5.12.4-6_all.deb (built from source), I see errors shown below
when using apt-get --compile source package:

Reading package lists...
Building dependency tree...
Reading state information...
NOTICE: 'dpkg' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/git/dpkg/dpkg.git
Need to get 5,434 kB of source archives.
Get:1 http://ftp.debian.org/debian/ testing/main dpkg 1.16.1.1 (dsc) [1,372 B]
Get:2 http://ftp.debian.org/debian/ testing/main dpkg 1.16.1.1 (tar) [5,432 kB]
Use of uninitialized value $msg in sprintf at 
/usr/share/perl5/Dpkg/ErrorHandling.pm line 48.
Use of uninitialized value $type in concatenation (.) or string at 
/usr/share/perl5/Dpkg/ErrorHandling.pm line 49.
Use of uninitialized value $msg in sprintf at 
/usr/share/perl5/Dpkg/ErrorHandling.pm line 48.
Use of uninitialized value $type in concatenation (.) or string at 
/usr/share/perl5/Dpkg/ErrorHandling.pm line 49.
dpkg-source: : 
dpkg-source: : 
Use of uninitialized value $p in sprintf at 
/usr/share/perl5/Dpkg/ErrorHandling.pm line 87.
Use of uninitialized value $msg in sprintf at 
/usr/share/perl5/Dpkg/ErrorHandling.pm line 48.
Use of uninitialized value $type in concatenation (.) or string at 
/usr/share/perl5/Dpkg/ErrorHandling.pm line 49.
dpkg-buildpackage: : 
Build command 'cd dpkg-1.16.1.1  dpkg-buildpackage -b -uc' failed.
Fetched 5,434 kB in 10s (509 kB/s)
E: Child process failed

Doesn't occur with perl_5.10.1-18.  Fortunately, dpkg -i still works,
so it's possible to switch perl versions.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable'), (500, 'oldstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.1.0+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdpkg-perl depends on:
ii  dpkg  1.16.1.1 
ii  libtimedate-perl  1.2000-1 
ii  perl  5.10.1-18

Versions of packages libdpkg-perl recommends:
ii  bzip2 1.0.5-6
ii  xz-utils  5.0.0-2

Versions of packages libdpkg-perl suggests:
ii  binutils2.21.90.20111025-1
ii  debian-keyring  2011.08.07
ii  gnupg   1.4.11-3  
ii  gpgv1.4.11-3  
ii  patch   2.6.1-2   

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org