Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431492 - dev-java/sun-jdk 1.6.0.34 version bump
Summary: dev-java/sun-jdk 1.6.0.34 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal with 6 votes (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: STABLEREQ
: 426940 431502 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-15 09:19 UTC by Johannes Willem (Hans) Fernhout
Modified: 2012-10-15 16:00 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Willem (Hans) Fernhout 2012-08-15 09:19:12 UTC
Portage only contains ebuilds for sun-jdk-1.6.0.33, requiring to download  jdk-6u33 from the Oracle website. However this version jdk-6u33 is no longer available on the Oracle website.

Solution would be a new ebuild based on sun-jdk-6u34.

Please note that many users will need to update their java because of a reported security vulnerability in java plugins for firefox and thunderbird. See also http://blog.mozilla.org/addons/2012/08/14/new-java-blocklist/
Comment 1 Johannes Willem (Hans) Fernhout 2012-08-15 09:30:59 UTC
Reproducable: Always

Steps to reproduce:
1. emerge emerge sun-jdk -v
2. follow the given link to  http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html to download  jdk-6u33-linux-x64.bin
3. find only  jdk-6u34-linux-x64.bin there.

Expected results: find  jdk-6u33-linux-x64.bin at the designated site
Comment 2 Michael Yagliyan 2012-08-16 03:11:29 UTC
FWIW, I've also checked Oracle's Java Archive page http://www.oracle.com/technetwork/java/archive-139210.html but it only goes up to 6u32.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-08-21 17:43:23 UTC
jdk-6u34-linux-x64-demos.tar.gz is 0 bytes upstream still. Also the ia64 stuff has been entirely dropped by upstream, it should be dropped from SRC_URI.
Comment 4 corto 2012-08-22 16:34:24 UTC
Could it be possible to avoid removing older ebuilds for this very unfriendly package?

Only 6u34 and 6u32 are available among the latest versions and no ebuilds for either (or any older versions).
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-08-23 14:01:42 UTC
*** Bug 431502 has been marked as a duplicate of this bug. ***
Comment 6 MAL 2012-08-23 14:46:26 UTC
For what it's worth, the x64 version of 6u33 can be downloaded from here:

http://download.oracle.com/otn-pub/java/jdk/6u33-b04/jdk-6u33-linux-x64.bin
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-08-23 20:22:37 UTC
Bumped. Since the current stable is no longer officially available, I guess we stabilize the new one. Not so different from the more common security bumps anyway.

So please stabilize
dev-java/sun-jdk-1.6.0.34
dev-java/sun-jre-bin-1.6.0.34
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-08-23 20:23:20 UTC
*** Bug 426940 has been marked as a duplicate of this bug. ***
Comment 9 Agostino Sarubbo gentoo-dev 2012-08-31 22:01:42 UTC
amd64 stable
Comment 10 Johannes Willem (Hans) Fernhout 2012-09-14 12:29:50 UTC
I can confirme this works now on amd64 stable, using sun-jdk-6u35.


Surprisingly xemacs get pulled in. Here is the dependency tree using the default/linux/amd64/10.0/desktop profile, and the following use flags in make.conf: 

USE="-cups -ldap -ipv6 -qt -qt3 -qt4 -kde -nls -consolekit -policykit nsplugin upower libproxy truetype imlib bluetooth dbus python python3 mmx sse sse2 "



hfern-dell ~ # emerge emerge sun-jdk -vpt

These are the packages that would be merged, in reverse order:


Calculating dependencies... done!
[ebuild  N     ] app-xemacs/emerge-1.11  0 kB
[nomerge       ]  app-editors/xemacs-21.4.22-r2  USE="X berkdb gdbm gif gpm jpeg png tiff -Xaw3d -athena -canna -dnd -eolconv -freewnn -ldap -motif -mule -nas -neXt -pop -postgres -xface -xim" 
[ebuild  N     ]   app-xemacs/xemacs-base-2.27  0 kB
[ebuild  N     ]    app-editors/xemacs-21.4.22-r2  USE="X berkdb gdbm gif gpm jpeg png tiff -Xaw3d -athena -canna -dnd -eolconv -freewnn -ldap -motif -mule -nas -neXt -pop -postgres -xface -xim" 0 kB
[ebuild  N f   ] dev-java/sun-jdk-1.6.0.35  USE="X alsa nsplugin source -derby -doc -examples -jce -pax_kernel" 0 kB
[nomerge       ] app-editors/xemacs-21.4.22-r2  USE="X berkdb gdbm gif gpm jpeg png tiff -Xaw3d -athena -canna -dnd -eolconv -freewnn -ldap -motif -mule -nas -neXt -pop -postgres -xface -xim" 
[ebuild  N     ]  app-admin/eselect-emacs-1.14  0 kB

Total: 5 packages (5 new), Size of downloads: 0 kB
Fetch Restriction: 1 package

Not sure if the dependency on xemacs this is intended, but from my perspective not desirable.
Comment 11 Johannes Willem (Hans) Fernhout 2012-09-14 12:38:58 UTC
One more comment. In the sun-jdk-1.6.0.35.ebuild I see:

DEMOS_PV="6u34"
DEMOS_S_PV="1.6.0_34"

Not sure what it does, but if 6u35 is downloaded, then it is probably wrong.
Comment 12 Ralph Sennhauser (RETIRED) gentoo-dev 2012-10-15 15:58:45 UTC
ia64 is back as are the examples for amd64.

*sun-jdk-1.6.0.35-r1 (15 Oct 2012)

  15 Oct 2012; Ralph Sennhauser <sera@gentoo.org> +sun-jdk-1.6.0.35-r1.ebuild:
  Demos now available for 6u35. #431492 #434990
  Add back ia64 and examples for amd64.
  Add BSD to licenses for examples.
  Use QA_PREBUILT instead of individual variables.
  Fix desktop files for newer standard.
  Add elog about the name change to oracle-jdk-bin for JDK7.
Comment 13 Ralph Sennhauser (RETIRED) gentoo-dev 2012-10-15 16:00:08 UTC
(In reply to comment #4)
> Could it be possible to avoid removing older ebuilds for this very
> unfriendly package?

The issue is those version have security issues, though they can't be left in tree.