英文:
Remainders of previously uninstalled icecc present when compiling go
问题
在我安装了icecc(分布式编译器)的Linux机器上,我现在使用apt purge
命令将其移除了。
当我启动一个简单的Go程序时,我会得到以下编译器输出:
└─$ go run .
# runtime/cgo
ICECC[32220] 2023-03-01 22:07:53: 发生异常错误 24 - 远程主机 192.168.0.106 无法处理环境 (192.168.0.106)
# runtime/cgo
ICECC[33408] 2023-03-01 22:07:54: flush_writebuf() 失败(错误:管道中断)
ICECC[33408] 2023-03-01 22:07:54: 远程状态:编译器未启动
ICECC[33408] 2023-03-01 22:07:54: 将源代码块写入主机 192.168.0.106
ICECC[33408] 2023-03-01 22:07:54: 失败(错误:管道中断)
ICECC[33408] 2023-03-01 22:07:54: 发生异常错误 15 - 写入主机失败 (192.168.0.106)
# runtime/cgo
[...]
这个Go程序能够正常编译和启动。
有趣的是,错误输出的日期和时间与执行go run .
命令的时间不匹配。
我该如何摆脱这些烦人的消息?
英文:
On a linux machine I had icecc (distributed compiler) installed, which is now removed with apt purge
.
When I start a simple go program I get the following compiler output:
└─$ go run .
# runtime/cgo
ICECC[32220] 2023-03-01 22:07:53: got exception Error 24 - remote 192.168.0.106 unable to handle environment (192.168.0.106)
# runtime/cgo
ICECC[33408] 2023-03-01 22:07:54: flush_writebuf() failed(Error: Broken pipe)
ICECC[33408] 2023-03-01 22:07:54: remote status: compiler did not start
ICECC[33408] 2023-03-01 22:07:54: write of source chunk to host 192.168.0.106
ICECC[33408] 2023-03-01 22:07:54: failed (Error: Broken pipe)
ICECC[33408] 2023-03-01 22:07:54: got exception Error 15 - write to host failed (192.168.0.106)
# runtime/cgo
[...]
The go program compiles starts as expected.
Interestingly, the date and time of the error output do not match the time when the go run .
command was started.
How can I get rid of the annoying messages?
答案1
得分: 1
我成功通过删除~/.cache/go-build
文件夹来解决了这些消息。
英文:
I managed to get rid of the messages by deleting the
~/.cache/go-build
folder
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论