ports/51092: unbreak: java/linux-sun-jdk1[34]
Oliver Lehmann
lehmann at ans-netz.de
Thu Apr 17 12:20:08 UTC 2003
>Number: 51092
>Category: ports
>Synopsis: unbreak: java/linux-sun-jdk1[34]
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 17 05:20:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Oliver Lehmann
>Release: FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD nudel.salatschuessel.net 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #0: Mon Apr 7 19:25:10 CEST 2003 olivleh1 at nudel.salatschuessel.net:/usr/obj/usr/src/sys/NUDEL i386
>Description:
The archives provided from sun are Linux binarys. So Linux binary compatibility
has to be installed _before_ the extract starts e.g.:
root at kartoffel linux-sun-jdk14> make
Warning: This JDK is currently unstable, especially if not run as root.
You are advised to use either of the following JDK ports instead:
o Sun JDK 1.3 for Linux (java/linux-sun-jdk13)
o FreeBSD JDK 1.3 (java/jdk13)
===> Extracting for linux-sun-jdk-1.4.1_2
>How-To-Repeat:
w/o having a linux_base installed:
cd /usr/ports/java/linux-sun-jdk13
make
>Fix:
--- java.patch begins here ---
diff -ruN java.old/linux-sun-jdk13/Makefile java/linux-sun-jdk13/Makefile
--- java.old/linux-sun-jdk13/Makefile Thu Apr 17 13:58:00 2003
+++ java/linux-sun-jdk13/Makefile Thu Apr 17 14:09:59 2003
@@ -17,7 +17,7 @@
MAINTAINER= znerd at FreeBSD.org
COMMENT= Sun Java Development Kit 1.3 for Linux
-BUILD_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
+EXTRACT_DEPENDS=${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
NO_CDROM= "License does not allow distribution with fee"
diff -ruN java.old/linux-sun-jdk14/Makefile java/linux-sun-jdk14/Makefile
--- java.old/linux-sun-jdk14/Makefile Thu Apr 17 13:58:00 2003
+++ java/linux-sun-jdk14/Makefile Thu Apr 17 14:10:21 2003
@@ -17,7 +17,7 @@
MAINTAINER= znerd at FreeBSD.org
COMMENT= Sun Java Development Kit 1.4 for Linux
-BUILD_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
+EXTRACT_DEPENDS=${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
NO_CDROM= "License does not allow distribution with fee"
--- java.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
>> Checksum OK for j2sdk-1_4_1_02-linux-i586.bin.
ELF binary type "0" not known.
Abort trap
*** Error code 134
Stop in /usr/ports/java/linux-sun-jdk14.
root at kartoffel linux-sun-jdk14>
root at kartoffel linux-sun-jdk13> make
===> Extracting for linux-sun-jdk-1.3.1.07_1
>> Checksum OK for j2sdk-1_3_1_07-linux-i586.bin.
Linux mode is not enabled. Loading Linux kernel module...
ELF interpreter /compat/linux/lib/ld-linux.so.2 not found
Abort trap
*** Error code 134
Stop in /usr/ports/java/linux-sun-jdk13.
root at kartoffel linux-sun-jdk13>
will be changed with this patch to:
root at kartoffel linux-sun-jdk14> make
Warning: This JDK is currently unstable, especially if not run as root.
You are advised to use either of the following JDK ports instead:
o Sun JDK 1.3 for Linux (java/linux-sun-jdk13)
o FreeBSD JDK 1.3 (java/jdk13)
===> Extracting for linux-sun-jdk-1.4.1_2
>> Checksum OK for j2sdk-1_4_1_02-linux-i586.bin.
===> linux-sun-jdk-1.4.1_2 depends on file: /compat/linux/lib/libc.so.6 - not found
===> Verifying install for /compat/linux/lib/libc.so.6 in /usr/ports/emulators/linux_base
[.....]
More information about the freebsd-ports-bugs
mailing list