[CWB] Unable to install some Perl modules

VIVALDI PALATRESI, JORGE jorge.vivaldi at upf.edu
Wed Sep 6 09:14:40 CEST 2017


Dear All,

I have installed cwb v. 3.4.12) and the CWB Perl module on an Ubuntu 16.04
machine. But I was unable to install CWB-CL and therefore also CWB-CQI.
I followed the standard installation procedure:
    perl Makefile.PL
    make test
at this point, the system issues the error messages shown below.
Any suggestion?

Thank you in advance,
Jorge
################################################
jvivaldi at corpora-iula:~/cwb-perl/CWB-CL$  perl Makefile.PL
Checking for CL library ... ok
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for CWB::CL
Writing MYMETA.yml and MYMETA.json
jvivaldi at corpora-tcl-iula:~/cwb-perl/CWB-CL$ make
cp lib/CWB/CL.pm blib/lib/CWB/CL.pm
cp lib/CWB/CL/Strict.pm blib/lib/CWB/CL/Strict.pm
Running Mkbootstrap for CWB::CL ()
chmod 644 "CL.bs"
"/usr/bin/perl" "/usr/share/perl/5.22/ExtUtils/xsubpp"  -typemap
"/usr/share/perl/5.22/ExtUtils/typemap" -typemap "CL.typemap"  CL.xs >
CL.xsc && mv CL.xsc CL.c
x86_64-linux-gnu-gcc -c  -I/usr/local/cwb-3.4.12/include -D_REENTRANT
-D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
-DVERSION=\"3.00401\" -DXS_VERSION=\"3.00401\" -fPIC
"-I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE"   CL.c
rm -f blib/arch/auto/CWB/CL/CL.so
x86_64-linux-gnu-gcc  -shared -L/usr/local/lib -fstack-protector-strong
CL.o  -o blib/arch/auto/CWB/CL/CL.so    \
   -L/usr/local/cwb-3.4.12/lib -lcl -lm -lpcre -lglib-2.0       \

chmod 755 blib/arch/auto/CWB/CL/CL.so
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CL.bs
blib/arch/auto/CWB/CL/CL.bs 644
Manifying 2 pod documents
jvivaldi at corpora-iula:~/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: /usr/local/share/cwb/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|
*** Error in `/usr/bin/perl': munmap_chunk(): invalid pointer:
0x00007f49765ad980 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f49771557e5]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1a8)[0x7f4977162698]
/home/jvivaldi/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.
so(+0xeaf8)[0x7f4976394af8]
/usr/bin/perl(Perl_pp_entersub+0x48a)[0x4bd3ca]
/usr/bin/perl(Perl_runops_standard+0x16)[0x4b6276]
/usr/bin/perl(perl_run+0x21d)[0x443b7d]
/usr/bin/perl(main+0x12b)[0x41cbbb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f49770fe830]
/usr/bin/perl(_start+0x29)[0x41cbf9]
======= Memory map: ========
00400000-005cf000 r-xp 00000000 fc:00 130681
/usr/bin/perl
007ce000-007cf000 r--p 001ce000 fc:00 130681
/usr/bin/perl
007cf000-007d2000 rw-p 001cf000 fc:00 130681
/usr/bin/perl
00c26000-012d1000 rw-p 00000000 00:00 0
[heap]
7f497616e000-7f4976184000 r-xp 00000000 fc:00 521749
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f4976184000-7f4976383000 ---p 00016000 fc:00 521749
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f4976383000-7f4976384000 rw-p 00015000 fc:00 521749
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f4976386000-7f49763ac000 r-xp 00000000 fc:00 822133
/home/jvivaldi/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so
7f49763ac000-7f49765ac000 ---p 00026000 fc:00 822133
/home/jvivaldi/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so
7f49765ac000-7f49765ad000 r--p 00026000 fc:00 822133
/home/jvivaldi/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so
7f49765ad000-7f49765ae000 rw-p 00027000 fc:00 822133
/home/jvivaldi/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so
7f49765ae000-7f49765b6000 rw-p 00000000 00:00 0
7f49765b6000-7f49765be000 r-xp 00000000 fc:00 142069
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/Encode/Encode.so
7f49765be000-7f49767bd000 ---p 00008000 fc:00 142069
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/Encode/Encode.so
7f49767bd000-7f49767be000 r--p 00007000 fc:00 142069
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/Encode/Encode.so
7f49767be000-7f49767bf000 rw-p 00008000 fc:00 142069
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/Encode/Encode.so
7f49767c6000-7f49767ca000 r-xp 00000000 fc:00 141999
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/mro/mro.so
7f49767ca000-7f49769c9000 ---p 00004000 fc:00 141999
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/mro/mro.so
7f49769c9000-7f49769ca000 r--p 00003000 fc:00 141999
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/mro/mro.so
7f49769ca000-7f49769cb000 rw-p 00004000 fc:00 141999
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/mro/mro.so
7f49769ce000-7f49769d9000 r-xp 00000000 fc:00 272352
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/List/Util/Util.so
7f49769d9000-7f4976bd8000 ---p 0000b000 fc:00 272352
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/List/Util/Util.so
7f4976bd8000-7f4976bd9000 r--p 0000a000 fc:00 272352
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/List/Util/Util.so
7f4976bd9000-7f4976bda000 rw-p 0000b000 fc:00 272352
/usr/lib/x86_64-linux-gnu/perl/5.22.1/auto/List/Util/Util.so
7f4976bde000-7f4976ea6000 r--p 00000000 fc:00 132075
/usr/lib/locale/locale-archive
7f4976ea6000-7f4976eaf000 r-xp 00000000 fc:00 521332
/lib/x86_64-linux-gnu/libcrypt-2.23.so
7f4976eaf000-7f49770ae000 ---p 00009000 fc:00 521332
/lib/x86_64-linux-gnu/libcrypt-2.23.so
7f49770ae000-7f49770af000 r--p 00008000 fc:00 521332
/lib/x86_64-linux-gnu/libcrypt-2.23.so
7f49770af000-7f49770b0000 rw-p 00009000 fc:00 521332
/lib/x86_64-linux-gnu/libcrypt-2.23.so
7f49770b0000-7f49770de000 rw-p 00000000 00:00 0
7f49770de000-7f497729e000 r-xp 00000000 fc:00 521673
/lib/x86_64-linux-gnu/libc-2.23.so
7f497729e000-7f497749e000 ---p 001c0000 fc:00 521673
/lib/x86_64-linux-gnu/libc-2.23.so
7f497749e000-7f49774a2000 r--p 001c0000 fc:00 521673
/lib/x86_64-linux-gnu/libc-2.23.so
7f49774a2000-7f49774a4000 rw-p 001c4000 fc:00 521673
/lib/x86_64-linux-gnu/libc-2.23.so
7f49774a4000-7f49774a8000 rw-p 00000000 00:00 0
7f49774ae000-7f49774c6000 r-xp 00000000 fc:00 521641
/lib/x86_64-linux-gnu/libpthread-2.23.so
7f49774c6000-7f49776c5000 ---p 00018000 fc:00 521641
/lib/x86_64-linux-gnu/libpthread-2.23.so
7f49776c5000-7f49776c6000 r--p 00017000 fc:00 521641
/lib/x86_64-linux-gnu/libpthread-2.23.so
7f49776c6000-7f49776c7000 rw-p 00018000 fc:00 521641
/lib/x86_64-linux-gnu/libpthread-2.23.so
7f49776c7000-7f49776cb000 rw-p 00000000 00:00 0
7f49776ce000-7f49777d6000 r-xp 00000000 fc:00 521667
/lib/x86_64-linux-gnu/libm-2.23.so
7f49777d6000-7f49779d5000 ---p 00108000 fc:00 521667
/lib/x86_64-linux-gnu/libm-2.23.so
7f49779d5000-7f49779d6000 r--p 00107000 fc:00 521667
/lib/x86_64-linux-gnu/libm-2.23.so
7f49779d6000-7f49779d7000 rw-p 00108000 fc:00 521667
/lib/x86_64-linux-gnu/libm-2.23.so
7f49779de000-7f49779e1000 r-xp 00000000 fc:00 521659
/lib/x86_64-linux-gnu/libdl-2.23.so
7f49779e1000-7f4977be0000 ---p 00003000 fc:00 521659
/lib/x86_64-linux-gnu/libdl-2.23.so
7f4977be0000-7f4977be1000 r--p 00002000 fc:00 521659
/lib/x86_64-linux-gnu/libdl-2.23.so
7f4977be1000-7f4977be2000 rw-p 00003000 fc:00 521659
/lib/x86_64-linux-gnu/libdl-2.23.so
7f4977be6000-7f4977c0c000 r-xp 00000000 fc:00 521242
/lib/x86_64-linux-gnu/ld-2.23.so
7f4977dfc000-7f4977dfe000 rw-p 00000000 00:00 0
7f4977e08000-7f4977e0b000 rw-p 00000000 00:00 0
7f4977e0b000-7f4977e0c000 r--p 00025000 fc:00 521242
/lib/x86_64-linux-gnu/ld-2.23.so
7f4977e0c000-7f4977e0d000 rw-p 00026000 fc:00 521242
/lib/x86_64-linux-gnu/ld-2.23.so
7f4977e0d000-7f4977e10000 rw-p 00000000 00:00 0
7ffe9d3ff000-7ffe9d420000 rw-p 00000000 00:00 0
[stack]
7ffe9d526000-7ffe9d528000 r--p 00000000 00:00 0
[vvar]
7ffe9d528000-7ffe9d52a000 r-xp 00000000 00:00 0
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
t/02_utility_functions.t .. Failed 8/18 subtests
t/03_holmes_regexp.t ...... 1/17 # HOLMES-DE contains 272 distinct word
forms

#   Failed test 'validate regexp /[a-z]+/ '
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[5] = '17'
#     $expected->[5] = '18'

#   Failed test 'validate regexp /\PL+/ '
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '4'
Regex Compile Error: Invalid content of \{\}
Regex Compile Error: Invalid content of \{\}

#   Failed test 'validate regexp /\p{Lu}\p{Ll}+/ '
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '0'
Regex Compile Error: Invalid back reference
Regex Compile Error: Invalid back reference

#   Failed test 'validate regexp /.*(\pL).*\1.*\1.*/ '
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '27'

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

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

#   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] = '30'

#   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'

#   Failed test 'validate regexp /z\w+/ '
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[1] = Does not exist
#     $expected->[1] = '117'
# Looks like you failed 10 tests of 17.
t/03_holmes_regexp.t ...... Dubious, test returned 10 (wstat 2560, 0xa00)
Failed 10/17 subtests
t/10_errors_strict.t ...... 1/45 #
# ----- testing error conditions ----- (expect to see error messages below)
setup_corpus: can't locate <potter> in data/registry
Regex Compile Error: Unmatched ( or \(
Regex Compile Error: Unmatched ( or \(
Regex Compile Error: Invalid content of \{\}
Regex Compile Error: Invalid content of \{\}
# ----- 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)
setup_corpus: can't locate <potter> in data/registry
Regex Compile Error: Unmatched ( or \(
Regex Compile Error: Unmatched ( or \(
Regex Compile Error: Invalid content of \{\}
Regex Compile Error: Invalid content of \{\}
# ----- end of error tests ----- (further messages are real errors)
t/11_errors_lax.t ......... ok

Test Summary Report
-------------------
t/02_utility_functions.t (Wstat: 134 Tests: 10 Failed: 0)
  Non-zero wait status: 134
  Parse errors: Bad plan.  You planned 18 tests but ran 10.
t/03_holmes_regexp.t    (Wstat: 2560 Tests: 17 Failed: 10)
  Failed tests:  3-5, 7, 10-11, 13, 15-17
  Non-zero exit status: 10
Files=6, Tests=171,  6 wallclock secs ( 0.12 usr  0.01 sys +  0.87 cusr
0.11 csys =  1.11 CPU)
Result: FAIL
Failed 2/6 test programs. 10/171 subtests failed.
Makefile:989: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

################################################


-- 
Jorge Vivaldi Palatresi
Institut Universitari de Lingüística Aplicada
Universitat Pompeu Fabra
C/ Roc Boronat, 138
08018 Barcelona
Espanya

+34 93 542 2332 <+34%20935%2042%2023%2032>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170906/1cbb78b8/attachment-0001.html>


More information about the CWB mailing list