-
-
Notifications
You must be signed in to change notification settings - Fork 818
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
remote build blocked & distcc does not work #5174
Comments
It works for me. But I don't know why you're connecting to the distcc server here, it's a distributed compilation and You can try to remove |
Sorry for the mistake, my remote build port is wrong. remote build works now. |
The distcc server was not connected successfully. Maybe the ip and port are not correct. |
Ip and port is right, because it was conneted. I use localhost/127.0.0.1 to test. It doesn't work either. Connect StepClientλ xmake service --connect --distcc -vD
<client>: connect 127.0.0.1:9693 ..
{
token = "f2761fb3569c3e5e423658e8c60d1498",
status = true,
njob = 18,
code = 1,
ncpu = 16,
session_id = "691419ee",
xmakever = "2.9.2"
}
<client>: 127.0.0.1:9693 connected! Serverλ xmake service --distcc -vD
<distcc_build_server>: listening 0.0.0.0:9693 ..
<distcc_build_server>: <socket: tcp4/980.0>: session connected
<distcc_build_server>: <socket: tcp4/980.0>: <session 691419ee>: on handle message(1)
{
session_id = "691419ee",
code = 1,
xmakever = "2.9.2",
token = "f2761fb3569c3e5e423658e8c60d1498"
}
<distcc_build_server>: <socket: tcp4/980.0>: <session 691419ee>: send ok
<distcc_build_server>: <socket: tcp4/980.0>: session end Compile StepClient
D:\test\hello
λ xmake
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.39.33523 Server
|
try this patch. #5189 xmake update -s github:xmake-io/xmake#distcc |
It works now. Thanks. λ xmake
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.39.33523
[ 92%]: compiling.release src\bar.cpp
[ 92%]: compiling.release src\foo.cpp
[ 92%]: compiling.release src\main.cpp
[ 92%]: compiling.release test\11.cpp
[ 92%]: compiling.release test\14.cpp
[ 92%]: compiling.release test\15.cpp
[ 92%]: compiling.release test\11111.cpp
[ 92%]: compiling.release test\16.cpp
[ 92%]: compiling.release test\10.cpp
[ 92%]: compiling.release test\12.cpp
[ 92%]: compiling.release test\13.cpp
[ 92%]: distc compiling.release test\44444.cpp
[ 92%]: compiling.release test\17.cpp
[ 92%]: distc compiling.release test\6.cpp
[ 92%]: distc compiling.release test\8.cpp
[ 92%]: distc compiling.release test\7.cpp
[ 92%]: compiling.release test\22222.cpp
[ 92%]: compiling.release test\18.cpp
[ 92%]: distc compiling.release test\55555.cpp
[ 92%]: compiling.release test\33333.cpp
[ 92%]: compiling.release test\20.cpp
[ 92%]: distc compiling.release test\9.cpp
[ 96%]: linking.release hello.exe
[100%]: build ok, spent 9.438s |
Xmake Version
2.9.2
Operating System Version and Architecture
Windows 10, x64
Describe Bug
Remote build blocked, my server is Win10 with VS2022 and my client is Win10 with VS2022.
Xmake's hello project build and run without any error both on client and server. But remote build dosen't work.
Expected Behavior
compile success on remote server
Project Configuration
xmake create hello
Additional Information and Error Logs
xmake create hello
xmake service --connect -vD
The text was updated successfully, but these errors were encountered: