Le 01/08/2013 00:58, Stephen Nelson a écrit :

> More interestingly I've found out that the version of the dependency
> libecj-java in testing and unstable (3.8.2-2 and 3.8.2-4) doesn't
> allow tomcat6 to compile. Through a bit of trial-and-error, after
> installing the version from stable (3.5.1-1) it does successfully
> build.

ecj 3.8 declares an additional method in the ICompilationUnit interface.
This change broke the compatibility.


> So what's the best way to solve this? Make a dependency on the version
> in stable or make it work with a later version. I note from the
> build.properties.default that its default is 3.7.

You can't depend on the version in stable, the goal is to build a set of
packages that work together. You can't rely on an older revision of a
package that is no longer available in the current distribution.

The solution is to patch the tomcat6 package. You can look at the
commons-jci and jasperreports packages which were also affected by this
issue. The patch is trivial, and that's a good opportunity to learn quilt :)

This issue has also been fixed upstream, so upgrading the package to the
version 6.0.37 might be an alternative.

https://issues.apache.org/bugzilla/show_bug.cgi?id=54615

Emmanuel Bourg


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to