Skip Menu |

This queue is for tickets about the ParseLex CPAN distribution.

Report information
The Basics
Id: 12845
Status: resolved
Priority: 0/
Queue: ParseLex

People
Owner: Nobody in particular
Requestors: nick [...] usenix.org
Cc:
AdminCc:

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



Subject: Problems with ParseLex-2.15
ParseLex-2.15. ================================================== syntax errors prevent building sh-2.05b# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Parse::Lex sh-2.05b# make cp lib/Parse/ALex.pm blib/lib/Parse/ALex.pm cp lib/Parse/Token.pm blib/lib/Parse/Token.pm cp lib/Parse/Token-t.pm blib/lib/Parse/Token-t.pm cp lib/Parse/CLex.pm blib/lib/Parse/CLex.pm cp lib/Parse/Template.pm.new blib/lib/Parse/Template.pm.new cp lib/Parse/YYLex.pm blib/lib/Parse/YYLex.pm cp lib/Parse/LexEvent.pm blib/lib/Parse/LexEvent.pm cp lib/Parse/Template.pm.patch blib/lib/Parse/Template.pm.patch cp lib/Parse/Template.pm blib/lib/Parse/Template.pm cp lib/Parse/Lex.pm blib/lib/Parse/Lex.pm cp lib/Parse/Trace.pm blib/lib/Parse/Trace.pm Manifying blib/man3/Parse::Token.3 Manifying blib/man3/Parse::Template.3 Manifying blib/man3/Parse::CLex.3 Manifying blib/man3/Parse::YYLex.3 Manifying blib/man3/Parse::Lex.3 Manifying blib/man3/Parse::LexEvent.3 sh-2.05b# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/test1....FAILED test 1 Failed 1/1 tests, 0.00% okay t/test2....FAILED test 1 Failed 1/1 tests, 0.00% okay t/test3....FAILED test 1 Failed 1/1 tests, 0.00% okay t/test4....FAILED test 1 Failed 1/1 tests, 0.00% okay t/test5....FAILED test 1 Failed 1/1 tests, 0.00% okay t/test6....FAILED test 1 Failed 1/1 tests, 0.00% okay t/test7....FAILED test 1 Failed 1/1 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/test1.t 1 1 100.00% 1 t/test2.t 1 1 100.00% 1 t/test3.t 1 1 100.00% 1 t/test4.t 1 1 100.00% 1 t/test5.t 1 1 100.00% 1 t/test6.t 1 1 100.00% 1 t/test7.t 1 1 100.00% 1 Failed 7/7 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 255 ================================================== perl -V Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Platform: osname=linux, osvers=2.6.6, archname=i686-linux-thread-multi uname='linux collie 2.6.6 #5 fri may 28 14:34:01 pdt 2004 i686 i686 i386 gnulinux ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=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 ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.2.2 20030222 (Red Hat Linux 3.2.2-5)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Jun 2 2004 10:40:49 @INC: /usr/lib/perl5/5.8.4/i686-linux-thread-multi /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/lib/perl5/vendor_perl/5.8.4/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/lib/perl5/vendor_perl .
--- lib/Parse/Template.pm.old 1999-09-23 01:16:28.000000000 -0700 +++ lib/Parse/Template.pm 2005-05-16 12:39:25.000000000 -0700 @@ -1,4 +1,4 @@ -use strict +use strict; require 5.004; package Parse::Template; $Parse::Template::VERSION = '0.32'; @@ -132,7 +132,7 @@ } # evaluated expressions are not always available in (caller(1))[6]; if (defined($1) and $1 ne '') { - $expr = $1; # what is the template expression? + my $expr = $1; # what is the template expression? { package DB; # what is the part name? @DB::caller = caller(2); # why is this needed? /ee? @DB::caller = caller(1);
 VERSION 2.16 - 5/01/2010
 
o New maintainer pscust@cpan.org
o Parse::Template 0.33 : Fix syntax errors
  Solves RT #7880, #12845, #14785, #11807, #48964, #53112
o Parse::Token    2.16 : Fix syntax errors
  Solves RT #12845, #36285, #48964, #53112
o test4.t : adapt to current Perl (line vs chunk)
  Solves RT #158, #11808, #11809, #12846, #14785, #48964, #53112
o tests : add blib/lib to Perl path
  Solves RT #48964, #53112
o Added test8.t with code from RT #1861, but error is not reproduced in Perl 5.10, and 
  patch does not work in Perl 5.10; patch not added.