{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2742","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2742/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2742/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2742/events","html_url":"https://github.com/tensorflow/tensorflow/issues/2742","id":159286628,"number":2742,"title":"Ubuntu 16.04 Makefile build","user":{"login":"kingtaurus","id":2761482,"avatar_url":"https://avatars.githubusercontent.com/u/2761482?v=3","gravatar_id":"","url":"https://api.github.com/users/kingtaurus","html_url":"https://github.com/kingtaurus","followers_url":"https://api.github.com/users/kingtaurus/followers","following_url":"https://api.github.com/users/kingtaurus/following{/other_user}","gists_url":"https://api.github.com/users/kingtaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/kingtaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingtaurus/subscriptions","organizations_url":"https://api.github.com/users/kingtaurus/orgs","repos_url":"https://api.github.com/users/kingtaurus/repos","events_url":"https://api.github.com/users/kingtaurus/events{/privacy}","received_events_url":"https://api.github.com/users/kingtaurus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/contributions%20welcome","name":"contributions welcome","color":"009800"},{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/triaged","name":"triaged","color":"c2e0c6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-06-08T22:13:17Z","updated_at":"2016-06-09T00:35:05Z","closed_at":null,"body":"I was attempting to use the Makefile to test build the library on my Ubuntu system (bazel builds to completion).\r\n```\r\nuname -a -m\r\nLinux gking-ml-vm 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n\r\n### Environment info\r\nOperating System:\r\n```\r\nlsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 16.04 LTS\r\nRelease:\t16.04\r\nCodename:\txenial\r\n```\r\nInstalled version of CUDA and cuDNN: \r\n(please attach the output of `ls -l /path/to/cuda/lib/libcud*`):\r\n```\r\nls -l /path/to/cuda/lib/libcud*\r\nls: cannot access '/path/to/cuda/lib/libcud*': No such file or directory\r\n```\r\n\r\nIf installed from sources, provide the commit hash:\r\n```\r\ngit show\r\ncommit 6431560b7ec3565154cb9cdc9c827db78ccfebe7\r\nMerge: a0085c8 b7c4169\r\nAuthor: Vijay Vasudevan <vrv@google.com>\r\nDate:   Tue Jun 7 11:32:10 2016 -0700\r\n\r\n    Merge pull request #2710 from vrv/branch_124251558\r\n    \r\n    Branch 124251558\r\n```\r\n\r\n### Steps to reproduce\r\n1.)  `bash tensorflow/contrib/makefile/download_dependencies.sh`\r\n2.) `make -f tensorflow/contrib/makefile/Makefile all`\r\n**Fails here**: because protoc installed for Ubuntu 16.04 is `2.6.1`;\r\n```\r\nmake -f tensorflow/contrib/makefile/Makefile all\r\nprotoc  tensorflow/core/util/test_log.proto --cpp_out /home/gking/Programming/tensorflow/tensorflow/contrib/makefile/gen/proto/\r\ntensorflow/core/util/test_log.proto:2:10: Unrecognized syntax identifier \"proto3\".  This parser only recognizes \"proto2\".\r\ntensorflow/contrib/makefile/Makefile:325: recipe for target '/home/gking/Programming/tensorflow/tensorflow/contrib/makefile/gen/proto/tensorflow/core/util/test_log.pb.cc' failed\r\nmake: *** [/home/gking/Programming/tensorflow/tensorflow/contrib/makefile/gen/proto/tensorflow/core/util/test_log.pb.cc] Error 1\r\n```\r\n3.) Even with an updated `protoc` build fails again:\r\n```\r\ngcc --std=c++11 -I/usr/local/include -I. -I/home/gking/Programming/tensorflow/tensorflow/contrib/makefile/downloads/ -I/home/gking/Programming/tensorflow/tensorflow/contrib/makefile/downloads/eigen-eigen-d02e6a705c30 -I/home/gking/Programming/tensorflow/tensorflow/contrib/makefile/gen/host_obj/ -c tensorflow/core/lib/strings/strcat.cc -o /home/gking/Programming/tensorflow/tensorflow/contrib/makefile/gen/host_obj/tensorflow/core/lib/strings/strcat.o\r\nIn file included from tensorflow/core/lib/strings/strcat.cc:23:0:\r\n./third_party/eigen3/Eigen/Core:1:47: fatal error: eigen-eigen-0c0b79ecd74c/Eigen/Core: No such file or directory\r\ncompilation terminated.\r\ntensorflow/contrib/makefile/Makefile:350: recipe for target '/home/gking/Programming/tensorflow/tensorflow/contrib/makefile/gen/host_obj/tensorflow/core/lib/strings/strcat.o' failed\r\nmake: *** [/home/gking/Programming/tensorflow/tensorflow/contrib/makefile/gen/host_obj/tensorflow/core/lib/strings/strcat.o] Error 1\r\n```\r\n\r\n### What have you tried?\r\n1. Built a new version of `protoc`:\r\n\r\n**What I did (note the dependencies given to fpm aren't correct);**:\r\n```\r\nwget https://github.com/google/protobuf/archive/v3.0.0-beta-3.tar.gz\r\ntar xvzf v3.0.0-beta-3.tar.gz\r\ncd protobuf-3.0.0-beta-3\r\n./autogen.sh\r\n./configure --prefix=/usr\r\nmake all\r\nmake ctags\r\nmake check\r\nmake install DESTDIR=/tmp/installdir\r\nfpm -s dir -t deb -p protobufc_3.0.0-beta3_amd64.deb -n protobufc -v 3.0.0-beta3 -d \"libgcc1 >= 1:4.1.1\" -d \"libstdc++6 >= 5.2\" -C /tmp/installdir usr/bin usr/lib usr/include\r\n```\r\n\r\nAfter purging `protobuf-compiler` and other related packages I installed the new `fpm` built package (`sudo dpkg --install protobufc_3.0.0-beta3_amd64.deb`)\r\n\r\n\r\n### Logs or other output that would be helpful\r\n(If logs are large, please upload as attachment).\r\n\r\n**EDIT:** Added some additional details.\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/224771809","html_url":"https://github.com/tensorflow/tensorflow/issues/2742#issuecomment-224771809","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2742","id":224771809,"user":{"login":"kingtaurus","id":2761482,"avatar_url":"https://avatars.githubusercontent.com/u/2761482?v=3","gravatar_id":"","url":"https://api.github.com/users/kingtaurus","html_url":"https://github.com/kingtaurus","followers_url":"https://api.github.com/users/kingtaurus/followers","following_url":"https://api.github.com/users/kingtaurus/following{/other_user}","gists_url":"https://api.github.com/users/kingtaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/kingtaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingtaurus/subscriptions","organizations_url":"https://api.github.com/users/kingtaurus/orgs","repos_url":"https://api.github.com/users/kingtaurus/repos","events_url":"https://api.github.com/users/kingtaurus/events{/privacy}","received_events_url":"https://api.github.com/users/kingtaurus/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T00:35:05Z","updated_at":"2016-06-09T00:35:05Z","body":"@petewarden I created a quick pull request that should fix this issue by grabbing the information from eigen.BUILD; "}}
{"actor":{"display_login":"kingtaurus"}}