Comments (14)
Bot detected the issue body's language is not English, translate it automatically.
Title: Distributed build error
Xmake version
2.8.6
Operating system version and architecture
windows 7/windows server 2012
Describe the problem
Local windows 7, distributed server windows server 2012, building project error
vs2013
Expected results
Build normally
Project configuration
client.conf configuration:
{
connect_timeout = 10000,
distcc_build = {
hosts = {
{
connect = "127.0.0.1:9693",
token = "aee4d7a8875e4cfb2a421219cfb737bc"
},
{
connect = "10.0.0.57:9693",
token = "fef62d3bb81d39e08f38fbad770e9076"
}
}
},
recv_timeout = -1,
remote_build = {
connect = "127.0.0.1:9691",
token = "aee4d7a8875e4cfb2a421219cfb737bc"
},
remote_cache = {
connect = "127.0.0.1:9692",
token = "aee4d7a8875e4cfb2a421219cfb737bc"
},
send_timeout = -1
}
Additional information and error logs
Distributed build exception log.txt
from xmake.
服务端也是相同版本么,按理 njob 不应该为 nil,你可以调下下面的位置
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
Is the server also the same version? Logically njob should not be nil. You can adjust the following position
from xmake.
服务端也是相同版本么,按理 njob 不应该为 nil,你可以调下下面的位置
版本一样的,同个安装包。
出现一次后,后面再试没再报错。但是连接上后,有时候分布式服务器有在一起编译构建,有时候没有。。。这个不知道什么情况(这期间分布式连接有开关操作)
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
Is the server version also the same? Logically njob should not be nil. You can adjust the following position
The same version, the same installation package.
After it occurred once, no error was reported again when I tried again. But after connecting, sometimes the distributed servers are compiled and built together, and sometimes they are not. . . I don’t know what’s going on with this (during this period, the distributed connection is switching on and off)
from xmake.
服务端也是相同版本么,按理 njob 不应该为 nil,你可以调下下面的位置
版本一样的,同个安装包。 出现一次后,后面再试没再报错。但是连接上后,有时候分布式服务器有在一起编译构建,有时候没有。。。这个不知道什么情况(这期间分布式连接有开关操作)
除非有必现的问题,并且提供复现步骤和完整 logs ,不然我也没法看,你可以自己翻源码 调下。
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
Is the server version also the same? Logically njob should not be nil. You can adjust the following position
The same version and the same installation package. After it occurred once, no error was reported again when I tried again. But after connecting, sometimes the distributed servers are compiled and built together, and sometimes they are not. . . I don’t know what’s going on with this (during this period, the distributed connection is switching on and off)
Unless there is a problem that must occur, and the reproduction steps and complete logs are provided, I can't read it. You can read the source code and adjust it yourself.
from xmake.
分布式构建异常log2.txt
连接时,有njob值,后面host.njob访问的时候,有一台机器没值
from xmake.
连接完有值,应该会序列化存到本地,加载时候应该也有值才对。。
你可以继续调下。然后提个 pr 过来
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
There is a value after the connection, it should be serialized and saved locally, and there should be a value when loading. .
You can continue to adjust it. Then submit a pr
from xmake.
看了工程目录下.xmake/.../status.txt内容,将原有的远程服务器信息删了,重新连接,就可以了
PS:忘了保存原有的服务器信息了,不确定有什么区别
另外,可以复现的一个问题是,在分布式编译过程中,打断编译,然后关闭连接再分布式编译,很容易出现连不上远程服务问题,且远程服务器上分布式编译进程还在,且占用一定的CPU
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
After reading the contents of .xmake/.../status.txt in the project directory, delete the original remote server information and reconnect, it will be fine.
PS: I forgot to save the original server information, not sure what the difference is.
In addition, a reproducible problem is that during the distributed compilation process, if you interrupt the compilation, then close the connection and then perform distributed compilation, it is easy to fail to connect to the remote service, and the distributed compilation process is still on the remote server. and takes up a certain amount of CPU
from xmake.
PS:忘了保存原有的服务器信息了,不确定有什么区别
等下次复现的时候,贴下 这个文件内容
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
PS: I forgot to save the original server information, not sure what the difference is.
When it happens next time, I'll post the content of this file.
from xmake.
Related Issues (20)
- ubuntu下调用xmake f --menu报错error: field 'isdone' is not callable (a nil value) HOT 7
- Allow target:fileconfig() for headerfiles HOT 8
- new version xmake can not build static lib only containing modules HOT 7
- package:add_linkdirs() 未导出 HOT 11
- xmake中如何添加配置g++ -Wl,-rpath=. HOT 2
- Dependencies are built after precompiled headers HOT 3
- Endianness/Byte-order detection on build machine HOT 2
- Metal project generated by xmake can not launch because of failed to load default library HOT 1
- xmake test 并发测试用例时输出进度乱序, 希望排序后输出 HOT 4
- Windows平台上,为编译工具链程序添加`.exe`后缀的行为与`zig cc`,`zig c++`工具链存在冲突 HOT 10
- Keep packages required with a branch up to date HOT 2
- 构建 Swig 模块时报错 HOT 5
- xmake f -c -P . 清除配置报错 HOT 14
- vcpkg dependencies miss resolved HOT 9
- 安装imgui v1.90.4时,出现“LINK : fatal error LNK1561: 必须定义入口点”错误,安装失败 HOT 28
- Generated CMakeLists.txt contains nil HOT 2
- set_runtimes can not work on mingw plat HOT 3
- add_cflags 编译标志覆盖问题 HOT 3
- 增加自定义其他编译器添加选项文件的选项功能 HOT 3
- 依赖包在测试时忽略了自定义工具链的`sysincludedirs` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake.