Bug#761562: osmosis: FTBFS: Execution failed for task ':osmosis-osm-binary:compileJava'.

David Suárez david.sephirot at gmail.com
Sun Sep 14 15:06:13 UTC 2014


Source: osmosis
Version: 0.43.1-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140913 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/«PKGBUILDDIR»'
> gradle --offline --no-daemon \
>        --gradle-user-home debian/gradle-user-home \
>        --project-prop osmosisBuildType=RELEASE \
>        assemble
> :osmosis-core:generateJavaSources
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> Note: /«PKGBUILDDIR»/osmosis-core/src/main/java/org/openstreetmap/osmosis/core/container/v0_6/EntityContainerBuilder.java uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 1 warning
> :osmosis-core:compileJava
> :osmosis-core:generateResources
> :osmosis-core:processResources
> :osmosis-core:classes
> :osmosis-core:jar
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> 1 warning
> :osmosis-set:compileJava
> :osmosis-set:processResources
> :osmosis-set:classes
> :osmosis-set:jar
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> 1 warning
> :osmosis-xml:compileJava
> :osmosis-xml:processResources
> :osmosis-xml:classes
> :osmosis-xml:jar
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> 1 warning
> :osmosis-replication:compileJava
> :osmosis-replication:processResources
> :osmosis-replication:classes
> :osmosis-replication:jar
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> 1 warning
> :osmosis-apidb:compileJava
> :osmosis-apidb:processResources
> :osmosis-apidb:classes
> :osmosis-apidb:jar
> :osmosis-core:javadoc
> :osmosis-set:javadoc
> :osmosis-xml:javadoc
> :osmosis-replication:javadoc
> :osmosis-apidb:javadoc
> :osmosis-apidb:javadocJar
> :osmosis-apidb:sourcesJar
> :osmosis-apidb:signArchives SKIPPED
> :osmosis-apidb:assemble
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> 1 warning
> :osmosis-areafilter:compileJava
> :osmosis-areafilter:processResources
> :osmosis-areafilter:classes
> :osmosis-areafilter:jar
> :osmosis-areafilter:javadoc
> :osmosis-areafilter:javadocJar
> :osmosis-areafilter:sourcesJar
> :osmosis-areafilter:signArchives SKIPPED
> :osmosis-areafilter:assemble
> :osmosis-core:javadocJar
> :osmosis-core:sourcesJar
> :osmosis-core:signArchives SKIPPED
> :osmosis-core:assemble
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> 1 warning
> :osmosis-dataset:compileJava
> :osmosis-dataset:processResources
> :osmosis-dataset:classes
> :osmosis-dataset:jar
> :osmosis-dataset:javadoc
> :osmosis-dataset:javadocJar
> :osmosis-dataset:sourcesJar
> :osmosis-dataset:signArchives SKIPPED
> :osmosis-dataset:assemble
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> 1 warning
> :osmosis-extract:compileJava
> :osmosis-extract:processResources
> :osmosis-extract:classes
> :osmosis-extract:jar
> :osmosis-extract:javadoc
> :osmosis-extract:javadocJar
> :osmosis-extract:sourcesJar
> :osmosis-extract:signArchives SKIPPED
> :osmosis-extract:assemble
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> 1 warning
> :osmosis-hstore-jdbc:compileJava
> :osmosis-hstore-jdbc:processResources
> :osmosis-hstore-jdbc:classes
> :osmosis-hstore-jdbc:jar
> :osmosis-hstore-jdbc:javadoc
> :osmosis-hstore-jdbc:javadocJar
> :osmosis-hstore-jdbc:sourcesJar
> :osmosis-hstore-jdbc:signArchives SKIPPED
> :osmosis-hstore-jdbc:assemble
> warning: [options] bootstrap class path not set in conjunction with -source 1.6
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:578: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:1309: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:1866: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:2630: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:3334: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:3802: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:4532: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:5151: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:5669: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:6410: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:7171: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Osmformat.java:8058: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Fileformat.java:369: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> /«PKGBUILDDIR»/osmosis-osm-binary/gen-src/main/java/org/openstreetmap/osmosis/osmbinary/Fileformat.java:868: error: method parseUnknownField in class Builder<MessageType,BuilderType> cannot be applied to given types;
>               if (!parseUnknownField(input, extensionRegistry, tag)) {
>                    ^
>   required: CodedInputStream,CodedOutputStream,ExtensionRegistryLite,int
>   found: CodedInputStream,ExtensionRegistryLite,int
>   reason: actual and formal argument lists differ in length
>   where MessageType,BuilderType are type-variables:
>     MessageType extends GeneratedMessageLite declared in class Builder
>     BuilderType extends Builder declared in class Builder
> 14 errors
> 1 warning
> :osmosis-osm-binary:compileJava FAILED
> 
> 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.
> 
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
> 
> BUILD FAILED
> 
> Total time: 1 mins 17.423 secs
> make[1]: *** [override_dh_auto_build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/09/13/osmosis_0.43.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-grass-devel mailing list