Skip to content
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

fix packagedeps #5484

Merged
merged 2 commits into from
Aug 19, 2024
Merged

fix packagedeps #5484

merged 2 commits into from
Aug 19, 2024

Conversation

waruqi
Copy link
Member

@waruqi waruqi commented Aug 19, 2024

@waruqi waruqi added this to the v2.9.5 milestone Aug 19, 2024
@waruqi waruqi merged commit 44e3961 into dev Aug 19, 2024
38 checks passed
@waruqi waruqi deleted the cmake branch August 19, 2024 10:00
@star-hengxing
Copy link
Contributor

error: @programdir/modules/package/tools/meson.lua:404: attempt to concatenate a table value (local 'values')
stack traceback:
    [@programdir/modules/package/tools/meson.lua:404]: in function '_get_cflags_from_packagedeps'
    [@programdir/modules/package/tools/meson.lua:478]: in function 'buildenvs'
    [@programdir/modules/package/tools/meson.lua:541]: in function 'generate'
    [@programdir/modules/package/tools/meson.lua:549]: in function 'build'
    [@programdir/modules/package/tools/meson.lua:571]: in function 'install'
    [.../star/project/xmake-repo/packages/g/gdk-pixbuf/xmake.lua:53]: in function 'script'
    [...dir/modules/private/action/require/impl/utils/filter.lua:114]: in function 'call'
    [.../modules/private/action/require/impl/actions/install.lua:392]:

@waruqi waruqi mentioned this pull request Sep 10, 2024
@waruqi
Copy link
Member Author

waruqi commented Sep 10, 2024

error: @programdir/modules/package/tools/meson.lua:404: attempt to concatenate a table value (local 'values')
stack traceback:
    [@programdir/modules/package/tools/meson.lua:404]: in function '_get_cflags_from_packagedeps'
    [@programdir/modules/package/tools/meson.lua:478]: in function 'buildenvs'
    [@programdir/modules/package/tools/meson.lua:541]: in function 'generate'
    [@programdir/modules/package/tools/meson.lua:549]: in function 'build'
    [@programdir/modules/package/tools/meson.lua:571]: in function 'install'
    [.../star/project/xmake-repo/packages/g/gdk-pixbuf/xmake.lua:53]: in function 'script'
    [...dir/modules/private/action/require/impl/utils/filter.lua:114]: in function 'call'
    [.../modules/private/action/require/impl/actions/install.lua:392]:

这个问题修了,#5594 可以再试试

不过编译 gdk-pixbuf 还遇到其他的错误,但不确定是否跟这个有关。

@waruqi
Copy link
Member Author

waruqi commented Sep 11, 2024

剩下的这个错误,应该跟 glib/meson 本身有关,跟当前这个问题无关了,我换成老版本 也会有这个错。

meson.build:1:0: ERROR: Unable to detect linker for compiler cc -Wl,--version -L/Users/ruki/.xmake/packag es/l/libintl/0.22.3/1b9ff3382e89474d89d57a1cc7298efc/lib -lintl -liconv -L/usr/local/Cellar/libffi/3.3_2/l ib -lffi -lz -isystem /Users/ruki/.xmake/packages/l/libintl/0.22.3/1b9ff3382e89474d89d57a1cc7298efc/includ e -isystem /usr/local/Cellar/libffi/3.3_2/include
stdout:
stderr: ld: unknown options: --version
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants