Subject: pkg/14347: sun-jdk, sun-jre packages broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Benjamin.Wong@cc.gatech.edu>
List: netbsd-bugs
Date: 10/24/2001 23:20:57
>Number:         14347
>Category:       pkg
>Synopsis:       The Sun Java packages do not fetch correctly
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 24 20:22:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ben Wong
>Release:        NetBSD-1.5.1
>Organization:
Georgia Institute of Technology
>Environment:
	
System: NetBSD hrududu.wongs.net 1.5 NetBSD 1.5 (HRUDUDU) #8: Tue May 15 04:47:24 EDT 2001 hackerb9@hrududu.wongs.net:/usr/src/sys/arch/i386/compile/HRUDUDU i386


>Description:

The packages lang/sun-jdk13 and sun-jre13 fail to build because they
do not ftp the correct distfiles from sun.com. Instead, they download
the HTML for a web-page from which a distfile could be downloaded. 

>How-To-Repeat:
    cd /usr/pkgsrc/lang/sun-jdk13
    make fetch

In case it is useful to you, here is the output from 'make fetch-list'
in the sun-jdk13 directory:

    /bin/mkdir -p /usr/pkgsrc/distfiles/
    /bin/mkdir -p /usr/pkgsrc/distfiles/suse64
    cd /usr/pkgsrc/distfiles/ && [ -f j2re-1_3_1_01-linux-i386.bin -o -f j2re-1_3_1_01-linux-i386.bin ] || /usr/bin/ftp -o j2re-1_3_1_01-linux-i386.bin http://java.sun.com/Download4?config-file=j2re-1_3_1_01.config&platform=linux-i386&protocol=HTTP+download&download-name=j2re-1_3_1_01-linux-i386.bin  || /usr/bin/ftp -o j2re-1_3_1_01-linux-i386.bin ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/j2re-1_3_1_01-linux-i386.bin  || /usr/bin/ftp -o j2re-1_3_1_01-linux-i386.bin ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/j2re-1_3_1_01-linux-i386.bin  || echo j2re-1_3_1_01-linux-i386.bin not fetched
    cd /usr/pkgsrc/distfiles/ && [ -f j2sdk-1_3_1_01-linux-i386.bin -o -f j2sdk-1_3_1_01-linux-i386.bin ] || /usr/bin/ftp -o j2sdk-1_3_1_01-linux-i386.bin http://java.sun.com/Download4?config-file=j2sdk-1_3_1_01.config&platform=linux-i386&protocol=HTTP+download&download-name=j2sdk-1_3_1_01-linux-i386.bin  || /usr/bin/ftp -o j2sdk-1_3_1_01-linux-i386.bin ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/j2sdk-1_3_1_01-linux-i386.bin  || /usr/bin/ftp -o j2sdk-1_3_1_01-linux-i386.bin ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/j2sdk-1_3_1_01-linux-i386.bin  || echo j2sdk-1_3_1_01-linux-i386.bin not fetched


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: