Hi,
Went further this time but 2 tests failed (see '3)' in transcript below.
-Alan
1) clear cpan build area
$ cd .cpan
es@me-0612ef1fa8e9 ~/.cpan
$ ls
CPAN FTPstats.yml Metadata build histfile prefs sources
es@me-0612ef1fa8e9 ~/.cpan
$ cd build
es@me-0612ef1fa8e9 ~/.cpan/build
$ ls
DBI-1.609-EMacKp DBI-1.609-lAqVDt tmp-3276
es@me-0612ef1fa8e9 ~/.cpan/build
$ rm -rf ./*
es@me-0612ef1fa8e9 ~/.cpan/build
$ ls
es@me-0612ef1fa8e9 ~/.cpan/build
$
2) toolchain details:
$ which perl
/usr/bin/perl
$ perl -v
This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int
$ which gcc
/usr/bin/gcc
$ gcc -v
Using built-in specs.
Target: i686-pc-cygwin
/man --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable
-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable
-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exception
s --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4 --enable
-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sub
libs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbi
nd AS=/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe LD=/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=/opt/
gcc-tools/bin/ld.exe --with-ecj-jar=/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.3.4 20090804 (release) 1 (GCC)
3) try to install using CPAN.pm:
$ perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.
cpan[1]> install Class::MOP 1.00
CPAN: Storable loaded ok (v2.20)
Going to read '/cygdrive/c/es/.cpan/Metadata'
Database was generated on Sat, 06 Mar 2010 01:45:26 GMT
CPAN: LWP::UserAgent loaded ok (v5.829)
CPAN: Time::HiRes loaded ok (v1.9719)
Fetching with LWP: ... ...
... ...
...
Class-MOP-0.98/xs/typemap
Class-MOP-0.98/xs/MOP.xs
Class-MOP-0.98/xs/HasMethods.xs
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build D/DR/DROLSKY/Class-MOP-0.98.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Class::MOP
cp lib/Class/MOP/Method/Accessor.pm blib/lib/Class/MOP/Method/Accessor.pm
cp lib/Class/MOP/Method/Constructor.pm blib/lib/Class/MOP/Method/Constructor.pm
cp lib/Class/MOP/Method/Inlined.pm blib/lib/Class/MOP/Method/Inlined.pm
cp lib/Class/MOP/Mixin/AttributeCore.pm blib/lib/Class/MOP/Mixin/AttributeCore.pm
cp lib/metaclass.pm blib/lib/metaclass.pm
cp lib/Class/MOP/Deprecated.pm blib/lib/Class/MOP/Deprecated.pm
cp lib/Class/MOP/Method.pm blib/lib/Class/MOP/Method.pm
cp lib/Class/MOP/Method/Generated.pm blib/lib/Class/MOP/Method/Generated.pm
cp lib/Class/MOP/Instance.pm blib/lib/Class/MOP/Instance.pm
cp lib/Class/MOP/Class/Immutable/Trait.pm blib/lib/Class/MOP/Class/Immutable/Trait.pm
cp lib/Class/MOP.pm blib/lib/Class/MOP.pm
cp lib/Class/MOP/Class.pm blib/lib/Class/MOP/Class.pm
cp lib/Class/MOP/Method/Wrapped.pm blib/lib/Class/MOP/Method/Wrapped.pm
cp lib/Class/MOP/Mixin.pm blib/lib/Class/MOP/Mixin.pm
cp lib/Class/MOP/Mixin/HasMethods.pm blib/lib/Class/MOP/Mixin/HasMethods.pm
cp lib/Class/MOP/Mixin/HasAttributes.pm blib/lib/Class/MOP/Mixin/HasAttributes.pm
cp lib/Class/MOP/Object.pm blib/lib/Class/MOP/Object.pm
cp lib/Class/MOP/Attribute.pm blib/lib/Class/MOP/Attribute.pm
cp lib/Class/MOP/Module.pm blib/lib/Class/MOP/Module.pm
cp lib/Class/MOP/Package.pm blib/lib/Class/MOP/Package.pm
/usr/bin/perl.exe "-Iinc" /usr/lib/perl5/5.10/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.10/ExtUtils/typemap xs/Attr
teBase.xs > xs/AttributeBase.xsc && mv xs/AttributeBase.xsc xs/AttributeBase.c
gcc -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -
-DUSEIMPORTLIB -O3 -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -o xs/AttributeBase.o "-I/usr/lib/perl5/5.10/i686-cygw
CORE" xs/AttributeBase.c
...
...
...
DROLSKY/Class-MOP-0.98.tar.gz
/usr/bin/make -- OK
Running make test
/usr/bin/perl.exe "-Iinc" "-MModule::Install::ExtraTests" "-e" "Module::Install::ExtraTests::__harness('Test::Harness',
0, 'xt/author', '', '', 0, 'blib/lib', 'blib/arch')" t/*.t
t/000_load.t .............................. ok
t/001_basic.t ............................. ok
t/002_class_precedence_list.t ............. ok
t/003_methods.t ........................... 1/?
# Failed test '... Foo->has_method(floob) (defined in Foo:: using symbol tables and Sub::Name w/out package name)'
# at t/003_methods.t line 109.
# Failed test 'The thing isa Class::MOP::Method'
# at t/003_methods.t line 145.
# The thing isn't defined
Can't call method "body" on an undefined value at t/003_methods.t line 149.
# Tests were run but no plan was declared and done_testing() was not seen.
t/003_methods.t ........................... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/31 subtests
t/004_advanced_methods.t .................. ok
t/005_attributes.t ........................ ok
...
t/082_get_code_info.t ..................... 1/?
# Failed test 'sub name is main::'
# at t/082_get_code_info.t line 17.
# Structures begin differing at:
# $got->[0] = 't/082_get_code_info.t'
# $expected->[0] = 'main'
# Looks like you failed 1 test of 5.
t/082_get_code_info.t ..................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
t/083_load_class.t ........................ ok
...
Test Summary Report
-------------------
t/003_methods.t (Wstat: 65280 Tests: 31 Failed: 2)
Failed tests: 17, 31
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/082_get_code_info.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=78, Tests=2179, 78 wallclock secs ( 1.45 usr 1.48 sys + 35.61 cusr 23.39 csys = 61.94 CPU)
Result: FAIL
Failed 2/78 test programs. 3/2179 subtests failed.
make: *** [test_dynamic] Error 255
DROLSKY/Class-MOP-0.98.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DROLSKY/Class-MOP-0.98.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
DROLSKY/Class-MOP-0.98.tar.gz : make_test NO
Show quoted text________________________________
From: Florian Ragwitz via RT <bug-Class-MOP@rt.cpan.org>
To: a_c_attlee@yahoo.com
Sent: Sat, March 27, 2010 11:06:48 AM
Subject: [rt.cpan.org #53114] Class::MOP 0.97 testsuite fails on Cygwin 1.7.1
<URL:
https://rt.cpan.org/Ticket/Display.html?id=53114 >
Can you reproduce the failure with CMOP 1.00?