Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774045 - app-text/po4a-0.62: ! Pod::Parser is not installed
Summary: app-text/po4a-0.62: ! Pod::Parser is not installed
Status: RESOLVED DUPLICATE of bug 689644
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 792060 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-03 10:28 UTC by Joonas Niilola
Modified: 2021-06-24 01:13 UTC (History)
7 users (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 Joonas Niilola gentoo-dev 2021-03-03 10:28:04 UTC
Completely a new install, when updating to ~ and running perl-cleaner --all I get:
>>> Jobs: 20 of 22 complete, 1 failed               Load avg: 1.22, 0.64, 0.27
 * Package:    app-text/po4a-0.62
 * Repository: gentoo
 * Maintainer: hattya@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking po4a-0.62.tar.gz to /var/tmp/portage/app-text/po4a-0.62/work
>>> Source unpacked in /var/tmp/portage/app-text/po4a-0.62/work
>>> Preparing source in /var/tmp/portage/app-text/po4a-0.62/work/po4a-0.62 ...
 * Looking in /var/tmp/portage/app-text/po4a-0.62/work/po4a-0.62/po/bin for new locales ...
 [ ok ]
 * Applying po4a-0.60-man.patch ...
 [ ok ]
 * Removing un-needed po/bin/af.po
 * Removing un-needed po/pod/af.po
 * Removing un-needed po/bin/ar.po
 * Removing un-needed po/pod/ar.po
 * Removing un-needed po/bin/ca.po
 * Removing un-needed po/pod/ca.po
 * Removing un-needed po/bin/cs.po
 * Removing un-needed po/pod/cs.po
 * Removing un-needed po/bin/da.po
 * Removing un-needed po/pod/da.po
 * Removing un-needed po/bin/de.po
 * Removing un-needed po/pod/de.po
 * Removing un-needed po/bin/eo.po
 * Removing un-needed po/pod/eo.po
 * Removing un-needed po/bin/es.po
 * Removing un-needed po/pod/es.po
 * Removing un-needed po/bin/et.po
 * Removing un-needed po/pod/et.po
 * Removing un-needed po/bin/eu.po
 * Removing un-needed po/pod/eu.po
 * Removing un-needed po/bin/fr.po
 * Removing un-needed po/pod/fr.po
 * Removing un-needed po/bin/hr.po
 * Removing un-needed po/pod/hr.po
 * Removing un-needed po/bin/hu.po
 * Removing un-needed po/pod/hu.po
 * Removing un-needed po/bin/id.po
 * Removing un-needed po/pod/id.po
 * Removing un-needed po/bin/it.po
 * Removing un-needed po/pod/it.po
 * Removing un-needed po/bin/ja.po
 * Removing un-needed po/pod/ja.po
 * Removing un-needed po/bin/kn.po
 * Removing un-needed po/pod/kn.po
 * Removing un-needed po/bin/ko.po
 * Removing un-needed po/pod/ko.po
 * Removing un-needed po/bin/nb.po
 * Removing un-needed po/pod/nb.po
 * Removing un-needed po/bin/nl.po
 * Removing un-needed po/pod/nl.po
 * Removing un-needed po/bin/pl.po
 * Removing un-needed po/pod/pl.po
 * Removing un-needed po/bin/pt.po
 * Removing un-needed po/pod/pt.po
 * Removing un-needed po/bin/pt_BR.po
 * Removing un-needed po/pod/pt_BR.po
 * Removing un-needed po/bin/ru.po
 * Removing un-needed po/pod/ru.po
 * Removing un-needed po/bin/sl.po
 * Removing un-needed po/pod/sl.po
 * Removing un-needed po/bin/sr_Cyrl.po
 * Removing un-needed po/pod/sr_Cyrl.po
 * Removing un-needed po/bin/uk.po
 * Removing un-needed po/pod/uk.po
 * Removing un-needed po/bin/vi.po
 * Removing un-needed po/pod/vi.po
 * Removing un-needed po/bin/zh_CN.po
 * Removing un-needed po/pod/zh_CN.po
 * Removing un-needed po/bin/zh_HK.po
 * Removing un-needed po/pod/zh_HK.po
 * Fixing Manifest
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-text/po4a-0.62/work/po4a-0.62 ...
 * Using Module::Build
 * perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/app-text/po4a-0.62/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.62'
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-text/po4a-0.62/work/po4a-0.62 ...
Created META.yml and META.json
Unknown format type: pod.
po4a::chooser: Module loading error: Can't locate Pod/Parser.pm in @INC (you may need to install the
               Pod::Parser module) (@INC contains: lib /etc/perl
               /usr/local/lib64/perl5/5.32/x86_64-linux /usr/local/lib64/perl5/5.32
               /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux /usr/lib64/perl5/vendor_perl/5.32
               /usr/lib64/perl5/5.32/x86_64-linux /usr/lib64/perl5/5.32 /usr/lib64/perl5/5.30.3
               /usr/lib64/perl5/vendor_perl/5.30.3) at lib/Locale/Po4a/Pod.pm line 14.
               BEGIN failed--compilation aborted at lib/Locale/Po4a/Pod.pm line 14.
               Compilation failed in require at (eval 38) line 1.
               BEGIN failed--compilation aborted at (eval 38) line 1.

List of valid formats:
  - asciidoc: AsciiDoc format.
  - dia: uncompressed Dia diagrams.
  - docbook: DocBook XML.
  - guide: Gentoo Linux's XML documentation format.
  - ini: INI format.
  - kernelhelp: Help messages of each kernel compilation option.
  - latex: LaTeX format.
  - man: Good old manual page format.
  - pod: Perl Online Documentation format.
  - rubydoc: Ruby Documentation (RD) format.
  - sgml: either DebianDoc or DocBook DTD.
  - texinfo: The info page format.
  - tex: generic TeX documents (see also latex).
  - text: simple text document.
  - wml: WML documents.
  - xhtml: XHTML documents.
  - xml: generic XML documents (see also docbook).
  - yaml: YAML documents.
Died at Po4aBuilder.pm line 162.
 * ERROR: app-text/po4a-0.62::gentoo failed (compile phase):
 *   Compilation failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 1082:  Called perl-module_src_compile
 *   environment, line  611:  Called die
 * The specific snippet of code:
 *           ./Build build || die "Compilation failed";
 *
 * If you need support, post the output of `emerge --info '=app-text/po4a-0.62::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/po4a-0.62::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/po4a-0.62/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/po4a-0.62/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/po4a-0.62/work/po4a-0.62'
 * S: '/var/tmp/portage/app-text/po4a-0.62/work/po4a-0.62'

 * Messages for package app-text/po4a-0.62:

 * ERROR: app-text/po4a-0.62::gentoo failed (compile phase):
 *   Compilation failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 1082:  Called perl-module_src_compile
 *   environment, line  611:  Called die
 * The specific snippet of code:
 *           ./Build build || die "Compilation failed";
Comment 1 Matt Turner gentoo-dev 2021-05-24 04:06:23 UTC
I'm seeing something like this too when running perl-cleaner after updating to perl-5.32.
Comment 2 Matt Turner gentoo-dev 2021-05-24 04:37:54 UTC
Sam notes that virtual/perl-Pod-Parser has

RDEPEND="
	|| ( ~dev-perl/Pod-Parser-1.630.0 =dev-lang/perl-5.30* )
        ...
"

so after portage upgrades perl from 5.30 to 5.32 the virtual should become unsatisfied and require an installation of dev-perl/Pod-Parser.

On my system, virtual/perl-Pod-Parser was installed after

> emerge @world -vuNDka --jobs 4 --load-average 4 --with-bdeps=n --exclude gentoo-sources

but po4a failed to install because dev-perl/Pod-Parser was not installed.

Perhaps a portage bug?
Comment 3 Matt Turner gentoo-dev 2021-05-24 05:13:23 UTC
ivybridge ~ # emerge virtual/perl-Pod-Parser -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-perl/Pod-Parser-1.630.0-r1::gentoo  USE="-test" 0 KiB
[ebuild   R    ] virtual/perl-Pod-Parser-1.630.0-r8::gentoo  0 KiB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB
ivybridge ~ # emerge po4a -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-text/po4a-0.57::gentoo  USE="-test" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
ivybridge ~ # emerge po4a -vpD

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-perl/Pod-Parser-1.630.0-r1::gentoo  USE="-test" 0 KiB
[ebuild  rR    ] virtual/perl-Pod-Parser-1.630.0-r8::gentoo  0 KiB
[ebuild     UD ] dev-libs/libxml2-2.9.10-r5:2::gentoo [2.9.12:2::gentoo] USE="icu ipv6 lzma python readline -debug -examples -static-libs -test (-verify-sig%)" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python3_9 -python3_7 -python3_8" 0 KiB
[ebuild   R    ] app-text/po4a-0.57::gentoo  USE="-test" 0 KiB

So portage seems to be aware that the virtual is not satisfied, but it doesn't try to resolve that situation unless --deep is specified.

It seems like a virtual in R/DEPEND should always be satisfied before it's needed, regardless of --deep.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-24 05:16:07 UTC
I’m wondering if perl-cleaner needs to be doing —-deep although that doesn’t feel right given you mentioned the system was up to date already.

The world update completed without incident? Or did it die on a Perl module error before you ran perl-cleaner?
Comment 5 Matt Turner gentoo-dev 2021-05-24 05:40:41 UTC
(In reply to Sam James from comment #4)
> I’m wondering if perl-cleaner needs to be doing —-deep although that doesn’t
> feel right given you mentioned the system was up to date already.
> 
> The world update completed without incident? Or did it die on a Perl module
> error before you ran perl-cleaner?

The @world update completed without incident. It's actually the final step in perl -cleaner --all that fails when building po4a. (This has happened on two different systems for me)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-25 16:25:18 UTC
*** Bug 792060 has been marked as a duplicate of this bug. ***
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-25 16:41:07 UTC
[09:10:38]  <+sam_> huh
[09:10:47]  <+sam_> I've had a few boxes complete full world upgrades with the new Perl update on stable
[09:10:53]  <+sam_> then depclean says:
[09:10:53]  <+sam_>  *   dev-lang/perl:0/5.32= pulled in by:
[09:10:53]  <+sam_>  *     virtual/perl-ExtUtils-MakeMaker-7.620.0
[09:11:06]  <+sam_> I try a world upgrade again, and as expected, MakeMaker is.. there and needs rebuilding
[09:11:34]  <+sam_> it's been MakeMaker about 3 times but I've seen another one (XML-Parser?) on another 
[10:28:18]  <@zmedico> sam_: sounds like possible virtual inconsistency like bug 649622
[11:39:01]  <+sam_> zmedico: actually
[11:39:15]  <+sam_> zmedico: is this possibly related to bug 774045 too?
[11:39:19]  <willikins> sam_: https://bugs.gentoo.org/774045 "app-text/po4a-0.62: !  Pod::Parser is not installed"; Gentoo Linux, Current packages; CONF; juippis:hattya
[11:40:18]  <+sam_> or "only in the sense of being virtuals"
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-25 16:43:37 UTC
(In reply to Sam James from comment #7)
> [09:11:34]  <+sam_> it's been MakeMaker about 3 times but I've seen another
> one (XML-Parser?) on another 

To be clear, this was on different machines. For me, once a box had been through a "update -> depclean -> update again" cycle, all was well.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2021-06-23 20:59:15 UTC
This is a typical portage build order issue. The dependency is there.
Comment 10 Zac Medico gentoo-dev 2021-06-24 01:13:25 UTC

*** This bug has been marked as a duplicate of bug 689644 ***