[bisq-network/bisq] v1.2.1 fails to build on Debian Sid with "error: cannot find symbol" (#3536)

Vincas Dargis notifications at github.com
Thu Oct 31 18:30:51 UTC 2019


### Description

Did `git fetch`, `git checkout v1.2.1`, `./gradlew build` and it now fails with multiple errors like:

```
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PayDepositRequest.java:266: error: cannot find symbol
    return protobuf.Pb.internal_static_io_bisq_protobuffer_PayDepositRequest_descriptor;
```

#### Version

v1.2.1 tag.

### Steps to reproduce

Checkout & build on Debina Sid.

### Expected behaviour

Should build.

### Actual behaviour

Build fails.

#### Device or machine

Debian Sid amd64


#### Additional info

```
> Task :assets:compileKotlin UP-TO-DATE
> Task :assets:compileJava UP-TO-DATE
> Task :assets:processResources UP-TO-DATE
> Task :assets:classes UP-TO-DATE
> Task :assets:inspectClassesForKotlinIC UP-TO-DATE
> Task :assets:jar UP-TO-DATE
> Task :assets:assemble UP-TO-DATE
> Task :assets:compileTestKotlin UP-TO-DATE
> Task :assets:compileTestJava UP-TO-DATE
> Task :assets:processTestResources NO-SOURCE
> Task :assets:testClasses UP-TO-DATE
> Task :assets:test UP-TO-DATE
> Task :assets:check UP-TO-DATE
> Task :assets:build UP-TO-DATE
> Task :common:extractIncludeProto UP-TO-DATE
> Task :common:extractProto UP-TO-DATE
> Task :common:generateProto UP-TO-DATE
> Task :common:compileKotlin UP-TO-DATE

> Task :common:compileJava
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PayDepositRequest.java:266: error: cannot find symbol
    return protobuf.Pb.internal_static_io_bisq_protobuffer_PayDepositRequest_descriptor;
                      ^
  symbol:   variable internal_static_io_bisq_protobuffer_PayDepositRequest_descriptor
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PayDepositRequest.java:272: error: cannot find symbol
    return protobuf.Pb.internal_static_io_bisq_protobuffer_PayDepositRequest_fieldAccessorTable
                      ^
  symbol:   variable internal_static_io_bisq_protobuffer_PayDepositRequest_fieldAccessorTable
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PayDepositRequest.java:1210: error: cannot find symbol
      return protobuf.Pb.internal_static_io_bisq_protobuffer_PayDepositRequest_descriptor;
                        ^
  symbol:   variable internal_static_io_bisq_protobuffer_PayDepositRequest_descriptor
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PayDepositRequest.java:1216: error: cannot find symbol
      return protobuf.Pb.internal_static_io_bisq_protobuffer_PayDepositRequest_fieldAccessorTable
                        ^
  symbol:   variable internal_static_io_bisq_protobuffer_PayDepositRequest_fieldAccessorTable
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PayDepositRequest.java:1326: error: cannot find symbol
      return protobuf.Pb.internal_static_io_bisq_protobuffer_PayDepositRequest_descriptor;
                        ^
  symbol:   variable internal_static_io_bisq_protobuffer_PayDepositRequest_descriptor
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PublishDepositTxRequest.java:177: error: cannot find symbol
    return protobuf.Pb.internal_static_io_bisq_protobuffer_PublishDepositTxRequest_descriptor;
                      ^
  symbol:   variable internal_static_io_bisq_protobuffer_PublishDepositTxRequest_descriptor
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PublishDepositTxRequest.java:183: error: cannot find symbol
    return protobuf.Pb.internal_static_io_bisq_protobuffer_PublishDepositTxRequest_fieldAccessorTable
                      ^
  symbol:   variable internal_static_io_bisq_protobuffer_PublishDepositTxRequest_fieldAccessorTable
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PublishDepositTxRequest.java:808: error: cannot find symbol
      return protobuf.Pb.internal_static_io_bisq_protobuffer_PublishDepositTxRequest_descriptor;
                        ^
  symbol:   variable internal_static_io_bisq_protobuffer_PublishDepositTxRequest_descriptor
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PublishDepositTxRequest.java:814: error: cannot find symbol
      return protobuf.Pb.internal_static_io_bisq_protobuffer_PublishDepositTxRequest_fieldAccessorTable
                        ^
  symbol:   variable internal_static_io_bisq_protobuffer_PublishDepositTxRequest_fieldAccessorTable
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/PublishDepositTxRequest.java:882: error: cannot find symbol
      return protobuf.Pb.internal_static_io_bisq_protobuffer_PublishDepositTxRequest_descriptor;
                        ^
  symbol:   variable internal_static_io_bisq_protobuffer_PublishDepositTxRequest_descriptor
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/DepositTxPublishedMessage.java:105: error: cannot find symbol
    return protobuf.Pb.internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_descriptor;
                      ^
  symbol:   variable internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_descriptor
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/DepositTxPublishedMessage.java:111: error: cannot find symbol
    return protobuf.Pb.internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_fieldAccessorTable
                      ^
  symbol:   variable internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_fieldAccessorTable
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/DepositTxPublishedMessage.java:414: error: cannot find symbol
      return protobuf.Pb.internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_descriptor;
                        ^
  symbol:   variable internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_descriptor
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/DepositTxPublishedMessage.java:420: error: cannot find symbol
      return protobuf.Pb.internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_fieldAccessorTable
                        ^
  symbol:   variable internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_fieldAccessorTable
  location: class Pb
/opt/bisq/common/build/generated/source/proto/main/java/protobuf/DepositTxPublishedMessage.java:461: error: cannot find symbol
      return protobuf.Pb.internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_descriptor;
                        ^
  symbol:   variable internal_static_io_bisq_protobuffer_DepositTxPublishedMessage_descriptor
  location: class Pb
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
15 errors

> Task :common:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':common: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. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 16s
13 actionable tasks: 1 executed, 12 up-to-date

```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/3536
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191031/fdea6d44/attachment.html>


More information about the bisq-github mailing list