Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707064 - <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'
Summary: <dev-libs/serd-0.30.6: ValueError: time data rdflib.term.Literal('2011-09-29T...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on: 752195
Blocks: 706048
  Show dependency tree
 
Reported: 2020-01-29 06:16 UTC by Rolf Eike Beer
Modified: 2020-11-13 08:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,19.85 KB, text/plain)
2020-01-29 06:16 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2020-01-29 06:16:28 UTC
Created attachment 607310 [details]
build.log

Waf: Leaving directory `/var/tmp/portage/dev-libs/serd-0.30.2/work/serd-0.30.2-.hppa/build'
Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/serd-0.30.2/work/serd-0.30.2-.hppa/waflib/Scripting.py", line 159, in waf_entry_point
    run_commands()
  File "/var/tmp/portage/dev-libs/serd-0.30.2/work/serd-0.30.2-.hppa/waflib/Scripting.py", line 255, in run_commands
    ctx = run_command(cmd_name)
  File "/var/tmp/portage/dev-libs/serd-0.30.2/work/serd-0.30.2-.hppa/waflib/Scripting.py", line 239, in run_command
    ctx.execute()
  File "/var/tmp/portage/dev-libs/serd-0.30.2/work/serd-0.30.2-.hppa/waflib/extras/autowaf.py", line 1048, in execute
    self.recurse([self.run_dir])
  File "/var/tmp/portage/dev-libs/serd-0.30.2/work/serd-0.30.2-.hppa/waflib/Context.py", line 286, in recurse
    user_function(self)
  File "/var/tmp/portage/dev-libs/serd-0.30.2/work/serd-0.30.2-.hppa/wscript", line 463, in test
    top=srcdir, format='turtle')
  File "/var/tmp/portage/dev-libs/serd-0.30.2/work/serd-0.30.2-.hppa/waflib/extras/autoship.py", line 338, in read_news
    entries = read_ttl_news(info["name"], [path])
  File "/var/tmp/portage/dev-libs/serd-0.30.2/work/serd-0.30.2-.hppa/waflib/extras/autoship.py", line 232, in read_ttl_news
    iso_date = datetime.datetime.strptime(date, "%Y-%m-%dT%H:%M:%S%z")
  File "/usr/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
    tt, fraction = _strptime(data_string, format)
  File "/usr/lib/python3.6/_strptime.py", line 362, in _strptime
    (data_string, format))
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'


Portage 2.3.84 (python 3.6.9-final-0, default/linux/hppa/17.0, gcc-9.2.0, glibc-2.28-r6, 5.4.6-parisc64 parisc64)
=================================================================
System uname: Linux-5.4.6-parisc64-parisc64-PA8800_-Mako-with-gentoo-2.6
KiB Mem:     8230908 total,   1198800 free
KiB Swap:    4194300 total,   4191920 free
Timestamp of repository gentoo: Wed, 29 Jan 2020 01:15:01 +0000
Head commit of repository gentoo: fa753b1f6d3f193fa2752e22bb9391ad77b9802e
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="hppa"
ACCEPT_LICENSE="@FREE"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=2.0"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=2.0"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
GENTOO_MIRRORS="ftp://castor.sf-tec.de/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl berkdb big-endian bzip2 cli crypt cups cxx firefox foomaticdb fortran gdbm gpm hppa iconv imlib ipv6 libwww ncurses nls nptl openmp pam pcre readline seccomp spell split-usr ssl tcpd unicode xattr zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Miroslav Šulc gentoo-dev 2020-02-08 10:07:39 UTC
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?
Comment 2 Rolf Eike Beer archtester 2020-02-08 10:30:18 UTC
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)
Comment 3 Miroslav Šulc gentoo-dev 2020-02-08 15:11:41 UTC
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.
Comment 4 Miroslav Šulc gentoo-dev 2020-10-02 08:33:31 UTC
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
Comment 5 Larry the Git Cow gentoo-dev 2020-10-02 08:35:49 UTC
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(+)
Comment 6 Miroslav Šulc gentoo-dev 2020-10-02 08:36:27 UTC
please test 0.30.6 and report back.
Comment 7 Rolf Eike Beer archtester 2020-10-02 20:17:44 UTC
Works for me on hppa, too.
Comment 8 Miroslav Šulc gentoo-dev 2020-10-03 04:44:17 UTC
thank you for reporting back
Comment 9 Larry the Git Cow gentoo-dev 2020-11-13 08:46:28 UTC
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(-)