Re: Switching default-java to OpenJDK7
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Team
On 14/11/11 23:46, Damien Raude-Morvan wrote:
> Have you noticed a common FTBFS pattern for all this packages ? Or all
failure
> seems differents ?
I've spent the morning doing more analysis on the bugs detected during
this rebuild and it looks like there are some distinct patterns to the
failures.
https://bugs.launchpad.net/ubuntu/+bugs?search=Search&field.bug_reporter=james-page&field.tags_combinator=ALL&field.tag=java7-ftbfs+encoding
(40)
error: unmappable character for encoding ASCII either during javac
or javadoc.
This issue constitutes that largest number of build failures;
something has changed with respect to what OpenJDK 7 considers to be an
encoding error rather than warning.
https://bugs.launchpad.net/ubuntu/+bugs?search=Search&field.bug_reporter=james-page&field.tags_combinator=ALL&field.tag=java7-ftbfs+api
(14)
Package does not implement new public API requirements for Java 7;
normally something JDBC related and relatively easy to fix.
https://bugs.launchpad.net/ubuntu/+bugs?search=Search&field.bug_reporter=james-page&field.tags_combinator=ALL&field.tag=java7-ftbfs+lang
(10)
Some sort of language handling change (typically generics handling)
causes the build failure e.g:
error: name clash: boxedFor(Class<? extends Boxed>,long) in
org.gnome.gdk.Plumbing and boxedFor(Class<?>,long) in
org.gnome.glib.Plumbing have the same erasure, yet neither hides the other
Again needs fixing upstream - I suspect that these again will follow
specific patterns with stock fixes.
https://bugs.launchpad.net/ubuntu/+bugs?search=Search&field.bug_reporter=james-page&field.tags_combinator=ALL&field.tag=java7-ftbfs+maven
(6)
Maven 2 not parsing warning error message causing failure:
could not parse error message: warning: [options] bootstrap class
path not set in conjunction with -source 1.5
Bug in Maven 2? Might be easily resolvable.
https://bugs.launchpad.net/ubuntu/+bugs?search=Search&field.bug_reporter=james-page&field.tags_combinator=ALL&field.tag=java7-ftbfs+priv-api
(4)
Package makes use of private API no longer present or changed in
Java 7; harder to fix as requires use of different API or significant
refactoring; best worked out with upstream.
https://bugs.launchpad.net/ubuntu/+bugs?search=Search&field.bug_reporter=james-page&field.tags_combinator=ALL&field.tag=java7-ftbfs+java-home
(4)
Problems with JAVA_HOME in rules not matching default-java i.e.
using openjdk6 explicitly, fixable in packaging
https://bugs.launchpad.net/ubuntu/+bugs?search=Search&field.bug_reporter=james-page&field.tags_combinator=ALL&field.tag=java7-ftbfs+test
(3)
Failure in test suite caused build failure.
https://bugs.launchpad.net/ubuntu/+bugs?search=Search&field.bug_reporter=james-page&field.tags_combinator=ALL&field.tag=java7-ftbfs+fop
(3)
[exec] org.apache.fop.apps.FOPException: Can't load standard
profile: sRGB.pf
I think this is related to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641530 in openjdk-6
I'm aiming to start working through this list next week.
I'll re-confirm each against Debian unstable and aim to get fixes into
Debian first. How would people feel about switching default-java in
experimental to OpenJDK7 to help support this transition?
Anything that can't be resolved above the individual package level i.e.
with a fix in OpenJDK/Maven or suchlike I will raise as a bug in Debian
(and upstream if required) for tracking purposes.
Cheers
James
P.S. Any help much appreciated!
- --
James Page
Software Engineer, Ubuntu Server Team
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCAAGBQJOz5AOAAoJEL/srsug59jDXYUP/3mxCEL+33UbvugygTerWxkn
RgaJUhDqD4pJcJHVP1U+erZoKqYslCIIMgW27GzZzaWl4mXFPp+xVE65sPwP4lYi
pjEq+L9W6pdzfbeI4atCzyZJgZPBEYDYW/B/ojxbo4xSZ+9t52WhGSUHEtKUVHFi
N/9/fqB47fqk6ds3U8b+CYeZVV2irD6zaJbQ6Rz15pKsCrMQlIRB32juZNHpP9ui
H/u6WHi4+AV+lTDtRev4B66oAdeSLLTTKQAImE093L/d2PgldgVAdQQ41FgcwMZZ
WWjtvHDxQ2k7ybzfUIDsNtH6ZXmqmMXbT9UGg2kQ0FGQB0WVOvKPjDkMkiubMq9u
DOxAjHrQUYm6y9MmjjRbSrzSXqpdmk8pbZzeayBy1IKuCAJiYXj4hcS9DhlqsiI/
6rSAe+pIhoiulAbJSD7OjMopbZ58Jg2UMIHD2HrJsYKFJmE5iv2zEnlZXszfRlE6
/xZDs7WdMPQyHn0Ia1dbGYJ6lDe4yWr6NZq4DJomExx4/FaEZel8/aK8RuHV1WBj
9WHz6ms4kcrFDRI54r3/I4h+sjBIQo8Y4fBN27rr3iY7CK0oPj5ao2DtzQrFY+x3
wG29Pl616mktCQ/E6k29KJiVZMJJZ3D7xHc5BehN9kY/7+q6NS5HCLFyiWIvEeHI
oVf1ObZzsyM/zfOy3ZPE
=jYJa
-----END PGP SIGNATURE-----
Reply to: