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 target.linkname not returning a value #5049

Merged
merged 1 commit into from
May 4, 2024
Merged

Conversation

SirLynix
Copy link
Member

@SirLynix SirLynix commented May 3, 2024

Fixes this error:

finding libx11 from xmake ..
error: @programdir/modules/package/manager/xmake/find_package.lua:137: wrong number of arguments to 'insert'
stack traceback:
    [C]: in function 'insert'
    [@programdir/modules/package/manager/xmake/find_package.lua:137]: in function '_find_package_from_repo'
    [@programdir/modules/package/manager/xmake/find_package.lua:350]:
    [@programdir/modules/package/manager/find_package.lua:110]: in function '_find_package'
    [@programdir/modules/package/manager/find_package.lua:194]:
    [@programdir/modules/lib/detect/find_package.lua:109]:
    [@programdir/core/package/package.lua:1794]: in function '_fetch_library'
    [@programdir/core/package/package.lua:1947]: in function 'fetch'
    [.../modules/private/action/require/impl/actions/install.lua:426]:

  => install libx11 1.8.7 .. failed
error: @programdir/core/main.lua:329: @programdir/modules/async/runjobs.lua:322: .../modules/private/action/require/impl/actions/install.lua:506: install failed!
stack traceback:
    [C]: in function 'error'
    [@programdir/core/base/os.lua:973]:
    [.../modules/private/action/require/impl/actions/install.lua:506]: in function 'catch'
    [@programdir/core/sandbox/modules/try.lua:123]: in function 'try'
    [.../modules/private/action/require/impl/actions/install.lua:370]:
    [...modules/private/action/require/impl/install_packages.lua:487]: in function 'jobfunc'
    [@programdir/modules/async/runjobs.lua:238]:

See xmake-io/xmake-repo#3935
xmake-io/xmake-repo#3712

@waruqi
Copy link
Member

waruqi commented May 4, 2024

thanks

@waruqi waruqi merged commit f0009e0 into xmake-io:dev May 4, 2024
19 checks passed
@SirLynix SirLynix deleted the patch-17 branch May 4, 2024 07:37
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