Closed Binary-Song closed 3 years ago
我这里可以,暂时无法复现,可以更新下 repo 试试,xrepo update-repo
update 显示有错误:
D:\Projects\xiaoxun_cpp_backend\build\Debug>xrepo update-repo
updating repositories .. error: fatal: not a git repository (or any of the parent directories): .git
error: execv(xmake repo --update) failed(-1)
D:\Projects\xiaoxun_cpp_backend\build\Debug>xrepo update-repo
updating repositories .. error: fatal: not a git repository (or any of the parent directories): .git
error: execv(xmake repo --update) failed(-1)
D:\Projects\xiaoxun_cpp_backend\build\Debug>xrepo update-repo -vD
xmake repo --update -v -D
updating repositories ..
pulling repository(build-artifacts): https://gitlab.com/xmake-mirror/build-artifacts.git to C:\Users\O5\AppData\Local\.xmake\repositories\build-artifacts ..
git pull origin main
From https://gitlab.com/xmake-mirror/build-artifacts
* branch main -> FETCH_HEAD
Already up to date.
pulling repository(xmake-repo): https://gitlab.com/tboox/xmake-repo.git to C:\Users\O5\AppData\Local\.xmake\repositories\xmake-repo ..
git pull origin master
fatal: not a git repository (or any of the parent directories): .git
error: @programdir\core\main.lua:279: @programdir\core\sandbox\modules\os.lua:392: execv(git pull origin master) failed(128)
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:821]: in function 'raise'
[@programdir\core\sandbox\modules\os.lua:392]: in function 'runv'
[@programdir\core\sandbox\modules\os.lua:289]: in function 'vrunv'
[@programdir\modules\devel\git\pull.lua:89]: in function 'pull'
[@programdir\plugins\repo\main.lua:110]: in function 'task'
[@programdir\plugins\repo\main.lua:134]: in function '_update'
[@programdir\plugins\repo\main.lua:230]:
[C]: in function 'load'
[@programdir\core\base\task.lua:519]: in function 'run'
[@programdir\core\main.lua:277]: in function 'cotask'
[@programdir\core\base\scheduler.lua:365]:
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:821: in function 'raise'
@programdir\core\main.lua:279: in function 'cotask'
@programdir\core\base\scheduler.lua:365: in function <@programdir\core\base\scheduler.lua:362>
error: @programdir\core\main.lua:279: @programdir\core\sandbox\modules\os.lua:392: execv(xmake repo --update -v -D) failed(-1)
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:821]: in function 'raise'
[@programdir\core\sandbox\modules\os.lua:392]: in function 'vexecv'
[@programdir\modules\private\xrepo\action\update-repo.lua:70]: in function 'update_repository'
[@programdir\modules\private\xrepo\action\update-repo.lua:75]: in function 'action'
[@programdir\modules\private\xrepo\main.lua:196]: in function 'func'
[@programdir\plugins\lua\main.lua:123]:
[C]: in function 'load'
[@programdir\core\base\task.lua:519]: in function 'run'
[@programdir\core\main.lua:277]: in function 'cotask'
[@programdir\core\base\scheduler.lua:365]:
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:821: in function 'raise'
@programdir\core\main.lua:279: in function 'cotask'
@programdir\core\base\scheduler.lua:365: in function <@programdir\core\base\scheduler.lua:362>
D:\Projects\xiaoxun_cpp_backend\build\Debug>
麻烦帮忙看一下,谢谢!
删了 C:\Users\O5\AppData\Local.xmake\repositories\xmake-repo 目录
再试下
问题解决了,谢谢!
删了 C:\Users\O5\AppData\Local.xmake\repositories\xmake-repo 目录
再试下
想问下我能自定义这个xmake-repo的路径么?不太想在C盘里塞太多东西
描述问题
Windows10上执行
发现输出只有1行:
裸连和挂梯子都没用
期待的结果
输出boost包的信息
错误信息
相关环境
请提供编译和运行环境信息,下面是一些必须填写的基础信息,便于我们针对性排查问题: