From owner-freebsd-java@FreeBSD.ORG Wed May 20 18:07:18 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31D28106566B for ; Wed, 20 May 2009 18:07:18 +0000 (UTC) (envelope-from krinklyfig@gmail.com) Received: from rio.newmex.com (rio.newmex.com [209.188.112.37]) by mx1.freebsd.org (Postfix) with ESMTP id 14E4D8FC15 for ; Wed, 20 May 2009 18:07:17 +0000 (UTC) (envelope-from krinklyfig@gmail.com) Received: from smogmonster.local (209-188-117-232.taosnet.com [209.188.117.232]) by rio.newmex.com (Postfix) with ESMTP id 0E107B403FD for ; Wed, 20 May 2009 11:51:00 -0600 (MDT) Date: Wed, 20 May 2009 11:51:03 -0600 From: Joshua Tinnin To: freebsd-java@freebsd.org Message-ID: <20090520175103.GA2129@smogmonster.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Bad checksum problem building jdk17 on 7.2-R X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: krinklyfig@gmail.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 18:07:18 -0000 Trying to build jdk16 on 7.2-R, and am getting this error: gamera:/usr/ports/java/jdk16:# make install clean ===> Vulnerability check disabled, database not found ===> Found saved configuration for jdk-1.6.0.3p4_2 IMPORTANT: To build the JDK 1.6.0 port, you should have at least 2.5Gb of free disk space in the build area! ===> Extracting for jdk-1.6.0.3p4_10 => MD5 Checksum mismatch for jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar. => SHA256 Checksum mismatch for jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar. => MD5 Checksum OK for jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar. => SHA256 Checksum OK for jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar. => MD5 Checksum OK for jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar. => SHA256 Checksum OK for jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar. => MD5 Checksum OK for bsd-jdk16-patches-4.tar.bz2. => SHA256 Checksum OK for bsd-jdk16-patches-4.tar.bz2. => MD5 Checksum OK for tzupdater-1_3_12-2009a.zip. => SHA256 Checksum OK for tzupdater-1_3_12-2009a.zip. ===> Refetch for 1 more times files: jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar ===> Vulnerability check disabled, database not found ===> Found saved configuration for jdk-1.6.0.3p4_2 IMPORTANT: To build the JDK 1.6.0 port, you should have at least 2.5Gb of free disk space in the build area! => jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/java/jdk16. *** Error code 1 As you can see, I do have jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar, but the checksum doesn't match. I downloaded it through the link: http://download.java.net/jdk6/6u3/promoted/b05/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar In fact, I downloaded it three times now, and it still fails the checksum. If I clear distinfo, this is the error I get: [/usr/ports/distfiles/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of /usr/ports/distfiles/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar or /usr/ports/distfiles/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar.zip, and cannot find /usr/ports/distfiles/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar.ZIP, period. *** Error code 1 Stop in /usr/ports/java/jdk16. Where can I find a valid source file? I've been trying to build this for days and am about ready to call it quits. Am spending far too much time trying to chase down issues and my work is suffering. And it's impossible to find the version of the tzupdater required by the port on Sun's site, so it has to be retrieved elsewhere. Luckily, the checksum is OK, but the distribution of that file is hardly reliable. - jt