-
-
Notifications
You must be signed in to change notification settings - Fork 816
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
xrepo 命令一直无响应 #5258
Comments
这边可以,应该是访问 github 的问题。。 $ xrepo info miniz
updating repositories .. ok
The package info of project:
require(miniz):
-> description: miniz: Single C source file zlib-replacement library
-> version: 2.2.0
-> license: MIT
-> urls:
-> https://github.com/richgel999/miniz/archive/refs/tags/2.2.0.tar.gz
-> bd1136d0a1554520dcb527a239655777148d90fd2d51cf02c36540afc552e6ec
-> https://github.com/richgel999/miniz.git
-> 2.2.0
-> repo: xmake-repo https://gitee.com/tboox/xmake-repo.git master
-> cachedir: /Users/ruki/.xmake/cache/packages/2406/m/miniz/2.2.0
-> installdir: /Users/ruki/.xmake/packages/m/miniz/2.2.0/def2ee03ffd34d2aa9fc242b65b210c7
-> searchdirs:
-> searchnames:
-> miniz-2.2.0.tar.gz
-> 2.2.0.tar.gz
-> miniz (git)
-> fetchinfo: 2.2.0, remote(in xmake-repo)
-> platforms: all
-> requires:
-> plat: macosx
-> arch: x86_64
-> configs:
-> pic: true
-> shared: false
-> debug: false
-> configs:
-> shared: Build shared library. (default: false) (readonly)
-> configs (builtin):
-> debug: Enable debug symbols. (default: false)
-> pic: Enable the position independent code. (default: true)
-> lto: Enable the link-time build optimization. (type: boolean)
-> asan: Enable the address sanitizer. (type: boolean)
-> runtimes: Set the compiler runtimes.
-> values: {"MT","MTd","MD","MDd","c++_static","c++_shared","stdc++_static","stdc++_shared"}
-> vs_runtime: Set vs compiler runtime.
-> values: {"MT","MTd","MD","MDd"}
-> toolchains: Set package toolchains only for cross-compilation.
-> cflags: Set the C compiler flags.
-> cxflags: Set the C/C++ compiler flags.
-> cxxflags: Set the C++ compiler flags.
-> asflags: Set the assembler flags.
-> ldflags: Set the binary linker flags.
-> shflags: Set the shared library linker flags. |
访问GitHub是没问题的
|
可以参考这个 看下栈。。 |
Title: xrepo command has been unresponsive Xmake versionv2.9.3+20240624 Operating system version and architecturemacOS 14.4.1 Describe the problemUsing xmake installed with brew, there is no response when using the xrepo info miniz
xmake require --search miniz I checked the warehouse: https://xrepo.xmake.io/#/packages/macosx?id=miniz-macosx, and it turns out that the miniz library exists. I don’t know if it’s a network problem or my own problem. Expected resultsxrepo runs normally and can download dependency packages Project configuration
Additional information and error logsNo output
|
输出如下:
|
看下 |
Check if |
所以是这个软件影响了?奇怪的是,这个软件并没有运行
|
看进程发现
|
会去从 |
Will look for ping in the results returned from |
用 |
Would it be better to use |
跟用哪个没关系,即使 whereis 更好,也不会弃用 which ,只会增加一种查找方式 去辅助改进结果。。 这种用户自身环境问题,只有你这自己处理下。。 |
It doesn't matter which one is used. Even if whereis is better, which will not be abandoned. It will only add a search method to help improve the results. . This kind of user environment problem can only be solved by yourself. . |
是否可以加一个超时,不然会无意义的无限等待 |
Is it possible to add a timeout, otherwise it will be meaningless and infinite waiting? |
参数本身
|
The parameter itself
|
这种你自己处理下,让 which 找对 ping 就行了。。用户环境问题 |
You can handle this yourself and let which find the right ping. . User environment issues |
Xmake 版本
v2.9.3+20240624
操作系统版本和架构
macOS 14.4.1
描述问题
使用brew安装的xmake,使用
xrepo
命令时,无响应:查询了仓库:https://xrepo.xmake.io/#/packages/macosx?id=miniz-macosx,是存在miniz库的,不知道是网络问题,还是我的自身问题。
期待的结果
xrepo运行正常,并能下载依赖包
工程配置
附加信息和错误日志
均无输出
The text was updated successfully, but these errors were encountered: