Skip to content

Instantly share code, notes, and snippets.

@saschatimme
Created July 25, 2017 20:50
Show Gist options
  • Save saschatimme/20f0f50550c0fdd9aa4fed4a6e18c690 to your computer and use it in GitHub Desktop.
Save saschatimme/20f0f50550c0fdd9aa4fed4a6e18c690 to your computer and use it in GitHub Desktop.
```
gobi_install ctypes-ios
Switch to 4.04.0+ios+arm64
The following actions will be performed:
∗ install libffi-sys-ios 3.2.1 [required by ctypes-ios]
∗ install ctypes-ios 0.11.2
===== ∗ 2 =====
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
[ctypes-ios.0.11.2] https://github.com/ocamllabs/ocaml-ctypes/archive/0.11.2.tar.gz downloaded
[libffi-sys-ios.3.2.1] ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz downloaded
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
[ERROR] The compilation of libffi-sys-ios failed at "./configure --host=aarch64-apple-darwin
--prefix=/Users/sascha/.opam/4.04.0+ios+arm64/ios-deps/libffi --disable-shared CPPFLAGS=-arch arm64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -miphoneos-version-min=8.0
LDFLAGS=-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk".
Processing 1/2: [libffi-sys-ios: rm]
#=== ERROR while installing libffi-sys-ios.3.2.1 ==============================#
# opam-version 1.2.2
# os darwin
# command ./configure --host=aarch64-apple-darwin --prefix=/Users/sascha/.opam/4.04.0+ios+arm64/ios-deps/libffi --disable-shared CPPFLAGS=-arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -miphoneos-version-min=8.0 LDFLAGS=-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
# path /Users/sascha/.opam/4.04.0+ios+arm64/build/libffi-sys-ios.3.2.1
# compiler 4.04.0
# exit-code 77
# env-file /Users/sascha/.opam/4.04.0+ios+arm64/build/libffi-sys-ios.3.2.1/libffi-sys-ios-58074-ad8886.env
# stdout-file /Users/sascha/.opam/4.04.0+ios+arm64/build/libffi-sys-ios.3.2.1/libffi-sys-ios-58074-ad8886.out
# stderr-file /Users/sascha/.opam/4.04.0+ios+arm64/build/libffi-sys-ios.3.2.1/libffi-sys-ios-58074-ad8886.err
### stdout ###
# [...]
# checking for a thread-safe mkdir -p... ../install-sh -c -d
# checking for gawk... no
# checking for mawk... no
# checking for nawk... no
# checking for awk... awk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking for aarch64-apple-darwin-gcc... no
# checking for gcc... gcc
# checking whether the C compiler works... no
### stderr ###
# configure: error: in `/Users/sascha/.opam/4.04.0+ios+arm64/build/libffi-sys-ios.3.2.1/aarch64-apple-darwin':
# configure: error: C compiler cannot create executables
# See `config.log' for more details
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
The following actions were aborted
∗ install ctypes-ios 0.11.2
The following actions failed
∗ install libffi-sys-ios 3.2.1
No changes have been performed
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment