haxpor / aseprite-macos-buildsh Goto Github PK
View Code? Open in Web Editor NEWAutomated script to create latest release app (either beta, or release whichever is newer) of Aseprite for macOS
License: MIT License
Automated script to create latest release app (either beta, or release whichever is newer) of Aseprite for macOS
License: MIT License
I'm receiving the following after running the script
FAILED: bin/aseprite
: && /Library/Developer/CommandLineTools/usr/bin/c++ -stdlib=libc++ -Wall -Wno-switch -O2 -g -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names src/CMakeFiles/aseprite.dir/main/main.cpp.o -o bin/aseprite lib/libapp-lib.a lib/libclip.a lib/libdio-lib.a lib/libfilters-lib.a lib/libflic-lib.a lib/libtga-lib.a lib/librender-lib.a lib/libdoc-lib.a lib/libfixmath-lib.a lib/libui-lib.a lib/liblaf-os.a lib/liblaf-gfx.a lib/liblaf-ft.a /Users/bengineer/Source/aseprite-macos-buildsh/deps/skia/out/Release/libskia.a -framework OpenGL -framework Cocoa -framework Carbon -lSKSHAPER_LIBRARY-NOTFOUND lib/libobs.a lib/libundo.a lib/libcmark.a lib/libjpeg.a lib/libgiflib.a lib/libwebpdemux.a lib/libwebpmux.a lib/libwebp.a lib/libfreetype.a lib/libharfbuzz.a lib/libfreetype.a lib/libharfbuzz.a lib/libpng16.a /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libbz2.tbd lib/libjson11.a lib/libarchive.a /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libiconv.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libcharset.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libexpat.tbd lib/libfmt.a lib/libtinyexpr.a lib/liblauxlib.a lib/liblua.a lib/liblualib.a lib/libupdater-lib.a lib/libcfg-lib.a lib/libver-lib.a lib/libtinyxml.a lib/libnet-lib.a lib/liblaf-base.a lib/libmodpbase64.a /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libdl.tbd lib/libcurl.a lib/libz.a -ldl -lldap && :
ld: library not found for -lSKSHAPER_LIBRARY-NOTFOUND
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Something went wrong
CMake Error at /usr/local/Cellar/cmake/3.25.2/share/cmake/Modules/CMakeTestCCompiler.cmake:70 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/thunderstorm/Desktop/aseprite/aseprite/build/CMakeFiles/CMakeScratch/TryCompile-pfVWkr
Run Build Command(s):/Users/thunderstorm/Desktop/aseprite/deps/depot_tools/ninja cmTC_402b9 && [1/2] Building C object CMakeFiles/cmTC_402b9.dir/testCCompiler.c.o
[2/2] Linking C executable cmTC_402b9
FAILED: cmTC_402b9
: && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_402b9.dir/testCCompiler.c.o -o cmTC_402b9 && :
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:32 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/thunderstorm/Desktop/aseprite/aseprite/build/CMakeFiles/CMakeOutput.log".
See also "/Users/thunderstorm/Desktop/aseprite/aseprite/build/CMakeFiles/CMakeError.log".
Something went wrong
According to #15 (comment), and #16 , we found out that branch structure has been changed upstream. More detail at #16 (comment).
So in short, it's better to
aseprite.sh
's argument e.g. aseprite.sh --beta
to build a beta version, otherwise build the latest normal releaseaseprite.sh
in various places in aseprite.sh
I've made sure I have all pre-requisites installed. I get many errors and it doesn't create the aseprite.app. Here's from the last line where everything is fine to the end:
third_party/externals/swiftshader @ d6126aea667e37d2d7b57b0a381b9f26912a21b7
Traceback (most recent call last):
File "bin/fetch-gn", line 32, in <module>
f.write(urllib2.urlopen('https://chromium-gn.storage-download.googleapis.com/' + sha1).read())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)>
Traceback (most recent call last):
File "tools/git-sync-deps", line 253, in <module>
exit(main(sys.argv[1:]))
File "tools/git-sync-deps", line 248, in main
os.path.join(os.path.dirname(deps_file_path), 'bin', 'fetch-gn')])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', 'bin/fetch-gn']' returned non-zero exit status 1
gn.py: Could not find gn executable at: /Users/M/Downloads/aseprite-macos-buildsh-for-aseprite-1.2.10/deps/skia/buildtools/mac/gn
ninja: Entering directory 'out/Release'
ninja: fatal: chdir to 'out/Release' - No such file or directory
Note: checking out 'v1.2.15-74-g5ac07c082'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 5ac07c082 Fix pressing buttons with Alt+mnemonic or Cmd+mnemonic (regression introduced in 536a4c5d3aedccb4f24c5a5e28324ddad7638e18)
aseprite.sh: line 149: cmake: command not found
when I run the sh file as any user (and sudo) i get this error:
CMake Warning at /Users/Kemal-MAC/.pyenv/versions/3.9.0/lib/python3.9/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.18/Modules/Platform/Darwin-Initialize.cmake:286 (message):
Ignoring CMAKE_OSX_SYSROOT value:
/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
because the directory does not exist.
Call Stack (most recent call first):
/Users/Kemal-MAC/.pyenv/versions/3.9.0/lib/python3.9/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
CMakeLists.txt:31 (project)
CMake Error at /Users/directory/.pyenv/versions/3.9.0/lib/python3.9/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.18/Modules/CMakeDetermineCCompiler.cmake:49 (message):
Could not find compiler set in environment variable CC:
/Library/Developer/CommandLineTools/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc.
Call Stack (most recent call first):
CMakeLists.txt:31 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/Users/directory/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeOutput.log".
Something went wrong
I always have error with cmake and I dont know what happened here
The system is: Darwin - 20.3.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags: -c
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o"
The C compiler identification is AppleClang, found in "/Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/3.20.1/CompilerIdC/CMakeCCompilerId.o"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags: -c
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"
The CXX compiler identification is AppleClang, found in "/Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/3.20.1/CompilerIdCXX/CMakeCXXCompilerId.o"
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags: -c
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o"
The C compiler identification is AppleClang, found in "/Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/3.20.1/CompilerIdC/CMakeCCompilerId.o"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags: -c
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"
The CXX compiler identification is AppleClang, found in "/Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/3.20.1/CompilerIdCXX/CMakeCXXCompilerId.o"
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags: -c
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o"
The C compiler identification is AppleClang, found in "/Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/3.20.1/CompilerIdC/CMakeCCompilerId.o"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags: -c
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"
The CXX compiler identification is AppleClang, found in "/Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/3.20.1/CompilerIdCXX/CMakeCXXCompilerId.o"
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags:
The output was:
1
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags:
The output was:
1
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Detecting C compiler ABI info failed to compile with the following output:
Change Dir: /Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/Users/fausto.lima/Applications/aseprite-macos-buildsh/deps/depot_tools/ninja cmTC_3923f && [1/2] Building C object CMakeFiles/cmTC_3923f.dir/CMakeCCompilerABI.c.o
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mframe-pointer=all -fno-strict-return -masm-verbose -munwind-tables -faligned-alloc-unavailable -fcompatibility-qualified-id-block-type-checking -target-cpu core2 -dwarf-column-info -debugger-tuning=lldb -target-linker-version 609.8 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0 -dependency-file CMakeFiles/cmTC_3923f.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_3923f.dir/CMakeCCompilerABI.c.o -sys-header-deps -internal-isystem /usr/local/include -internal-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include -internal-externc-isystem /usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -fdebug-compilation-dir /Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fobjc-runtime=macosx-10.9.0 -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_3923f.dir/CMakeCCompilerABI.c.o -x c /usr/local/Cellar/cmake/3.20.1/share/cmake/Modules/CMakeCCompilerABI.c
clang -cc1 version 12.0.0 (clang-1200.0.32.29) default target x86_64-apple-darwin20.3.0
ignoring nonexistent directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
[2/2] Linking C executable cmTC_3923f
FAILED: cmTC_3923f
: && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_3923f.dir/CMakeCCompilerABI.c.o -o cmTC_3923f && :
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -platform_version macos 10.9.0 0.0.0 -o cmTC_3923f -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_3923f.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-609.8
BUILD 15:07:46 Dec 18 2020
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Determining if the C compiler works failed with the following output:
Change Dir: /Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/Users/fausto.lima/Applications/aseprite-macos-buildsh/deps/depot_tools/ninja cmTC_4ce1c && [1/2] Building C object CMakeFiles/cmTC_4ce1c.dir/testCCompiler.c.o
[2/2] Linking C executable cmTC_4ce1c
FAILED: cmTC_4ce1c
: && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_4ce1c.dir/testCCompiler.c.o -o cmTC_4ce1c && :
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags:
The output was:
1
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags:
The output was:
1
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Detecting C compiler ABI info failed to compile with the following output:
Change Dir: /Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/Users/fausto.lima/Applications/aseprite-macos-buildsh/deps/depot_tools/ninja cmTC_c6c5e && [1/2] Building C object CMakeFiles/cmTC_c6c5e.dir/CMakeCCompilerABI.c.o
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mframe-pointer=all -fno-strict-return -masm-verbose -munwind-tables -faligned-alloc-unavailable -fcompatibility-qualified-id-block-type-checking -target-cpu core2 -dwarf-column-info -debugger-tuning=lldb -target-linker-version 609.8 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0 -dependency-file CMakeFiles/cmTC_c6c5e.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_c6c5e.dir/CMakeCCompilerABI.c.o -sys-header-deps -internal-isystem /usr/local/include -internal-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include -internal-externc-isystem /usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -fdebug-compilation-dir /Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fobjc-runtime=macosx-10.9.0 -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_c6c5e.dir/CMakeCCompilerABI.c.o -x c /usr/local/Cellar/cmake/3.20.1/share/cmake/Modules/CMakeCCompilerABI.c
clang -cc1 version 12.0.0 (clang-1200.0.32.29) default target x86_64-apple-darwin20.3.0
ignoring nonexistent directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
[2/2] Linking C executable cmTC_c6c5e
FAILED: cmTC_c6c5e
: && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_c6c5e.dir/CMakeCCompilerABI.c.o -o cmTC_c6c5e && :
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -platform_version macos 10.9.0 0.0.0 -o cmTC_c6c5e -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_c6c5e.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-609.8
BUILD 15:07:46 Dec 18 2020
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Determining if the C compiler works failed with the following output:
Change Dir: /Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/Users/fausto.lima/Applications/aseprite-macos-buildsh/deps/depot_tools/ninja cmTC_67bf8 && [1/2] Building C object CMakeFiles/cmTC_67bf8.dir/testCCompiler.c.o
[2/2] Linking C executable cmTC_67bf8
FAILED: cmTC_67bf8
: && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_67bf8.dir/testCCompiler.c.o -o cmTC_67bf8 && :
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags:
The output was:
1
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags:
The output was:
1
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Detecting C compiler ABI info failed to compile with the following output:
Change Dir: /Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/Users/fausto.lima/Applications/aseprite-macos-buildsh/deps/depot_tools/ninja cmTC_289d8 && [1/2] Building C object CMakeFiles/cmTC_289d8.dir/CMakeCCompilerABI.c.o
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mframe-pointer=all -fno-strict-return -masm-verbose -munwind-tables -faligned-alloc-unavailable -fcompatibility-qualified-id-block-type-checking -target-cpu core2 -dwarf-column-info -debugger-tuning=lldb -target-linker-version 609.8 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0 -dependency-file CMakeFiles/cmTC_289d8.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_289d8.dir/CMakeCCompilerABI.c.o -sys-header-deps -internal-isystem /usr/local/include -internal-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include -internal-externc-isystem /usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -fdebug-compilation-dir /Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fobjc-runtime=macosx-10.9.0 -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_289d8.dir/CMakeCCompilerABI.c.o -x c /usr/local/Cellar/cmake/3.20.1/share/cmake/Modules/CMakeCCompilerABI.c
clang -cc1 version 12.0.0 (clang-1200.0.32.29) default target x86_64-apple-darwin20.3.0
ignoring nonexistent directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
[2/2] Linking C executable cmTC_289d8
FAILED: cmTC_289d8
: && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_289d8.dir/CMakeCCompilerABI.c.o -o cmTC_289d8 && :
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -platform_version macos 10.9.0 0.0.0 -o cmTC_289d8 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_289d8.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-609.8
BUILD 15:07:46 Dec 18 2020
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Determining if the C compiler works failed with the following output:
Change Dir: /Users/fausto.lima/Applications/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/Users/fausto.lima/Applications/aseprite-macos-buildsh/deps/depot_tools/ninja cmTC_cb00f && [1/2] Building C object CMakeFiles/cmTC_cb00f.dir/testCCompiler.c.o
[2/2] Linking C executable cmTC_cb00f
FAILED: cmTC_cb00f
: && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_cb00f.dir/testCCompiler.c.o -o cmTC_cb00f && :
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
I have this error although I have the xcode command lines tool installed:
CMake Deprecation Warning at CMakeLists.txt:15 (cmake_policy):
The OLD behavior for policy CMP0046 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Warning at /usr/local/Cellar/cmake/3.15.1/share/cmake/Modules/Platform/Darwin-Initialize.cmake:131 (message):
Ignoring CMAKE_OSX_SYSROOT value:
/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
because the directory does not exist.
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.1/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
CMakeLists.txt:34 (project)
CMake Error at /usr/local/Cellar/cmake/3.15.1/share/cmake/Modules/CMakeDetermineCCompiler.cmake:49 (message):
Could not find compiler set in environment variable CC:
/Library/Developer/CommandLineTools/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc.
Call Stack (most recent call first):
CMakeLists.txt:34 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Im trying to build Aseprite on Macos 10.13.6 and after it sets all the submodule paths, i get this error from git saying
"error: pathspec 'master' did not match any file(s) known to git."
im not sure how i can fix this.
I'm running a macOS Mojave and whenever I run "python2 tools/git-sync-deps" I get this first see this:
fatal: remote error: Git repository not found.
and then it follows with this: Exception in thread Thread-11:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "tools/git-sync-deps", line 132, in git_checkout_to_directory
[git, 'clone', '--quiet', repo, directory])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['git', 'clone', '--quiet', 'https://skia.googlesource.com/third_party/libjpeg-turbo.git', 'third_party/externals/libjpeg-turbo']' returned non-zero exit status 128.
And finally, I get this:
Traceback (most recent call last):
File "bin/fetch-gn", line 32, in
f.write(urllib2.urlopen('https://chromium-gn.storage-download.googleapis.com/' + sha1).read())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)>
Traceback (most recent call last):
File "tools/git-sync-deps", line 253, in
exit(main(sys.argv[1:]))
File "tools/git-sync-deps", line 248, in main
os.path.join(os.path.dirname(deps_file_path), 'bin', 'fetch-gn')])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', 'bin/fetch-gn']' returned non-zero exit status 1
I have no idea what any of this means or how to fix it.
Can someone help me?
-- Configuring incomplete, errors occurred!
See also "/Users/matt/Downloads/2019-07-05/aseprite-macos-buildsh-master/aseprite/build/CMakeFiles/CMakeOutput.log".
See also "/Users/matt/Downloads/2019-07-05/aseprite-macos-buildsh-master/aseprite/build/CMakeFiles/CMakeError.log".
Something went wrong
-- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
Solution: brew install LZ4
File "tools/git-sync-deps", line 209
print 'Skipping "%s".' % directory
Solution: print('Skipping "%s".' % directory)
NameError: name 'execfile' is not defined
Solution: aseprite.sh:128 python2 tools/git-sync-deps
Reported by user via email (thanks Philip) that the generated .app is missing app icon.
Probably for fresh install case as on my side, it's working fine but I ever installed the app via other method before manual build, so the app icon might get cached there in some where in macOS.
Although this issue is not confirmed yet, I'll find some time to take a look at it.
On run I get this error:
third_party/externals/icu @ ec9c1133693148470ffe2e5e53576998e3650c1d
Done. Made 43 targets from 26 files in 26ms
ninja: Entering directory `out/Release'
ninja: no work to do.
Note: checking out 'v1.2.10-beta4-47-g4dd7febb9'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 4dd7febb9 lua: Add support to specify ExportSpriteSheet params
/Users/praktikant/Desktop/aseprite-macos-buildsh-for-aseprite-1.2.9/aseprite.sh: line 148: cmake: command not found
ninja: error: loading 'build.ninja': No such file or directory
Compiling was happening and this happened
Note: switching to 'v1.2.28-2-gfc79146c5'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at fc79146c5 Fix crash when pressing ESC while moving a selection (fix #2829)
aseprite.sh: line 150: cmake: command not found
Something went wrong
I ran the script, but I got the following errors:
terminal.txt
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Skipping "%s".' % directory)?
Traceback (most recent call last):
File "/Users/gabrielballesteros/downloads/deps/depot_tools/gn.py", line 15, in
import gclient_utils
File "/Users/gabrielballesteros/Downloads/deps/depot_tools/gclient_utils.py", line 271
except OSError, e:
^
SyntaxError: invalid syntax
ninja: Entering directory `out/Release'
ninja: fatal: chdir to 'out/Release' - No such file or directory
Note: checking out 'v1.2.10-beta4-93-gcc62e9ed5'.
Besides this, cmake is required (I didn't knew), maybe it should be listed in the pre-requisites.
Hey, thanks for sharing your build pipeline!
Not sure was it me doing something dumb (as I ran the process manually) but I noticed that the main.scpt seems to be pointing to
to run
do shell script "/Applications/Aseprite/aseprite"
end run
yet in the aseprite.sh has multiple references pointing to
"$TARGET/Aseprite.app"
I might have missed a step at some point, feel free to close if this issue is not valid. I can also PR you the quick fix if you need ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.