Subject: | Test failure with 5.12.0-RC0 |
The autodynaload test fails with perl 5.12.0-RC0, but not with 5.10.1 on
the same machine:
Undefined subroutine &MIME::Base64::encode_base64 called at
t/03_autodynaload_hook.t line 36.
# Looks like you planned 3 tests but ran 2.
# Looks like your test exited with 2 just after 2.
t/03_autodynaload_hook.t .....
Looking at the truss output while running the tests I see the following
difference:
- truss output with 5.10.1:
stat("/usr/perl-5.10.1-test/lib/5.10.1/i386-freebsd/auto/MIME/Base64/Base64.bs",{
mode=-r--r--r-- ,inode=16322911,size=0,blksize=4096 }) = 0 (0x0)
...
open("/usr/perl-5.10.1-test/lib/5.10.1/i386-freebsd/auto/MIME/Base64/Base64.so",O_RDONLY,027757754150)
= 4 (0x4)
- truss output with 5.12.0:
stat("/usr/perl-5.12.0-RC0/lib/site_perl/5.12.0/i386-freebsd/auto/MIME/Base64/Base64.bs",0x8158a60)
ERR#2 'No such file or directory'
...
open("/usr/perl-5.12.0-RC0/lib/site_perl/5.12.0/i386-freebsd/auto/MIME/Base64/Base64.so",O_RDONLY,027757754270)
ERR#2 'No such file or directory'
But the .so is located in
/usr/perl-5.12.0-RC0/lib/5.12.0/i386-freebsd/auto/MIME/Base64/Base64.so
Just a guess, maybe it is related to the @INC reordering which happened
in perl 5.12.0?
Regards,
Slaven