Bug 6107

Summary: Mageia icedtea-web 1.2 package should be compatible with java openjdk 1.7
Product: Mageia Reporter: Filipe Saraiva <mail>
Component: RPM PackagesAssignee: D Morgan <dmorganec>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, frateraec, luigiwalser
Version: 2   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: icedtea-web-1.2-4.mga2.src.rpm CVE:
Status comment:

Description Filipe Saraiva 2012-05-26 19:41:57 CEST
Hi Mages,

Mageia icedtea-web 1.2 package require java openjdk 1.6 and this package is not compatible with java openjdk 1.7.

However icedtea-web 1.2 upstream is compatible with java openjdk 1.7. See this link - http://icedtea.classpath.org/wiki/IcedTea-Web#IcedTea-Web_1.2

Please, check this package.

Thanks.
Comment 1 Manuel Hiebel 2012-05-27 17:32:26 CEST
not sure if can change that in a stable release.

Assignee: bugsquad => dmorganec

Comment 2 Filipe Saraiva 2012-05-27 18:17:50 CEST
Thanks Manuel.

No problem, but if possible change that in Cauldron.
Comment 3 Dave Hodgins 2012-05-27 21:35:56 CEST
When an update to a new version is the only possible way to fix
a bug, due to patches being either not available, or too complicated,
my understanding is that, an exception can be made, to allow a new
version to be done as an update.

It should be discussed on the developers mailing list first though,
to ensure the update won't interfere with too many other packages.

CC: (none) => davidwhodgins

Comment 4 Marja Van Waes 2012-07-06 15:03:50 CEST
Please look at the bottom of this mail to see whether you're the assignee of this  bug, if you don't already know whether you are.


If you're the assignee:

We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead.

If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard.

Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why.

Thanks :)

**************************** 

@ the reporter and persons in the cc of this bug:

If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us.

@ the reporter of this bug

If you didn't reply yet to a request for more information, please do so within two weeks from now.

Thanks all :-D
Comment 5 Anderson Carvalho 2012-08-04 13:56:59 CEST
All packages that require java use:
java-1.7.0-openjdk-1:1.7.0.3-2.2.1.0.2.mga2.x86_64

However, icedtea-web-1.2-4.mga2.x86_64.rpm require java-1.6.0-openjdk asks :-(

To have installed only java-1.7.0-openjdk I was using icedtea-web-1.2-5.mga3.x86_64

However, today update icedtea-web-1.2.1-1.mga2.x86_64.rpm back to ask for java-1.6.0-openjdk, however being icedtea-web-1.2.1 compatible with java-1.7.0-openjdk should not ask a previous version.

Needs to be fixed the dependency to be satisfied with any one of the two below:

java-1.7.0-openjdk
or
java-1.6.0-openjdk

CC: (none) => frateraec

Comment 6 Anderson Carvalho 2012-08-04 14:11:13 CEST
Fixing dependencies in the SPEC file everything would be solved:

I'll suggest it is changed to > = java-1.6.0-openjdk
Comment 7 David Walser 2012-08-04 14:59:16 CEST
It is built to work with 1.6.0 in Mageia 2.  It will be built to work with 1.7.0 in Mageia 3.  It can't do both.

Status: NEW => RESOLVED
CC: (none) => luigiwalser
Resolution: (none) => INVALID

Comment 8 Anderson Carvalho 2012-08-04 15:18:49 CEST
So the only alternative is to use the icedtea-web-1.2.1 version of cauldron if I do not want to have java-1.6.0-openjdk only for icedtea-web?!
Comment 9 David Walser 2012-08-04 16:00:09 CEST
Running packages from Cauldron is neither recommended or supported, but in this case that would probably work.  Alternatively, you could rebuild the Mageia 2 package yourself and change the 1.6.0 to 1.7.0 (line 7 in the SPEC file).
Comment 10 Anderson Carvalho 2012-08-04 16:29:02 CEST
Ok!

I noticed that some Web sites to work with icedtea-web-1.2.1 need to add a symbolic link:

For firefox:
$ ln -s /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/amd64/libnpt.so ~/.mozilla/plugins/libnpjp2.so
Comment 11 David Walser 2012-08-04 16:50:01 CEST
(In reply to comment #10)
> Ok!
> 
> I noticed that some Web sites to work with icedtea-web-1.2.1 need to add a
> symbolic link:
> 
> For firefox:
> $ ln -s /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/amd64/libnpt.so
> ~/.mozilla/plugins/libnpjp2.so

Please file a new bug for that and assign to dmorganec@gmail.com