Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ビルドできない docker使用 #1158

Open
john-banjirou opened this issue Aug 27, 2023 · 0 comments
Open

ビルドできない docker使用 #1158

john-banjirou opened this issue Aug 27, 2023 · 0 comments

Comments

@john-banjirou
Copy link

投稿失礼します。

vscodeより、dockerで、ビルドが、失敗します。
(dev container Mjx on ubuntu、となっており、それなりに、動いているようです)

どなたか、お助けください。

宜しくおねがいします。

--------------------------------------------------------------------------------------------Cmake/Build
[proc] Executing command: cmake --version
[proc] Executing command: cmake -E capabilities
[variant] Loaded new set of variants
[kit] Successfully loaded 1 kits from /root/.local/share/CMakeTools/cmake-tools-kits.json
[proc] Executing command: /usr/bin/cmake --version
[proc] Executing command: /usr/bin/cmake -E capabilities
[proc] Executing command: /usr/bin/gcc -v
[proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT
[proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT
[proc] Executing command: /usr/bin/cmake -S/workspaces/mjx -B/workspaces/mjx/build -G "Unix Makefiles"
[proc] The command: /usr/bin/cmake -S/workspaces/mjx -B/workspaces/mjx/build -G "Unix Makefiles" exited with code: 1
[main] Configuring project: mjx
[proc] Executing command: /usr/bin/cmake --no-warn-unused-cli -DMJX_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ -S/workspaces/mjx -B/workspaces/mjx/build -G "Unix Makefiles"
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error: The current CMakeCache.txt directory /workspaces/mjx/build/CMakeCache.txt is different than the directory /home/takada/workspace/mahjong/mjx2/mjx/build 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
[cmake] CMake Error: The source "/workspaces/mjx/CMakeLists.txt" does not match the source "/home/takada/workspace/mahjong/mjx2/mjx/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
[proc] The command: /usr/bin/cmake --no-warn-unused-cli -DMJX_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ -S/workspaces/mjx -B/workspaces/mjx/build -G "Unix Makefiles" exited with code: 1

--------------------------------------------------------------------------------------------window
2023-08-28 01:32:07.899 [warning] [twxs.cmake]: Cannot register 'cmake.cmakePath'. This property is already registered.
2023-08-28 01:32:10.305 [info] [perf] Render performance baseline is 60ms
2023-08-28 01:32:11.753 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:11.639Z [error] [cmake] CMake Error at /home/takada/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
2023-08-28 01:32:11.753 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:11.640Z [error] [cmake] Could NOT find Boost (missing: Boost_INCLUDE_DIR)
2023-08-28 01:32:11.754 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:11.640Z [error] [cmake] Call Stack (most recent call first):
2023-08-28 01:32:11.754 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:11.640Z [error] [cmake] /home/takada/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
2023-08-28 01:32:11.754 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:11.641Z [error] [cmake] /home/takada/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/FindBoost.cmake:2378 (find_package_handle_standard_args)
2023-08-28 01:32:11.754 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:11.642Z [error] [cmake] CMakeLists.txt:31 (find_package)
2023-08-28 01:32:11.755 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:11.643Z [error] [cmake]
2023-08-28 01:32:11.755 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:11.643Z [error] [cmake]
2023-08-28 01:32:11.821 [error] [Extension Host] (node:245542) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use exe --trace-deprecation ... to show where the warning was created)
2023-08-28 01:32:44.315 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:44.311Z [error] [cmake] CMake Error at /home/takada/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
2023-08-28 01:32:44.315 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:44.311Z [error] [cmake] Could NOT find Boost (missing: Boost_INCLUDE_DIR)
2023-08-28 01:32:44.317 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:44.312Z [error] [cmake] Call Stack (most recent call first):
2023-08-28 01:32:44.317 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:44.312Z [error] [cmake] /home/takada/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
2023-08-28 01:32:44.317 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:44.312Z [error] [cmake] /home/takada/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/FindBoost.cmake:2378 (find_package_handle_standard_args)
2023-08-28 01:32:44.318 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:44.312Z [error] [cmake] CMakeLists.txt:31 (find_package)
2023-08-28 01:32:44.318 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:44.313Z [error] [cmake]
2023-08-28 01:32:44.319 [error] [Extension Host] [CMakeTools] 2023-08-27T16:32:44.313Z [error] [cmake]
2023-08-28 01:38:15.190 [info] Invoking resolveAuthority(dev-container)...
2023-08-28 01:38:15.191 [info] [LocalProcess0][resolveAuthority(dev-container,1)][0ms] obtaining proxy...
2023-08-28 01:38:15.191 [info] [LocalProcess0][resolveAuthority(dev-container,1)][0ms] invoking...
2023-08-28 01:38:16.192 [info] [LocalProcess0][resolveAuthority(dev-container,1)][1000ms] waiting...
2023-08-28 01:38:17.192 [info] [LocalProcess0][resolveAuthority(dev-container,1)][2000ms] waiting...
2023-08-28 01:38:18.192 [info] [LocalProcess0][resolveAuthority(dev-container,1)][3000ms] waiting...
2023-08-28 01:38:19.192 [info] [LocalProcess0][resolveAuthority(dev-container,1)][4000ms] waiting...
2023-08-28 01:38:20.192 [info] [LocalProcess0][resolveAuthority(dev-container,1)][5000ms] waiting...
2023-08-28 01:38:21.191 [info] [LocalProcess0][resolveAuthority(dev-container,1)][6000ms] waiting...
2023-08-28 01:38:21.991 [info] [LocalProcess0][resolveAuthority(dev-container,1)][6799ms] returned WebSocket(127.0.0.1:33681)
2023-08-28 01:38:21.991 [info] resolveAuthority(dev-container) returned 'WebSocket(127.0.0.1:33681)' after 6800 ms
2023-08-28 01:38:21.996 [info] Creating a socket (renderer-Management-8850e22c-8eb1-4ca7-b9b8-7f13e21ec78a)...
2023-08-28 01:38:21.997 [info] Creating a socket (renderer-ExtensionHost-3ce8420a-2b4a-401a-afea-a03bff36b5f4)...
2023-08-28 01:38:22.256 [info] Creating a socket (renderer-Management-8850e22c-8eb1-4ca7-b9b8-7f13e21ec78a) was successful after 263 ms.
2023-08-28 01:38:22.478 [info] Creating a socket (renderer-ExtensionHost-3ce8420a-2b4a-401a-afea-a03bff36b5f4) was successful after 482 ms.
2023-08-28 01:38:23.961 [info] [perf] Render performance baseline is 48ms
2023-08-28 01:38:27.875 [warning] [ms-vscode.cmake-tools]: Cannot register 'cmake.cmakePath'. This property is already registered.
2023-08-28 01:38:46.740 [error] [Extension Host] (node:274) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use node --trace-deprecation ... to show where the warning was created)
2023-08-28 01:39:18.241 [error] [Extension Host] [CMakeTools] 2023-08-27T16:39:18.117Z [error] [cmake] CMake Error: The current CMakeCache.txt directory /workspaces/mjx/build/CMakeCache.txt is different than the directory /home/takada/workspace/mahjong/mjx2/mjx/build 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
2023-08-28 01:39:18.242 [error] [Extension Host] [CMakeTools] 2023-08-27T16:39:18.118Z [error] [cmake] CMake Error: The source "/workspaces/mjx/CMakeLists.txt" does not match the source "/home/takada/workspace/mahjong/mjx2/mjx/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
2023-08-28 01:39:50.073 [error] [Extension Host] [CMakeTools] 2023-08-27T16:39:50.069Z [error] [cmake] CMake Error: The current CMakeCache.txt directory /workspaces/mjx/build/CMakeCache.txt is different than the directory /home/takada/workspace/mahjong/mjx2/mjx/build 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
2023-08-28 01:39:50.073 [error] [Extension Host] [CMakeTools] 2023-08-27T16:39:50.070Z [error] [cmake] CMake Error: The source "/workspaces/mjx/CMakeLists.txt" does not match the source "/home/takada/workspace/mahjong/mjx2/mjx/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
2023-08-28 01:40:17.940 [error] [Extension Host] [CMakeTools] 2023-08-27T16:40:17.933Z [error] [cmake] CMake Error: The current CMakeCache.txt directory /workspaces/mjx/build/CMakeCache.txt is different than the directory /home/takada/workspace/mahjong/mjx2/mjx/build 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
2023-08-28 01:40:17.942 [error] [Extension Host] [CMakeTools] 2023-08-27T16:40:17.933Z [error] [cmake] CMake Error: The source "/workspaces/mjx/CMakeLists.txt" does not match the source "/home/takada/workspace/mahjong/mjx2/mjx/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
2023-08-28 01:42:55.325 [error] [Extension Host] [CMakeTools] 2023-08-27T16:42:55.288Z [error] [cmake] CMake Error: The current CMakeCache.txt directory /workspaces/mjx/build/CMakeCache.txt is different than the directory /home/takada/workspace/mahjong/mjx2/mjx/build 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
2023-08-28 01:42:55.326 [error] [Extension Host] [CMakeTools] 2023-08-27T16:42:55.288Z [error] [cmake] CMake Error: The source "/workspaces/mjx/CMakeLists.txt" does not match the source "/home/takada/workspace/mahjong/mjx2/mjx/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
2023-08-28 01:43:11.714 [error] [Extension Host] [CMakeTools] 2023-08-27T16:43:11.681Z [error] [cmake] CMake Error: The current CMakeCache.txt directory /workspaces/mjx/build/CMakeCache.txt is different than the directory /home/takada/workspace/mahjong/mjx2/mjx/build 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
2023-08-28 01:43:11.714 [error] [Extension Host] [CMakeTools] 2023-08-27T16:43:11.681Z [error] [cmake] CMake Error: The source "/workspaces/mjx/CMakeLists.txt" does not match the source "/home/takada/workspace/mahjong/mjx2/mjx/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
2023-08-28 01:45:46.857 [info] Invoking resolveAuthority(dev-container)...
2023-08-28 01:45:46.858 [info] [LocalProcess0][resolveAuthority(dev-container,1)][0ms] obtaining proxy...
2023-08-28 01:45:46.858 [info] [LocalProcess0][resolveAuthority(dev-container,1)][0ms] invoking...
2023-08-28 01:45:47.859 [info] [LocalProcess0][resolveAuthority(dev-container,1)][1000ms] waiting...
2023-08-28 01:45:48.859 [info] [LocalProcess0][resolveAuthority(dev-container,1)][2000ms] waiting...
2023-08-28 01:45:49.704 [info] [LocalProcess0][resolveAuthority(dev-container,1)][2846ms] returned WebSocket(127.0.0.1:33681)
2023-08-28 01:45:49.705 [info] resolveAuthority(dev-container) returned 'WebSocket(127.0.0.1:33681)' after 2847 ms
2023-08-28 01:45:49.707 [info] Creating a socket (renderer-Management-5091957d-d185-4665-bb43-918a8c9b25f5)...
2023-08-28 01:45:49.709 [info] Creating a socket (renderer-ExtensionHost-20f21bec-79bd-4bc4-a856-e4e54ddef97a)...
2023-08-28 01:45:49.894 [info] Creating a socket (renderer-Management-5091957d-d185-4665-bb43-918a8c9b25f5) was successful after 187 ms.
2023-08-28 01:45:50.089 [info] Creating a socket (renderer-ExtensionHost-20f21bec-79bd-4bc4-a856-e4e54ddef97a) was successful after 380 ms.
2023-08-28 01:45:50.538 [warning] [twxs.cmake]: Cannot register 'cmake.cmakePath'. This property is already registered.
2023-08-28 01:45:51.709 [info] [perf] Render performance baseline is 47ms
2023-08-28 01:45:55.254 [error] [Extension Host] [CMakeTools] 2023-08-27T16:45:55.243Z [error] [cmake] CMake Error: The current CMakeCache.txt directory /workspaces/mjx/build/CMakeCache.txt is different than the directory /home/takada/workspace/mahjong/mjx2/mjx/build 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
2023-08-28 01:45:55.254 [error] [Extension Host] [CMakeTools] 2023-08-27T16:45:55.243Z [error] [cmake] CMake Error: The source "/workspaces/mjx/CMakeLists.txt" does not match the source "/home/takada/workspace/mahjong/mjx2/mjx/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
2023-08-28 01:45:55.528 [error] [Extension Host] (node:1956) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use node --trace-deprecation ... to show where the warning was created)



--------------------------------------------------------------------------------------------GitHub
2023-08-27 16:45:52.735 [info] Log level: Info
2023-08-27 16:45:53.429 [warning] Failed to update repository branch protection: No GitHub authentication session available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant