Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758080 - app-text/po4a-0.57: fails to build with >=dev-lang/perl-5.32.0 if virtual/perl-Pod-Parser is not installed
Summary: app-text/po4a-0.57: fails to build with >=dev-lang/perl-5.32.0 if virtual/per...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-12-02 16:47 UTC by Petr Pisar
Modified: 2020-12-08 13:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisar 2020-12-02 16:47:11 UTC
Building app-text/po4a-0.57 with (now masked) dev-lang/perl-5.32.0-r1 fails:

Calculating dependencies... done!
[ebuild   R    ] app-text/po4a-0.57::gentoo  USE="-test" 0 KiB
[...]
>>> Configuring source in /var/tmp/portage/app-text/po4a-0.57/work/po4a-0.57 ...
 * Using Module::Build
 * perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/app-text/po4a-0.57/image --create_packlist=1
Checking prerequisites...
  requires:
    !  Pod::Parser is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Run 'Build installdeps' to install missing prerequisites.

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'po4a' version '0.57'
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-text/po4a-0.57/work/po4a-0.57 ...
[...]
  - yaml: YAML documents.
Died at Po4aBuilder.pm line 161.

That's caused by an undeclared dependency on virtual/perl-Pod-Parser (Pod::Parser is used at lib/Locale/Po4a/Pod.pm:14). Pod::Parser was removed from upstream Perl 5.32.0 and thus it needs to be specified in the po4a ebuild among RDEPENDS:

--- /var/db/repos/gentoo/app-text/po4a/po4a-0.57.ebuild 2020-07-23 15:09:51.000000000 +0200
+++ po4a-0.57.ebuild    2020-12-02 17:43:34.565846637 +0100
@@ -12,7 +12,7 @@
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
@@ -24,7 +24,8 @@
        dev-perl/Text-WrapI18N
        dev-perl/Unicode-LineBreak
        dev-perl/YAML-Tiny
-       sys-devel/gettext"
+       sys-devel/gettext
+       virtual/perl-Pod-Parser"
 DEPEND="${RDEPEND}
        app-text/docbook-xml-dtd:4.1.2
        app-text/docbook-xsl-stylesheets


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-12-08 13:25:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b726f16b1f8b831e1e0b24880414fca2c133705

commit 1b726f16b1f8b831e1e0b24880414fca2c133705
Author:     Petr Pisar <petr.pisar@atlas.cz>
AuthorDate: 2020-12-02 16:43:34 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2020-12-08 13:25:18 +0000

    app-text/po4a: fix build with >=dev-lang/perl-5.32.0
    
    Closes: https://bugs.gentoo.org/758080
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Petr Pisar <petr.pisar@atlas.cz>
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 app-text/po4a/po4a-0.57.ebuild | 5 +++--
 app-text/po4a/po4a-0.60.ebuild | 5 +++--
 app-text/po4a/po4a-0.61.ebuild | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)