Skip Menu |

This queue is for tickets about the Class-Accessor-Constructor CPAN distribution.

Report information
The Basics
Id: 68689
Status: resolved
Priority: 0/
Queue: Class-Accessor-Constructor

People
Owner: Nobody in particular
Requestors: shuff [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.100880
Fixed in: (no value)



Subject: tests fail with Class-Accessor-Installer < 1.100880
Hello Marcel! I'm on a RHEL6.1 x86_64 system, and I'm working on packaging Class-Accessor-Constructor for the RepoForge RPM repository (http://repoforge.org). I'm seeing the following error whenever I try to run a program that requires Class::Accessor::Constructor, and also in the test suite: $ prove -Ilib t t/00-compile.t ............... ok t/000-report-versions.t ...... # Testing with Perl 5.010001, /usr/bin/perl t/000-report-versions.t ...... 1/? # Carp version is 1.11 # Class::Accessor version is 0.34 # Class::Accessor::Complex version is 1.100820 # Class::Accessor::Installer version is 1.100820 # Data::Inherited version is 1.100860 # English version is 1.04 # ExtUtils::MakeMaker version is 6.55_02 # File::Find version is 1.14 # File::Temp version is 0.22 # Scalar::Util version is 1.21 # Test::More version is 0.92 # Tie::Hash version is 1.03 # constant version is 1.17 # parent version is 0.221 t/000-report-versions.t ...... ok t/01dirty.t .................. Can't locate object method "document_accessor" via package "Foo" at /home/shuff/Class-Accessor-Constructor-1.100880/lib/Class/Accessor/Constructor.pm line 178. # Looks like your test exited with 2 before it could output anything. t/01dirty.t .................. Dubious, test returned 2 (wstat 512, 0x200) Failed 16/16 subtests t/02singleton_constructor.t .. Can't locate object method "document_accessor" via package "Foo" at /home/shuff/Class-Accessor-Constructor-1.100880/lib/Class/Accessor/Constructor.pm line 178. # Looks like your test exited with 2 before it could output anything. t/02singleton_constructor.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 10/10 subtests t/author-critic.t ............ skipped: these tests are for testing by the author t/release-check-changes.t .... skipped: these tests are for release candidate testing t/release-dist-manifest.t .... skipped: these tests are for release candidate testing t/release-has-version.t ...... skipped: these tests are for release candidate testing t/release-kwalitee.t ......... skipped: these tests are for release candidate testing t/release-meta-yaml.t ........ skipped: these tests are for release candidate testing t/release-minimum-version.t .. skipped: these tests are for release candidate testing t/release-pod-coverage.t ..... skipped: these tests are for release candidate testing t/release-pod-spell.t ........ skipped: these tests are for release candidate testing t/release-pod-syntax.t ....... skipped: these tests are for release candidate testing t/release-portability.t ...... skipped: these tests are for release candidate testing t/release-synopsis.t ......... skipped: these tests are for release candidate testing t/release-unused-vars.t ...... skipped: these tests are for release candidate testing Test Summary Report ------------------- t/01dirty.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 16 tests but ran 0. t/02singleton_constructor.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 10 tests but ran 0. Files=17, Tests=16, 1 wallclock secs ( 0.07 usr 0.03 sys + 0.57 cusr 0.09 csys = 0.76 CPU) Result: FAIL The problem is solved by updating Class-Accessor-Installer to version 1.100880, which provides the document_accessor() method. I'll send a pull request that adds this requirement to the dist.ini. -shuff -- Steve Huff (SHUFF) * shuff@cpan.org
On Tue Jun 07 16:09:17 2011, SHUFF wrote: Show quoted text
> > The problem is solved by updating Class-Accessor-Installer to version > 1.100880, which provides the document_accessor() method. I'll send a > pull request that adds this requirement to the dist.ini.
https://github.com/hanekomu/Class-Accessor-Constructor/pull/1 -- Steve Huff (SHUFF) * shuff@cpan.org
Applied and released. Thanks!