Java7 Package Rebuild Status

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Packages that need an update for BuildRequires/Requires)
(Packages that need an update for BuildRequires/Requires)
Line 160: Line 160:
 
| nyquist || [[User:ptisnovs|ptisnovs]] || style="color:orange;" | Looks good after update to OpenJDK7 [https://bugzilla.redhat.com/show_bug.cgi?id=796226 Bug with patch]
 
| nyquist || [[User:ptisnovs|ptisnovs]] || style="color:orange;" | Looks good after update to OpenJDK7 [https://bugzilla.redhat.com/show_bug.cgi?id=796226 Bug with patch]
 
|-
 
|-
| openvrml || [[User:ptisnovs|ptisnovs]] || style="color:orange;" | [[OpenvrmlXulrunnerPatch|Patch to work with new Firefox/XULRunner API]]: ok<br>[[OpenvrmlLibpngPatch|Patch for libPNG 1.5]]: ok<br>JavaScript patch: in progress
+
| openvrml || [[User:ptisnovs|ptisnovs]] || style="color:orange;" | Changes in Mozilla plugin API, JSAPI and libpng15 API [https://bugzilla.redhat.com/show_bug.cgi?id=796311 Bug with patches]
 
|-
 
|-
 
| opticalraytracer || [[User:ptisnovs|ptisnovs]] || style="color:orange;" | Looks good after update to OpenJDK7 [https://bugzilla.redhat.com/show_bug.cgi?id=796279 Bug with patch]
 
| opticalraytracer || [[User:ptisnovs|ptisnovs]] || style="color:orange;" | Looks good after update to OpenJDK7 [https://bugzilla.redhat.com/show_bug.cgi?id=796279 Bug with patch]

Revision as of 16:55, 22 February 2012

Contents

This page lists packages that need to be fixed and rebuilt with java-1.7.0-openjdk for F17


There are 2 types of fixes that need to be made in F17. Firstly, packages that fail to build need to be fixed. Secondly, packages that specifically requires java = 1.6 need to be fixed to require java >= 1.6. Affected packages are listed in separate tables below. When you pick a package to work on, please check to see if it exists in the other table too. If it does, both matters can be fixed at once.

List of provenpackagers who can help get your fixes committed and built:

  • Deepak Bhole (dbhole at redhat dot com/IRC: dbhole)


How to edit the tables

  1. When you are ready to taken on a package, edit the table below to add your name in the "Taken by" column
  2. If you want, you can update the status and the color, but please don't set it to green until it is all done and built in Koji. That way a cursory glance would catch anything that needs work.
  3. Once the new package is built in koji, update the status accordingly and change the color to green.


Packages that need to be fixed (see below for issue description)

Package Owner Issue Taken by Status
apache-commons-validator-1.3.1-5.fc16 spike Invalid ASCII chars scop Fixed in 1.3.1-7.fc17
bcel-5.2-9.fc15 arg Invalid ASCII chars scop Fixed in 5.2-10.fc17
cortado-0.6.0-3.fc15 jwrdegoede Invalid ASCII chars jwrdegoede Fixed in 0.6.0-5.fc17
hibernate-jpa-2.0-api-1.0.1-2.fc17 goldmann Invalid ASCII chars goldmann Fixed in hibernate-jpa-2.0-api-1.0.1-4.fc17
jBCrypt-0.3-4.fc15 sdz Invalid ASCII chars omajid Fixed in 0.3-6.fc17
maven-changelog-plugin-2.2-7.fc16 huwang Invalid ASCII chars jvanek fixed pom to allwo build without removed cvsjava pom.patch, fixed invalid ASCI char (really just one :)) ChangeLog.java.patch and subsequentially changed specfile maven-changelog-plugin.spec.patch
maven-jflex-plugin-1.4.3-5.fc16 akurtakov Invalid ASCII chars scop Fixed in 1.4.3-7.fc17
metadata-extractor-2.3.1-6.fc15 musuruan Invalid ASCII chars musuruan Fixed in 2.3.1-8.fc17
MiniCopier-0.5-2.fc15 hicham Invalid ASCII chars omajid Fixed in 0.5-4.fc17 Bug with patch
slf4j-1.6.1-3.fc16 akurtakov Invalid ASCII chars scop Fixed in 1.6.1-4.fc17
xjavadoc-1.1-10.fc15 akurtakov Invalid ASCII chars Deprecated packaga/blocked from rawhide
args4j-2.0.16-4.fc16 jcapik Invalid ASCII chars scop Fixed in 2.0.16-7.fc17
cal10n-0.7.4-6.fc16 akurtakov Invalid ASCII chars Fixed in 0.7.4-8.fc17.
jakarta-commons-httpclient arg Invalid ASCII chars Fixed in 3.1-7.fc17
maven-scm-1.5-3.fc17 guidograzioli Invalid ASCII chars sochotni Fixed in 1.5-5.f17
objenesis-1.2-7.fc16 guidograzioli Invalid ASCII chars jvanek fix to invalid chars and fix to BuildRequires
saxon-9.3.0.4-1.fc16 arg Invalid ASCII chars omajid Fixed in 9.3.0.4-3.fc17 Bug
avalon-logkit-2.1-6.fc17 orphan Incompatible with new JDBC sochotni Fixed in 2.1-6.fc17
btm-2.1.1-3.fc16 arg Incompatible with new JDBC arg btm-2.1.2-1.fc17
c3p0-0.9.2-0.5.pre1.fc15 mbooth Incompatible with new JDBC dbhole Fixed in c3p0-0.9.2-0.7.pre1.fc17
h2-1.2.147-3.fc16 akurtakov Incompatible with new JDBC dbhole Fixed in h2-1.2.147-5.fc17
hsqldb-1.8.1.3-3.fc15 akurtakov Incompatible with new JDBC dbhole Fixed in hsqldb-1.8.1.3-5.fc17
jakarta-taglibs-standard-1.1.2-1.fc16 fnasser Incompatible with new JDBC dbhole Fixed in jakarta-taglibs-standard-1.1.2-3.fc17
javasqlite-20110827-1.fc17 scop Incompatible with new JDBC dbhole Fixed in javasqlite-20110827-3.fc17
mchange-commons-0.2-0.3.20110130hg.fc15 mbooth Incompatible with new JDBC dbhole Fixed in mchange-commons-0.2-0.5.20110130hg.fc17
mysql-connector-java-5.1.17-1.fc17 mjakubicek Incompatible with new JDBC dbhole Fixed in mysql-connector-java-5.1.17-4.fc17
tomcat-7.0.23-1.fc17 van Incompatible with new JDBC van Fixed in 7.0.25-2.fc17
velocity-1.7-1.fc16 sochotni Incompatible with new JDBC omajid Fixed in 1.7-3.fc17 Bug with patch
libreoffice-3.4.99.1-1.fc17 caolanm Incompatible with new JDBC ptisnovs New package not built
apache-commons-dbcp-1.4-7.fc16 spike Incompatible with new JDBC ptisnovs Needs quite big patch, not available in upstream (they have 6.0 compatibility only)
batik-1.7-12.fc16 akurtakov Uses com.sun.image.codec jvanek fixed in batik-1.8-0.1.svn1230816.fc17
jcharts-0.7.5-5.fc15 lotharlutz Uses com.sun.image.codec jvanek fixed in jcharts-0.7.5-7.fc17
jrefactory-2.9.19-3.fc15 jcapik Uses com.sun.image.codec Deprecated packaga/blocked from rawhide
xmlgraphics-commons-1.4-3 rlandmann Uses com.sun.image.codec jvanek Maybe better choice is to move to newer upstream version, but they do not provide nightly svn src tarballs. Fixed chars and codec api (inspired by upstram trunk) chars and codec patch and subsequently chnaged spec xmlgraphics-commons.spec.patch
bouncycastle-1.46-1.fc16 oget -source/-target mismatch oget Fixed in 1.46-3.fc17
bouncycastle-mail-1.46-1.fc16 oget -source/-target mismatch oget Fixed in 1.46-3.fc17
bouncycastle-tsp-1.46-1.fc16 oget -source/-target mismatch oget Fixed in 1.46-3.fc17
easymock2-2.5.2-4.fc15 akurtakov Same type erasure New package not built
jide-oss-2.7.6-4.1340svn.fc15 hicham Same type erasure jvanek name clash solved in jide-oss-nameClash.patch and specfile update accordingly jide-oss.spec.patch
gstreamer-java lfarkas Same type erasure jvanek one patch already upstreamed and name clash easily resolved, Spec file update accordingly
plexus-containers-1.5.5-3.fc16 fnasser Needs tools.jar in build/runtime classpath. Bug with patch omajid Fixed in 1.5.5-5.fc17
scala-2.9.1-2.fc17 geoff Needs tools.jar in build/runtime classpath New package not built
libgda-4.2.11-1.fc17 hguemar Needs update to config file to detect Java 1.7. Needs path to link against jvm omajid New package not built
apache-commons-lang-2.6-4.fc16 sochotni Other (test failure) Fixed in apache-commons-lang-2.6-6.fc17
junit4-4.8.2-2.fc15 fnasser Other (test failure) Obsolete by junit package and pending removal

Packages that need an update for BuildRequires/Requires

Package Taken by Status
bolzplatz2006 omajid Fixed in 1.0.3-17.fc17 Bug with patch
db4 omajid Fixed in 4.8.30-9.fc17 Bug with patch
dbus-java omajid Fixed in 2.7-8.fc17
eclipse-slide Deprecated/Removed package. Dead in rawhide.
electric omajid Fixed in 8.09-4.fc17 Bug with patch
freecol omajid Fixed in 0.10.3-3.fc17 Bug with patch
ice omajid Fixed in 3.4.2-9.fc17 Bug with patch
intellij-idea sochotni Package obsoleted
java-1.5.0-gcj* New package not built
jboss-marshalling ddadacha New package not built
jing-trang scop Fixed in 20091111-10.fc17
junit4 Obsoleted by junit package
libbluray xavierb Fixed in 0.2.1-2.fc17
libdb omajid Fixed in 5.2.36-5.fc17 Bug with patch
libgda New package not built
mapserver jvanek After updated to jdk7 build failed because of broken php subpackage dependences log, after disabliing of php package works fine with jdk7 patch
munin jvanek After update to jdk7 builds fine, patch
mysql-connector-java dbhole Fixed in 5.1.17-4.fc17
netbeans-platform omajid Fixed in 7.0.1-5.fc17
nyquist ptisnovs Looks good after update to OpenJDK7 Bug with patch
openvrml ptisnovs Changes in Mozilla plugin API, JSAPI and libpng15 API Bug with patches
opticalraytracer ptisnovs Looks good after update to OpenJDK7 Bug with patch
OSGi-bundle-ant-task ddadacha New package not built
postgresql-jdbc New package not built
scala ptisnovs New package not built
tetex-tex4ht omajid New package not built Bug with patch
tomcat van Fixed in 7.0.25-2.fc17
tomcat5 sochotni Package obsoleted
x11vnc omajid Fixed in 0.9.13-3.fc17 Bug with patch
* For java-1.5.0-gcj, change to Req. java-openjdk and update %build as needed

Issues descriptions and how to fix them

I have tried my best to categorize packages by issue. If there are any mistakes, feel free to update accordingly.

Issue Explanation How to fix
Invalid ASCII chars Prior to Java 7, unmappable characters in the source were treated as warnings. Java treats them as errors. To fix it, simply build, look at the error locations and patch to replace the unmappable characters with appropriate characters.
Incompatible with new JDBC Java 7 contains a newer version of JDBC. Some of the abstract classes/interfaces in the new version specify new methods. Because the newer API needs additional methods, fixing just involves patching to add those methods (either as stubs, or proper implementations) to the classes. Most (if not all) new methods look like they would just be one-liners.
com.sun.image.codec Java 7 has completely removed support for com.sun.image.codec.* classes (deprecated since Java 1.4). These are probably the most complex of all issues to fix. The first thing is to check if upstream has fixed it and then just backport that fix. If not fixed upstream, patch to use ImageIO instead, as specified here.
-source/-target mismatch The -source argument to javac specifies a newer version than the -target argument. Patch to use the same -source and -target. Only bouncycastle seems to be affected, and for it, -source 1.5 -target 1.5 would be best.
Same type erasure This is a bug in the original code itself. The Java 6 compiler incorrectly accepted bad input. Java 7 does not. The issue is that the code is specifying multiple methods with the same name and one takes an argument type that is the parent type of what the other takes. See this for more explanation. The code needs to be matched to change method names for methods that have the same type erasure. If the method is part of a public api, we need to contact upstream to get it fixed correctly.
Needs tools.jar in build/runtime classpath Java 6 and lower used to provide tools.jar on the classpath by default. Java 7 no longer does it, and as a result, error related to missing classes (that exist in tools.jar) are seen. The package should be patched to supply tools.jar when building, and to ensure that tools.jar is on run-time classpath if it is needed during runtime as well.