Bug#944928: osmosis ftbfs with protobuf 3.10.1 in experimental

Pirate Praveen praveen at onenetbeyond.org
Sun Nov 17 18:39:18 GMT 2019


Package: osmosis
version: 0.47-4
severity: important
Control: block 934665 by -1

This package fail to build with protobuf 3.10.1 in experimental with 
the following failure.

/<<PKGBUILDDIR>>/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:13871:
error: cannot find symbol
         Visitor visitor = (Visitor) arg0;
         ^
 symbol:   class Visitor
 location: class Relation
/<<PKGBUILDDIR>>/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:13871:
error: cannot find symbol
         Visitor visitor = (Visitor) arg0;
                            ^
 symbol:   class Visitor
 location: class Relation
/<<PKGBUILDDIR>>/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:13882:
error: cannot find symbol
         if (visitor ==
com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
                                                                ^
 symbol:   variable MergeFromVisitor
 location: class GeneratedMessageLite
/<<PKGBUILDDIR>>/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:13888:
error: an enum switch case label must be the unqualified name of an
enumeration constant
       case MERGE_FROM_STREAM: {
            ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:
/<<PKGBUILDDIR>>/osmosis-osm-binary/src/main/java/org/openstreetmap/osmosis/osmbinary/StringTable.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
98 errors
:osmosis-osm-binary:compileJava FAILED
:osmosis-osm-binary:compileJava (Thread[Task worker for ':' Thread
2,5,main]) completed. Took 6.226 secs.
:osmosis-core:compileJava (Thread[Task worker for ':',5,main])
completed. Took 6.785 secs.
:osmosis-hstore-jdbc:javadoc (Thread[main,5,main]) completed. Took 4.72
secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':osmosis-osm-binary:compileJava'.
 > Compilation failed; see the compiler error output for details.

Full build log attached. Please fix this failure so we can upload 
protobuf 3.10 to unstable.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20191118/a55f2ada/attachment.html>


More information about the Pkg-grass-devel mailing list