-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
improve pacman packages #5855
Merged
improve pacman packages #5855
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else | ||
name = prefix .. arch .. name | ||
-- TODO other msystem, e.g. clang, msys, ucrt, ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉有点不好处理,假如 kind 为 library 的时候就会 fetch 失败。 checking for pacman ... ok
checking for pacman::flex ... no
installing flex from pacman ..
pacman -Sy --noconfirm --needed --disable-download-timeout flex --verbose
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
GPG Dir : /etc/pacman.d/gnupg/
Targets : flex
:: 正在同步软件包数据库...
clangarm64 已经是最新版本
mingw32 已经是最新版本
mingw64 已经是最新版本
ucrt64 已经是最新版本
clang32 已经是最新版本
clang64 已经是最新版本
msys 已经是最新版本
警告:flex-2.6.4-3 已经为最新 -- 跳过
今日无事可做
finding flex from pacman ..
checking for pacman::flex ... no
error: ...\modules\private\action\require\impl\actions\install.lua:418: fetch pacman::flex-latest failed!
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:1004]: in function 'raiselevel'
[@programdir\core\sandbox\modules\utils.lua:143]: in function 'assert'
[...\modules\private\action\require\impl\actions\install.lua:418]:
=> install pacman::flex latest .. failed
error: @programdir\core\main.lua:329: @programdir\modules\async\runjobs.lua:325: ...\modules\private\action\require\impl\actions\install.lua:494: install failed!
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:1004]:
[...\modules\private\action\require\impl\actions\install.lua:494]: in function 'catch'
[@programdir\core\sandbox\modules\try.lua:123]: in function 'try'
[...\modules\private\action\require\impl\actions\install.lua:362]:
[...modules\private\action\require\impl\install_packages.lua:496]: in function 'jobfunc'
[@programdir\modules\async\runjobs.lua:241]:
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:1004: in function 'base/os.raiselevel'
(...tail calls...)
@programdir\core\main.lua:329: in upvalue 'cotask'
@programdir\core\base\scheduler.lua:406: in function <@programdir\core\base\scheduler.lua:399> |
仅仅只是 pacman/find_package 没做处理而已,改了下,再试试 wangrunqing@IIGS-A8825-D MINGW64 ~
$ xrepo install -vD -y -f 'msystem="msys"' pacman::flex
C:\msys64\mingw64\bin\xmake.exe f -c --require=n -vD
checking for platform ... mingw
checking for architecture ... x86_64
checking for mingw directory ... C:/msys64/mingw64
configure
{
mingw = C:/msys64/mingw64
arch = x86_64
clean = true
kind = static
proxy_pac = pac.lua
plat = mingw
buildir = build
network = public
theme = default
ndk_stdcxx = true
host = windows
ccache = true
mode = release
}
C:\msys64\mingw64\bin\xmake.exe require -y -v -D -j 6 --extra={system=false,configs={msystem=\"msys\"}} pacman::flex
checking for git ... ok
checking for gzip ... ok
checking for tar ... ok
finding flex from pacman ..
checking for pacman ... ok
checking for cygpath ... ok
checking for pacman::flex ... flex 2.6.4 |
star-hengxing
approved these changes
Nov 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
xmake-io/xmake-repo#5680 (comment)