[redland-dev] redland make check error

Dave Beckett dave.beckett at bristol.ac.uk
Mon Jan 24 02:00:10 PST 2005


On Wed, 19 Jan 2005 15:55:07 +0100, Stefano Debenedetti <ste at demaledetti.net> wrote:

> make check is asking me to report this:
> 
> /home/ste/buildtrees/redland-0.9.19/librdf/.libs/lt-rdf_serializer_test: Trying to create new rdfxml serializer
> /home/ste/buildtrees/redland-0.9.19/librdf/.libs/lt-rdf_serializer_test: Freeing serializer
> /home/ste/buildtrees/redland-0.9.19/librdf/.libs/lt-rdf_serializer_test: Trying to create new ntriples serializer
> /home/ste/buildtrees/redland-0.9.19/librdf/.libs/lt-rdf_serializer_test: Freeing serializer
> /home/ste/buildtrees/redland-0.9.19/librdf/.libs/lt-rdf_serializer_test: Serialising to RDF/XML returned string'<?xml version="1.0" encoding="utf-8"?>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>   <rdf:Description rdf:about="foo">
>     <ns0:bar xmlns:ns0="http://example.org/">blah</ns0:bar>
>   </rdf:Description>
>   <rdf:Description rdf:about="foo">
>     <ns0:abc xmlns:ns0="http://example.org/"></ns0:abc>
>   </rdf:Description>
> </rdf:RDF>
> ' size 346, expected 237
> FAIL: rdf_serializer_test
> 
> Redland build summary:
>   Berkeley/Sleepycat DB:  Version 4.2 (library db-4.2 in /usr/local/BerkeleyDB.4.2/lib)
>   Triple stores:          memory mysql(4.0.22) hashes(memory) hashes(bdb 4.2)
>   RDF parsers:            raptor(system 1.4.4)
>   RDF query:              rasqal(system 0.9.5)
>   Content digests:        md5(openssl) sha1(openssl) ripemd160(openssl)
> 
> System summary: gentoo with gcc-3.3.5, glibc-2.3.4.20040808-r1


That's caused by:
   RDF parsers:            raptor(system 1.4.4)

which is a newer raptor than the one that shipped with Redland 0.9.19.
So the test, which was for raptor 1.4.2, fails since the RDF/XML
serialization has been improved, and the exact byte count is
different.

For the best results with redland and the bindings, use the raptor
and rasqal that shipped with them, since those were the ones that
passed the tests at that time.  If you want the latest updates, this
kind of error will happen from time to time.

Dave



More information about the redland-dev mailing list