Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1200633

Bug#1073038: po4a: Fails due to undefined subroutine Locale::Po4a::Pod::dgettext

From Martin Quinson <Martin.Quinson@ens-rennes.fr>
Newsgroups linux.debian.bugs.dist
Subject Bug#1073038: po4a: Fails due to undefined subroutine Locale::Po4a::Pod::dgettext
Date 2024-06-12 10:50 +0200
Message-ID <IOrQ5-2lyh-7@gated-at.bofh.it> (permalink)
References <IOmnn-2hJM-7@gated-at.bofh.it> <IOmnn-2hJM-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Le mercredi 12 juin 2024 à 04:47 +0200, Guillem Jover a écrit :
> Package: po4a
> Version: 0.70
> Severity: serious
> 
> Hi!
> 
> When building dpkg, it now fails with something like this:
> 
>   ,---
>   Making check in man
>   make[1]: Entering directory '<UPDIR>/dpkg/man'
>   /usr/bin/po4a --previous --srcdir . --destdir . --no-backups --porefs file
> --msgmerge-opt=--add-location=file --package-name dpkg-man --package-version
> 1.22.6-80-gec07 --copyright-holder "Dpkg Developers" --msgid-bugs-address
> debian-dpkg@lists.debian.org  ./po/po4a.cfg
>   Undefined subroutine &Locale::Po4a::Pod::dgettext called at
> /usr/share/perl5/Locale/Po4a/Pod.pm line 94, <$fh> line 21.
>   make[1]: *** [Makefile:902: man.stamp] Error 255
>   make[1]: Leaving directory '<UPDIR>/dpkg/man'
>   `---
> 
> It seems the module is missing some import.

Hello,

the attached patch could help, but I fail to reproduce the failure in the first
place. I built dpkg v1.22.6 against po4a v0.72 and it builds with no failure.
The "Making check in man" section LGTM but I'm not sure of what it should look
like.

I tried the git version of po4a with git-pbuilder, but it complains about not
being able to determine whether it's a git or a release build. I must be
missing some config on my side.

Could you please do the following steps, please?

 * Try whether the failure still happens with the latest po4a
 * Try whether the attached patch applied to the latest po4a helps
 * Tell me more details about how to reproduce the failure

Thanks in advance, and sorry for the inconvenience. To me, this part of po4a
code was not changed in years, so I need help to understand the issue.

Mt

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1073038: po4a: Fails due to undefined subroutine Locale::Po4a::Pod::dgettext Martin Quinson <Martin.Quinson@ens-rennes.fr> - 2024-06-12 10:50 +0200
  Bug#1073038: po4a: Fails due to undefined subroutine Locale::Po4a::Pod::dgettext Guillem Jover <guillem@debian.org> - 2024-06-12 15:50 +0200
    Bug#1073038: po4a: Fails due to undefined subroutine Locale::Po4a::Pod::dgettext Guillem Jover <guillem@debian.org> - 2024-06-12 17:20 +0200
      Bug#1073038: po4a: Fails due to undefined subroutine Locale::Po4a::Pod::dgettext Guillem Jover <guillem@debian.org> - 2024-06-13 00:40 +0200
        Bug#1073038: po4a: Fails due to undefined subroutine Locale::Po4a::Pod::dgettext Martin Quinson <Martin.Quinson@ens-rennes.fr> - 2024-06-13 00:50 +0200
          Bug#1073038: po4a: Fails due to undefined subroutine Locale::Po4a::Pod::dgettext Guillem Jover <guillem@debian.org> - 2024-06-13 01:20 +0200
            Bug#1073038: po4a: Fails due to undefined subroutine Locale::Po4a::Pod::dgettext Martin Quinson <Martin.Quinson@ens-rennes.fr> - 2024-06-13 12:40 +0200

csiph-web