GNU bug report logs -
#68333
Time bomb in icedtea/openjdk
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#68333: Time bomb in icedtea/openjdk
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 68333 <at> debbugs.gnu.org.
--
68333: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68333
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Ludovic Courtès <ludo <at> gnu.org> skribis:
>>From 92561a776ad88eb73034948beedbe9e6be4077b4 Mon Sep 17 00:00:00 2001
> Message-ID: <92561a776ad88eb73034948beedbe9e6be4077b4.1704897216.git.ludo <at> gnu.org>
> From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo <at> gnu.org>
> Date: Wed, 10 Jan 2024 15:27:47 +0100
> Subject: [PATCH] =?UTF-8?q?gnu:=20icedtea:=20Fix=20time=20bomb=20in=20?=
> =?UTF-8?q?=E2=80=98GenerateCurrencyData.java=E2=80=99.?=
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Fixes <https://issues.guix.gnu.org/68333>.
>
> * gnu/packages/java.scm (icedtea-7)[drop]: Add optional ‘patches’
> parameter and honor it.
> [native-inputs]: Add patch for “jdk-drop”.
> (icedtea-8): Likewise.
> * gnu/packages/patches/jdk-currency-time-bomb.patch,
> gnu/packages/patches/jdk-currency-time-bomb2.patch: New files.
> * gnu/local.mk (dist_patch_DATA): Add them.
>
> Change-Id: I3b4cf562ce4bedb87ce0e7c289e431fbb0dbb6f8
Pushed as 5c0f77f4241c9beac0c82deae946bfdc70b49ff0.
Let’s hope there’s no similar time bomb elsewhere in the Java stack.
Thanks again,
Ludo’.
[Message part 3 (message/rfc822, inline)]
Hi Guix!
There seems to be a time bomb in icedtea <at> 2 and openjdk <at> 9. while
building it:
Error: time is more than 10 years from present: 1388527200000
java.lang.RuntimeException: time is more than 10 years from present:
1388527200000 at
build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:288)
at
build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:227)
at
build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:158)
I managed to work around that by setting the date back, but we should
investigate and fix it. icedtea <at> 3 doesn't seem to be affected.
This bug report was last modified 1 year and 186 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.