[Bug 308302] Re: Please merge eclipse 3.2.2-6.1 (universe) from Debian unstable
Manny Vindiola
mannyv at gmail.com
Fri Dec 19 20:52:40 UTC 2008
eclipse 3.2.2-6.1 FTBFS due to compiler options in source-
tree/baseLocation/plugins/icu4j-build-temp/build.xml for eclipseCore and
eclipseWrapper.
The problem arises due to three compiler options:
compiler="javac1.3"
source="1.3"
target="1.1"
Package build-depends on default-jdk-builddep which for jaunty is
openjdk-6-jdk. It is well documented that for jdk 1.5+ if target="1.1"
is specified then source="1.3" must also be specified. According to the
ant manual when the specified compiler is 1.3 or less the source option
is ignored.
http://ant.apache.org/manual/CoreTasks/javac.html#compilervalues
This produces a situation where the target is specified, source is
ignored and so we compilation explodes with error "[javac] javac: target
release 1.1 conflicts with default source release 1.5"
Since "javac1.3" is an alias for "modern" the FTBFS can be fixed by changing compiler="javac1.3" to compiler="modern".
However this is where I run into a problem I don't know how to solve. The source-tree directory is not produced until "debian/rules uncompress" is issued. After this source-tree/baseLocation/plugins/icu4j-build-temp/build.xml is compiled, and moved before any patches are applied so I can't use the patch system and I can just modify the src.
There seem to be three options:
1) Untar, modify source for icu4j and retar
2) Make a small patch and apply it after untaring but before compiling icu4j-temp
3) Your better suggestion?
** Attachment added: "eclipse-3.2.2-6.1-FTBFS.log"
http://launchpadlibrarian.net/20583636/eclipse-3.2.2-6.1-FTBFS.log
--
Please merge eclipse 3.2.2-6.1 (universe) from Debian unstable
https://bugs.launchpad.net/bugs/308302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list