Date: Wed, 31 Dec 2014 00:13:00 +0100 From: Antoine Brodin <antoine@FreeBSD.org> To: java@freebsd.org Subject: Re: Error: time is more than 10 years from present: 1104530400000 when building java/openjdk* Message-ID: <CAALwa8mMhXC-j_1aM2__x7TewFT_BA6scxBzE8Pv4YcNbSmPkA@mail.gmail.com> In-Reply-To: <CAALwa8kFMJAT2q=pQfdqxWP9Ji_VS6_67K2=9sUUH2ncbS=5RA@mail.gmail.com> References: <CAALwa8=qT8ruqe%2BX%2BoH%2BYUuF4Yr=894gdr-H33R1Fmi_nbSqbA@mail.gmail.com> <CAALwa8kvLO4gVksD9Pm36Mv39phJ_8SCEK%2B9nPjG-rxXTF=S0w@mail.gmail.com> <CAALwa8kFMJAT2q=pQfdqxWP9Ji_VS6_67K2=9sUUH2ncbS=5RA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 30, 2014 at 1:21 PM, Antoine Brodin <antoine@freebsd.org> wrote: > On Tue, Dec 30, 2014 at 9:20 AM, Antoine Brodin <antoine@freebsd.org> wrote: >> On Tue, Dec 30, 2014 at 8:02 AM, Antoine Brodin <antoine@freebsd.org> wrote: >>> Hi there, >>> >>> Today I had this error when building lang/openjdk6 and lang/openjdk7 ports: >>> >>> /usr/local/bootstrap-openjdk/bin/java -Xmx896m -Xms128m >>> -XX:PermSize=32m -XX:MaxPermSize=160m -jar >>> /wrkdirs/usr/ports/java/openjdk6/work/build/bsd-amd64/btjars/generatecurrencydata.jar >>> -o /wrkdirs/usr/ports/java/openjdk6/work/build/bsd-amd64/lib/currency.data.temp >>> \ >>> < ../../../src/share/classes/java/util/CurrencyData.properties >>> Error: time is more than 10 years from present: 1104530400000 >>> java.lang.RuntimeException: time is more than 10 years from present: >>> 1104530400000 >>> at build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:285) >>> at build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:225) >>> at build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:154) >>> Makefile:323: recipe for target >>> '/wrkdirs/usr/ports/java/openjdk6/work/build/bsd-amd64/lib/currency.data' >>> failed >>> >>> Full logs available at: >>> http://package20.nyi.freebsd.org/data/91amd64-default-baseline/375810/logs/errors/openjdk6-b33,1.log >>> http://package20.nyi.freebsd.org/data/91amd64-default-baseline/375810/logs/errors/openjdk-7.71.14_1,1.log >> >> >> It may come from this line in CurrencyData.properties: >> >> # TURKEY >> TR=TRL;2004-12-31-22-00-00;TRY >> >> 31 december 2004 was 10 years ago > > With attached patch, which backports the file from the openjdk8 > version, I am able to build openjdk7. > I'd like to have something committed before 1AM UTC as weekly package > builds will start then. I committed a simpler patch since the first one didn't work for openjdk6. In June 2015 the problem will probably occur again. Cheers, Antoine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8mMhXC-j_1aM2__x7TewFT_BA6scxBzE8Pv4YcNbSmPkA>