Bug#797842: libjoda-time-java: Update libjoda-time-java to 2.8.2 to fix timezone
Tiago Stürmer Daitx
tiago.daitx at canonical.com
Wed Sep 2 22:35:44 UTC 2015
Package: libjoda-time-java
Version: 2.7-2
Severity: wishlist
Dear Maintainer,
As reported in LP:# 1491530 jruby FTBFS partly due to an outdated joda-time package.
https://bugs.launchpad.net/ubuntu/+source/libjoda-time-java/+bug/1491530
This particular bug lead to 2 mspec test failures causing jruby to FTBFS as reported in LP: #1491526 as jruby currently runs OpenJDK 8u66 in wily.
libjoda-time-java will fail to report TZ name and shortname when running under OpenJDK 8u60 or earlier.
Upstream bugs https://github.com/JodaOrg/joda-time/issues/288 and https://github.com/JodaOrg/joda-time/issues/291
Fixed on 2.8.1. Latest is 2.8.2 with updated TZ data.
Both issues were reported upstream since JRuby should not fail due to joda-time: https://github.com/jruby/jruby/issues/3303 and https://github.com/jruby/jruby/issues/3303
========
Snippet from log:
30)
Time#strftime returns the timezone with %Z FAILED
Expected "+00:00"
to equal "GMT"
/«PKGBUILDDIR»/spec/ruby/core/time/strftime_spec.rb:238:in `(root)'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyEnumerable.java:1412:in `all?'
org/jruby/RubyFixnum.java:275:in `times'
org/jruby/RubyArray.java:1613:in `each'
/«PKGBUILDDIR»/spec/ruby/core/time/strftime_spec.rb:4:in `(root)'
org/jruby/RubyKernel.java:1059:in `load'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyArray.java:1613:in `each'
31)
Time#zone returns UTC when called on a UTC time FAILED
Expected "GMT"
to equal "UTC"
========
-- System Information:
Debian Release: jessie/sid
APT prefers vivid-updates
APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), (100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.19.0-26-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the pkg-java-maintainers
mailing list