{"action":"opened","issue":{"url":"https://api.github.com/repos/scylladb/seastar/issues/436","repository_url":"https://api.github.com/repos/scylladb/seastar","labels_url":"https://api.github.com/repos/scylladb/seastar/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/scylladb/seastar/issues/436/comments","events_url":"https://api.github.com/repos/scylladb/seastar/issues/436/events","html_url":"https://github.com/scylladb/seastar/issues/436","id":316519103,"number":436,"title":"Docker build fails","user":{"login":"adilbaig","id":298606,"avatar_url":"https://avatars2.githubusercontent.com/u/298606?v=4","gravatar_id":"","url":"https://api.github.com/users/adilbaig","html_url":"https://github.com/adilbaig","followers_url":"https://api.github.com/users/adilbaig/followers","following_url":"https://api.github.com/users/adilbaig/following{/other_user}","gists_url":"https://api.github.com/users/adilbaig/gists{/gist_id}","starred_url":"https://api.github.com/users/adilbaig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adilbaig/subscriptions","organizations_url":"https://api.github.com/users/adilbaig/orgs","repos_url":"https://api.github.com/users/adilbaig/repos","events_url":"https://api.github.com/users/adilbaig/events{/privacy}","received_events_url":"https://api.github.com/users/adilbaig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-21T19:33:59Z","updated_at":"2018-04-21T19:33:59Z","closed_at":null,"author_association":"NONE","body":"I followed the instructions here https://github.com/scylladb/seastar/blob/master/doc/building-docker.md\r\n\r\nI git cloned the repo to `$HOME/workspace/seastar` and ran this\r\n\r\n````\r\nseabuild() { docker run -v $HOME/workspace/seastar/:/seastar -u $(id -u):$(id -g) -w /seastar -t seastar-dev \"$@\"; }\r\n\r\n~/workspace/seastar$ seabuild ./configure.py\r\nNotice: -fsanitize=vptr is broken, disabling; some debug mode tests are bypassed.\r\nNotice: disabling -Wattributes due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80947\r\nCMake Error: The current CMakeCache.txt directory /seastar/build/debug/fmt/CMakeCache.txt is different than the directory /home/adil/workspace/seastar/build/debug/fmt where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt\r\nCMake Error: The source \"/seastar/fmt/CMakeLists.txt\" does not match the source \"/home/adil/workspace/seastar/fmt/CMakeLists.txt\" used to generate cache.  Re-run cmake with a different source directory.\r\nTraceback (most recent call last):\r\n  File \"./configure.py\", line 819, in <module>\r\n    configure_fmt(mode, cxx=args.cxx, cc=args.cc)\r\n  File \"./configure.py\", line 215, in configure_fmt\r\n    subprocess.check_output(args=['cmake', '-G', 'Ninja', '../../../fmt', '-DCMAKE_CXX_COMPILER=' + cxx, '-DCMAKE_C_COMPILER=' + cc], cwd=builddir)\r\n  File \"/usr/lib64/python3.6/subprocess.py\", line 336, in check_output\r\n    **kwargs).stdout\r\n  File \"/usr/lib64/python3.6/subprocess.py\", line 418, in run\r\n    output=stdout, stderr=stderr)\r\nsubprocess.CalledProcessError: Command '['cmake', '-G', 'Ninja', '../../../fmt', '-DCMAKE_CXX_COMPILER=g++', '-DCMAKE_C_COMPILER=gcc']' returned non-zero exit status 1.\r\n\r\n\r\n~/workspace/seastar$ seabuild ninja-build\r\n[1/394] mkdir -p build/debug/c-ares && cd build/debug/c-ares && CC=gcc cmake -DCARES_STATIC=ON -DCARES_SHARED=OFF -DCMAKE_BUILD_TYPE=Debug /home/adil/workspace/seastar/c-ares\r\nFAILED: build/debug/c-ares/Makefile \r\nmkdir -p build/debug/c-ares && cd build/debug/c-ares && CC=gcc cmake -DCARES_STATIC=ON -DCARES_SHARED=OFF -DCMAKE_BUILD_TYPE=Debug /home/adil/workspace/seastar/c-ares\r\nCMake Error: The current CMakeCache.txt directory /seastar/build/debug/c-ares/CMakeCache.txt is different than the directory /home/adil/workspace/seastar/build/debug/c-ares where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt\r\nCMake Error: The source directory \"/home/adil/workspace/seastar/c-ares\" does not exist.\r\nSpecify --help for usage, or press the help button on the CMake GUI.\r\n[3/394] /usr/bin/ninja -C build/debug/fmt\r\nFAILED: build/debug/fmt/fmt/libfmt.a \r\n/usr/bin/ninja -C build/debug/fmt\r\nninja: Entering directory `build/debug/fmt'\r\n[0/1] Re-running CMake...\r\nCMake Error: The source directory \"/home/adil/workspace/seastar/fmt\" does not exist.\r\nSpecify --help for usage, or press the help button on the CMake GUI.\r\nFAILED: build.ninja \r\n/usr/bin/cmake -H/home/adil/workspace/seastar/fmt -B/home/adil/workspace/seastar/build/debug/fmt\r\nninja: error: rebuilding 'build.ninja': subcommand failed\r\n[6/394] SWAGGER build/debug/gen/apps/httpd/demo.json.hh\r\nninja: build stopped: subcommand failed.\r\n\r\n````"}}
{"actor":{"display_login":"adilbaig"}}