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

Open
c8ef opened this issue Sep 28, 2024 · 0 comments
Open

build libffi package fail in xmake-repo #5672

c8ef opened this issue Sep 28, 2024 · 0 comments
Labels

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

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

1 participant