Noben has asked for the wisdom of the Perl Monks concerning the following question:

Hello! I'm installing a perl module GO::Parser as a prereq and can't seem to get it to work. Using cpan shell - install GO::Parser i get this during the install:

t/t270oborel_in_owl.t .... Dubious, test returned 5 (wstat 1280, 0x500 +) Failed 4/4 subtests t/t290disjoint.t ......... ok Test Summary Report ------------------- t/t270oborel_in_owl.t (Wstat: 1280 Tests: 0 Failed: 0) Non-zero exit status: 5 Parse errors: Bad plan. You planned 4 tests but ran 0. Files=24, Tests=136, 12 wallclock secs ( 0.12 usr 0.93 sys + 3.24 cu +sr 6.27 csys = 10.56 CPU) Result: FAIL Failed 1/24 test programs. 0/136 subtests failed. make: *** [test_dynamic] Error 255

I followed the instructions(protocols 1&2) from http://cpansearch.perl.org/src/CMUNGALL/go-perl-0.15/INSTALL.html as well. Not sure where to go from here. I'm on a Ubuntu server & have sudo. Perl (v5.18.2) Thanks!

Replies are listed 'Best First'.
Re: Module GO::Parser install fail?
by blindluke (Hermit) on Nov 20, 2014 at 06:11 UTC

    Welcome to the Monastery, Noben.

    It seems it's a bug with the recent release. See the bug report.

    There is a patch in the report submitted by osallou, I'll quote it here for convenience:

    --- a/GO/xsl/oboxml_to_owl.xsl +++ b/GO/xsl/oboxml_to_owl.xsl @@ -815,7 +815,7 @@ </xsl:variable> <xsl:element name="{$property}"> <xsl:if test="contains(type,':')"> - <xsl:attribute name="xmlns"> + <xsl:attribute name="goxmlns"> <xsl:variable name="ns"> <xsl:value-of select="substring-before(type,':')"/> </xsl:variable> @@ -860,7 +860,7 @@ </xsl:variable> <xsl:element name="{$property}"> <xsl:if test="contains(type,':')"> - <xsl:attribute name="xmlns"> + <xsl:attribute name="goxmlns"> <xsl:variable name="ns"> <xsl:value-of select="substring-before(type,':')"/> </xsl:variable>

    In cases like this, it's always good to start with the module documentation and look at the issues.

    - Luke