Your message dated Sun, 05 Apr 2009 19:17:03 +0000
with message-id <[email protected]>
and subject line Bug#503086: fixed in po-debconf 1.0.16
has caused the Debian Bug report #503086,
regarding po-debconf: Import failure mode of podebconf-report-po broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
503086: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503086
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: po-debconf
Version: 1.0.15
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch intrepid
Hi!
If libmail-box-perl (which is currently a Recommends) is not installed:
$ /usr/bin/podebconf-report-po
Can't locate Mail/Box/Manager.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at /usr/bin/podebconf-report-po line 1144.
BEGIN failed--compilation aborted at /usr/bin/podebconf-report-po line 1144.
The code is already trying to print out a better error message in this
case, it's just using "use" where it should use "import". Attached
patch fixes this:
$ /tmp/podebconf-report-po --postpone=/tmp/xx
[...]
The --postpone and --mutt options require the perl Mail::Box package. Please
install the Debian libmail-box-perl package if you want to use these options.
No mail written or sent. at /tmp/podebconf-report-po line 1160, <> line 1.
The patch also drops libmail-box-perl to Suggests:, since it isn't
necessary for most things you do with po-debconf, and it pulls in a
plethora of perl modules. With the fixed failure mode from above, the
Suggests: definition matches this best, IMHO.
Thank you for considering,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -Nru po-debconf-1.0.15/debian/changelog
po-debconf-1.0.15ubuntu1/debian/changelog
--- po-debconf-1.0.15/debian/changelog 2008-06-13 01:42:44.000000000 +0200
+++ po-debconf-1.0.15ubuntu1/debian/changelog 2008-10-22 13:54:48.000000000
+0200
@@ -1,3 +1,15 @@
+po-debconf (1.0.15ubuntu1) intrepid; urgency=low
+
+ * podebconf-report-po: Fix opportunistic import of Mail::Box::Manager, to
+ avoid crashing with an import error if libmail-box-perl is not installed.
+ Now it actually shows the "Please install libmail-box-perl" message, as
+ the code intends to. Thanks to Colin Watson for suggesting this fix!
+ * Drop libmail-box-perl to Suggests:. It is not needed for most users of
+ po-debconf, drags in lots of more packages, and with above fix the failure
+ mode of podebconf-report-po is adequate.
+
+ -- Martin Pitt <[email protected]> Wed, 22 Oct 2008 13:52:04 +0200
+
po-debconf (1.0.15) unstable; urgency=low
[ podebconf-display-po ]
diff -Nru po-debconf-1.0.15/debian/control
po-debconf-1.0.15ubuntu1/debian/control
--- po-debconf-1.0.15/debian/control 2008-06-13 01:41:23.000000000 +0200
+++ po-debconf-1.0.15ubuntu1/debian/control 2008-10-22 13:54:57.000000000
+0200
@@ -9,7 +10,8 @@
Package: po-debconf
Architecture: all
Depends: perl, gettext (>= 0.16), intltool-debian (>= 0.34.2+20060512)
-Recommends: libmail-sendmail-perl, libcompress-zlib-perl, libmail-box-perl
+Recommends: libmail-sendmail-perl, libcompress-zlib-perl
+Suggests: libmail-box-perl
Description: manage translated Debconf templates files with gettext
This package is an alternative to debconf-utils and provide tools
to manage translated Debconf templates files with common gettext
diff -Nru po-debconf-1.0.15/podebconf-report-po
po-debconf-1.0.15ubuntu1/podebconf-report-po
--- po-debconf-1.0.15/podebconf-report-po 2008-05-20 23:38:06.000000000
+0200
+++ po-debconf-1.0.15ubuntu1/podebconf-report-po 2008-10-22
13:50:46.000000000 +0200
@@ -1141,7 +1141,7 @@
sub Postpone {
my $mail = shift;
if (eval { require Mail::Box::Manager }) {
- use Mail::Box::Manager;
+ import Mail::Box::Manager;
my $mgr = new Mail::Box::Manager;
my $folder = $mgr->open(folder => $MBOX, access => 'a');
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: po-debconf
Source-Version: 1.0.16
We believe that the bug you reported is fixed in the latest version of
po-debconf, which is due to be installed in the Debian FTP archive:
po-debconf_1.0.16.dsc
to pool/main/p/po-debconf/po-debconf_1.0.16.dsc
po-debconf_1.0.16.tar.gz
to pool/main/p/po-debconf/po-debconf_1.0.16.tar.gz
po-debconf_1.0.16_all.deb
to pool/main/p/po-debconf/po-debconf_1.0.16_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nicolas FRANCOIS (Nekral) <[email protected]> (supplier of
updated po-debconf package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 05 Apr 2009 16:05:55 +0200
Source: po-debconf
Binary: po-debconf
Architecture: source all
Version: 1.0.16
Distribution: unstable
Urgency: low
Maintainer: Nicolas FRANCOIS (Nekral) <[email protected]>
Changed-By: Nicolas FRANCOIS (Nekral) <[email protected]>
Description:
po-debconf - tool for managing templates file translations with gettext
Closes: 495352 503086 503523 505393 508454 510485 513800 519868 519870
Changes:
po-debconf (1.0.16) unstable; urgency=low
.
[ packaging ]
* debian/control: Standards-Version bumped to 3.8.1. No changes.
* debian/compat: Bumped to 7.
* debian/rules: Replace dh_clean -k by dh_prep.
* debian/control: Updated build dependency on debhelper (>= 7.0.0).
.
[ debconf-updatepo ]
* Fix the support for --msgid-bugs-address. Thanks to Felix Zielcke.
Closes: #503523
.
[ podebconf-report-po ]
* Apply patches from 1.0.15ubuntu1
- Fix opportunistic import of Mail::Box::Manager, to avoid crashing with
an import error if libmail-box-perl is not installed. Now it actually
shows the "Please install libmail-box-perl" message, as the code intends
to. Thanks to Colin Watson for suggesting this fix!
- Drop libmail-box-perl to Suggests:. It is not needed for most users of
po-debconf, drags in lots of more packages, and with above fix the
failure mode of podebconf-report-po is adequate.
- Closes: #503086, #519868
* podebconf-report-po: If the postponed mailbox does not exist, create it.
Closes: #519870
.
[ documentation ]
* doc/en/po-debconf.7.pod: encourage __Choices instead of _Choices.
Closes: #495352
* doc/po4a/po/vi.po: Updated Vietnamese translation. Thanks to Clytie
Siddall. Closes: #513800
* doc/en/po-debconf.7.pod: document the debugging process. Thanks to James
R. Van Zandt. Closes: #505393
* debian/control: English fixes in the package description. Closes: #508454
* debian/control: Update build dependencies for po4a (>= 0.36) and
perl (>= 5.10) to get a proper support of UTF-8 manpages from POD
documents.
* doc/po4a/po/*.po, doc/po4a/add_*/translator.*: convert to UTF-8,
* doc/po4a/po-debconf.cfg: Generate all translated POD document in UTF-8.
* doc/Makefile: COnvert to UTF-8, use the -utf8 pod2man option.
Closes: #510485
Checksums-Sha1:
4adc7b39e452563ab481e17723eb56487e068fdb 797 po-debconf_1.0.16.dsc
29927af10e0094d6ac69d965be32f3ef48fcd89d 242556 po-debconf_1.0.16.tar.gz
77b8d24b3373bfcf04ecf498f26ddc0187ef4c75 224324 po-debconf_1.0.16_all.deb
Checksums-Sha256:
9fc55f4e420d772d2722edd250fcda98504b7fa2612bf73e6a99722dd850e5bb 797
po-debconf_1.0.16.dsc
1abe4866b86306bfd460b9bee47213cd281e22f0f6a7c8814b711cecc9bfab0a 242556
po-debconf_1.0.16.tar.gz
98af144a451728bbfbb7eb4f4cb05603a19d9e70db7559c7fc9a3a84cf741164 224324
po-debconf_1.0.16_all.deb
Files:
498ca5244a9c9f1f6ed50209f10797ff 797 devel optional po-debconf_1.0.16.dsc
1bb0205c45ddeff5a7aa382593bee8bc 242556 devel optional po-debconf_1.0.16.tar.gz
59ec0dbf9b2e93f0a6d8204724a8bf87 224324 devel optional
po-debconf_1.0.16_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknZADcACgkQWgo5mup89a2WWQCePh3uLbyrRDgr72mp/5wxyn4K
v1EAnj/wpLqPqu00WKwKlfTBx/s9C0Bx
=MbBl
-----END PGP SIGNATURE-----
--- End Message ---