When try to install Koha-3.14 I am facing following error. Make test fail. t/Patroncards_Patroncard.t .......... ok t/Patroncards_Profile.t ............. ok t/Patroncards_Template.t ............ ok t/Print.t ........................... ok t/QueryParser.t ..................... 1/? # Failed test 'super simple keyword query' # at t/QueryParser.t line 22. # got: '@attr 1=4 @attr 4=6 "smith"' # expected: '@or @or @attr 1=1016 @attr 4=6 "smith" @attr 9=20 @attr 2=102 @attr 4=6 "smith" @attr 9=34 @attr 2=102 @attr 4=6 "smith"' # Failed test 'keyword search sorted by acqdate descending' # at t/QueryParser.t line 33. # got: '@or @attr 7=1 @attr 1=32 0 @attr 1=1003 @attr 4=6 "smith"' # expected: '@or @attr 1=32 @attr 7=1 0 @attr 1=1003 @attr 4=6 "smith"' # Looks like you failed 2 tests of 28. t/QueryParser.t ..................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/28 subtests t/RecordProcessor.t ................. ok t/Review.t .......................... ok t/Ris.t ............................. ok t/RotatingCollections.t ............. given is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 133. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 134. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 139. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 144. t/RotatingCollections.t ............. ok t/Scheduler.t ....................... ok t/Scrubber.t ........................ 1/19 # Note: scrubber test output will have whitespace collapsed for readability # done. t/Scrubber.t ........................ ok t/Search_PazPar2.t .................. 1/8 400 URL must be absolute at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 68. 400 URL must be absolute at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 84. 400 URL must be absolute at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 99. 400 URL must be absolute at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 121. 400 URL must be absolute at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 142. 400 URL must be absolute at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 159. t/Search_PazPar2.t .................. ok t/SimpleMARC.t ...................... 1/37 when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/SimpleMARC.pm line 93. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/SimpleMARC.pm line 96. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/SimpleMARC.pm line 99. t/SimpleMARC.t ...................... ok t/SIP_Sip.t ......................... 1/8 verify_cksum: no sum detected at /home/libsys/Downloads/koha-3.14.06/t/../C4/SIP/Sip/Checksum.pm line 24. t/SIP_Sip.t ......................... ok t/SMS.t ............................. ok t/SocialData.t ...................... given is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 133. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 134. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 139. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 144. t/SocialData.t ...................... ok t/Stats.t ........................... ok t/SuggestionEngine.t ................ ok t/SuggestionEngine_AuthorityFile.t .. 1/? given is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 133. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 134. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 139. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 144. Smartmatch is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/C4/Search.pm line 534. Useless use of '\'; doesn't escape metacharacter '(' at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 848. t/SuggestionEngine_AuthorityFile.t .. ok t/Templates.t ....................... ok t/TmplToken.t ....................... ok t/VirtualShelves_Merge.t ............ ok t/XSLT.t ............................ given is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 133. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 134. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 139. when is experimental at /home/libsys/Downloads/koha-3.14.06/blib/PERL_MODULE_DIR/Koha/DateUtils.pm line 144. t/XSLT.t ............................ ok Test Summary Report ------------------- t/QueryParser.t (Wstat: 512 Tests: 28 Failed: 2) Failed tests: 6, 17 Non-zero exit status: 2 Files=97, Tests=18030, 121 wallclock secs ( 2.59 usr 0.30 sys + 34.88 cusr 4.86 csys = 42.63 CPU) Result: FAIL Failed 1/97 test programs. 2/18030 subtests failed. make: *** [test_dynamic] Error 255
When I execute this comman folling are showings #./koha_perl_deps.pl -m [Mon May 5 12:39:14 2014] koha_perl_deps.pl: defined(@array) is deprecated at /usr/share/perl5/PDF/Reuse.pm line 993, <DATA> line 751. [Mon May 5 12:39:14 2014] koha_perl_deps.pl: (Maybe you should just omit the defined()?) [Mon May 5 12:39:14 2014] koha_perl_deps.pl: defined(@array) is deprecated at /usr/share/perl5/PDF/Reuse.pm line 993, <DATA> line 751. [Mon May 5 12:39:14 2014] koha_perl_deps.pl: (Maybe you should just omit the defined()?) Installed Required Module is Module Name Version Version Required -------------------------------------------------------------------------------------------- Readonly::XS 0 * 1.02 No -------------------------------------------------------------------------------------------- Total modules reported: 1 * Module is missing or requires an upgrade.
*** Bug 12181 has been marked as a duplicate of this bug. ***
Is Readonly::XS in used? % git grep Readonly::XS C4/Installer/PerlDependencies.pm: 'Readonly::XS' => { % apt-cache show libreadonly-perl Package: libreadonly-perl Version: 1.04-1 Installed-Size: 77 Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> Architecture: all Depends: perl Recommends: libreadonly-xs-perl (>= 1.05) It is not a Readonly's dependency. Should we remove the dependency in PerlDependencies.pm?
Could you please specify the Ubuntu version and the steps you followed to install?
I had exactly the same problem when I tried to install Koha. My version of Ubuntu is 14.04, I followed generally these instructions : http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_git (but I used another page to fix some issues linked to Ubuntu 14.04 : http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages#Appendix_B:_Troubleshooting ) The error occurs during the step : 4. Build and Test Koha When you execute the command : make test
mtompset@ubuntu:~/kohaclone$ prove -v t/QueryParser.t t/QueryParser.t .. ok 1 - use Koha::QueryParser::Driver::PQF; ok 2 - Successfully created empty QP object ok 3 - Loaded QP config ok 4 - Initialized 4 search classes ok 5 - Correct number of search fields for 'keyword' class not ok 6 - super simple keyword query # Failed test 'super simple keyword query' # at t/QueryParser.t line 22. # got: '@or @or @attr 1=1016 @attr 4=6 "smith" @attr 2=102 @attr 9=20 @attr 4=6 "smith" @attr 9=34 @attr 2=102 @attr 4=6 "smith"' # expected: '@or @or @attr 1=1016 @attr 4=6 "smith" @attr 9=20 @attr 2=102 @attr 4=6 "smith" @attr 9=34 @attr 2=102 @attr 4=6 "smith"' ok 7 - simple author query ok 8 - fielded publisher query ok 9 - phrase query not ok 10 - relevance-bumped query # Failed test 'relevance-bumped query' # at t/QueryParser.t line 26. # got: '@attr 1=4 @attr 2=102 @attr 9=20 @attr 4=6 "smith"' # expected: '@attr 1=4 @attr 9=20 @attr 2=102 @attr 4=6 "smith"' ok 11 - query with boolean && ok 12 - query with boolean && ok 13 - keyword search with pubdate limited to -2008 ok 14 - keyword search with pubdate limited to 2008- ok 15 - keyword search with pubdate limited to 2008 ok 16 - keyword search with pubdate limited to 1980, 2008 not ok 17 - keyword search sorted by acqdate descending # Failed test 'keyword search sorted by acqdate descending' # at t/QueryParser.t line 33. # got: '@or @attr 7=1 @attr 1=32 0 @attr 1=1003 @attr 4=6 "smith"' # expected: '@or @attr 1=32 @attr 7=1 0 @attr 1=1003 @attr 4=6 "smith"' ok 18 - retrieve field by attr ok 19 - retrieve field by attrstring ok 20 - clear all mappings returns self ok 21 - clear all configuration returns self ok 22 - All mapping erased ok 23 - serialized YAML valid ok 24 - Mappings serialized correctly to YAML ok 25 - serialized JSON valid ok 26 - Mappings serialized correctly to JSON ok 27 - TEST_SETUP returns self ok 28 - Initialized 4 search classes in test setup 1..28 # Looks like you failed 3 tests of 28. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/28 subtests Test Summary Report ------------------- t/QueryParser.t (Wstat: 768 Tests: 28 Failed: 3) Failed tests: 6, 10, 17 Non-zero exit status: 3 Files=1, Tests=28, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.11 cusr 0.01 csys = 0.14 CPU) Result: FAIL
Tests are failing on Ubuntu 14.04. It doesn't mean Koha fails to work on Ubuntu 14.04. For now I'd recommend that you stick to Ubuntu 12.04 to be sure everything is fine.
I have the same error with Koha 3.16 installed at Fedora 20 (x_64).
(In reply to Sebastian Krieg from comment #8) > I have the same error with Koha 3.16 installed at Fedora 20 (x_64). If you repeat make test multiple times and eventually you get just test 6 failing, I would continue with the make install, though this is still a bug that needs to be addressed.
Since the last entry I have sucessfully installed and configured koha 3.16. For my opinion this problem is solved.
The remaining issues are covered by 12647, so I'll close this as a duplicate for it. *** This bug has been marked as a duplicate of bug 12647 ***