You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
Hi, I was following the instructions to play around with examples for FhirProto. I ran "./generate-synthea.sh $WORKSPACE" and it seemed like I successfully generated $WORKSPACE/bundles/, $WORKSPACE/ndjson/, and $WORKSPACE/analytic/. However, when I was trying to validate that my bazel environment was correct by running "bazel build //cc/google/fhir_examples:ParsePatients", it gave me some errors that might include some invalid URL paths.
It looks like this:
Starting local Bazel server and connecting to it...
ERROR: no such package '@@bazel_tools//platforms': BUILD file not found in directory 'platforms' of external repository @@bazel_tools. Add a BUILD file to a directory to mark it as a package.
ERROR: /private/var/tmp/_bazel_jasonwang/5e6da5e0c0df3beebeb7eaebe5e37e83/external/com_google_absl/absl/BUILD.bazel:42:15: no such package '@@bazel_tools//platforms': BUILD file not found in directory 'platforms' of external repository @@bazel_tools. Add a BUILD file to a directory to mark it as a package. and referenced by '@@com_google_absl//absl:windows'
ERROR: /private/var/tmp/_bazel_jasonwang/5e6da5e0c0df3beebeb7eaebe5e37e83/external/com_google_absl/absl/cleanup/BUILD.bazel:39:11: errors encountered resolving select() keys for @@com_google_absl//absl/cleanup:cleanup
ERROR: Analysis of target '//cc/google/fhir_examples:ParsePatients' failed; build aborted: Analysis failed
INFO: Elapsed time: 10.373s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
FAILED:
Fetching repository @@bazel_toolscc_configure_extensionlocal_config_cc; starting
Fetching repository @@nlohmann_json; starting
Fetching repository @@Icu; starting
Fetching repository @@protobuf~; starting
Fetching /private/var/tmp/_bazel_jasonwang/5e6da5e0c0df3beebeb7eaebe5e37e83/external/protobuf~; Extracting protobuf-all-21.7.zip
Fetching repository @@maven; starting
Fetching repository @@rules_javatoolchains~remotejdk11_macos_aarch64; starting
Fetching repository @@rules_javatoolchains~remote_java_tools_darwin_arm64; starting ... (11 fetches)
Any help would be appreciated, thank you!
The text was updated successfully, but these errors were encountered:
After changing my java version to JDK 11 (using jenv), I was able to get through this step. It seemed like I successfully generated three data direcgtories mentioned on README. Some other errors appeared, though, when I ran the
"bazel build //cc/google/fhir_examples:ParsePatients" command.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I was following the instructions to play around with examples for FhirProto. I ran "./generate-synthea.sh $WORKSPACE" and it seemed like I successfully generated $WORKSPACE/bundles/, $WORKSPACE/ndjson/, and $WORKSPACE/analytic/. However, when I was trying to validate that my bazel environment was correct by running "bazel build //cc/google/fhir_examples:ParsePatients", it gave me some errors that might include some invalid URL paths.
It looks like this:
Starting local Bazel server and connecting to it...
ERROR: no such package '@@bazel_tools//platforms': BUILD file not found in directory 'platforms' of external repository @@bazel_tools. Add a BUILD file to a directory to mark it as a package.
ERROR: /private/var/tmp/_bazel_jasonwang/5e6da5e0c0df3beebeb7eaebe5e37e83/external/com_google_absl/absl/BUILD.bazel:42:15: no such package '@@bazel_tools//platforms': BUILD file not found in directory 'platforms' of external repository @@bazel_tools. Add a BUILD file to a directory to mark it as a package. and referenced by '@@com_google_absl//absl:windows'
ERROR: /private/var/tmp/_bazel_jasonwang/5e6da5e0c0df3beebeb7eaebe5e37e83/external/com_google_absl/absl/cleanup/BUILD.bazel:39:11: errors encountered resolving select() keys for @@com_google_absl//absl/cleanup:cleanup
ERROR: Analysis of target '//cc/google/fhir_examples:ParsePatients' failed; build aborted: Analysis failed
INFO: Elapsed time: 10.373s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
FAILED:
Fetching repository @@bazel_tools
cc_configure_extensionlocal_config_cc; startingFetching repository @@nlohmann_json; starting
Fetching repository @@Icu; starting
Fetching repository @@protobuf~; starting
Fetching /private/var/tmp/_bazel_jasonwang/5e6da5e0c0df3beebeb7eaebe5e37e83/external/protobuf~; Extracting protobuf-all-21.7.zip
Fetching repository @@maven; starting
Fetching repository @@rules_java
toolchains~remotejdk11_macos_aarch64; startingtoolchains~remote_java_tools_darwin_arm64; starting ... (11 fetches)Fetching repository @@rules_java
Any help would be appreciated, thank you!
The text was updated successfully, but these errors were encountered: