[Bug 12182] New: Koha installation problem in Ubuntu
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 Bug ID: 12182 Summary: Koha installation problem in Ubuntu Change sponsored?: --- Product: Koha Version: 3.14 Hardware: All OS: Linux Status: NEW Severity: enhancement Priority: P5 - low Component: Installation and upgrade (command-line installer) Assignee: gmcharlt@gmail.com Reporter: simanta.s@libsys.co.in QA Contact: testopia@bugs.koha-community.org 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 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 --- Comment #1 from Simanta Shantikari <simanta.s@libsys.co.in> --- 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 --- Comment #2 from Galen Charlton <gmcharlt@gmail.com> --- *** Bug 12181 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m --- Comment #3 from Jonathan Druart <jonathan.druart@biblibre.com> --- 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? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion CC| |tomascohen@gmail.com --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Could you please specify the Ubuntu version and the steps you followed to install? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 Yohann Dufour <yohann.dufour@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yohann.dufour@biblibre.com --- Comment #5 from Yohann Dufour <yohann.dufour@biblibre.com> --- 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:_Tr... ) The error occurs during the step : 4. Build and Test Koha When you execute the command : make test -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtompset@hotmail.com --- Comment #6 from M. Tompsett <mtompset@hotmail.com> --- 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 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 --- Comment #7 from Tomás Cohen Arazi <tomascohen@gmail.com> --- 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 Sebastian Krieg <sebastian.krieg@tuz-eisenach.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian.krieg@tuz-eisenac | |h.de --- Comment #8 from Sebastian Krieg <sebastian.krieg@tuz-eisenach.de> --- I have the same error with Koha 3.16 installed at Fedora 20 (x_64). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 --- Comment #9 from M. Tompsett <mtompset@hotmail.com> --- (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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|3.14 |master Summary|Koha installation problem |Some tests fail in Ubuntu |in Ubuntu |14.04 (a.k.a. Perl5.18) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 --- Comment #10 from Sebastian Krieg <sebastian.krieg@tuz-eisenach.de> --- Since the last entry I have sucessfully installed and configured koha 3.16. For my opinion this problem is solved. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12182 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |RESOLVED Resolution|--- |DUPLICATE --- Comment #11 from Tomás Cohen Arazi <tomascohen@gmail.com> --- 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 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org