From Fedora Project Wiki

(Updated info for apache-commons-dbcp, xmlgraphics-commons and jide-oss)
(→‎Issues descriptions and how to fix them: Add an alternative suggestion to fix "Invalid ASCII chars" by passing the correct encoding.)
 
(2 intermediate revisions by one other user not shown)
Line 136: Line 136:
| intellij-idea || [[User:sochotni|sochotni]] || style="color:green;" | Package obsoleted
| intellij-idea || [[User:sochotni|sochotni]] || style="color:green;" | Package obsoleted
|-
|-
| java-1.5.0-gcj* || || style="color:red;" | New package not built
| java-1.5.0-gcj || [[User:dbhole|dbhole]] || style="color:green;" | Fixed in 1.5.0.0-39.fc17
|-
|-
| jboss-marshalling || [[User:ddadacha|ddadacha]] || style="color:green;" | Fixed in 1.3.9-1.fc17 - [https://bugzilla.redhat.com/show_bug.cgi?id=796464 Bug with patch]
| jboss-marshalling || [[User:ddadacha|ddadacha]] || style="color:green;" | Fixed in 1.3.9-1.fc17 - [https://bugzilla.redhat.com/show_bug.cgi?id=796464 Bug with patch]
Line 147: Line 147:
|-
|-
| libdb || [[User:omajid|omajid]] || style="color:green;" | Fixed in 5.2.36-5.fc17 [https://bugzilla.redhat.com/show_bug.cgi?id=794472 Bug with patch]
| libdb || [[User:omajid|omajid]] || style="color:green;" | Fixed in 5.2.36-5.fc17 [https://bugzilla.redhat.com/show_bug.cgi?id=794472 Bug with patch]
|-
| libgda || || style="color:red;" | New package not built
|-
|-
| mapserver || [[User:jvanek|jvanek]] || style="color:orange;" | open [https://bugzilla.redhat.com/show_bug.cgi?id=796344 bug with patch]
| mapserver || [[User:jvanek|jvanek]] || style="color:orange;" | open [https://bugzilla.redhat.com/show_bug.cgi?id=796344 bug with patch]
Line 158: Line 156:
| netbeans-platform || [[User:omajid|omajid]] || style="color:green;" | Fixed in 7.0.1-5.fc17
| netbeans-platform || [[User:omajid|omajid]] || style="color:green;" | Fixed in 7.0.1-5.fc17
|-
|-
| 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:green;" | Fixed in 3.04-4b.fc17.1 [https://bugzilla.redhat.com/show_bug.cgi?id=796226 Bug with patch]
|-
|-
| 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]
| 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:green;" | Fixed in 2.7-4.fc17 [https://bugzilla.redhat.com/show_bug.cgi?id=796279 Bug with patch]
|-
|-
| OSGi-bundle-ant-task || [[User:ddadacha|ddadacha]] || style="color:green;" | Fixed in 0.2.0-0.7.svn1242.fc17 - [https://bugzilla.redhat.com/show_bug.cgi?id=796460 Bug with patch]
| OSGi-bundle-ant-task || [[User:ddadacha|ddadacha]] || style="color:green;" | Fixed in 0.2.0-0.7.svn1242.fc17 - [https://bugzilla.redhat.com/show_bug.cgi?id=796460 Bug with patch]
|-
|-
| postgresql-jdbc || [[User:jvanek|jvanek]] || style="color:green;" | fixed in [http://koji.fedoraproject.org/koji/buildinfo?buildID=301211 postgresql-jdbc-9.1.901-3.fc17] [https://bugzilla.redhat.com/show_bug.cgi?id=796580 bug with patch]
| postgresql-jdbc || [[User:jvanek|jvanek]] || style="color:green;" | fixed in [http://koji.fedoraproject.org/koji/buildinfo?buildID=301211 postgresql-jdbc-9.1.901-3.fc17] [https://bugzilla.redhat.com/show_bug.cgi?id=796580 bug with patch]
|-
| scala || ptisnovs || style="color:red;" | New package not built
|-
|-
| tetex-tex4ht || [[User:omajid|omajid]] || style="color:green;" | Fixed in 1.0.2008_09_16_1413-6.fc18
| tetex-tex4ht || [[User:omajid|omajid]] || style="color:green;" | Fixed in 1.0.2008_09_16_1413-6.fc18
Line 193: Line 189:
| Invalid ASCII chars  
| Invalid ASCII chars  
| Prior to Java 7, unmappable characters in the source were treated as warnings. Java treats them as errors.
| 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.
| To fix it, simply build, look at the error locations and patch to replace the unmappable characters with appropriate characters. An alternative is to find out what encoding is used in the source file and pass the <code>-encoding</code> argument to javac with the right encoding.
|-
|-
| Incompatible with new JDBC  
| Incompatible with new JDBC  

Latest revision as of 19:25, 25 March 2013

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 in maven-changelog-plugin-2.2-9.fc17 bug with 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 Fixed in objenesis-1.2-9.fc17 bug with patch
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 Fixed in 3.5.1.1-2.fc17
apache-commons-dbcp-1.4-7.fc16 spike Incompatible with new JDBC ptisnovs Fixed in 1.4-9.fc17 Bug with patch
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 Fixed in 1.4-5.fc17 bug with 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 jvanek Fixed in easymock2-2.5.2-6.fc17 bug with patch
jide-oss-2.7.6-4.1340svn.fc15 hicham Same type erasure jvanek Fixed in 2.7.6-6.1340svn.fc17 bug with patch
gstreamer-java lfarkas Same type erasure jvanek fixed in gstreamer-java-1.5-4.fc17 bug with patch
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 dbhole Fixed in 1.5.0.0-39.fc17
jboss-marshalling ddadacha Fixed in 1.3.9-1.fc17 - Bug with patch
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
mapserver jvanek open bug with patch
munin kevin fixed in [1] bug with patch
mysql-connector-java dbhole Fixed in 5.1.17-4.fc17
netbeans-platform omajid Fixed in 7.0.1-5.fc17
nyquist ptisnovs Fixed in 3.04-4b.fc17.1 Bug with patch
openvrml ptisnovs Changes in Mozilla plugin API, JSAPI and libpng15 API Bug with patches
opticalraytracer ptisnovs Fixed in 2.7-4.fc17 Bug with patch
OSGi-bundle-ant-task ddadacha Fixed in 0.2.0-0.7.svn1242.fc17 - Bug with patch
postgresql-jdbc jvanek fixed in postgresql-jdbc-9.1.901-3.fc17 bug with patch
tetex-tex4ht omajid Fixed in 1.0.2008_09_16_1413-6.fc18
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. An alternative is to find out what encoding is used in the source file and pass the -encoding argument to javac with the right encoding.
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.