Skip to content

Libffi build fail on Mac #1569

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

Closed
Thong-Tran opened this issue Jan 9, 2019 · 0 comments
Closed

Libffi build fail on Mac #1569

Thong-Tran opened this issue Jan 9, 2019 · 0 comments

Comments

@Thong-Tran
Copy link

Thong-Tran commented Jan 9, 2019

Log:

  RAN: /bin/cp -t /Users/ivc/kivy/.buildozer/android/platform/build/build/libs_collections/mgame/armeabi-v7a arm-unknown-linux-androideabi/.libs/libffi.so

  STDOUT:
/bin/cp: illegal option -- t
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory

shprint(sh.cp, '-t', self.ctx.get_libs_dir(arch.arch),
join(self.get_host(arch), '.libs', 'libffi.so'))

It work again when I change it to:

shprint(sh.cp, join(self.get_host(arch), '.libs', 'libffi.so'),
                    self.ctx.get_libs_dir(arch.arch))

Versions

  • Python: 3.5
  • OS: Mac 10.13.6
  • Buildozer: master
  • python-for-android: master
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

No branches or pull requests

1 participant