Subject: | Doesn't compile with Perl 5.9.x |
I get an XS error message
MethodMaker.xs: In function `XS_Class__MethodMaker_set_sub_name':
MethodMaker.xs:12: error: incompatible types in assignment
with every combination of Perl 5.9.4, bleadperl 5.9.5 (~ 22.10.2006)
under Debian Sarge, Ubuntu 5.10, Ubuntu 6.06-amd64.
See attachment methodmaker_fail.txt for full log.
This module is used a lot and it might be relevant when Perl 5.10
arrives. Therefore I marked it critical.
Thanks,
Steffen
Subject: | methodmaker_fail.txt |
$ cpan5.9.4
CPAN: File::HomeDir loaded ok
cpan shell -- CPAN exploration and modules installation (v1.8801)
ReadLine support enabled
cpan[1]> install Class::MethodMaker
CPAN: Storable loaded ok
Going to read /var/cache/.cpan/Metadata
Database was generated on Fri, 20 Oct 2006 11:24:30 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.fu-berlin.de/unix/languages/perl/authors/01mailrc.txt.gz
Going to read /var/cache/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
ftp://ftp.fu-berlin.de/unix/languages/perl/modules/02packages.details.txt.gz
Going to read /var/cache/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Sun, 22 Oct 2006 00:23:25 GMT
Fetching with LWP:
ftp://ftp.fu-berlin.de/unix/languages/perl/modules/03modlist.data.gz
Going to read /var/cache/.cpan/sources/modules/03modlist.data.gz
Going to write /var/cache/.cpan/Metadata
Running install for module Class::MethodMaker
Running make for F/FL/FLUFFY/Class-MethodMaker-2.08.tar.gz
CPAN: Digest::SHA loaded ok
Checksum for /var/cache/.cpan/sources/authors/id/F/FL/FLUFFY/Class-MethodMaker-2.08.tar.gz ok
Scanning cache /var/cache/.cpan/build for sizes
Class-MethodMaker-2.08/
Class-MethodMaker-2.08/benchmark/
Class-MethodMaker-2.08/benchmark/lexical.pl
Class-MethodMaker-2.08/Build.PL
Class-MethodMaker-2.08/Changes
Class-MethodMaker-2.08/cmmg.pl
Class-MethodMaker-2.08/components/
Class-MethodMaker-2.08/components/array.m
Class-MethodMaker-2.08/components/CommonMethods.pm
Class-MethodMaker-2.08/components/hash.m
Class-MethodMaker-2.08/components/scalar.m
Class-MethodMaker-2.08/configure
Class-MethodMaker-2.08/end.pod
Class-MethodMaker-2.08/examples/
Class-MethodMaker-2.08/examples/simple1
Class-MethodMaker-2.08/generate.PL
Class-MethodMaker-2.08/Generate.pm
Class-MethodMaker-2.08/INSTALL
Class-MethodMaker-2.08/lib/
Class-MethodMaker-2.08/lib/Class/
Class-MethodMaker-2.08/lib/Class/.placeholder
Class-MethodMaker-2.08/lib/Class/MethodMaker/
Class-MethodMaker-2.08/lib/Class/MethodMaker/Constants.pm
Class-MethodMaker-2.08/lib/Class/MethodMaker/Engine.pm
Class-MethodMaker-2.08/lib/Class/MethodMaker/OptExt.pm
Class-MethodMaker-2.08/lib/Class/MethodMaker/V1Compat.pm
Class-MethodMaker-2.08/lib/Class/MethodMaker.pm
Class-MethodMaker-2.08/Makefile.PL
Class-MethodMaker-2.08/MANIFEST
Class-MethodMaker-2.08/MANIFEST.SKIP
Class-MethodMaker-2.08/META.yml
Class-MethodMaker-2.08/MethodMaker.xs
Class-MethodMaker-2.08/README
Class-MethodMaker-2.08/SIGNATURE
Class-MethodMaker-2.08/t/
Class-MethodMaker-2.08/t/0-signature.t
Class-MethodMaker-2.08/t/array.t
Class-MethodMaker-2.08/t/basic.t
Class-MethodMaker-2.08/t/diffclass.t
Class-MethodMaker-2.08/t/hash.t
Class-MethodMaker-2.08/t/new.t
Class-MethodMaker-2.08/t/redefine-warnings.t
Class-MethodMaker-2.08/t/scalar.t
Class-MethodMaker-2.08/t/test.pm
Class-MethodMaker-2.08/t/test_v1.pm
Class-MethodMaker-2.08/t/v1_abstract.t
Class-MethodMaker-2.08/t/v1_boolean.t
Class-MethodMaker-2.08/t/v1_code.t
Class-MethodMaker-2.08/t/v1_copy.t
Class-MethodMaker-2.08/t/v1_counter.t
Class-MethodMaker-2.08/t/v1_get_concat.t
Class-MethodMaker-2.08/t/v1_get_set.t
Class-MethodMaker-2.08/t/v1_get_set_hi.t
Class-MethodMaker-2.08/t/v1_hash.t
Class-MethodMaker-2.08/t/v1_key_attrib.t
Class-MethodMaker-2.08/t/v1_key_with_create.t
Class-MethodMaker-2.08/t/v1_list.t
Class-MethodMaker-2.08/t/v1_method.t
Class-MethodMaker-2.08/t/v1_new.t
Class-MethodMaker-2.08/t/v1_new_hash_with_init.t
Class-MethodMaker-2.08/t/v1_object.t
Class-MethodMaker-2.08/t/v1_object_list.t
Class-MethodMaker-2.08/t/v1_object_tie_hash.t
Class-MethodMaker-2.08/t/v1_object_tie_list.t
Class-MethodMaker-2.08/t/v1_set_once.t
Class-MethodMaker-2.08/t/v1_set_once_static.t
Class-MethodMaker-2.08/t/v1_singleton.t
Class-MethodMaker-2.08/t/v1_static_get_set.t
Class-MethodMaker-2.08/t/v1_static_hash.t
Class-MethodMaker-2.08/t/v1_static_list.t
Class-MethodMaker-2.08/t/v1_tie_hash.t
Class-MethodMaker-2.08/t/v1_tie_list.t
Class-MethodMaker-2.08/t/v1_tie_scalar.t
Class-MethodMaker-2.08/TODO
Removing previously used /var/cache/.cpan/build/Class-MethodMaker-2.08
CPAN: Module::Build loaded ok
CPAN.pm: Going to build F/FL/FLUFFY/Class-MethodMaker-2.08.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Class::MethodMaker
CPAN: YAML loaded ok
/usr/local/bin/perl5.9.4 cmmg.pl components/array.m > lib/Class/MethodMaker/array.pm
/usr/local/bin/perl5.9.4 cmmg.pl components/hash.m > lib/Class/MethodMaker/hash.pm
/usr/local/bin/perl5.9.4 cmmg.pl components/scalar.m > lib/Class/MethodMaker/scalar.pm
cp lib/Class/MethodMaker/OptExt.pm blib/lib/Class/MethodMaker/OptExt.pm
cp lib/Class/MethodMaker/hash.pm blib/lib/Class/MethodMaker/hash.pm
AutoSplitting blib/lib/Class/MethodMaker/hash.pm (blib/lib/auto/Class/MethodMaker/hash)
cp lib/Class/.placeholder blib/lib/Class/.placeholder
cp lib/Class/MethodMaker/Constants.pm blib/lib/Class/MethodMaker/Constants.pm
cp lib/Class/MethodMaker/Engine.pm blib/lib/Class/MethodMaker/Engine.pm
AutoSplitting blib/lib/Class/MethodMaker/Engine.pm (blib/lib/auto/Class/MethodMaker/Engine)
cp lib/Class/MethodMaker/V1Compat.pm blib/lib/Class/MethodMaker/V1Compat.pm
cp lib/Class/MethodMaker.pm blib/lib/Class/MethodMaker.pm
cp lib/Class/MethodMaker/scalar.pm blib/lib/Class/MethodMaker/scalar.pm
AutoSplitting blib/lib/Class/MethodMaker/scalar.pm (blib/lib/auto/Class/MethodMaker/scalar)
cp lib/Class/MethodMaker/array.pm blib/lib/Class/MethodMaker/array.pm
AutoSplitting blib/lib/Class/MethodMaker/array.pm (blib/lib/auto/Class/MethodMaker/array)
/usr/local/bin/perl5.9.4 /usr/local/lib/perl5/5.9.4/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.9.4/ExtUtils/typemap MethodMaker.xs > MethodMaker.xsc && mv MethodMaker.xsc MethodMaker.c
Please specify prototyping behavior for MethodMaker.xs (see perlxs manual)
cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.08\" -DXS_VERSION=\"2.08\" -fpic "-I/usr/local/lib/perl5/5.9.4/i686-linux/CORE" MethodMaker.c
MethodMaker.xs: In function `XS_Class__MethodMaker_set_sub_name':
MethodMaker.xs:12: error: incompatible types in assignment
make: *** [MethodMaker.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Failed during this command:
FLUFFY/Class-MethodMaker-2.08.tar.gz : make NO