[CWB] CWB-CL test failure (encoding?)

Piotr Bański bansp at o2.pl
Thu Aug 3 10:51:16 CEST 2017


Hi all,

I have CQPweb (3.2.27), cwb (3.4.12) and the CWB Perl module installed 
from trunk (rev. 982), and wanted to compile the remaining Perl modules, 
but I'm getting something that looks like an encoding problem when 
testing CWB-CL, and I have no idea of how to go about fixing that. I'll 
be grateful for hints.

The log follows. Perl is v5.22.1.

Nearly-PostScriptum: I've just had the last look around to make sure 
that I haven't missed any troubleshooting hints and noticed the warning 
that "This version of CWB/Perl (...) is not compatible with the current 
beta track CWB 3.4.x" -- is this what I'm up against, please?

Background: I wanted to compile Stefan's europarl-gui, and I can see 
that it needs all the Perl packages installed. Hence my attempt at CWB-CL.

TiA and best regards,

   Piotr



piotr at gizmo:~/tools/CQPweb/cwb-perl/CWB-CL$ make test
Running Mkbootstrap for CWB::CL ()
chmod 644 "CL.bs"
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" 
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 
'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ............... ok
t/01_vss.t ................ 1/35 #
# - registry directory: /corpora/registry
# - VSS corpus has 8043 word form tokens and 2111 types
# - 'elephant' occurs 14 times in VSS corpus
# - regexp "[a-z]+(ally|ily)"%c matches 24 types, 37 tokens
# - index entries: finally, sleepily, finally, automatically, usually, ...
# - VSS contains 6 stories with a total of 459 sentences
# - found sentence 'It was an elephant .' in story 'The Garden'
t/01_vss.t ................ ok
t/02_utility_functions.t .. 1/18 #
# - unify(|0|BAa|Ba|a|aaa|, |�a|���|0|aaa|) = |0|aaa|
t/02_utility_functions.t .. ok
t/03_holmes_regexp.t ...... 1/17 # HOLMES-DE contains 272 distinct word 
forms

#   Failed test 'validate regexp /da�?/ %c'
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[1] = Does not exist
#     $expected->[1] = '134'

#   Failed test 'validate regexp /da�/ %c'
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '134'

#   Failed test 'validate regexp /da[�]/ %c'
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '134'
# Looks like you failed 3 tests of 17.
t/03_holmes_regexp.t ...... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/17 subtests
t/10_errors_strict.t ...... 1/45 #
# ----- testing error conditions ----- (expect to see error messages below)
cl_new_corpus: can't locate <potter> in data/registry
CL: Regex Compile Error: missing )
Regex Compile Error: missing )
CL: Regex Compile Error: number too big in {} quantifier
Regex Compile Error: number too big in {} quantifier
# ----- end of error tests ----- (further messages are real errors)
t/10_errors_strict.t ...... ok
t/11_errors_lax.t ......... 1/62 #
# ----- testing error conditions ----- (expect to see error messages below)
cl_new_corpus: can't locate <potter> in data/registry
CL: Regex Compile Error: missing )
Regex Compile Error: missing )
CL: Regex Compile Error: number too big in {} quantifier
Regex Compile Error: number too big in {} quantifier
# ----- end of error tests ----- (further messages are real errors)
t/11_errors_lax.t ......... ok

Test Summary Report
-------------------
t/03_holmes_regexp.t    (Wstat: 768 Tests: 17 Failed: 3)
   Failed tests:  13, 15-16
   Non-zero exit status: 3
Files=6, Tests=179,  0 wallclock secs ( 0.06 usr  0.02 sys +  0.30 cusr 
0.02 csys =  0.40 CPU)
Result: FAIL
Failed 1/6 test programs. 3/179 subtests failed.
Makefile:1012: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255


More information about the CWB mailing list