vmware / vmware/photon

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

Open
#1,514 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
3.2k
Forks
692
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing perl -MCPAN -e 'force install XML::Parser' on Photon OS 3 with Perl 5.28.0. Inspect the XML::Parser 2.46 t/decl.t failures, then compare the result with the reported VCSA 8 customization requirement. Done means identifying a verified compatibility or packaging resolution for installing the module.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.