Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install perl module XML::Parser failed ; environnment : photon os 3 and perl 5.28.0 and VCSA 8 #1514

Open
quartzsilex opened this issue Oct 26, 2023 · 2 comments
Labels

Comments

@quartzsilex
Copy link

quartzsilex commented Oct 26, 2023

Describe the bug

Hi everybody !

We want to custum VMs depoyement using perl script file:

i follow this documentation: https://kb.vmware.com/s/article/2007557 ( and so on)

have to install XLM::MOD::Path and all the dependency.

i can't go any further, i am stuck to the XML:Parse module installation.

here is the message error :

Running make test :

....................

...................................

Failed test at t/decl.t line 86.

got: '((bar|foo|xyz+),bar)'

expected: '((bar|foo|xyz+),zebra*)'

Failed test at t/decl.t line 95.

got: 'bar'

expected: 'zebra'

Failed test at t/decl.t line 96.

got: undef

expected: '*'

Looks like you failed 3 tests of 40.

..........................

....................................

make: *** [Makefile:971: test_dynamic] Error 255
TODDR/XML-Parser-2.46.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports TODDR/XML-Parser-2.46.tar.gz

i force the installation but can't have VMs customization succeed

Thanks in advance

best regards

Reproduction steps

1.perl -MCPAN -e 'force install XML::Parser'
..........
..................
Running make test
make[1]: Entering directory '/root/.cpan/build/XML-Parser-2.46-5/Expat'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Expat.bs ../blib/arch/auto/XML/Parser/Expat/Expat.bs 644
Manifying 1 pod document
make[1]: Leaving directory '/root/.cpan/build/XML-Parser-2.46-5/Expat'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/.t
t/astress.t ........... ok
t/cdata.t ............. ok
t/decl.t .............. 1/40

Failed test at t/decl.t line 86.

got: '((bar|foo|xyz+),bar)'

expected: '((bar|foo|xyz+),zebra*)'

Failed test at t/decl.t line 95.

got: 'bar'

expected: 'zebra'

Failed test at t/decl.t line 96.

got: undef

expected: '*'

Looks like you failed 3 tests of 40.

Expected behavior

the installation of the perl module

Additional context

VCSA 8 :
photon os 3
perl 5.28.0

@dweepadvani
Copy link
Contributor

@quartzsilex, Would you please answer following -

  1. Did you try installing XML-Parser (tdnf install XML-Parser)?
  2. Are you trying to build XML::Parser?

XML::Parser is already available in Photon OS 3.0 and above (1) installs it.

@dcasota
Copy link
Contributor

dcasota commented Oct 26, 2023

@dweepadvani fyi https://communities.vmware.com/t5/Photon-OS-Discussions/install-perl-module-failed-environnment-photon-os-3-and-perl-5/m-p/2991806#M400 . Installing XML Parser finishes successful, but the cpan command retry finished with yet another error. I haven’t documented it in the thread though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants