pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/37725 (sun6-jre does not work on amd64)
The following reply was made to PR pkg/37725; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, obache%NetBSD.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost, kivinen%iki.fi@localhost
Cc:
Subject: Re: pkg/37725 (sun6-jre does not work on amd64)
Date: Mon, 21 Jan 2008 11:42:23 -0500
On Jan 21, 2:20pm, kivinen%iki.fi@localhost (Tero Kivinen) wrote:
-- Subject: Re: pkg/37725 (sun6-jre does not work on amd64)
| The following reply was made to PR pkg/37725; it has been noted by GNATS.
|
| From: Tero Kivinen <kivinen%iki.fi@localhost>
| To: gnats-bugs%NetBSD.org@localhost
| Cc: obache%NetBSD.org@localhost, pkg-manager%NetBSD.org@localhost,
pkgsrc-bugs%NetBSD.org@localhost,
| gnats-admin%NetBSD.org@localhost
| Subject: Re: pkg/37725 (sun6-jre does not work on amd64)
| Date: Mon, 21 Jan 2008 16:14:53 +0200
|
| obache%NetBSD.org@localhost writes:
| > Synopsis: sun6-jre does not work on amd64
| >
| > Responsible-Changed-From-To: pkg-manager->obache
| > Responsible-Changed-By: obache%narn.netbsd.org@localhost
| > Responsible-Changed-When: Sun, 20 Jan 2008 12:54:00 +0000
| > Responsible-Changed-Why:
| > I've commited the fix.
| >
| >
| > State-Changed-From-To: open->feedback
| > State-Changed-By: obache%narn.netbsd.org@localhost
| > State-Changed-When: Sun, 20 Jan 2008 12:54:00 +0000
| > State-Changed-Why:
| > Fix should be commited.
| > Would you confirm the fix on your environment?
|
| Said cvs update and tried the new version. First the message telling
| what version to download says:
|
| ERROR:
======================================================================
| ERROR:
| ERROR: The file jre-6u4-linux-i586.bin containing Java Runtime Environment
(JRE) 6u1
| ERROR:
| ERROR: must be fetched into:
| ERROR: /usr/pkgsrc/distfiles/jre-6u4-linux-i586.bin
| ERROR: from:
| ERROR: http://java.sun.com/javase/downloads/index.jsp
| ERROR: or http://java.sun.com/products/archive/
| ERROR:
| ERROR: Click Download for 'Java Runtime Environment (JRE) 6u1', read and
accept the
| ERROR: license, then choose 'Linux self-extracting file'.
| ERROR:
| ERROR:
======================================================================
|
| I.e. the file name is said to be jre-6u4-linux-i586.bin, but it says I
| should select 6u1 from the list. I selected the latest 6 update 4
| version.
|
| The installation printed out following errors:
| ----------------------------------------------------------------------
| fear (16:11) /usr/pkgsrc/lang/sun-jre6#make update
| ===> Deinstalling for sun-jre6-6.0.4
| Running /usr/pkg/sbin/pkg_delete -K /var/db/pkg -r sun-jre6-6.0.4
| => Bootstrap dependency digest>=20010302: found digest-20070803
| ===> Checking for vulnerabilities in sun-jre6-6.0.4
| => Checksum SHA1 OK for jre-6u4-linux-i586.bin
| => Checksum RMD160 OK for jre-6u4-linux-i586.bin
| ===> Installing dependencies for sun-jre6-6.0.4
| ==========================================================================
| The supported build options for sun-jre6 are:
|
| sun-jre-jce
|
| You can select which build options to use by setting PKG_DEFAULT_OPTIONS
| or the following variable. Its current value is shown:
|
| PKG_OPTIONS.sun-jre6 (not defined)
|
| ==========================================================================
| => Full dependency suse32_compat>=6.4: found suse32_compat-10.0nb3
| => Full dependency suse32_locale>=6.4: found suse32_locale-10.0nb2
| => Full dependency suse32_x11>=6.4: found suse32_x11-10.0nb3
| ===> Overriding tools for sun-jre6-6.0.4
| ===> Extracting for sun-jre6-6.0.4
| jre1.6.0_04/bin/java: error while loading shared libraries: libjli.so:
cannot open shared object file: No such file or directory
| ...
| ----------------------------------------------------------------------
|
| There is still some more things printed out during the install, but I
| think the root problem can already been seen there. When I try to run
| java, I get the same error message:
| ----------------------------------------------------------------------
| fear (16:13) ~>sun6-java
| dl failure on line 685Error: failed
/usr/pkg/java/sun-6/lib/i386/client/libjvm.so, because
/usr/pkg/java/sun-6/lib/i386/client/libjvm.so: cannot make segment writable for
relocation: Permission denied
| zsh: 22627 exit 6 sun6-java
| fear (16:13) ~>fg
| [1] + continued sudo zsh
| (pwd : /usr/pkgsrc)
| fear (16:13) /usr/pkgsrc/lang/sun-jre6#sun6-java
| dl failure on line 685Error: failed
/usr/pkg/java/sun-6/lib/i386/client/libjvm.so, because
/usr/pkg/java/sun-6/lib/i386/client/libjvm.so: cannot make segment writable for
relocation: Permission denied
| zsh: 23220 exit 6 sun6-java
| fear (16:13) /usr/pkgsrc/lang/sun-jre6#
| ----------------------------------------------------------------------
|
| regardless whether I am root or not.
| --
| kivinen%safenet-inc.com@localhost
There is a bug in the Makefiles of the linux java6jrl branch, and some files
are not compiled with -fPIC. This creates text relocations which are not
handled properly on amd64. Your best bet is to download the current patch
set from: http://www.eyesbeyond.com/freebsddom/java/jdk16.html, but I am
not sure if this contains the latest fixes you need to compile on NetBSD.
christos
Home |
Main Index |
Thread Index |
Old Index