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

build libffi package fail in xmake-repo #5672

Closed
c8ef opened this issue Sep 28, 2024 · 2 comments
Closed

build libffi package fail in xmake-repo #5672

c8ef opened this issue Sep 28, 2024 · 2 comments
Labels
Milestone

Comments

@c8ef
Copy link
Member

c8ef commented Sep 28, 2024

Xmake Version

latest

Operating System Version and Architecture

freebsd

Describe Bug

  > checking for c includes(ffi.h)
  > checking for c funcs(ffi_closure_alloc)
  > checking for c links(ffi)
  > checking for c snippet(has_cfuncs)
  checkinfo: ...amdir/core/sandbox/modules/import/core/tool/compiler.lua:37: cannot get program for cc
  stack traceback:
      [C]: in function 'error'
      [@programdir/core/base/os.lua:1004]:
      [...amdir/core/sandbox/modules/import/core/tool/compiler.lua:37]: in function 'load'
      [...amdir/core/sandbox/modules/import/core/tool/compiler.lua:60]: in function 'compargv'
      [...amdir/core/sandbox/modules/import/core/tool/compiler.lua:44]: in function 'compcmd'
      [@programdir/modules/lib/detect/check_cxsnippets.lua:240]:
  
  error: ...r/work/xmake-repo/xmake-repo/packages/l/libffi/xmake.lua:54: ...amdir/core/sandbox/modules/import/core/tool/compiler.lua:37: cannot get program for cc
  stack traceback:
      [C]: in function 'error'
      [@programdir/core/base/os.lua:1004]:
      [...amdir/core/sandbox/modules/import/core/tool/compiler.lua:37]: in function 'load'
      [...amdir/core/sandbox/modules/import/core/tool/compiler.lua:60]: in function 'compargv'
      [...amdir/core/sandbox/modules/import/core/tool/compiler.lua:44]: in function 'compcmd'
      [@programdir/modules/lib/detect/check_cxsnippets.lua:240]:

Expected Behavior

successfully compile

Project Configuration

see xmake-repo

Additional Information and Error Logs

bisect to #5643
see xmake-io/xmake-repo#5264

@c8ef c8ef added the bug label Sep 28, 2024
@waruqi waruqi added this to the v2.9.6 milestone Sep 30, 2024
@waruqi
Copy link
Member

waruqi commented Sep 30, 2024

可以了

@waruqi waruqi closed this as completed Sep 30, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


That's it

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

No branches or pull requests

3 participants