Skip Menu |

This queue is for tickets about the Moo CPAN distribution.

Report information
The Basics
Id: 85860
Status: rejected
Priority: 0/
Queue: Moo

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

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



Subject: make test fails on CentOS5
... t/modify_lazy_handlers............. # Failed test 'use MooObjectWithDelegate;' # at t/modify_lazy_handlers.t line 5. # Tried to use 'MooObjectWithDelegate'. # Error: Undefined subroutine &Class::Method::Modifiers::install_modifier called at /builddir/build/BUILD/Moo-1.002000/blib/lib/Moo/_Utils.pm line 34. # Compilation failed in require at (eval 11) line 2. # BEGIN failed--compilation aborted at (eval 11) line 2. Undefined subroutine &Class::Method::Modifiers::install_modifier called at /builddir/build/BUILD/Moo-1.002000/blib/lib/Moo/_Utils.pm line 34. # Tests were run but no plan was declared and done_testing() was not seen. Please let me know if you need any further information about the platform being used.
Can you post the output of: perl -V and perl -MClass::Method::Modifiers -le'print Class::Method::Modifiers->VERSION'
As requested. I hope it helps. + perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.18-238.9.1.el5, archname=x86_64-linux uname='linux testpc02 2.6.18-238.9.1.el5 #1 smp tue apr 12 18:10:13 edt 2011 x86_64 x86_64 x86_64 gnulinux ' config_args='-ds -e -Dprefix=/opt/perl-5.8.8 -Dsiteprefix=/opt/perl-5.8.8 -Dvendorprefix=/opt/perl-5.8.8 -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -pipe -fPIC -Dcf_by=<systems.unix@ncbi.nlm.nih.gov> -Dperladmin=unix.systems@ncbi.nlm.nih.gov -Duselargefiles -Dd_dosuid -Dlibpth=/lib64 /usr/lib64 -des' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -pipe -fPIC', cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/include/gdbm' ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-50)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags ='' libpth=/lib64 /usr/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Jul 26 2011 15:18:05 @INC: /opt/perl-5.8.8/lib/site_perl/5.8.8/x86_64-linux /opt/perl-5.8.8/lib/site_perl/5.8.8 /opt/perl-5.8.8/lib/site_perl /opt/perl-5.8.8/lib/vendor_perl/5.8.8/x86_64-linux /opt/perl-5.8.8/lib/vendor_perl/5.8.8 /opt/perl-5.8.8/lib/vendor_perl /opt/perl-5.8.8/lib/5.8.8/x86_64-linux /opt/perl-5.8.8/lib/5.8.8 . + perl -MClass::Method::Modifiers '-leprint Class::Method::Modifiers->VERSION' 1.01
Your version of Class::Method::Modifiers is out of date. The required version is at least 1.10, which is declared properly in the Makefile.PL. If you run perl Makefile.PL, it should warn you about the out of date version.
That fixed it, thanks. But why didn't 'perl Makefile.PL' show the out of date prerequisite?
On Thu Jun 06 17:18:04 2013, NHORNE wrote: Show quoted text
> That fixed it, thanks. But why didn't 'perl Makefile.PL' show the out > of date prerequisite? >
It does for me when testing with the version of perl and Class::Method::Modifiers you had installed. What version of ExtUtils::MakeMaker do you have installed?
I've tested this with perl 5.8.8, using the version of EUMM that ships with perl. It always properly reports the missing (or outdated) dependency. Closing this pending any further information about the issue.