You are not logged in.

#1 2010-05-25 12:04:36

aviad
Member
Registered: 2006-01-19
Posts: 22

Problem installing css perl module

Hey,

my problem isn't probably arch-related (and possibly very dumb), but I hope someone can help me anyway.
I'm trying to install a CSS perl module - and here is what I get -

[root@vlsi-wiki ~]# perl -MCPAN -eshell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9456)
Enter 'h' for help.

cpan[1]> install CSS
Going to read '/root/.cpan/Metadata'
  Database was generated on Mon, 24 May 2010 09:27:04 GMT
Fetching with LWP:
ftp://cpan.noris.de/pub/CPAN/authors/01mailrc.txt.gz
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
ftp://cpan.noris.de/pub/CPAN/modules/02packages.details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Tue, 25 May 2010 09:27:47 GMT
............................................................................DONE
Fetching with LWP:
ftp://cpan.noris.de/pub/CPAN/modules/03modlist.data.gz
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /root/.cpan/Metadata
Running install for module 'CSS'
Running make for I/IA/IAMCAL/CSS-1.08.tar.gz
Checksum for /root/.cpan/sources/authors/id/I/IA/IAMCAL/CSS-1.08.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE

  CPAN.pm: Going to build I/IA/IAMCAL/CSS-1.08.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for CSS
cp CSS.pm blib/lib/CSS.pm
cp CSS/Value.pm blib/lib/CSS/Value.pm
cp CSS/Parse/Compiled.pm blib/lib/CSS/Parse/Compiled.pm
cp CSS/Property.pm blib/lib/CSS/Property.pm
cp CSS/Style.pm blib/lib/CSS/Style.pm
cp CSS/Parse/PRDGrammar.pm blib/lib/CSS/Parse/PRDGrammar.pm
cp CSS/Parse/Heavy.pm blib/lib/CSS/Parse/Heavy.pm
cp CSS/Selector.pm blib/lib/CSS/Selector.pm
cp CSS/Parse/Lite.pm blib/lib/CSS/Parse/Lite.pm
cp CSS/Adaptor/Debug.pm blib/lib/CSS/Adaptor/Debug.pm
cp CSS/Adaptor/Pretty.pm blib/lib/CSS/Adaptor/Pretty.pm
cp CSS/Parse.pm blib/lib/CSS/Parse.pm
cp CSS/Adaptor.pm blib/lib/CSS/Adaptor.pm
cp CSS/Parse/CompiledGrammar.pm blib/lib/CSS/Parse/CompiledGrammar.pm
Manifying blib/man3/CSS.3pm
Manifying blib/man3/CSS::Value.3pm
Manifying blib/man3/CSS::Parse::Compiled.3pm
Manifying blib/man3/CSS::Property.3pm
Manifying blib/man3/CSS::Parse::Heavy.3pm
Manifying blib/man3/CSS::Parse::PRDGrammar.3pm
Manifying blib/man3/CSS::Style.3pm
Manifying blib/man3/CSS::Parse::Lite.3pm
Manifying blib/man3/CSS::Selector.3pm
Manifying blib/man3/CSS::Adaptor::Debug.3pm
Manifying blib/man3/CSS::Parse.3pm
Manifying blib/man3/CSS::Adaptor::Pretty.3pm
Manifying blib/man3/CSS::Adaptor.3pm
  IAMCAL/CSS-1.08.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_basic.t ........... ok
t/02_parse_lite.t ...... ok
t/03_parse_heavy.t ..... ok
t/04_parse_compiled.t .. 1/8 Unknown starting rule (Parse::RecDescent::namespace000001::stylesheet) called
 at /root/.cpan/build/CSS-1.08-pVKcD1/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

Test Summary Report
-------------------
t/04_parse_compiled.t (Wstat: 65280 Tests: 4 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 8 tests but ran 4.
Files=8, Tests=38,  2 wallclock secs ( 0.05 usr  0.06 sys +  1.15 cusr  0.19 csys =  1.45 CPU)
Result: FAIL
Failed 1/8 test programs. 0/38 subtests failed.
make: *** [test_dynamic] Error 255
  IAMCAL/CSS-1.08.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports IAMCAL/CSS-1.08.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 IAMCAL/CSS-1.08.tar.gz                       : make_test NO

I've tried with both perl 5.10.1 and perl from testing (5.12), didn't help.
Does anyone have any idea?


Someday, I'll be a real boy!

Offline

#2 2010-05-25 20:37:42

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: Problem installing css perl module

How about check the AUR PACKAGE called perl-css.
(I haven't checked the PKGBUILD and so, so i don't know wether it's the right thing or safe though)

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#3 2010-05-26 22:04:24

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Re: Problem installing css perl module

There is a bug upstream according to CPAN's bugtracker.  Someone provided a fix there to regenerate the buggy file that is causing the test to fail.  Here is a source package file I made.  You can build it to apply their fix and make the package.

Offline

Board footer

Powered by FluxBB