{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/CaffeOnSpark/issues/66","repository_url":"https://api.github.com/repos/yahoo/CaffeOnSpark","labels_url":"https://api.github.com/repos/yahoo/CaffeOnSpark/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/CaffeOnSpark/issues/66/comments","events_url":"https://api.github.com/repos/yahoo/CaffeOnSpark/issues/66/events","html_url":"https://github.com/yahoo/CaffeOnSpark/issues/66","id":155002058,"number":66,"title":"org.apache.maven.plugins:maven-antrun-plugin:1.7","user":{"login":"1000sprites","id":6188677,"avatar_url":"https://avatars.githubusercontent.com/u/6188677?v=3","gravatar_id":"","url":"https://api.github.com/users/1000sprites","html_url":"https://github.com/1000sprites","followers_url":"https://api.github.com/users/1000sprites/followers","following_url":"https://api.github.com/users/1000sprites/following{/other_user}","gists_url":"https://api.github.com/users/1000sprites/gists{/gist_id}","starred_url":"https://api.github.com/users/1000sprites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1000sprites/subscriptions","organizations_url":"https://api.github.com/users/1000sprites/orgs","repos_url":"https://api.github.com/users/1000sprites/repos","events_url":"https://api.github.com/users/1000sprites/events{/privacy}","received_events_url":"https://api.github.com/users/1000sprites/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-05-16T10:28:05Z","updated_at":"2016-07-07T04:00:59Z","closed_at":"2016-06-08T05:00:20Z","body":"root@ubuntu:~/GitProgram/Spark-Program/CaffeOnSpark# make build\r\ncd caffe-public; make proto; make -j4 -e distribute; cd ..\r\nmake[1]: Entering directory `/root/GitProgram/Spark-Program/CaffeOnSpark/caffe-public'\r\nPROTOC src/caffe/proto/caffe.proto\r\nmake[1]: protoc: Command not found\r\nmake[1]: *** [.build_release/src/caffe/proto/caffe.pb.cc] Error 127\r\nmake[1]: Leaving directory `/root/GitProgram/Spark-Program/CaffeOnSpark/caffe-public'\r\nmake[1]: Entering directory `/root/GitProgram/Spark-Program/CaffeOnSpark/caffe-public'\r\nPROTOC src/caffe/proto/caffe.proto\r\nmake[1]: protoc: Command not found\r\nmake[1]: *** [.build_release/src/caffe/proto/caffe.pb.h] Error 127\r\nmake[1]: *** Waiting for unfinished jobs....\r\nmake[1]: Leaving directory `/root/GitProgram/Spark-Program/CaffeOnSpark/caffe-public'\r\nexport LD_LIBRARY_PATH=\"/usr/local/cuda/lib64::/root/GitProgram/Spark-Program/CaffeOnSpark/caffe-public/distribute/lib:/root/GitProgram/Spark-Program/CaffeOnSpark/caffe-distri/distribute/lib:/usr/lib64:/lib64 \"; mvn -B package\r\n[INFO] Scanning for projects...\r\n[WARNING] \r\n[WARNING] Some problems were encountered while building the effective model for com.yahoo.ml:caffe-grid:jar:0.1-SNAPSHOT\r\n[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.\r\n[WARNING] \r\n[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.\r\n[WARNING] \r\n[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.\r\n[WARNING] \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Build Order:\r\n[INFO] \r\n[INFO] caffe\r\n[INFO] caffe-distri\r\n[INFO] caffe-grid\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building caffe 0.1-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building caffe-distri 0.1-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- maven-antrun-plugin:1.7:run (proto) @ caffe-distri ---\r\n[INFO] Executing tasks\r\n\r\nprotoc:\r\n     [exec] make[1]: Entering directory `/root/GitProgram/Spark-Program/CaffeOnSpark/caffe-distri'\r\n     [exec] make[1]: Leaving directory `/root/GitProgmake[1]: *** No rule to make target `../caffe-public/distribute/proto/caffe.proto', needed by `src/main/java/caffe/Caffe.java'. ram/Spark-Program/CaffeOnSpark/caffe-distri'\r\n     [exec]  Stop.\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] caffe .............................................. SUCCESS [  0.003 s]\r\n[INFO] caffe-distri ....................................... FAILURE [  1.268 s]\r\n[INFO] caffe-grid ......................................... SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 1.591 s\r\n[INFO] Finished at: 2016-05-16T18:20:36+08:00\r\n[INFO] Final Memory: 9M/176M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (proto) on project caffe-distri: An Ant BuildException has occured: exec returned: 2\r\n[ERROR] around Ant part ...<exec failonerror=\"true\" dir=\"/root/GitProgram/Spark-Program/CaffeOnSpark/caffe-distri\" executable=\"make\">... @ 5:109 in /root/GitProgram/Spark-Program/CaffeOnSpark/caffe-distri/target/antrun/build-protoc.xml\r\n[ERROR] -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException\r\n[ERROR] \r\n[ERROR] After correcting the problems, you can resume the build with the command\r\n[ERROR]   mvn <goals> -rf :caffe-distri\r\nmake: *** [build] Error 1"},"comment":{"url":"https://api.github.com/repos/yahoo/CaffeOnSpark/issues/comments/230973642","html_url":"https://github.com/yahoo/CaffeOnSpark/issues/66#issuecomment-230973642","issue_url":"https://api.github.com/repos/yahoo/CaffeOnSpark/issues/66","id":230973642,"user":{"login":"tavisbarr","id":12818936,"avatar_url":"https://avatars.githubusercontent.com/u/12818936?v=3","gravatar_id":"","url":"https://api.github.com/users/tavisbarr","html_url":"https://github.com/tavisbarr","followers_url":"https://api.github.com/users/tavisbarr/followers","following_url":"https://api.github.com/users/tavisbarr/following{/other_user}","gists_url":"https://api.github.com/users/tavisbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/tavisbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavisbarr/subscriptions","organizations_url":"https://api.github.com/users/tavisbarr/orgs","repos_url":"https://api.github.com/users/tavisbarr/repos","events_url":"https://api.github.com/users/tavisbarr/events{/privacy}","received_events_url":"https://api.github.com/users/tavisbarr/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T04:00:59Z","updated_at":"2016-07-07T04:00:59Z","body":"Hi.  Just to note I had a similar issue building on a fairly plain vanilla Ubuntu 16.04, which comes with only protobuf 2.6.1 in the standard repositories.  I changed the version in the pom file for caffe-distri to 2.6.1; the latter compiled, but then I also had to add the dependency to the pom file for caffe-grid.  [And also as a completely different issue I had to add /usr/local/include /usr/include/hdf5/serial/ to INCLUDED_DIRS, and also change the Scala version in the pom file to match the Scala version that Spark was compiled with].  Then it compiled without any problems.  Don't know if it runs yet, but will let you know if it doesn't. :)  So I might suggest addiing a variable to set the version of protobuf in the pom file to the installed version, and also adding it to the dependencies in the pom file for caffe-grid?"}}
{"actor":{"display_login":"tavisbarr"}}