Source: ontospy
Version: 1.9.9.4~dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220212 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python3 -m ontospy.tests.test_load_local
> -------------------
> Ontospy v1.9.9.4
> -------------------
>
> =================
>
>
> TEST 1: Loading all ontologies in => /<<PKGBUILDDIR>>/ontospy/tests/rdf/
>
> For each model detailed entities descriptions are printed out.
>
>
> =================
>
> *****
> Test: loading file... > pizza.ttl
> *****
> Reading: </<<PKGBUILDDIR>>/ontospy/tests/rdf/pizza.ttl>
> .. trying rdf serialization: <turtle>
> ..... success!
> ----------
> Loaded 2332 triples.
> ----------
> RDF sources loaded successfully: 1 of 1.
> ..... '/<<PKGBUILDDIR>>/ontospy/tests/rdf/pizza.ttl'
> ----------
> Scanning entities...
> ----------
> E
> ======================================================================
> ERROR: test1_load_locally (__main__.TestLoadOntologies)
> Check if the ontologies in /RDF folder load ok
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/ontospy/tests/test_load_local.py", line 47, in
> test1_load_locally
> o = Ontospy(TEST_RDF_FOLDER + f, verbose=True)
> File "/<<PKGBUILDDIR>>/ontospy/core/ontospy.py", line 133, in __init__
> self.build_all(
> File "/<<PKGBUILDDIR>>/ontospy/core/ontospy.py", line 226, in build_all
> self.build_ontologies()
> File "/<<PKGBUILDDIR>>/ontospy/core/ontospy.py", line 278, in
> build_ontologies
> qres = self.sparqlHelper.getOntology()
> File "/<<PKGBUILDDIR>>/ontospy/core/sparql_helper.py", line 50, in
> getOntology
> qres = self.rdflib_graph.query("""SELECT DISTINCT ?x
> File "/usr/lib/python3/dist-packages/rdflib/graph.py", line 1127, in query
> result = plugin.get(result, query.Result)
> File "/usr/lib/python3/dist-packages/rdflib/plugin.py", line 107, in get
> return p.getClass()
> File "/usr/lib/python3/dist-packages/rdflib/plugin.py", line 69, in getClass
> module = __import__(self.module_path, globals(), locals(), [""])
> File "/usr/lib/python3/dist-packages/rdflib/plugins/sparql/__init__.py",
> line 33, in <module>
> from . import parser
> File "/usr/lib/python3/dist-packages/rdflib/plugins/sparql/parser.py", line
> 184, in <module>
> Param('prefix', PN_PREFIX)) + Suppress(':').leaveWhitespace()
> File "/usr/lib/python3/dist-packages/rdflib/plugins/sparql/parserutils.py",
> line 114, in __init__
> self.name = name
> AttributeError: can't set attribute
>
> ----------------------------------------------------------------------
> Ran 1 test in 3.198s
>
> FAILED (errors=1)
> make[1]: *** [debian/rules:16: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/02/12/ontospy_1.9.9.4~dfsg-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.