Bug#801475: freeplane: Fails to build with JMapViewer 1.11

Bas Couwenberg sebastic at xs4all.nl
Sat Oct 10 22:00:51 UTC 2015


Source: freeplane
Version: 1.3.15-2
Severity: important
Tags: upstream

Dear Maintainer,

The jmapviewer package in Debian has been updated to the recent
JMapViewer 1.11 upstream release as required for JOSM 8800
(both available in experimental).

Unfortunately freeplane (1.3.15-2) fails to build with
jmapviewer (1.11+dfsg-1~exp1) as can be seen in the partial build log
below.

Please update the openmaps plugin to support JMapViewer 1.11 or consider
adding skip_openmaps=true to debian/ant.properties.

The severity of this issue will be raised to serious when
jmapviewer (1.11+dfsg-1) is moved from experimental to unstable.
I expect to do that next week.


>From the freeplane (1.3.15-2) build log:

 build:
     [mkdir] Created dir: /tmp/buildd/freeplane-1.3.15/freeplane_plugin_openmaps/build
     [javac] /tmp/buildd/freeplane-1.3.15/freeplane_plugin_openmaps/ant/build.xml:23: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
     [javac] Compiling 12 source files to /tmp/buildd/freeplane-1.3.15/freeplane_plugin_openmaps/build
     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
     [javac] /tmp/buildd/freeplane-1.3.15/freeplane_plugin_openmaps/src/org/freeplane/plugin/openmaps/mapelements/OpenMapsController.java:64: error: incompatible types
     [javac]             return map.getPosition(clickedLocation); 
     [javac]                                   ^
     [javac]   required: Coordinate
     [javac]   found:    ICoordinate
     [javac] /tmp/buildd/freeplane-1.3.15/freeplane_plugin_openmaps/src/org/freeplane/plugin/openmaps/mapelements/OpenMapsController.java:84: error: cannot find symbol
     [javac]         int x = (int)OsmMercator.LonToX(location.getLon(), zoom);
     [javac]                                 ^
     [javac]   symbol:   method LonToX(double,int)
     [javac]   location: class OsmMercator
     [javac] /tmp/buildd/freeplane-1.3.15/freeplane_plugin_openmaps/src/org/freeplane/plugin/openmaps/mapelements/OpenMapsController.java:85: error: cannot find symbol
     [javac]         int y = (int)OsmMercator.LatToY(location.getLat(), zoom);
     [javac]                                 ^
     [javac]   symbol:   method LatToY(double,int)
     [javac]   location: class OsmMercator
     [javac] Note: /tmp/buildd/freeplane-1.3.15/freeplane_plugin_openmaps/src/org/freeplane/plugin/openmaps/mapelements/OpenMapsViewer.java uses or overrides a deprecated API.
     [javac] Note: Recompile with -Xlint:deprecation for details.
     [javac] 3 errors
     [javac] 1 warning
 
 BUILD FAILED
 /tmp/buildd/freeplane-1.3.15/build.xml:4: The following error occurred while executing this line:
 /tmp/buildd/freeplane-1.3.15/freeplane_framework/ant/build.xml:139: The following error occurred while executing this line:
 /tmp/buildd/freeplane-1.3.15/freeplane_framework/ant/build.xml:55: The following error occurred while executing this line:
 /tmp/buildd/freeplane-1.3.15/freeplane_plugin_openmaps/ant/build.xml:23: Compile failed; see the compiler error output for details.

 Total time: 18 seconds


My appologies for the inconvenience,

Bas



More information about the pkg-java-maintainers mailing list