On Tue, Sep 14, 2010 at 01:37:34AM -0700, Don Armstrong wrote:
> This FTBFS was caused by a bug in libparse-recdescent-perl which has
> since been fixed, and it no longer FTBFS with the newer version in
> unstable. 

Are you sure? I just happened to look at this today, and it still fails
for me on current sid (with libparse-recdescent-perl 1.965001+dfsg-1):

t/01_basic.t ........... ok
t/02_parse_lite.t ...... ok
t/03_parse_heavy.t ..... ok
Unknown starting rule (Parse::RecDescent::namespace000001::stylesheet) called
 at /tmp/buildd/libcss-perl-1.08/blib/lib/CSS/Parse/Compiled.pm line 28
Compilation failed in require at t/04_parse_compiled.t line 3.
# Looks like you planned 8 tests but ran 4.
# Looks like your test exited with 255 just after 4.
t/04_parse_compiled.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/8 subtests 
t/05_search.t .......... ok
t/06_adaptor_simple.t .. ok
t/07_adaptor_pretty.t .. ok
t/08_adaptor_debug.t ... ok

It looks to me like CSS::Parse::Compiled needs to be regenerated for
the newer libparse-recdescent-perl with something like

#!perl
use Parse::RecDescent;
use CSS::Parse::PRDGrammar;

Parse::RecDescent->Precompile($CSS::Parse::PRDGrammar::GRAMMAR,
    "CSS::Parse::CompiledGrammar") or die("precompile failed");
rename("CompiledGrammar.pm", "CSS/Parse/CompiledGrammar.pm")
    or die("rename failed: $!");
__END__

I'd probably make this part of the build system (and spare the release
team reviewing a huge diff) but YMMV.
-- 
Niko Tyni   nt...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to