Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the SGML-Parser-OpenSP CPAN distribution.

Report information
The Basics
Id: 83031
Status: open
Priority: 0/
Queue: SGML-Parser-OpenSP

People
Owner: Nobody in particular
Requestors: mike.shilladay [...] microlise.com
Cc:
AdminCc:

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



Subject: Error in SGML::Parser::OpenSP-0.994
Date: Tue, 29 Jan 2013 15:26:00 +0000
To: bug-SGML-Parser-OpenSP [...] rt.cpan.org
From: "Mike Shilladay" <mike.shilladay [...] microlise.com>
Download (untitled) / with headers
text/plain 8.7k
Hi, I am having problems in building the OpenSP-0.994 module. The module I am trying to compile is SGML::Parser::OpenSP The version of perl is: aries:/tmp/SGML-Parser-OpenSP-0.994 # perl -v This is perl, v5.10.1 (*) built for IA64.ARCHREV_0 Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. aries:/tmp/SGML-Parser-OpenSP-0.994 # The operating system is HP-UX 11iv3 (11.31) The error that is observed is here, it is the same error irrespective of whether it is pulled from CPAN or the source pulled and attempted to compile locally. aries:/tmp/SGML-Parser-OpenSP-0.994 # perl -MCPAN -e shell Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. cpan[1]> install SGML::Parser::OpenSP CPAN: Storable loaded ok (v2.20) Going to read '/.cpan/Metadata' Database was generated on Tue, 29 Jan 2013 04:06:43 GMT Running install for module 'SGML::Parser::OpenSP' CPAN: YAML loaded ok (v0.84) Running make for B/BJ/BJOERN/SGML-Parser-OpenSP-0.994.tar.gz CPAN: Digest::SHA loaded ok (v5.47) Checksum for /.cpan/sources/authors/id/B/BJ/BJOERN/SGML-Parser-OpenSP-0.994.tar. gz ok Scanning cache /.cpan/build for sizes .......................................................................-----DONE DEL(1/6): /.cpan/build/File-HomeDir-1.00-k2Fa26 DEL(2/6): /.cpan/build/CPAN-SQLite-0.202-HaVbDQ DEL(3/6): /.cpan/build/Locale-Maketext-Utils-0.35-gYPxCl DEL(4/6): /.cpan/build/Filesys-Df-0.92-lLaw_q DEL(5/6): /.cpan/build/Filesys-Statvfs-0.82-B9Njz2 DEL(6/6): /.cpan/build/Net-AIM-1.22-_j31Kg CPAN: Archive::Tar loaded ok (v1.52) x SGML-Parser-OpenSP-0.994/Changes, 1851 bytes, 4 tape blocks x SGML-Parser-OpenSP-0.994/eg/xhtml1val.pl, 1654 bytes, 4 tape blocks x SGML-Parser-OpenSP-0.994/lib/SGML/Parser/OpenSP/Tools.pm, 10169 bytes, 20 tape blocks x SGML-Parser-OpenSP-0.994/lib/SGML/Parser/OpenSP.pm, 27154 bytes, 54 tape block s x SGML-Parser-OpenSP-0.994/Makefile.PL, 1315 bytes, 3 tape blocks x SGML-Parser-OpenSP-0.994/MANIFEST, 702 bytes, 2 tape blocks x SGML-Parser-OpenSP-0.994/META.yml, 550 bytes, 2 tape blocks x SGML-Parser-OpenSP-0.994/OpenSP.xs, 37176 bytes, 73 tape blocks x SGML-Parser-OpenSP-0.994/README, 1317 bytes, 3 tape blocks x SGML-Parser-OpenSP-0.994/samples/no-doctype.xml, 25 bytes, 1 tape blocks x SGML-Parser-OpenSP-0.994/samples/test.soc, 99 bytes, 1 tape blocks x SGML-Parser-OpenSP-0.994/samples/xhtml1-strict-s.dtd, 17442 bytes, 35 tape blo cks x SGML-Parser-OpenSP-0.994/samples/xml.dcl, 7407 bytes, 15 tape blocks x SGML-Parser-OpenSP-0.994/t/01basic.t, 905 bytes, 2 tape blocks x SGML-Parser-OpenSP-0.994/t/02integrity.t, 761 bytes, 2 tape blocks x SGML-Parser-OpenSP-0.994/t/03exceptions.t, 890 bytes, 2 tape blocks x SGML-Parser-OpenSP-0.994/t/04basicparse.t, 1048 bytes, 3 tape blocks x SGML-Parser-OpenSP-0.994/t/05basichandler.t, 1930 bytes, 4 tape blocks x SGML-Parser-OpenSP-0.994/t/06parseliteral.t, 1928 bytes, 4 tape blocks x SGML-Parser-OpenSP-0.994/t/07defaults.t, 994 bytes, 2 tape blocks x SGML-Parser-OpenSP-0.994/t/08comments.t, 1177 bytes, 3 tape blocks x SGML-Parser-OpenSP-0.994/t/09locations.t, 1707 bytes, 4 tape blocks x SGML-Parser-OpenSP-0.994/t/10errors.t, 1136 bytes, 3 tape blocks x SGML-Parser-OpenSP-0.994/t/11parsers.t, 1178 bytes, 3 tape blocks x SGML-Parser-OpenSP-0.994/t/12utf8.t, 2829 bytes, 6 tape blocks x SGML-Parser-OpenSP-0.994/t/13restricted.t, 1936 bytes, 4 tape blocks x SGML-Parser-OpenSP-0.994/t/14illegalparse.t, 1063 bytes, 3 tape blocks x SGML-Parser-OpenSP-0.994/t/15parseinput.t, 1018 bytes, 2 tape blocks x SGML-Parser-OpenSP-0.994/t/16catalogs.t, 2088 bytes, 5 tape blocks x SGML-Parser-OpenSP-0.994/t/17splitmessage.t, 4410 bytes, 9 tape blocks x SGML-Parser-OpenSP-0.994/t/18halt.t, 2044 bytes, 4 tape blocks x SGML-Parser-OpenSP-0.994/t/19refcounting.t, 1132 bytes, 3 tape blocks x SGML-Parser-OpenSP-0.994/t/20passfd.t, 1460 bytes, 3 tape blocks x SGML-Parser-OpenSP-0.994/t/21parsestring.t, 1930 bytes, 4 tape blocks x SGML-Parser-OpenSP-0.994/t/22mwarnings.t, 1755 bytes, 4 tape blocks x SGML-Parser-OpenSP-0.994/t/98podsyn.t, 269 bytes, 1 tape blocks x SGML-Parser-OpenSP-0.994/t/99podcov.t, 385 bytes, 1 tape blocks x SGML-Parser-OpenSP-0.994/typemap, 516 bytes, 2 tape blocks CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build B/BJ/BJOERN/SGML-Parser-OpenSP-0.994.tar.gz Checking if your kit is complete... Looks good Writing Makefile for SGML::Parser::OpenSP Writing MYMETA.yml and MYMETA.json cp lib/SGML/Parser/OpenSP.pm blib/lib/SGML/Parser/OpenSP.pm cp lib/SGML/Parser/OpenSP/Tools.pm blib/lib/SGML/Parser/OpenSP/Tools.pm /usr/local/bin/perl /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp -C ++ -t ypemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap OpenSP.xs Show quoted text
> OpenSP.xsc && mv OpenSP.xsc OpenSP.c
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in OpenSP.xs, line 1178 g++ -c -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -O -DVERSION=\"0.994\" -DXS_VERSION=\"0.994\" +Z "-I/us r/local/lib/perl5/5.10.1/IA64.ARCHREV_0/CORE" -DSP_MULTI_BYTE=1 OpenSP.c g++: +Z: No such file or directory <command-line>: error: missing '(' after predicate *** Error exit code 1 Stop. BJOERN/SGML-Parser-OpenSP-0.994.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: BJOERN/SGML-Parser-OpenSP-0.994.tar.gz : make NO cpan[8]> Using the source code and compiling ..... aries:/tmp/SGML-Parser-OpenSP-0.994 # perl Makefile.PL Writing Makefile for SGML::Parser::OpenSP Writing MYMETA.yml and MYMETA.json aries:/tmp/SGML-Parser-OpenSP-0.994 # aries:/tmp/SGML-Parser-OpenSP-0.994 # make cp lib/SGML/Parser/OpenSP.pm blib/lib/SGML/Parser/OpenSP.pm cp lib/SGML/Parser/OpenSP/Tools.pm blib/lib/SGML/Parser/OpenSP/Tools.pm /usr/local/bin/perl /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp -C ++ -t ypemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap OpenSP.xs Show quoted text
> OpenSP.xsc && mv OpenSP.xsc OpenSP.c
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in OpenSP.xs, line 1178 g++ -c -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -O -DVERSION=\"0.994\" -DXS_VERSION=\"0.994\" +Z "-I/us r/local/lib/perl5/5.10.1/IA64.ARCHREV_0/CORE" -DSP_MULTI_BYTE=1 OpenSP.c g++: +Z: No such file or directory <command-line>: error: missing '(' after predicate *** Error exit code 1 Stop. aries:/tmp/SGML-Parser-OpenSP-0.994 # The error appears to relate to the g++ compiler, but not being a professional coder, I cannot say whether this is the case or not. The version of the g++ compiler is 4.2.3 I have already loaded the OpenJade library (1.5.2) The reason that OpenSP is required is that I am trying to load the perl bundle "Bundle::W3C::Validator", of which SGML::Parser::OpenSP is a prerequisite, all the other perl modules including prereqs have been successfully loaded. The only other thing I can think off is going back previous versions of g++ compiler. Let me know if you need any further info Best Regards, Mike Shilladay  HP ASP, APP UNIX Technical Consultant direct line: +44 (0)1773 537332 mobile: +44 (0)7793 846680 Microlise Ltd | Farrington Way | Eastwood | Nottingham | NG16 3AG (Registered Office) T: 01773 537000 | F: 01773 537373 | enquiries@microlise.com | www.microlise.com Microlise Service Desk | Nottingham | UK T: 01773 537474 | E: servicedesk@microlise.com This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete it immediately. Any disclosure, copying, distribution, or any action taken or omitted is to be taken in reliance on it is prohibited and may be unlawful. Please note any views or opinions presented in this email message are solely those of the author and do not necessarily represent those of the Microlise Group unless otherwise specifically stated. Microlise Group Limited - Registered in England and Wales No. 1670983 | Microlise Limited - Registered in England and Wales No. 3037936 | Microlise Engineering Limited - Registered in England and Wales No. 2211125 | VAT Number 694 5425 02 | Please think about the environment......Don't print this email unless you need to.
Download (untitled) / with headers
text/html 31.3k

Message body is not shown because it is too large.

CC: mike.shilladay [...] microlise.com
Subject: Re: [rt.cpan.org #83031] Error in SGML::Parser::OpenSP-0.994
Date: Mon, 04 Feb 2013 12:07:19 +0100
To: bug-SGML-Parser-OpenSP [...] rt.cpan.org
From: Bjoern Hoehrmann <derhoermi [...] gmx.net>
Download (untitled) / with headers
text/plain 1.8k
* Mike Shilladay via RT wrote: Show quoted text
>Writing Makefile for SGML::Parser::OpenSP >Writing MYMETA.yml and MYMETA.json >cp lib/SGML/Parser/OpenSP.pm blib/lib/SGML/Parser/OpenSP.pm >cp lib/SGML/Parser/OpenSP/Tools.pm blib/lib/SGML/Parser/OpenSP/Tools.pm > /usr/local/bin/perl /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp -C >++ -t >ypemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap typemap >OpenSP.xs
>> OpenSP.xsc && mv OpenSP.xsc OpenSP.c
>Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no >'OUTPUT' > section. in OpenSP.xs, line 1178 > g++ -c -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings >-I/usr/local/include > -D_LARGEFILE_SOURCE -O -DVERSION=\"0.994\" -DXS_VERSION=\"0.994\" +Z >"-I/us >r/local/lib/perl5/5.10.1/IA64.ARCHREV_0/CORE" -DSP_MULTI_BYTE=1 OpenSP.c >g++: +Z: No such file or directory ><command-line>: error: missing '(' after predicate >*** Error exit code 1
It might make sense to capture this output into a file to eliminate the additional line wraps and to allow checking for the use of, say, tabs in place of spaces. Also investigating where the `+Z` is coming from on the command line above. You could try manually running the g++ command with- out the "+Z" and see if that helps. The `<command-line>: error: missing '(' after predicate` bit seems to be some misleading standard error, you could try searching for it in the context of CPAN modules. Also, it may be useful to check other Perl XS modules based on C++ and see how they compile on HP-UX, right now SGML::Parser::OpenSP hardcodes "g++" in the Makefile.PL because that is just about right for Linux systems, and it's hard to do anything better for C++ based XS modules. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.