You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by Chris Dolan <ch...@clotho.com> on 2002/05/08 01:55:43 UTC

Re: [cpan #571] make test on macosx

Jason_E_Stewart via RT wrote:
>>I would be happy to provide specific failure details upon request.
> 
> Please do. You can use rt.cpan.org, or nagoya.apache.org/bugzilla, or
> even just xerces-p-dev@xml.apache.org

OK, then, here is the list from after I did the s/utf-8/UTF-8/.  I've
added a few comments inline, prefixed by "***"

This is perl 5.6.0, default distro with OSX.  I've built a ton of CPAN
libraries with this, including XML::Parser just a couple days ago, with
no serious errors.  I'm suspicious of the SWIG stuff, which I chose not
to rebuild (since I have not yet build SWIG on this box), but not for
any good reason other than superstition.

One more data point is that I'm actually using the XML::Xerces stuff
right now with no apparent glitches, but I haven't gotten too deep in
the API yet.


% make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/AttributeList...........ok

t/Attributes..............ok

t/DOMCount................ok 1/2Use of uninitialized value in numeric eq
(==) at t/DOMCount.t line 59.
t/DOMCount................FAILED test 2

        Failed 1/2 tests, 50.00% okay
*** This failure is due to the /usr/bin/perl strangeness I mentioned in
*** my last message
t/DOMCreate...............ok

t/DOMParser...............ok

t/DOMPrint................FAILED test 2

        Failed 1/2 tests, 50.00% okay
*** As is this one
t/DOM_Attr................ok

t/DOM_DOMException........ok

*** For the below, I didn't figure out which errors were failing...
t/DOM_Document............ok 164/35125Error code: 5

t/DOM_Document............ok 661/35125Error code: 5

t/DOM_Document............NOK 662Error code: 5

t/DOM_Document............NOK 663Error code: 5

t/DOM_Document............NOK 664Error code: 5

t/DOM_Document............ok 666/35125Error code: 5

t/DOM_Document............NOK 667Error code: 5

t/DOM_Document............NOK 668Error code: 5

t/DOM_Document............NOK 669Error code: 5

t/DOM_Document............NOK 670Error code: 5

t/DOM_Document............NOK 671Error code: 5

t/DOM_Document............ok 677/35125Error code: 5

t/DOM_Document............NOK 678Error code: 5

t/DOM_Document............NOK 679Error code: 5

t/DOM_Document............NOK 680Error code: 5

t/DOM_Document............NOK 681Error code: 5

t/DOM_Document............NOK 682Error code: 5

t/DOM_Document............NOK 683Error code: 5

t/DOM_Document............ok 686/35125Error code: 5

t/DOM_Document............NOK 687Error code: 5

t/DOM_Document............NOK 688Error code: 5

t/DOM_Document............NOK 689Error code: 5

t/DOM_Document............NOK 690Error code: 5

t/DOM_Document............NOK 691Error code: 5

t/DOM_Document............NOK 692Error code: 5

t/DOM_Document............NOK 693Error code: 5

t/DOM_Document............NOK 694Error code: 5

t/DOM_Document............NOK 695Error code: 5

t/DOM_Document............NOK 696Error code: 5

t/DOM_Document............ok 708/35125Error code: 5

t/DOM_Document............ok 714/35125Error code: 5

t/DOM_Document............NOK 715Error code: 5

t/DOM_Document............NOK 716Error code: 5

t/DOM_Document............NOK 717Error code: 5

t/DOM_Document............NOK 718Error code: 5

t/DOM_Document............NOK 719Error code: 5

t/DOM_Document............NOK 720Error code: 5

t/DOM_Document............NOK 721Error code: 5

t/DOM_Document............NOK 722Error code: 5

t/DOM_Document............FAILED tests 165, 662-665, 667-672, 678-684,
687-697, 709, 715-723
        Failed 39/35125 tests, 99.89% okay
t/DOM_Element.............ok

t/DOM_Entity..............FAILED test 2

        Failed 1/3 tests, 66.67% okay
*** Removing the ", $fail=1" makes this test pass
t/DOM_NamedNodeMap........ok

t/DOM_Node................ok

t/DOM_NodeIterator........ok

t/DOM_NodeList............ok

t/DOM_TreeWalker..........ok

t/EntityResolver..........ok

t/Grammar.................ok

t/InputSource.............ok

t/LocalFileInputSource....FAILED test 3

        Failed 1/5 tests, 80.00% okay
*** new('../foo/bar.xml') leads to $error==undef.  And I confirmed that
*** this file does NOT exist.  :-)
t/MemBufInputSource.......ok

t/PerlErrorHandler........ok

t/SAX2Count...............ok

t/SAXCount................ok

t/SAXException............ok

t/SAXParser...............ok

t/Schema..................dubious

        Test returned status 0 (wstat 6, 0x6)
        after all the subtests completed successfully
*** I don't understand the above error.  Running plain, I get:
*** % perl -Mblib t/Schema.t
*** Using /private/var/root/.cpan/build/XML-Xerces-1.7.0-1/blib
*** 1..3
*** ok 1
*** ok 2
*** ok 3
*** Abort
t/StdInInputSource........ok 2/3FATAL ERROR:

FILE:
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:XMLPlatformException, Message:Could
not open file: {0}
 at blib/lib/XML/Xerces.pm line 2809
t/StdInInputSource........dubious

        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 3
        Failed 1/3 tests, 66.67% okay
*** The above fails at the parse($is) near the end of file

*** Haven't looked into any of the errors below yet
t/URLInputSource..........ok 4/8Error in eval: The base part of the URL
cannot be relative at t/URLInputSource.t line 48
t/URLInputSource..........dubious

        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-8
        Failed 4/8 tests, 50.00% okay
t/XMLException............NOK 3Can't call method "isa" without a package
or object reference at t/XMLException.t line 40.
t/XMLException............dubious

        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-5
        Failed 4/5 tests, 20.00% okay
t/XMLScanner..............dubious

        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-12
        Failed 11/12 tests, 8.33% okay
t/XMLURL..................ok

t/XMLUri..................ok

t/actualCast..............ok

t/domTest.................ok

Failed Test              Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/DOMCount.t                            2    1  50.00%  2
t/DOMPrint.t                            2    1  50.00%  2
t/DOM_Document.t                    35125   39   0.11%  165 662-665 667-672
                                                        678-684 687-697 709
                                                        715-723
t/DOM_Entity.t                          3    1  33.33%  2
t/LocalFileInputSource.t                5    1  20.00%  3
t/Schema.t                  0     6     3    0   0.00%  ??
t/StdInInputSource.t      255 65280     3    1  33.33%  3
t/URLInputSource.t        255 65280     8    4  50.00%  5-8
t/XMLException.t            2   512     5    4  80.00%  2-5
t/XMLScanner.t              2   512    12   11  91.67%  2-12
Failed 10/35 test scripts, 71.43% okay. 63/35352 subtests failed, 99.82%
okay.


>>
>>2) Failure of t/DOMCount.t (and others like it)
>>
>>This test is failing to properly run samples/DOMCount.pl.  The
>>   *absolutely* bizarre thing about this is that the failure is
>>   triggered by the use of /usr/bin/perl vs. perl.  Watch this:
> 
> 
> This seems like a bad perl installation...
> 
> I don't think I'm going to be much help here.

Hmm, well it is bizarre.  If you hear of anyone else with similar
problems, tell them to get in touch with me, please.

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Re: Xerces.pm 1.7.0 on OSX

Posted by Adam Witney <aw...@sghms.ac.uk>.
On 30/8/03 5:02 am, "Jason E. Stewart" <ja...@openinformatics.com> wrote:

> Adam Witney <aw...@sghms.ac.uk> writes:
> 
>> Has anyone managed to install XML-Xerces-1.7.0-1 on OSX? I am having
>> trouble getting it to compile (error below)
> 
> Hey Adam,
> 
> We did get it working, but Xerces-C wasn't OSX safe until 2.0. Is
> there some reason you're using such and old version?
> 
> jas.


Hi Jason,

I didn't think there was a version of XML-Xerces later than 1.7.0-1? That¹s
the only one I have found on cpan?

And 1.7.0-1 requires Xerces-C 1.7.0 right?

Thanks

adam


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Re: Xerces.pm 1.7.0 on OSX

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
Adam Witney <aw...@sghms.ac.uk> writes:

> Has anyone managed to install XML-Xerces-1.7.0-1 on OSX? I am having
> trouble getting it to compile (error below)

Hey Adam,

We did get it working, but Xerces-C wasn't OSX safe until 2.0. Is
there some reason you're using such and old version?

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Xerces.pm 1.7.0 on OSX

Posted by Adam Witney <aw...@sghms.ac.uk>.
Has anyone managed to install XML-Xerces-1.7.0-1 on OSX? I am having trouble
getting it to compile (error below)

Thanks for any help

adam

[mrc1-003:local/install/XML-Xerces-1.7.0-1] adam% make
mkdir blib
mkdir blib/lib
mkdir blib/lib/XML
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/XML
mkdir blib/arch/auto/XML/Xerces
mkdir blib/lib/auto
mkdir blib/lib/auto/XML
mkdir blib/lib/auto/XML/Xerces
mkdir blib/man3
cp Xerces.pm blib/lib/XML/Xerces.pm
cp DOMParse/DOMParse.pm blib/lib/XML/Xerces/DOMParse.pm
make -C Handler static
cc -c -I. -IHandler
-I/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include -pipe
-fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -Os     -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-I/sw/lib/perl5/5.6.0/darwin/CORE  PerlCallbackHandler.cpp
cc -c -I. -IHandler
-I/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include -pipe
-fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -Os     -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-I/sw/lib/perl5/5.6.0/darwin/CORE  PerlContentCallbackHandler.cpp
cc -c -I. -IHandler
-I/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include -pipe
-fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -Os     -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-I/sw/lib/perl5/5.6.0/darwin/CORE  PerlDocumentCallbackHandler.cpp
cc -c -I. -IHandler
-I/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include -pipe
-fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -Os     -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-I/sw/lib/perl5/5.6.0/darwin/CORE  PerlErrorCallbackHandler.cpp
mkdir ../blib/arch/auto/Handler
rm -rf ../blib/arch/auto/Handler/Handler.a
/usr/bin/ar cr ../blib/arch/auto/Handler/Handler.a PerlCallbackHandler.o
PerlContentCallbackHandler.o PerlDocumentCallbackHandler.o
PerlErrorCallbackHandler.o && /usr/bin/ar ts
../blib/arch/auto/Handler/Handler.a
PerlCallbackHandler.o
PerlContentCallbackHandler.o
PerlDocumentCallbackHandler.o
PerlErrorCallbackHandler.o
chmod 755 ../blib/arch/auto/Handler/Handler.a
mkdir ../blib/arch/auto/XML/Xerces/DOMParse
mkdir ../blib/lib/auto/XML/Xerces/DOMParse
Skip ../blib/lib/XML/Xerces/DOMParse.pm (unchanged)
Manifying ../blib/man3/XML::Xerces::DOMParse.3
cc -c -I. -IHandler
-I/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include -D_REENTRANT -Os
-DVERSION=\"1.7.0-1\" -DXS_VERSION=\"1.7.0-1\"
-I/sw/lib/perl5/5.6.0/darwin/CORE  Xerces.C
In file included from
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/validators
/datatype/IDDatatypeValidator.hpp:96,
                 from
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/validators
/schema/SchemaGrammar.hpp:116,
                 from
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/validators
/schema/SchemaValidator.hpp:99,
                 from
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/internal/X
MLScanner.hpp:214,
                 from
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/internal/V
ecAttributesImpl.hpp:89,
                 from
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/parsers/SA
X2XMLReaderImpl.hpp:151,
                 from
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/sax2/XMLRe
aderFactory.hpp:79,
                 from Xerces.C:608:
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/validators
/schema/SchemaSymbols.hpp:269: parse
   error before numeric constant
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/validators
/schema/SchemaSymbols.hpp:274: missing
   ';' before right brace
/usr/local/install/testxer/gcc2/xerces-c-src1_7_0/include/xercesc/validators
/schema/SchemaSymbols.hpp:276: parse
   error before `}' token
make: *** [Xerces.o] Error 1


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org