{"action":"opened","issue":{"url":"https://api.github.com/repos/Librevault/librevault/issues/66","repository_url":"https://api.github.com/repos/Librevault/librevault","labels_url":"https://api.github.com/repos/Librevault/librevault/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/Librevault/librevault/issues/66/comments","events_url":"https://api.github.com/repos/Librevault/librevault/issues/66/events","html_url":"https://github.com/Librevault/librevault/issues/66","id":175135908,"number":66,"title":"Can't build with GCC 4.9.2 on debian jessie","user":{"login":"hamer13","id":5617109,"avatar_url":"https://avatars.githubusercontent.com/u/5617109?v=3","gravatar_id":"","url":"https://api.github.com/users/hamer13","html_url":"https://github.com/hamer13","followers_url":"https://api.github.com/users/hamer13/followers","following_url":"https://api.github.com/users/hamer13/following{/other_user}","gists_url":"https://api.github.com/users/hamer13/gists{/gist_id}","starred_url":"https://api.github.com/users/hamer13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamer13/subscriptions","organizations_url":"https://api.github.com/users/hamer13/orgs","repos_url":"https://api.github.com/users/hamer13/repos","events_url":"https://api.github.com/users/hamer13/events{/privacy}","received_events_url":"https://api.github.com/users/hamer13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-05T23:21:11Z","updated_at":"2016-09-05T23:21:11Z","closed_at":null,"body":"Installed GCC:\r\n```\r\n||/ Name                      Version       Architecture Description\r\n+++-=========================-=============-============-===============================================\r\nii  cpp                       4:4.9.2-2     amd64        GNU C preprocessor (cpp)\r\nii  cpp-4.9                   4.9.2-10      amd64        GNU C preprocessor\r\nii  g++                       4:4.9.2-2     amd64        GNU C++ compiler\r\nii  g++-4.9                   4.9.2-10      amd64        GNU C++ compiler\r\nii  gcc                       4:4.9.2-2     amd64        GNU C compiler\r\nii  gcc-4.9                   4.9.2-10      amd64        GNU C compiler\r\nii  gcc-4.9-base:amd64        4.9.2-10      amd64        GCC, the GNU Compiler Collection (base package)\r\nii  libgcc-4.9-dev:amd64      4.9.2-10      amd64        GCC support library (development files)\r\nii  libgcc1:amd64             1:4.9.2-10    amd64        GCC support library\r\nii  libstdc++-4.9-dev:amd64   4.9.2-10      amd64        GNU Standard C++ Library v3 (development files)\r\nii  libstdc++6:amd64          4.9.2-10      amd64        GNU Standard C++ Library v3\r\n```\r\nBuild options from \"debian/rules\":\r\n```\r\nexport DEB_CFLAGS_MAINT_APPEND  = -std=c11\r\nexport DEB_CXXFLAGS_MAINT_APPEND  = -std=c++11\r\n```\r\nI got this error:\r\n```\r\n[ 45%] Building CXX object contrib/rabin/CMakeFiles/rabin-exec.dir/main.cpp.o\r\ncd /home/hamer/download/librevault/librevault-0.1.18.7/obj-x86_64-linux-gnu/contrib/rabin && /usr/bin/c++    -I/home/hamer/download/librevault/librevault-0.1.18.7/obj-x86_64-linux-gnu/contrib/rabin -I/home/hamer/download/librevault/librevault-0.1.18.7/contrib/rabin  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wno-long-long   -std=c++14 -o CMakeFiles/rabin-exec.dir/main.cpp.o -c /home/hamer/download/librevault/librevault-0.1.18.7/contrib/rabin/main.cpp\r\n/home/hamer/download/librevault/librevault-0.1.18.7/contrib/rabin/main.cpp: In function 'int main()':\r\n/home/hamer/download/librevault/librevault-0.1.18.7/contrib/rabin/main.cpp:14:2: error: 'unique_ptr' is not a member of 'std'\r\n  std::unique_ptr<rabin_t> hasher = std::make_unique<rabin_t>();\r\n  ^\r\n/home/hamer/download/librevault/librevault-0.1.18.7/contrib/rabin/main.cpp:14:25: error: expected primary-expression before '>' token\r\n  std::unique_ptr<rabin_t> hasher = std::make_unique<rabin_t>();\r\n                         ^\r\n/home/hamer/download/librevault/librevault-0.1.18.7/contrib/rabin/main.cpp:14:27: error: 'hasher' was not declared in this scope\r\n  std::unique_ptr<rabin_t> hasher = std::make_unique<rabin_t>();\r\n                           ^\r\n/home/hamer/download/librevault/librevault-0.1.18.7/contrib/rabin/main.cpp:14:36: error: 'make_unique' is not a member of 'std'\r\n  std::unique_ptr<rabin_t> hasher = std::make_unique<rabin_t>();\r\n                                    ^\r\n/home/hamer/download/librevault/librevault-0.1.18.7/contrib/rabin/main.cpp:14:60: error: expected primary-expression before '>' token\r\n  std::unique_ptr<rabin_t> hasher = std::make_unique<rabin_t>();\r\n                                                            ^\r\n/home/hamer/download/librevault/librevault-0.1.18.7/contrib/rabin/main.cpp:14:62: error: expected primary-expression before ')' token\r\n  std::unique_ptr<rabin_t> hasher = std::make_unique<rabin_t>();\r\n                                                              ^\r\ncontrib/rabin/CMakeFiles/rabin-exec.dir/build.make:65: recipe for target 'contrib/rabin/CMakeFiles/rabin-exec.dir/main.cpp.o' failed\r\n```\r\nI tried to build with clang 3.8 from jessie-backports with the same error.\r\nI use the librevault-debian repo for debian/jessie builds."}}
{"actor":{"display_login":"hamer13"}}