[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenStreetMap Software



Hi Jochen,

On Mon, Mar 03, 2014 at 10:16:05PM +0100, Jochen Topf wrote:
> 
> ======================
> diff --git a/debian/control b/debian/control
> index 11723c2..6adcb82 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -10,7 +10,8 @@ Build-Depends: debhelper (>= 9),
>                 ant,
>                 default-jdk,
>                 time,
> -               libfastutil-java
> +               libfastutil-java,
> +               libosmpbf-java
>  Standards-Version: 3.9.5
>  Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/mkgmap.git
>  Vcs-Git: git://anonscm.debian.org/pkg-grass/mkgmap.git
> ======================
> 
> But Debian is at version 1.3.0 for osmpbf (which should be 1.3.1 actually).
> So this doesn't build either.

May be you might file a bug report against this package saying "New
upstream version available".
 
> Somebody should probably ask upstream why they are using the old version of
> osmpbf.

Would you volunteer to be this "magic somebody"? ;-)


Anyway, I think we are not finished yet since I get:


compile:
    [javac] Compiling 477 source files to /tmp/buildd/mkgmap-0.0.0+svn2981/build/classes
    [javac] /tmp/buildd/mkgmap-0.0.0+svn2981/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:44: error: cannot access GeneratedMessageLite
    [javac]                     double maxLon = header.getBbox().getRight() * multiplier;
    [javac]                                           ^
    [javac]   class file for com.google.protobuf.GeneratedMessageLite not found
    [javac] /tmp/buildd/mkgmap-0.0.0+svn2981/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:62: error: type argument Node is not within bounds of type-variable E
    [javac]             protected void parseNodes(List<Osmformat.Node> nodes) {
    [javac]                                                     ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List
    [javac] /tmp/buildd/mkgmap-0.0.0+svn2981/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:128: error: type argument Way is not within bounds of type-variable E
    [javac]             protected void parseWays(List<Osmformat.Way> ways) {
    [javac]                                                    ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List
    [javac] /tmp/buildd/mkgmap-0.0.0+svn2981/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:151: error: type argument Relation is not within bounds of type-variable E
    [javac]             protected void parseRelations(List<Osmformat.Relation> rels) {
    [javac]                                                         ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List
    [javac] /tmp/buildd/mkgmap-0.0.0+svn2981/src/uk/me/parabola/mkgmap/reader/osm/bin/OsmBinHandler.java:189: error: cannot access MessageLiteOrBuilder
    [javac]                                     if (binRel.getTypes(j) == Osmformat.Relation.MemberType.NODE) {
    [javac]                                                                                 ^
    [javac]   class file for com.google.protobuf.MessageLiteOrBuilder not found
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 5 errors


when building in a pbuilder chroot (and this is what we need to do).

Kind regards

       Andreas.
 

-- 
http://fam-tille.de


Reply to: