Subject: | Spiffy fails make test in perl 5.8.6 |
Same error as in ticket# 8403, but with the final released perl 5.8.6. I'm on Solaris 8, but ruz on #kwiki reports same error on Linux 2.4.26cub1.
I stumbled on this when trying to upgrade the perl my kwiki runs on and got
Can't open file 'config.yaml' for input:
No such file or directory at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/Spoon/Config.pm line 61
at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/Spoon.pm line 37
Spoon::__ANON__('Can\'t open file \'config.yaml\' for input:\x{a}No such file or d...') called at /home/staff/peregrin/local/lib/perl5/5.8.6/Carp.pm line 269
Carp::croak('Can\'t open file \'config.yaml\' for input:\x{a}No such file or d...') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/IO/All.pm line 495
IO::All::throw('IO::All::File=GLOB(0x132d14)', 'Can\'t open file \'config.yaml\' for input:\x{a}No such file or d...') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/IO/All/File.pm line 77
IO::All::File::open('IO::All::File=GLOB(0x132d14)') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/IO/All/File.pm line 47
IO::All::File::assert_open('IO::All::File=GLOB(0x132d14)', '<') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/IO/All.pm line 281
IO::All::all('IO::All::File=GLOB(0x132d14)') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/Spoon/Config.pm line 61
Spoon::Config::parse_yaml_file('Kwiki::Config=HASH(0x2f9584)', 'config.yaml') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/Spoon/Config.pm line 52
Spoon::Config::hash_from_file('Kwiki::Config=HASH(0x2f9584)', 'config.yaml') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/Spoon/Config.pm line 28
Spoon::Config::add_config('Kwiki::Config=HASH(0x2f9584)', 'config.yaml') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/Spoon/Config.pm line 20
Spoon::Config::new('undef', 'config.yaml') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/Kwiki/Config.pm line 23
Kwiki::Config::new('Kwiki::Config', 'config.yaml', '-plugins', 'plugins') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/Spoon.pm line 17
Spoon::load_hub('Kwiki=HASH(0x14ca00)', 'config.yaml', '-plugins', 'plugins') called at /home/staff/peregrin/local/lib/perl5/site_perl/5.8.1/Kwiki.pm line 10
Kwiki::process('Kwiki=HASH(0x14ca00)', 'config.yaml', '-plugins', 'plugins') called at /home/staff/peregrin/public_html/cgi-bin/jpwiki/index.cgi line 4
My apache error log also included 'pwd: cannot determine current directory' with this error message. I then checked rt for bugs reported on Kwiki's associated modules on 5.8.6 and found this one. Then I did a 'make test' using both 5.8.1 and 5.8.6 and it fails with 5.8.6.
ruz on #kwiki reports that it works with 5.8.3 and 5.8.5.
-mako132 (James)