Skip to content

Fix attempt to index a nil value#6587

Merged
waruqi merged 1 commit intoxmake-io:devfrom
star-hengxing:cmake
Jun 25, 2025
Merged

Fix attempt to index a nil value#6587
waruqi merged 1 commit intoxmake-io:devfrom
star-hengxing:cmake

Conversation

@star-hengxing
Copy link
Contributor

error: @programdir/modules/package/tools/cmake.lua:858: attempt to index a nil value
stack traceback:
    [@programdir/modules/package/tools/cmake.lua:858]: in function '_get_default_flags'
    [@programdir/modules/package/tools/cmake.lua:889]: in function '_get_envs_for_default_flags'
    [@programdir/modules/package/tools/cmake.lua:962]: in function '_get_configs'
    [@programdir/modules/package/tools/cmake.lua:1322]: in function 'configure'
    [@programdir/modules/package/tools/cmake.lua:1381]: in function 'install'
    [...e/repositories/xmake-repo/packages/r/robin-map/xmake.lua:18]: in function 'script'
    [...dir/modules/private/action/require/impl/utils/filter.lua:114]: in function 'call'
    [.../modules/private/action/require/impl/actions/install.lua:470]:

  => install robin-map v1.4.0 .. failed

@waruqi waruqi merged commit 48c3809 into xmake-io:dev Jun 25, 2025
14 of 22 checks passed
@waruqi waruqi added this to the v3.0.1 milestone Jun 25, 2025
@star-hengxing star-hengxing deleted the cmake branch June 25, 2025 14:52
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