Skip to content

Instantly share code, notes, and snippets.

@vessenes
Created March 2, 2016 00:16
Show Gist options
  • Save vessenes/12f7dc3a7c5074b6e5c2 to your computer and use it in GitHub Desktop.
Save vessenes/12f7dc3a7c5074b6e5c2 to your computer and use it in GitHub Desktop.
lipo fat build log
./configure Calculator ios verbose; make -j8
==> configured to build Calculator for ios in normal verbose mode
== using source in /Users/admin/src/lambdanative/apps/Calculator
=== using profile your profile name here [/Users/admin/src/lambdanative/PROFILE]..
=== configured to build Calculator version 1.0 for ios on macosx in normal mode
==> checking for required tools..
=> grep.. ok
=> wget.. ok
=> zip.. ok
=> tar.. ok
=> sed.. ok
=> tr.. ok
=> cut.. ok
=> tail.. ok
=> head.. ok
=> find.. ok
=> autoconf.. ok
=> make.. ok
=> gcc.. ok
=> patch.. ok
=> checking for working xelatex..
xelatex check.tex
./scripts/verbose.sh: line 6: xelatex: command not found
cat check.log
cat: check.log: No such file or directory
** WARNING: xelatex environment is not complete. Consider installing necessary XeTeX packages.
** Using GD to render strings
=> cmake.. ok
=> xcodebuild.. ok
==> checking for required libraries..
==> checking for lambdanative tools..
=> lambdanative tools complete
==> creating libraries needed for Calculator..
=> liblambdanative..
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -DIOS -DIPHONE -miphoneos-version-min=5.1.1 -fPIC -fsigned-char -fomit-frame-pointer -fPIC -c *.c -I/Users/admin/Library/Caches/lambdanative/ios/arm64/include
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar ru liblambdanative.a *.o
ar: creating archive liblambdanative.a
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib liblambdanative.a
=> cleaning up..
=> removing old /Users/admin/Library/Caches/lambdanative/ios/arm64/build/liblambdanative..
=> exploding library liblambdanative..
==> creating artwork needed for Calculator..
==> creating textures needed for Calculator..
==> creating fonts needed for Calculator..
==> creating strings needed for Calculator..
loading support for scm..
supported languages = scm
=> compiling scheme payload..
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -DIOS -DIPHONE -miphoneos-version-min=5.1.1 -fPIC -fsigned-char -fomit-frame-pointer -D___SINGLE_HOST -D___LIBRARY -D___PRIMAL -o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/scm_hook.o -c /Users/admin/Library/Caches/lambdanative/ios/arm64/build/scm_hook.c -I/Users/admin/Library/Caches/lambdanative/ios/arm64/include
=> done compiling scheme payload
=> generating hook..
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -DIOS -DIPHONE -miphoneos-version-min=5.1.1 -fPIC -fsigned-char -fomit-frame-pointer -D___SINGLE_HOST -D___LIBRARY -D___PRIMAL -c -o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/4170042523.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/4170042523.c -I/Users/admin/Library/Caches/lambdanative/ios/arm64/include
=> assembling payload..
=> removing old /Users/admin/Library/Caches/lambdanative/ios/arm64/lib/libpayload.a..
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar rc /Users/admin/Library/Caches/lambdanative/ios/arm64/lib/libpayload.a /Users/admin/Library/Caches/lambdanative/ios/arm64/build/liblambdanative/system.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_eval.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_gambc.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_io.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_kernel.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_nonstd.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_num.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_repl.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_std.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_system.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/_thread.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/c_intf.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/main.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/mem.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/os.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/os_base.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/os_dyn.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/os_files.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/os_io.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/os_shell.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/os_thread.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/os_time.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/os_tty.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/libgambc/setup.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/981817008.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/2670323282.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/2560811306.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/3467153130.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/4054604533.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/3098828323.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/2969043315.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/1273389814.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/1273389814_.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/scm_hook.o /Users/admin/Library/Caches/lambdanative/ios/arm64/build/4170042523.o
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib /Users/admin/Library/Caches/lambdanative/ios/arm64/lib/libpayload.a
==> creating libraries needed for Calculator..
=> liblambdanative..
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -DIOS -DIPHONE -miphoneos-version-min=5.1.1 -fPIC -fsigned-char -fomit-frame-pointer -fPIC -c *.c -I/Users/admin/Library/Caches/lambdanative/ios/armv7/include
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar ru liblambdanative.a *.o
ar: creating archive liblambdanative.a
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib liblambdanative.a
=> cleaning up..
=> removing old /Users/admin/Library/Caches/lambdanative/ios/armv7/build/liblambdanative..
=> exploding library liblambdanative..
==> creating artwork needed for Calculator..
==> creating textures needed for Calculator..
==> creating fonts needed for Calculator..
==> creating strings needed for Calculator..
loading support for scm..
supported languages = scm
=> compiling scheme payload..
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -DIOS -DIPHONE -miphoneos-version-min=5.1.1 -fPIC -fsigned-char -fomit-frame-pointer -D___SINGLE_HOST -D___LIBRARY -D___PRIMAL -o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/scm_hook.o -c /Users/admin/Library/Caches/lambdanative/ios/armv7/build/scm_hook.c -I/Users/admin/Library/Caches/lambdanative/ios/armv7/include
=> done compiling scheme payload
=> generating hook..
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -DIOS -DIPHONE -miphoneos-version-min=5.1.1 -fPIC -fsigned-char -fomit-frame-pointer -D___SINGLE_HOST -D___LIBRARY -D___PRIMAL -c -o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/4170042523.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/4170042523.c -I/Users/admin/Library/Caches/lambdanative/ios/armv7/include
=> assembling payload..
=> removing old /Users/admin/Library/Caches/lambdanative/ios/armv7/lib/libpayload.a..
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar rc /Users/admin/Library/Caches/lambdanative/ios/armv7/lib/libpayload.a /Users/admin/Library/Caches/lambdanative/ios/armv7/build/liblambdanative/system.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_eval.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_gambc.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_io.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_kernel.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_nonstd.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_num.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_repl.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_std.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_system.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/_thread.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/c_intf.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/main.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/mem.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/os.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/os_base.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/os_dyn.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/os_files.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/os_io.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/os_shell.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/os_thread.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/os_time.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/os_tty.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/libgambc/setup.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/981817008.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/2670323282.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/2560811306.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/3467153130.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/4054604533.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/3098828323.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/2969043315.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/1273389814.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/1273389814_.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/scm_hook.o /Users/admin/Library/Caches/lambdanative/ios/armv7/build/4170042523.o
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib /Users/admin/Library/Caches/lambdanative/ios/armv7/lib/libpayload.a
==> creating ios loader needed for Calculator..
fatal error: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /Users/admin/Library/Caches/lambdanative/ios/arm64/lib/libpayload.a and /Users/admin/Library/Caches/lambdanative/ios/armv7/lib/libpayload.a have the same architectures (x86_64) and can't be in the same fat output file
ERROR: failed on file /Users/admin/Library/Caches/lambdanative/ios/libpayload-fat.a
>> lipo failed to create fat payload
BUILD FAILED
make: *** [all] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment