in reply to Re^3: XML-LibXML-2.0129 installation issues
in thread XML-LibXML-2.0129 installation issues

Are the directions really that confusing?

No ... however, I must confess that I've found it a struggle to work out whether the directions being thrown at the OP are valid. (My incapacity, I know.)
They prrroobably are - but I'm still puzzled by (in the Makefile.PL):
exit 0 if !$FORCE and $libxml2_version ne "2.9.4";
If 2.9.4 is no good, why is it being special-cased as the only version for which the build is allowed to proceed (under the particular encompassing circumstances) ?

Cheers,
Rob

Replies are listed 'Best First'.
Re^5: XML-LibXML-2.0129 installation issues
by Anonymous Monk on May 25, 2017 at 19:40 UTC

      I think you're talking past each other. I'm sure that 2.9.4 is a bad version, but the condition quoted by syphilis also gave me pause, as I found it somewhat unclear too. I think the logic is that 2.9.4 is so horribly broken that you can't even $FORCE it, but the code could do with a comment here and should output that.

        I think the logic is that 2.9.4 is so horribly broken that you can't even $FORCE it

        No, I think it's only breakage is the schema regression that was causing some tests in (t/40reader.t) to fail.
        From https://rt.cpan.org/Public/Bug/Display.html?id=114638:
        Test Summary Report ------------------- t/40reader.t (Wstat: 512 Tests: 89 + Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 100 tests but ran 89. Files=71, Tests=2552, 2 wallclock secs ( 0.19 usr 0.04 sys + 1.95 c +usr 0.20 csys = 2.38 CPU) Result: FAIL Failed 1/71 test programs. 0/2552 subtests failed. make: *** [test_dynamic] Error 255

        As Anonymous Monk pointed out, this problem has now been worked around (as of version 2.016).
        Hence cpan-testers will give it a "PASS", so allowing them to test it (by not doing the 'exit 0') won't result in any FAIL reports.

        Version 2.9.4 is still on the blacklist solely because of that regression - and the workaround was simply to skip the failing tests.

        Cheers,
        Rob
      https://metacpan.org/source/SHLOMIF/XML-LibXML-2.0129/Changes

      Yes, that makes things clearer - and it enables a far more accurate understanding than provided by the directions given to the OP.

      Cheers,
      Rob