Hello Andrew,

Em 02-11-2015 23:52, Andrew Fresh escreveu:


I've successfully installed quite a few versions of perl using plenv,
not perlbrew, but I think that plenv does not run the test suite.


I may try to force the install without passing the tests, but it will probably work (as it does with plenv).


Yes, we don't support many of the algorithms that the tests attempt to
use.  I should probably push this patch upstream (with improvements) but
have not yet had time.

https://github.com/afresh1/OpenBSD-perl/blob/master/patches/GOOD/fix_crypt_tests.patch


I took a look at your patch but didn't understand the objective of it.

There are some comments as "# Use Blowfish", do you mean using Crypt::Blowfish crypt function instead?

Maybe a conditional block from Test::More help with that (including skipping the test at all) would help, based on the osname from Config module.

That would be helpful, along with specific versions of perl you are
trying to install.

Here it goes:

Test Summary Report
-------------------
op/crypt.t (Wstat: 0 Tests: 6 Failed: 1)
  Failed test:  1
op/taint.t (Wstat: 0 Tests: 801 Failed: 1)
  Failed test:  698
Files=2380, Tests=708371, 1082 wallclock secs (27.85 usr 131.32 sys + 336.00 cusr 277.86 csys = 773.03 CPU)
Result: FAIL
*** Error 2 in /home/arfreitas/perl5/perlbrew/build/perl-5.22.0 (makefile:809 'test_harness')

And the details:

Use of uninitialized value in substr at op/crypt.t line 43.
substr outside of string at op/crypt.t line 43.
Use of uninitialized value in substr at op/crypt.t line 43.
substr outside of string at op/crypt.t line 43.
Use of uninitialized value in string ne at op/crypt.t line 43.
Use of uninitialized value in string ne at op/crypt.t line 43.
# Failed test 1 - salt makes a difference at op/crypt.t line 43
op/crypt.t ........................................................
Failed 1/6 subtests

# Failed test 698 - tainted crypt at op/taint.t line 1988
op/taint.t ........................................................
Failed 1/801 subtests
        (less 6 skipped subtests: 794 okay)


I tried to install the latest perl available (5.22.0).

Thanks,

Alceu

Reply via email to