You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ubi9/perl-532 does not have the expat-devel package installed; in particular, this causes the installation of XML::Parser to fail (see "Reproducer" section)
% podman run -it --rm registry.access.redhat.com/ubi9/perl-532 dnf list --installed 'expat*'
Not root, Subscription Management repositories not updated
Installed Packages
expat.x86_64 2.5.0-3.el9_5.1 @System
For comparison, ubi8/perl-532 does the expat-devel package installed:
% podman run -it --rm registry.access.redhat.com/ubi8/perl-532:1-169.1731464736 dnf list --installed 'expat*'
Not root, Subscription Management repositories not updated
Installed Packages
expat.x86_64 2.2.5-16.el8_10 @System
expat-devel.x86_64 2.2.5-16.el8_10 @rhel-8-for-x86_64-baseos-rpms__8
Reproducer
$ podman run -it --rm registry.access.redhat.com/ubi9/perl-532: cpanm install -nL local XML::Parser
--> Working on install
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/install-0.01.tar.gz ... OK
Configuring install-0.01 ... OK
Building install-0.01 ... OK
Successfully installed install-0.01
--> Working on XML::Parser
Fetching http://www.cpan.org/authors/id/T/TO/TODDR/XML-Parser-2.47.tar.gz ... OK
Configuring XML-Parser-2.47 ... N/A
! Configure failed for XML-Parser-2.47. See /opt/app-root/src/.cpanm/work/1732624072.1/build.log for details.
1 distribution installed
The log file includes the error:
Expat must be installed prior to building XML::Parser and I can't find
it in the standard library directories. Install 'expat-devel' (or
'libexpat1-dev') package with your OS package manager. See 'README'.
Using ubi8/perl-532, the installation succeeds:
$ podman run -it --rm registry.access.redhat.com/ubi8/perl-532:1-169.1731464736 cpanm install -nL local XML::Parser
...
Building XML-Parser-2.47 ... OK
Successfully installed XML-Parser-2.47
20 distributions installed
The text was updated successfully, but these errors were encountered:
Yes, though I was hoping to use this image as-is without having to build a custom image from Dockerfile/Containerfile & maintain it in another container registry. Also, for Perl apps that depend on XML::Parser, not having expat-devel in the ubi9 flavors complicates any ubi8 -> ubi9 upgrade path for S2I application use cases (e.g., on OpenShift).
Container platform
Podman/Docker
Version
registry.access.redhat.com/ubi9/perl-532:9.5-1731645377
OS version of the container image
RHEL 9
Bugzilla, Jira
No response
Description
The ubi9/perl-532 does not have the expat-devel package installed; in particular, this causes the installation of XML::Parser to fail (see "Reproducer" section)
For comparison, ubi8/perl-532 does the expat-devel package installed:
Reproducer
The log file includes the error:
Using ubi8/perl-532, the installation succeeds:
The text was updated successfully, but these errors were encountered: