[CWB] CWB::CL using packages from website

Andreas Madsack andreas.madsack at ims.uni-stuttgart.de
Thu Aug 11 16:34:53 CEST 2011


Hi,

using http://cwb.sourceforge.net/temp/Perl-CWB-CL-2.2.102.tar.gz
compilation worked, but the tests failed completely.
I hope someone can help me find the problem.

Fedora 14
perl v5.12.3 x86_64-linux-thread-multi

Regards,
Andreas

--- snip ---

$ perl Makefile.PL PREFIX=/usr
Checking for CL library ... ok
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '`pkg-config'
Unrecognized argument in LIBS ignored: '--libs'
Unrecognized argument in LIBS ignored: 'glib-2.0`'
Writing Makefile for 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
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp  -typemap
/usr/share/perl5/ExtUtils/typemap -typemap CL.typemap  CL.xs > CL.xsc
&& mv CL.xsc CL.c
gcc -c  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic   -DVERSION=\"2.2.102\" -DXS_VERSION=\"2.2.102\" -fPIC
"-I/usr/lib64/perl5/CORE"   CL.c
CL.c: In Funktion »XS_CWB__CL_cl_make_set«:
CL.c:473:2: Warnung: Variable »targ« wird nicht verwendet
CL.c:472:9: Warnung: Variable »RETVAL« wird nicht verwendet
CL.c: In Funktion »XS_CWB__CL_cl_set_intersection«:
CL.c:523:2: Warnung: Variable »targ« wird nicht verwendet
CL.c:522:9: Warnung: Variable »RETVAL« wird nicht verwendet
CL.c: In Funktion »XS_CWB__CL_cl_idlist2cpos«:
CL.xs:583:35: Warnung: Variable »errors« wird nicht verwendet
CL.xs:583:12: Warnung: Variable »id« wird nicht verwendet
CL.c: Auf höchster Ebene:
CL.xs:39:1: Warnung: »not_here« definiert, aber nicht verwendet
CL.c: In Funktion »constant«:
CL.xs:141:1: Warnung: control reaches end of non-void function
Running Mkbootstrap for CWB::CL ()
chmod 644 CL.bs
rm -f blib/arch/auto/CWB/CL/CL.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic CL.o
-o blib/arch/auto/CWB/CL/CL.so 	\
   -L/usr/lib -lcl -lm -lpcre  	\

/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
chmod 755 blib/arch/auto/CWB/CL/CL.so
cp CL.bs blib/arch/auto/CWB/CL/CL.bs
chmod 644 blib/arch/auto/CWB/CL/CL.bs
Manifying blib/man3/CWB::CL.3pm
Manifying blib/man3/CWB::CL::Strict.3pm

$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ............... 1/2
#   Failed test 'use CWB::CL;'
#   at t/00_load.t line 4.
#     Tried to use 'CWB::CL'.
#     Error:  Can't load
'/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so: undefined symbol:
g_utf8_skip at /usr/lib64/perl5/DynaLoader.pm line 200.
#  at (eval 4) line 2
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.

#   Failed test 'use CWB::CL::Strict;'
#   at t/00_load.t line 5.
#     Tried to use 'CWB::CL::Strict'.
#     Error:  Attempt to reload CWB/CL.pm aborted.
# Compilation failed in require at
/tmp/CWB-CL-2.2.102/blib/lib/CWB/CL/Strict.pm line 4.
# BEGIN failed--compilation aborted at
/tmp/CWB-CL-2.2.102/blib/lib/CWB/CL/Strict.pm line 4.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
# Looks like you failed 2 tests of 2.
t/00_load.t ............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/01_vss.t ................ Can't load
'/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so: undefined symbol:
g_utf8_skip at /usr/lib64/perl5/DynaLoader.pm line 200.
 at t/01_vss.t line 4
Compilation failed in require at t/01_vss.t line 4.
BEGIN failed--compilation aborted at t/01_vss.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/01_vss.t ................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 35/35 subtests
t/02_utility_functions.t .. Can't load
'/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so: undefined symbol:
g_utf8_skip at /usr/lib64/perl5/DynaLoader.pm line 200.
 at t/02_utility_functions.t line 4
Compilation failed in require at t/02_utility_functions.t line 4.
BEGIN failed--compilation aborted at t/02_utility_functions.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/02_utility_functions.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 7/7 subtests
t/10_errors_strict.t ...... Can't load
'/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so: undefined symbol:
g_utf8_skip at /usr/lib64/perl5/DynaLoader.pm line 200.
 at /tmp/CWB-CL-2.2.102/blib/lib/CWB/CL/Strict.pm line 4
Compilation failed in require at
/tmp/CWB-CL-2.2.102/blib/lib/CWB/CL/Strict.pm line 4.
BEGIN failed--compilation aborted at
/tmp/CWB-CL-2.2.102/blib/lib/CWB/CL/Strict.pm line 4.
Compilation failed in require at t/10_errors_strict.t line 4.
BEGIN failed--compilation aborted at t/10_errors_strict.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/10_errors_strict.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 45/45 subtests
t/11_errors_lax.t ......... Can't load
'/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/tmp/CWB-CL-2.2.102/blib/arch/auto/CWB/CL/CL.so: undefined symbol:
g_utf8_skip at /usr/lib64/perl5/DynaLoader.pm line 200.
 at t/11_errors_lax.t line 4
Compilation failed in require at t/11_errors_lax.t line 4.
BEGIN failed--compilation aborted at t/11_errors_lax.t line 4.
# Looks like your test exited with 2 before it could output anything.
t/11_errors_lax.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 62/62 subtests

Test Summary Report
-------------------
t/00_load.t             (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
t/01_vss.t              (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 35 tests but ran 0.
t/02_utility_functions.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 7 tests but ran 0.
t/10_errors_strict.t    (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 45 tests but ran 0.
t/11_errors_lax.t       (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 62 tests but ran 0.
Files=5, Tests=2,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.16 cusr
0.04 csys =  0.24 CPU)
Result: FAIL
Failed 5/5 test programs. 2/2 subtests failed.
make: *** [test_dynamic] Fehler 2

--- snip ---


More information about the CWB mailing list