Your message dated Sat, 28 Sep 2013 07:17:06 +0000
with message-id <[email protected]>
and subject line Bug#708607: fixed in dpkg 1.16.11
has caused the Debian Bug report #708607,
regarding Undefined subroutine &main::_ called at /usr/share/perl5/Dpkg/File.pm
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.)


-- 
708607: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708607
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libdpkg-perl
Version: 1.16.10

A co-worker got the following error while building a package:

  dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
not NFS-safe
  Undefined subroutine &main::_ called at /usr/share/perl5/Dpkg/File.pm line 41.

Apparently, in this situation the build was being done in a filesystem
where flock() fails to lock.  I believe libdpkg-perl was unable to
report the real error properly because it is translating the error
message using nonexistent subroutine "_".  I assume it should be using
"_g" instead:

--- a/scripts/Dpkg/File.pm
+++ b/scripts/Dpkg/File.pm
@@ -39,12 +39,12 @@ sub file_lock($$) {
     if ($@) {
         warning(_g("File::FcntlLock not available; using flock which is not 
NFS-safe"));
         flock($fh, LOCK_EX) ||
-            syserr(_("failed to get a write lock on %s"), $filename);
+            syserr(_g("failed to get a write lock on %s"), $filename);
     } else {
         eval q{
             my $fs = File::FcntlLock->new(l_type => F_WRLCK);
             $fs->lock($fh, F_SETLKW) ||
-                syserr(_("failed to get a write lock on %s"), $filename);
+                syserr(_g("failed to get a write lock on %s"), $filename);
         }
     }
 }

--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.16.11

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive.

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.
Guillem Jover <[email protected]> (supplier of updated dpkg 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: Mon, 23 Sep 2013 16:51:18 +0200
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source amd64 all
Version: 1.16.11
Distribution: stable
Urgency: low
Maintainer: Dpkg Developers <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Description: 
 dpkg       - Debian package management system
 dpkg-dev   - Debian package development tools
 dselect    - Debian package management front-end
 libdpkg-dev - Debian package management static library
 libdpkg-perl - Dpkg perl modules
Closes: 676664 704240 708607 710265 711647 715334
Changes: 
 dpkg (1.16.11) stable; urgency=low
 .
   [ Raphaël Hertzog ]
   * Fix usage of non-existent _() function in multiple places of the Perl
     code. Thanks to Lincoln Myers <[email protected]> for the patch.
     Closes: #708607
 .
   [ Guillem Jover ]
   * Fix chmod() arguments order in Dpkg::Source::Quilt. Closes: #710265
     Thanks to Pablo Oliveira <[email protected]>.
   * Only ignore older packages if the existing version is informative. This
     allows any program using libdpkg to parse the available file to see again
     packages with versions lesser than 0-0 (like 0~0-0). Closes: #676664
   * Fix use after free in dpkg_arch_load_list() on libdpkg.
     Reported by Pedro Ribeiro <[email protected]>.
 .
   [ Updated programs translations ]
   * Vietnamese (Trần Ngọc Quân). Closes: #715334
 .
   [ Added man page translations ]
   * Italian (Beatrice Torracca). Closes: #711647
 .
   [ Updated man page translations ]
   * Japanese (TAKAHASHI Motonobu). Closes: #704240
Checksums-Sha1: 
 5a0d62dee9c2ca84c2683945191a67e9870582ac 1376 dpkg_1.16.11.dsc
 f8ef3846c36051514b9fe2543d89eaf3cae74c12 3788644 dpkg_1.16.11.tar.xz
 013d459ef93fa985df167df00062e5f90c95706a 689816 libdpkg-dev_1.16.11_amd64.deb
 faaa7d4699a534b2a50e2f4a5263ce27b7171d09 2644952 dpkg_1.16.11_amd64.deb
 7b03b3fa89ca09f90f11b90a1f72544cb8f81fe2 1153112 dselect_1.16.11_amd64.deb
 158bb1a5ffdc5b3073bede63544489d4551e5193 1348348 dpkg-dev_1.16.11_all.deb
 3bffb1a27f21a146280a9a6011c9b9c676c33ff5 950574 libdpkg-perl_1.16.11_all.deb
Checksums-Sha256: 
 8bcc0b64f893fea54624117773ecb4d2fdaf6f5c53856165dabc492d1bed4326 1376 
dpkg_1.16.11.dsc
 fa053acbc1d7d3e28c6329c412a08812b971e84898d06efc7bfa36e6a1cbbd96 3788644 
dpkg_1.16.11.tar.xz
 07d351c35cf4bd5ee17596108eef3382c0af5dd3d6eae123f69ec975a4ad91ad 689816 
libdpkg-dev_1.16.11_amd64.deb
 2d376840eaab5f3b43e641df58c46882508511158200a1fec5d5a686cb365ce9 2644952 
dpkg_1.16.11_amd64.deb
 dc7bbd8644c602661f02ebf9c4bf5409311c21b372de544d02906146673c0f5f 1153112 
dselect_1.16.11_amd64.deb
 f5e65eb36760705b141d03f3610d20a8526230d8788705ff6f854758eb8dba0c 1348348 
dpkg-dev_1.16.11_all.deb
 f0e75d12edd617c02dc99b2bdad17077febcbf03e0211b25bb366ca79ab0c354 950574 
libdpkg-perl_1.16.11_all.deb
Files: 
 d526215f8b183f679661b614a974117a 1376 admin required dpkg_1.16.11.dsc
 c6aa3d66093063a376c0c3ad3122da63 3788644 admin required dpkg_1.16.11.tar.xz
 784f73fcdb06f203c3e2e61ccf266746 689816 libdevel optional 
libdpkg-dev_1.16.11_amd64.deb
 29461cc5dba7da796b54464047b49b40 2644952 admin required dpkg_1.16.11_amd64.deb
 5f15f17a2f6dde0d86f395ddb0db976f 1153112 admin optional 
dselect_1.16.11_amd64.deb
 02b88d457a71d6babae229afe8e3a97b 1348348 utils optional 
dpkg-dev_1.16.11_all.deb
 ce31c7f2724400f8dc53d7b372e2ba3d 950574 perl optional 
libdpkg-perl_1.16.11_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iEYEARECAAYFAlJGQeQACgkQuW9ciZ2SjJtELACg4LRqblAaZEQcqJobbhjd6iQo
KlkAnRCEImi8TO2Z34RYnTX7nt+WLotx
=MTay
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to