[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#645682: tzdata: problem when building java data



reassign 645682 openjdk-6-jre-headless
retitle 645682 openjdk-6-jre-headless: javazic.jar can't handle quoted string
thanks

On Mon, Oct 17, 2011 at 05:22:55PM -0200, Antonio Terceiro wrote:
> Source: tzdata
> Version: 2011l-1
> Severity: normal
> 
> Hi,
> 
> During the package build, there is an weird error when building the java
> versions of the timezone files:
> 
> # Generate a java version
> /usr/lib/jvm/java-6-openjdk-amd64//bin/java -jar /usr/lib/jvm/java-6-openjdk-amd64//jre/lib/javazic.jar -V 2011l -d /tmp/tzdata-2011l/tzgen-java africa antarctica asia australasia europe northamerica southamerica etcetera factory backward systemv pacificnew solar87 solar88 solar89 gmt jdk11_backward
> java.lang.NumberFormatException: For input string: "time"
>   at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>   at java.lang.Integer.parseInt(Integer.java:481)
>   at java.lang.Integer.parseInt(Integer.java:514)
>   at build.tools.javazic.ZoneRec.parse(ZoneRec.java:224)
>   at build.tools.javazic.Zoneinfo.parse(Zoneinfo.java:266)
>   at build.tools.javazic.Main.compile(Main.java:114)
>   at build.tools.javazic.Main.main(Main.java:151)
> 

javazic.jar is provided by openjdk-6-jre-headless and is choked by
quoted string in the factory file:

| # Zone  NAME    GMTOFF  RULES   FORMAT
| Zone    Factory 0       - "Local time zone must be set--see zic manual page"

Reassigning the bug.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: