Skip Menu |

This queue is for tickets about the Readonly-XS CPAN distribution.

Report information
The Basics
Id: 35201
Status: open
Priority: 0/
Queue: Readonly-XS

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

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



Subject: Build Fail Readonly XS strawberry perl
Build errors under Strawberry 5.10.0.1 on Windows 2000 box. Build log and perl -V attached. Seems to be complaining about being standalone inside the tests. Readonly 1.04 has already been installed. Thanks
Subject: perlver.txt
Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"' libpth=C:\strawberry\c\lib libs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 perllibs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO Built under MSWin32 Compiled at Apr 5 2008 10:33:57 @INC: C:/strawberry/perl/lib C:/strawberry/perl/site/lib .
Subject: readonly_xs_build_log.txt
E:\Apps\Source\perl\Readonly-XS-1.04>dmake test install C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/test......String found where operator expected at E:\Apps\Source\perl\Readonly-XS-1.04\blib\lib/Readonly/XS.pm line 36, near " Carp::croak "Readonly::XS is not a standalone module. You should not use it directly."" (Do you need to predeclare Carp::croak?) t/test......1/10 # Failed test 'Unauthorized use' # at t/test.t line 17. # got: 'syntax error # BEGIN not safe after errors--compilation aborted at E:\App' # expected: 'Readonly::XS is not a standalone module. You should not use it directly' String found where operator expected at E:\Apps\Source\perl\Readonly-XS-1.04\blib\lib/Readonly/XS.pm line 36, near "Carp::croak "Readonly::XS is not a standalone module. You should not use it directly."" (Do you need to predeclare Carp::croak?) # Failed test 'Authorized use' # at t/test.t line 22. # got: 'syntax error at E:\Apps\Source\perl\Readonly-XS-1.04\blib\lib/Readonly/XS.pm line 36, near "Carp::croak "Readon ly::XS is not a standalone module. You should not use it directly."" # BEGIN not safe after errors--compilation aborted at E:\Apps\Source\perl\Readonly-XS-1.04\blib\lib/Readonly/XS.pm line 38. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # ' # expected: '' # Failed test 'is_sv_readonly loaded' # at t/test.t line 26. # Failed test 'make_sv_readonly loaded' # at t/test.t line 27. Undefined subroutine &Readonly::is_sv_readonly called at t/test.t line 30. # Looks like you planned 10 tests but only ran 4. # Looks like you failed 4 tests of 4 run. # Looks like your test died just after 4. t/test...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 10/10 subtests Test Summary Report ------------------- t/test.t (Wstat: 65280 Tests: 4 Failed: 4) Failed tests: 1-4 Non-zero exit status: 255 Parse errors: Bad plan. You planned 10 tests but ran 4. Files=1, Tests=4, 0 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) Result: FAIL Failed 1/1 test programs. 4/4 subtests failed. dmake: Error code 255, while making 'test_dynamic'
From: todd.e.rinaldo [...] jpmorgan.com
Hi, also in Windows XP with SP 5.10. Considering Perl::Critic uses this module, I think it might be important that this get looked at.
Subject: Re: [rt.cpan.org #35201] Build Fail Readonly XS strawberry perl
Date: Sun, 13 Jul 2008 22:18:18 -0400
To: bug-Readonly-XS [...] rt.cpan.org
From: "Eric Roode" <eric.roode [...] gmail.com>
On Sun, Jul 13, 2008 at 9:55 PM, Todd E. Rinaldo via RT <bug-Readonly-XS@rt.cpan.org> wrote: Show quoted text
> Queue: Readonly-XS > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=35201 > > > Hi, also in Windows XP with SP 5.10. > > Considering Perl::Critic uses this module, I think it might be > important that this get looked at.
I agree that this needs to be looked at, but I don't see it as a tremendously high priority, since Readonly works just fine without the XS part. -- Eric
On Sun Jul 13 22:18:34 2008, eric.roode@gmail.com wrote: Show quoted text
> I agree that this needs to be looked at, but I don't see it as a > tremendously high priority, since Readonly works just fine without the > XS part.
The fix is so trivial (see patch in #33711) and the Readonly::XS module is clearly calling Carp::croak in the wrong way. Can't you just fix this one line and upload a new release? The code happens to work in perl-5.8 because some other module has managed to load Carp by the time this line is compiled. The bugs #29778, #35201 and #33711 are all the same issue.