Summary: | <dev-libs/serd-0.30.6: ValueError: time data rdflib.term.Literal('2011-09-29T04:00:00+00:00', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#dateTime')) does not match format '%Y-%m-%dT%H:%M:%S%z' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fordfrog |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 752195 | ||
Bug Blocks: | 706048 | ||
Attachments: | build.log |
Description
Rolf Eike Beer
![]() i can't reproduce this issue. on amd64 the rdflib tests are skipped: Failed to run lcov to clear old coverage data [==========] Running serd tests [----------] 1 tests from serd.Unit (7 ms total) [----------] 4 tests from serd.ThroughSyntax (12 ms total) [----------] 6 tests from serd.GoodCommands (38 ms total) [----------] 37 tests from serd.BadCommands (75 ms total) [----------] 3 tests from serd.IoErrors (17 ms total) Failed to import rdflib, not running NEWS tests [----------] 258 tests from serd.good.TestTurtleEval (1276 ms total) [----------] 6 tests from serd.good.TestTrigEval (22 ms total) ... what version of dev-python/rdflib do you have installed and what use flags do you have enabled? chroot ~ # equery l dev-python/rdflib equery u dev-python/rdflib * Searching for rdflib in dev-python ... [IP-] [ ] dev-python/rdflib-4.2.2-r1:0 chroot ~ # equery u dev-python/rdflib [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for dev-python/rdflib-4.2.2-r1: U I + + berkdb : Add support for sys-libs/db (Berkeley DB for MySQL) - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - examples : Install examples, usually source code - - mysql : Add mySQL Database support + + python_targets_python2_7 : Build with Python 2.7 + + python_targets_python3_6 : Build with Python 3.6 - - redland : enable support for Redland triplestore - - sqlite : Add support for sqlite - embedded sql database - - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) thank you. i have rdflib installed but no matter what i do, i still get the same error: "Failed to import rdflib, not running NEWS tests". # equery uses rdflib [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for dev-python/rdflib-4.2.2-r1: U I - + berkdb : Add support for sys-libs/db (Berkeley DB for MySQL) - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - examples : Install examples, usually source code - - mysql : Add mySQL Database support + + python_targets_python2_7 : Build with Python 2.7 + + python_targets_python3_6 : Build with Python 3.6 - - python_targets_python3_7 : Build with Python 3.7 - - redland : enable support for Redland triplestore - - sqlite : Add support for sqlite - embedded sql database - - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) i have python3.8 as the default implementation so i thought it might be the cause as rdflib does not have python3_8 use flag. but forcing python3_7 on serd made no difference. maybe someone who knows python better than me would know why it cannot import the module. looks like the tests have been fixed in 0.30.6 (on the way to the main tree): >>> Test phase: dev-libs/serd-0.30.6 * abi_x86_32.x86: running multilib-minimal_abi_src_test Waf: Entering directory `/var/tmp/portage/dev-libs/serd-0.30.6/work/serd-0.30.6-abi_x86_32.x86/build' Failed to run lcov to clear old coverage data [==========] Running serd tests [----------] 4 tests from serd.Unit (27 ms total) [----------] 4 tests from serd.ThroughSyntax (12 ms total) [----------] 6 tests from serd.GoodCommands (28 ms total) [----------] 37 tests from serd.BadCommands (61 ms total) [----------] 3 tests from serd.IoErrors (15 ms total) [----------] 2 tests from serd.NEWS (484 ms total) [----------] 215 tests from serd.good.TestTurtleEval (948 ms total) [----------] 5 tests from serd.good.TestTrigEval (19 ms total) [----------] 192 tests from serd.bad.TestTurtleNegativeSyntax (374 ms total) [----------] 15 tests from serd.bad.TestNTriplesNegativeSyntax (25 ms total) [----------] 3 tests from serd.bad.TestTrigNegativeSyntax (4 ms total) [----------] 10 tests from serd.lax.TestTurtleNegativeSyntax (29 ms total) [----------] 6 tests from serd.lax.TestTurtleNegativeSyntax (7 ms total) [----------] 660 tests from serd.TurtleTests.TestTurtleEval (2606 ms total) [----------] 77 tests from serd.TurtleTests.TestTurtlePositiveSyntax (442 ms total) [----------] 234 tests from serd.TurtleTests.TestTurtleNegativeSyntax (452 ms total) [----------] 12 tests from serd.TurtleTests.TestTurtleNegativeEval (22 ms total) [----------] 41 tests from serd.NTriplesTests.TestNTriplesPositiveSyntax (230 ms total) [----------] 81 tests from serd.NTriplesTests.TestNTriplesNegativeSyntax (145 ms total) [----------] 53 tests from serd.NQuadsTests.TestNQuadsPositiveSyntax (297 ms total) [----------] 96 tests from serd.NQuadsTests.TestNQuadsNegativeSyntax (182 ms total) [----------] 680 tests from serd.TriGTests.TestTrigEval (2623 ms total) [----------] 297 tests from serd.TriGTests.TestTrigNegativeSyntax (590 ms total) [----------] 96 tests from serd.TriGTests.TestTrigPositiveSyntax (567 ms total) [----------] 12 tests from serd.TriGTests.TestTrigNegativeEval (22 ms total) [==========] 2841 tests from serd ran (10383 ms total) Failed to run lcov to generate coverage report [ PASSED ] 2841 tests Waf: Leaving directory `/var/tmp/portage/dev-libs/serd-0.30.6/work/serd-0.30.6-abi_x86_32.x86/build' 'test' finished successfully (10.402s) * abi_x86_64.amd64: running multilib-minimal_abi_src_test Waf: Entering directory `/var/tmp/portage/dev-libs/serd-0.30.6/work/serd-0.30.6-abi_x86_64.amd64/build' Failed to run lcov to clear old coverage data [==========] Running serd tests [----------] 4 tests from serd.Unit (16 ms total) [----------] 4 tests from serd.ThroughSyntax (10 ms total) [----------] 6 tests from serd.GoodCommands (25 ms total) [----------] 37 tests from serd.BadCommands (60 ms total) [----------] 3 tests from serd.IoErrors (13 ms total) [----------] 2 tests from serd.NEWS (411 ms total) [----------] 215 tests from serd.good.TestTurtleEval (910 ms total) [----------] 5 tests from serd.good.TestTrigEval (17 ms total) [----------] 192 tests from serd.bad.TestTurtleNegativeSyntax (367 ms total) [----------] 15 tests from serd.bad.TestNTriplesNegativeSyntax (21 ms total) [----------] 3 tests from serd.bad.TestTrigNegativeSyntax (4 ms total) [----------] 10 tests from serd.lax.TestTurtleNegativeSyntax (40 ms total) [----------] 6 tests from serd.lax.TestTurtleNegativeSyntax (10 ms total) [----------] 660 tests from serd.TurtleTests.TestTurtleEval (2499 ms total) [----------] 77 tests from serd.TurtleTests.TestTurtlePositiveSyntax (446 ms total) [----------] 234 tests from serd.TurtleTests.TestTurtleNegativeSyntax (452 ms total) [----------] 12 tests from serd.TurtleTests.TestTurtleNegativeEval (23 ms total) [----------] 41 tests from serd.NTriplesTests.TestNTriplesPositiveSyntax (234 ms total) [----------] 81 tests from serd.NTriplesTests.TestNTriplesNegativeSyntax (157 ms total) [----------] 53 tests from serd.NQuadsTests.TestNQuadsPositiveSyntax (297 ms total) [----------] 96 tests from serd.NQuadsTests.TestNQuadsNegativeSyntax (183 ms total) [----------] 680 tests from serd.TriGTests.TestTrigEval (2582 ms total) [----------] 297 tests from serd.TriGTests.TestTrigNegativeSyntax (577 ms total) [----------] 96 tests from serd.TriGTests.TestTrigPositiveSyntax (561 ms total) [----------] 12 tests from serd.TriGTests.TestTrigNegativeEval (22 ms total) [==========] 2841 tests from serd ran (10106 ms total) Failed to run lcov to generate coverage report [ PASSED ] 2841 tests Waf: Leaving directory `/var/tmp/portage/dev-libs/serd-0.30.6/work/serd-0.30.6-abi_x86_64.amd64/build' 'test' finished successfully (10.125s) >>> Completed testing dev-libs/serd-0.30.6 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf5f7fc414eb31adf2397e0780ec0215cb6a7fa7 commit cf5f7fc414eb31adf2397e0780ec0215cb6a7fa7 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-10-02 08:35:27 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-10-02 08:35:27 +0000 dev-libs/serd: bump to 0.30.6 Bug: https://bugs.gentoo.org/707064 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-libs/serd/Manifest | 1 + dev-libs/serd/serd-0.30.6.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) please test 0.30.6 and report back. Works for me on hppa, too. thank you for reporting back The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=409816bd4ef8380526ee14ce174fca259b3f0fd6 commit 409816bd4ef8380526ee14ce174fca259b3f0fd6 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-11-13 08:46:09 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-11-13 08:46:09 +0000 dev-libs/serd: removed obsolete 0.30.4 Closes: https://bugs.gentoo.org/707064 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-libs/serd/Manifest | 1 - dev-libs/serd/serd-0.30.4.ebuild | 53 ---------------------------------------- 2 files changed, 54 deletions(-) |