From owner-freebsd-java@FreeBSD.ORG Tue Dec 30 23:13:01 2014 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB9D8167 for ; Tue, 30 Dec 2014 23:13:01 +0000 (UTC) Received: from mail-yh0-x233.google.com (mail-yh0-x233.google.com [IPv6:2607:f8b0:4002:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8611D38CA for ; Tue, 30 Dec 2014 23:13:01 +0000 (UTC) Received: by mail-yh0-f51.google.com with SMTP id a41so7570463yho.24 for ; Tue, 30 Dec 2014 15:13:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=APgamHX2XkH57fsSjFnmxF+WZCb2dIjOVeBTpjbkYvM=; b=Jif7YTotgckWgMMOqF5ZgTjGFtSPXswL8idxALdpcpAmm9CrlRy9Lul7CTww14b+SU /gDPxC14bYeVXiCwWaaItyhLAR/bSO8a5xq9n9yDCBQLPFrkioDlQCFUu6vFiqv4lPa/ xpOwCc6JT6WN9G0GyXP5IXEbnRfvSM4Bh3PB4kiB05Yq3Q+zpOJNwWYwsH/A2y5lfYyT P0cb9K1GJz1/lho/Nrqf7zXuP8hqD/nLgJdHaDwVrx3eH5G7SbU1UtCYY4VO4vqhIowD c9KMVlK8rYImq7+0BpP9kBXG5QkqCxSnYBN4vceTTkDcjLqGqHimzMOiK5Cs2wuLZj78 4Yew== MIME-Version: 1.0 X-Received: by 10.236.105.210 with SMTP id k58mr41846375yhg.52.1419981180703; Tue, 30 Dec 2014 15:13:00 -0800 (PST) Sender: antoine.brodin.freebsd@gmail.com Received: by 10.170.142.198 with HTTP; Tue, 30 Dec 2014 15:13:00 -0800 (PST) In-Reply-To: References: Date: Wed, 31 Dec 2014 00:13:00 +0100 X-Google-Sender-Auth: mAK2ESb9Hp7E8b7M2W0qNJOBrlg Message-ID: Subject: Re: Error: time is more than 10 years from present: 1104530400000 when building java/openjdk* From: Antoine Brodin To: java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2014 23:13:02 -0000 On Tue, Dec 30, 2014 at 1:21 PM, Antoine Brodin wrote: > On Tue, Dec 30, 2014 at 9:20 AM, Antoine Brodin wrote: >> On Tue, Dec 30, 2014 at 8:02 AM, Antoine Brodin 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