$ ./gradlew shadowJar
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
> Task :buildDeps
> Task :buildDeps
Cloning latest mapping engine code...
Cloning into '/home/alvaro/Documents/gcplatform/healthcare-data-harmonization-dataflow/build/tmp/build_deps'...
Building mapping engine...
google/protobuf/any.proto: File not found.
proto/mapping.proto:5:1: Import "google/protobuf/any.proto" was not found or had errors.
proto/mapping.proto: "google.protobuf.Any" is not defined.
google/protobuf/any.proto: File not found.
proto/mapping.proto:5:1: Import "google/protobuf/any.proto" was not found or had errors.
proto/mapping.proto: "google.protobuf.Any" is not defined.
proto/http.proto:5:1: Import "proto/mapping.proto" was not found or had errors.
proto/http.proto:52:3: "ValueSource" is not defined.
proto/http.proto:55:3: "ValueSource" is not defined.
proto/harmonization.proto:5:1: Import "proto/http.proto" was not found or had errors.
proto/harmonization.proto:6:1: Import "proto/mapping.proto" was not found or had errors.
proto/harmonization.proto:17:5: "MappingConfig" is not defined.
proto/harmonization.proto:38:3: "Location" is not defined.
proto/harmonization.proto:47:12: "Location" is not defined.
proto/harmonization.proto:62:3: "Location" is not defined.
proto/library.proto:5:1: Import "proto/harmonization.proto" was not found or had errors.
proto/library.proto:6:1: Import "proto/http.proto" was not found or had errors.
proto/library.proto:7:1: Import "proto/mapping.proto" was not found or had errors.
proto/library.proto:17:12: "ProjectorDefinition" is not defined.
proto/library.proto:20:12: "ServerDefinition" is not defined.
proto/library.proto:24:12: "CloudFunction" is not defined.
proto/library.proto:29:12: "HttpFetchQuery" is not defined.
proto/library.proto:41:3: "MappingType" is not defined.
proto/library.proto:44:3: "Location" is not defined.
google/protobuf/any.proto: File not found.
proto/mapping.proto:5:1: Import "google/protobuf/any.proto" was not found or had errors.
proto/mapping.proto: "google.protobuf.Any" is not defined.
proto/http.proto:5:1: Import "proto/mapping.proto" was not found or had errors.
proto/http.proto:52:3: "ValueSource" is not defined.
proto/http.proto:55:3: "ValueSource" is not defined.
google/protobuf/any.proto: File not found.
proto/mapping.proto:5:1: Import "google/protobuf/any.proto" was not found or had errors.
proto/mapping.proto: "google.protobuf.Any" is not defined.
proto/http.proto:5:1: Import "proto/mapping.proto" was not found or had errors.
proto/http.proto:52:3: "ValueSource" is not defined.
proto/http.proto:55:3: "ValueSource" is not defined.
proto/harmonization.proto:5:1: Import "proto/http.proto" was not found or had errors.
proto/harmonization.proto:6:1: Import "proto/mapping.proto" was not found or had errors.
proto/harmonization.proto:17:5: "MappingConfig" is not defined.
proto/harmonization.proto:38:3: "Location" is not defined.
proto/harmonization.proto:47:12: "Location" is not defined.
proto/harmonization.proto:62:3: "Location" is not defined.
proto/library.proto:5:1: Import "proto/harmonization.proto" was not found or had errors.
proto/library.proto:6:1: Import "proto/http.proto" was not found or had errors.
proto/library.proto:7:1: Import "proto/mapping.proto" was not found or had errors.
proto/library.proto:17:12: "ProjectorDefinition" is not defined.
proto/library.proto:20:12: "ServerDefinition" is not defined.
proto/library.proto:24:12: "CloudFunction" is not defined.
proto/library.proto:29:12: "HttpFetchQuery" is not defined.
proto/library.proto:41:3: "MappingType" is not defined.
proto/library.proto:44:3: "Location" is not defined.
proto/data_harmonization.proto:5:1: Import "proto/harmonization.proto" was not found or had errors.
proto/data_harmonization.proto:6:1: Import "proto/library.proto" was not found or had errors.
proto/data_harmonization.proto:16:12: "LibraryConfig" is not defined.
proto/data_harmonization.proto:21:3: "CodeHarmonizationConfig" is not defined.
proto/data_harmonization.proto:24:3: "UnitHarmonizationConfig" is not defined.
proto/data_harmonization.proto:27:3: "StructureMappingConfig" is not defined.
google/protobuf/any.proto: File not found.
proto/mapping.proto:5:1: Import "google/protobuf/any.proto" was not found or had errors.
proto/mapping.proto: "google.protobuf.Any" is not defined.
proto/http.proto:5:1: Import "proto/mapping.proto" was not found or had errors.
proto/http.proto:52:3: "ValueSource" is not defined.
proto/http.proto:55:3: "ValueSource" is not defined.
proto/harmonization.proto:5:1: Import "proto/http.proto" was not found or had errors.
proto/harmonization.proto:6:1: Import "proto/mapping.proto" was not found or had errors.
proto/harmonization.proto:17:5: "MappingConfig" is not defined.
proto/harmonization.proto:38:3: "Location" is not defined.
proto/harmonization.proto:47:12: "Location" is not defined.
proto/harmonization.proto:62:3: "Location" is not defined.
Downloading ANTLR 4.7.1 to ./.antlr/antlr.jar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2187k 100 2187k 0 0 3418k 0 --:--:-- --:--:-- --:--:-- 3418k
Entering /home/alvaro/Documents/gcplatform/healthcare-data-harmonization-dataflow/build/tmp/build_deps/mapping_engine/transform
# github.com/GoogleCloudPlatform/healthcare-data-harmonization/mapping_engine/errors
../errors/proto.go:105:23: undefined: "github.com/GoogleCloudPlatform/healthcare-data-harmonization/mapping_engine/proto".ValueSource
../errors/proto.go:119:14: undefined: "github.com/GoogleCloudPlatform/healthcare-data-harmonization/mapping_engine/proto".ProjectorDefinition
# github.com/GoogleCloudPlatform/healthcare-data-harmonization/mapping_language/transpiler
../../mapping_language/transpiler/env.go:40:13: undefined: "github.com/GoogleCloudPlatform/healthcare-data-harmonization/mapping_engine/proto".FieldMapping
../../mapping_language/transpiler/stacks.go:23:20: undefined: "github.com/GoogleCloudPlatform/healthcare-data-harmonization/mapping_engine/proto".ValueSource
../../mapping_language/transpiler/transpiler.go:30:20: undefined: "github.com/GoogleCloudPlatform/healthcare-data-harmonization/mapping_engine/proto".ProjectorDefinition
> Task :buildDeps FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildDeps'.
> Process 'command './build_deps.sh'' finished with non-zero exit value 2
* 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 8s
1 actionable task: 1 executed
Hi, I'm facing a similar issue from a closed issue that was opened on Dec 1, 2020. Thank you for your assistance.
The issue occurs when running "./gradlew shadowJar"
Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal
gradle 6.3
java 1.8.0_292
protoc libprotoc 3.14.0
go 1.16.4
ZIP FILE: protoc-3.14.0-linux-x86_64.zip
protoc binary was copied to the following path:
INCLUDE files were copied to the following path:
LOG: