Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 11:56:26 -0600
From:      Joshua Tinnin <krinklyfig@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   Re: Bad checksum problem building jdk17 on 7.2-R
Message-ID:  <20090520175626.GB2129@smogmonster.local>
In-Reply-To: <20090520175103.GA2129@smogmonster.local>
References:  <20090520175103.GA2129@smogmonster.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Obviously, there was a typo in the subject. The port is jdk16.

- jt

On Wed, May 20, 2009 at 11:51:03AM -0600, Joshua Tinnin wrote:
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090520175626.GB2129>