First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 26925
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Sparc Porters <sparc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gustavo Zacarias (RETIRED) <gustavoz@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
blackdown-jdk-1.4.1-sparc.patch Patch to apply Todd's changes to current 1.4.1 ebuild. text/plain Jason Wever (RETIRED) 2003-08-19 14:22 0000 446 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 26925 depends on: Show dependency tree
Bug 26925 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-08-19 06:36 0000
Java plugin doesn't work on Mozilla on SPARC.
Fix is minor, just a symlink problem, but dunno in which ebuild this is taken
care of.

Reproducible: Always
Steps to Reproduce:
Java plugin is incorrectly symlinked in mozilla.
On i386 you get: javaplugin_oji.so ->
/opt/blackdown-jre-1.4.1/plugin/i386/mozilla/javaplugin_oji.so
On sparc you get: javaplugin_oji.so ->
/opt/blackdown-jdk-1.4.1/jre/plugin//mozilla/javaplugin_oji.so



Expected Results:  
It should be: javaplugin_oji.so ->
/opt/blackdown-jdk-1.4.1/jre/plugin/sparc/mozilla/javaplugin_oji.so            
                                                                               
                                     
It's missing the ARCH variable when getting installed it seems.

Versions: mozilla-1.4-r3, blackdown-jdk-1.4.1, java-config 0.2.8-r1.

------- Comment #1 From Todd Sunderlin (RETIRED) 2003-08-19 07:56:40 0000 -------
I gave a shot at re-working this ebuild, there was what looked like an issue
defining the PLATFORM variable.

Can someone test this out for me to see if it works properly?

http://dev.gentoo.org/~todd/blackdown-jdk-1.4.1.ebuild

Added lines to check for the platform, and define the platform variable to
install into the proper location.

Another part I noticed, was that it downloads both the i586 and sparc binaries.
 Need to look into this, and see how to fix it.  Any help would be appreciated.

------- Comment #2 From Seemant Kulleen (RETIRED) 2003-08-19 12:16:31 0000 -------
todd, that's cause you have "cvs" in FEATURES.  For a user it should download
only the appropriate tarball

------- Comment #3 From Jason Wever (RETIRED) 2003-08-19 14:01:23 0000 -------
Todd,

It appears your modifications work, however something is still not working right there at the end of the ebuild.

excelsior blackdown-jdk # ebuild blackdown-jdk-1.4.1.ebuild clean install       >>> md5 src_uri ;-) j2sdk-1.4.1-01-linux-i586-gcc3.2.bin
>>> md5 src_uri ;-) j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin
>>> Unpacking source...
>>> Unpacking j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin...
>>> Source unpacked.

>>> Install blackdown-jdk-1.4.1 into /var/tmp/portage/blackdown-jdk-1.4.1/image/ category dev-java
cp: failed to preserve ownership for /var/tmp/portage/blackdown-jdk-1.4.1/image//opt/blackdown-jdk-1.4.1/jre/lib/sparc/server/libjsig.so: No such file or directory
cp: failed to preserve ownership for /var/tmp/portage/blackdown-jdk-1.4.1/image//opt/blackdown-jdk-1.4.1/jre/lib/sparc/client/libjsig.so: No such file or directory
cp: failed to preserve ownership for /var/tmp/portage/blackdown-jdk-1.4.1/image//opt/blackdown-jdk-1.4.1/man/ja: No such file or directory
 * Not creating symlink for the plugin, because one already exists
/usr/sbin/ebuild.sh: line 67: /usr/local/portage/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.1: No such file or directory

!!! ERROR: dev-java/blackdown-jdk-1.4.1 failed.
!!! Function set_java_env, Line 73, Exitcode 1
!!! (no error message)



CC'd the java team onto this.

------- Comment #4 From Jason Wever (RETIRED) 2003-08-19 14:18:00 0000 -------
Thanks to gustavoz's suggestion of copying the files/ dir for blackdown-jdk
over into my $PORTDIR_OVERLAY this works just fine and the error messages go
away.

------- Comment #5 From Jason Wever (RETIRED) 2003-08-19 14:22:59 0000 -------
Created an attachment (id=16339) [edit]
Patch to apply Todd's changes to current 1.4.1 ebuild.

------- Comment #6 From Jason Wever (RETIRED) 2003-08-19 14:24:04 0000 -------
Hi Java Team, 
I've attached a patch to this bug to fix up blackdown-jdk-1.4.1 so it works correctly for sparc.  Please review and comment.  Thanks.

------- Comment #7 From Jason Wever (RETIRED) 2003-09-01 04:57:34 0000 -------
Fixed, thanks for the bug report.

First Last Prev Next    No search results available      Search page      Enter new bug