Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170189 - Please mark dev-java/joda-time-1.4 stable for upcoming DST changes
Summary: Please mark dev-java/joda-time-1.4 stable for upcoming DST changes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 22:13 UTC by Petteri Räty (RETIRED)
Modified: 2007-04-13 19:04 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,182.01 KB, text/plain)
2007-03-10 08:22 UTC, Christian Faulhammer (RETIRED)
Details
build without FEATURES=userpriv (build.log,181.89 KB, text/plain)
2007-03-10 08:32 UTC, Christian Faulhammer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-03-09 22:13:48 UTC
http://overlays.gentoo.org/proj/java/wiki/TestingJavaPackages

From http://joda-time.sourceforge.net/faq.html#newzonerules

Does Joda-Time support the new US and Canada time zone rules?

The US has decided to introduce new daylight savings rules for 2007. This is a frequent occurance in many parts of the world, but is an unusual experience for many US based developers.

The time zone rules occur in three key places, your operating system, the JDK and Joda-Time. To be sure of hitting no issues, you should ensure that all three of these have been updated.

As a general rule, using Joda-Time 1.4 is best - however here are the specific details: If your application only uses the major time zones of the US, then you need Joda-Time 1.2 or later. If your application also uses the major time zones of the Canada, then you need Joda-Time 1.2.1 or later. If your application uses the minor time zones of the US or Canada, then you need Joda-Time 1.4. For Bermuda (Atlantic/Bermuda) you need Joda-Time 1.4. For the Bahamas (America/Nassau) you need the tz rules file 2007a which you must manually compile.

If you are unwilling to upgrade the version of your Joda-Time jar, you can compile the latest tz rules file 2007b into any version of Joda-Time following these instructions. 

As the changes are coming this weekend, this is quite urgent I guess.
Comment 1 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-03-09 23:17:35 UTC
Stable on amd64, removing arch
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-10 08:22:16 UTC
Created attachment 112771 [details]
build.log

Test suite fails

[ebuild     U ] dev-java/joda-time-1.4 [1.3] USE="test%* -doc -source"
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-10 08:32:57 UTC
Created attachment 112772 [details]
build without FEATURES=userpriv

When userpriv is not activated, test failures are different.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-03-10 23:09:40 UTC
I get the test failures too. I don't think it's in the Java stack though as running with all Java ~x86 over x86 it still fails. Let's see about updating glibc to latest stable etc as this system is a bit behind.
Comment 5 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-03-10 23:16:53 UTC
All tests pass for me, on ~amd64, ~x86, amd64 & x86. No failures? 
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-03-10 23:24:31 UTC
Updating sys-libs/timezone-data solved the test failures for me.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-03-11 00:02:52 UTC
Used the elibc USE_EXPAND to depend on the latest stable timezone-data and marked this stable on x86 as my stable machine passed the tests just fine with the update version.