You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2019/01/29 17:31:20 UTC

[GitHub] orchapod opened a new issue #3179: 0.20.0 - Website build process is broken - Missing files

orchapod opened a new issue #3179: 0.20.0 - Website build process is broken - Missing files
URL: https://github.com/apache/incubator-heron/issues/3179
 
 
   I am trying to obtain a local copy of Heron documentation so I can host it on my corporate network. I tried to follow steps outlined in https://github.com/apache/incubator-heron/tree/master/website. I am running on CentOS 7. 
   
   I have installed all necessary software including Hugo. `npm install` hung for me, so I used `yarn install` and it installed. 
   
   When I tried to run `make site`, I got the following error:
   
   ```sh
   make[1]: Entering directory `/home/user/git/incubator-heron/website'
   rm -rf public/* static/api static/style.css static/style*.css
   make[1]: Leaving directory `/home/user/git/incubator-heron/website'
   make[1]: Entering directory `/home/user/git/incubator-heron/website'
   [12:18:35] Using gulpfile ~/git/incubator-heron/website/gulpfile.js
   [12:18:35] Starting 'build'...
   [12:18:35] Starting 'sass'...
   [12:18:35] Finished 'sass' after 15 ms
   [12:18:35] Starting 'js'...
   [12:18:35] Finished 'js' after 2.86 ms
   [12:18:35] Finished 'build' after 21 ms
   make[1]: Leaving directory `/home/user/git/incubator-heron/website'
   make[1]: Entering directory `/home/user/git/incubator-heron/website'
   calling bazel build
   WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
   /home/user/git/incubator-heron/tools/bazel.rc
   INFO: Invocation ID: c2d48548-09f6-448a-85f2-047ac4756b55
   Loading: 94 packages loaded
   WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
   /home/user/git/incubator-heron/tools/bazel.rc
   INFO: Invocation ID: e3ce2a67-7614-47fa-b66d-c7a44a1ea109
   Loading: 0 packages loaded
   WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
   /home/user/git/incubator-heron/tools/bazel.rc
   INFO: Invocation ID: 75cfbb45-45b6-4aa9-bd94-758833c4df67
   Loading: 10 packages loaded
   WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
   /home/user/git/incubator-heron/tools/bazel.rc
   INFO: Invocation ID: 0c32048a-3d62-4411-b4b4-f086d104fe7e
   WARNING: /home/user/git/incubator-heron/heron/healthmgr/tests/java/BUILD:52:12: in srcs attribute of java_library rule //heron/healthmgr/tests/java:healthmgr-tests: please do not import '//heron/healthmgr/src/java:org/apache/heron/healthmgr/HealthManager.java' directly. You should either move the file to this package or depend on an appropriate rule there
   INFO: Analysed 269 targets (191 packages loaded, 2809 targets configured).
   INFO: Found 269 targets...
   ERROR: /home/user/git/incubator-heron/heron/proto/BUILD:53:1: error executing shell command: '/bin/bash -c set -e
   rm -rf bazel-out/k8-fastbuild/genfiles/heron/proto/proto_scheduler_java_src.srcjar.srcs
   mkdir bazel-out/k8-fastbuild/genfiles/heron/proto/proto_scheduler_java_src.srcjar.srcs
   ba...' failed (Exit 1) bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
   
   Use --sandbox_debug to see verbose messages from the sandbox
   common.proto: File not found.
   packing_plan.proto: File not found.
   scheduler.proto: Import "common.proto" was not found or had errors.
   scheduler.proto: Import "packing_plan.proto" was not found or had errors.
   scheduler.proto:51:12: "heron.proto.system.PackingPlan" is not defined.
   scheduler.proto:52:12: "heron.proto.system.PackingPlan" is not defined.
   scheduler.proto:56:12: "heron.proto.system.Status" is not defined.
   INFO: Elapsed time: 4.441s, Critical Path: 0.57s
   INFO: 0 processes.
   FAILED: Build did NOT complete successfully
   make[1]: *** [javadocs] Error 1
   make[1]: Leaving directory `/home/user/git/incubator-heron/website'
   make: *** [site] Error 2
   ```
   
   I'm not knowledgeable on how this website build process works so I'm stuck at this error message and I don't know how to proceed. 
   
   I've noted that the main Heron documentation website is also not updated (https://apache.github.io/incubator-heron/). Looking at the commit history on the website build code tells me that many of the scripts has not been updated for a while. So I suspect that the culprit of this issue is that the build scripts needs to be updated for new version.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services