MatthewPierson / 1033-OTA-Downgrader

First ever tool to downgrade ANY iPhone 5s, ANY iPad Air and (almost any) iPad Mini 2 to 10.3.3 with OTA blobs + checkm8!
494 stars 123 forks source link

ERROR: Unable to receive message from FDR 0x7fec32596ac0 (-2). 0/2 bytes After verifying restore -> checking filesystems #73

Open ghost opened 4 years ago

ghost commented 4 years ago

It's iPhone 5 6,2 16GB and iOS 12.4.3 was installed. I ran the script on 15" rMBP 2015 with macOS 10.14.6 Mojave installed. Everything seemed to go fine, the ipsw seemed to "install" and I got this error when checking filesystems (15) after verifying restore.

Terminal Saved Output .txt

`[+] Installing dependencies Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae aliyun-cli catch2 gatsby-cli paket terrahub bro exploitdb git-annex sonobuoy tunnel

Warning: libtool 2.4.6_1 is already installed and up-to-date To reinstall 2.4.6_1, run brew reinstall libtool Warning: automake 1.16.1_1 is already installed and up-to-date To reinstall 1.16.1_1, run brew reinstall automake Warning: lsusb 1.0 is already installed and up-to-date To reinstall 1.0, run brew reinstall lsusb Error: openssl 1.0.2s is already installed To upgrade to 1.0.2t, run brew upgrade openssl Warning: libzip 1.5.2 is already installed and up-to-date To reinstall 1.5.2, run brew reinstall libzip Warning: pkg-config 0.29.2 is already installed and up-to-date To reinstall 0.29.2, run brew reinstall pkg-config Warning: libusbmuxd HEAD-c2db27c_1 is already installed and up-to-date To reinstall HEAD_1, run brew reinstall libusbmuxd Warning: Already linked: /usr/local/Cellar/libusbmuxd/HEAD-c2db27c_1 To relink: brew unlink libusbmuxd && brew link libusbmuxd Warning: libimobiledevice HEAD-60823f9_4 is already installed and up-to-date To reinstall HEAD_5, run brew reinstall libimobiledevice Warning: Already linked: /usr/local/Cellar/libimobiledevice/HEAD-60823f9_4 To relink: brew unlink libimobiledevice && brew link libimobiledevice Error: libplist 2.0.0_1 is already installed To install HEAD, first run brew unlink libplist. Warning: Already linked: /usr/local/Cellar/libplist/2.0.0_1 To relink: brew unlink libplist && brew link libplist Cloning into 'ipwndfu_public'... remote: Enumerating objects: 463, done. remote: Total 463 (delta 0), reused 0 (delta 0), pack-reused 463 Receiving objects: 100% (463/463), 1.87 MiB | 1.97 MiB/s, done. Resolving deltas: 100% (239/239), done. 2019-11-15 23:37:42.835 system_profiler[38354:581073] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be No matching processes belonging to you were found Waiting 10 seconds to allow you to enter DFU mode Attempting to get into pwndfu mode Please just enter DFU mode again on each reboot The script will run ipwndfu again and again until the device is in PWNDFU mode checkm8 exploit by axi0mX modified version by Linus Henze s5l8965x support by Matthew Pierson Found: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:02 ECID:00000476F1BB2DD8 IBFL:1C SRTG:[iBoot-1704.10] Device is now in pwned DFU Mode. (15.10 seconds) 2019-11-15 23:38:08.626 system_profiler[38694:581825] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be SecureROM Signature check remover by Linus Henze Found: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:02 ECID:00000476F1BB2DD8 IBFL:1C SRTG:[iBoot-1704.10] PWND:[checkm8] Applying patches... Successfully applied patches Resetting device state

Configuration for libirecovery 0.2.0:

Install prefix: .........: /usr/local USB backend: ............: IOKit

Now type 'make' to build libirecovery 0.2.0, and then 'make install' for installation.

/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in src CC libirecovery_la-libirecovery.lo CC libirecovery_la-utils.lo CC libirecovery_la-thread.lo CCLD libirecovery.la Making all in include make[2]: Nothing to be done for all'. Making all in tools CC irecovery-irecovery.o CCLD irecovery Making all in udev make[2]: Nothing to be done forall'. make[2]: Nothing to be done for all-am'. Making install in src .././install-sh -c -d '/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libirecovery.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libirecovery.2.dylib /usr/local/lib/libirecovery.2.dylib libtool: install: (cd /usr/local/lib && { ln -s -f libirecovery.2.dylib libirecovery.dylib || { rm -f libirecovery.dylib && ln -s libirecovery.2.dylib libirecovery.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libirecovery.lai /usr/local/lib/libirecovery.la libtool: install: /usr/bin/install -c .libs/libirecovery.a /usr/local/lib/libirecovery.a libtool: install: chmod 644 /usr/local/lib/libirecovery.a libtool: install: ranlib /usr/local/lib/libirecovery.a make[2]: Nothing to be done forinstall-data-am'. Making install in include make[2]: Nothing to be done for install-exec-am'. .././install-sh -c -d '/usr/local/include' /usr/bin/install -c -m 644 libirecovery.h '/usr/local/include/.' Making install in tools .././install-sh -c -d '/usr/local/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c irecovery '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/irecovery /usr/local/bin/irecovery make[2]: Nothing to be done forinstall-data-am'. Making install in udev make[2]: Nothing to be done for install-exec-am'. make[2]: Nothing to be done forinstall-exec-am'. ./install-sh -c -d '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 libirecovery.pc '/usr/local/lib/pkgconfig' aclocal: warning: couldn't open directory 'm4': No such file or directory configure.ac:6: installing './compile' configure.ac:4: installing './config.guess' configure.ac:4: installing './config.sub' configure.ac:8: installing './install-sh' configure.ac:6: error: required file './ltmain.sh' not found configure.ac:8: installing './missing' libgeneral/Makefile.am: installing './depcomp' aclocal: warning: couldn't open directory 'm4': No such file or directory glibtoolize: putting auxiliary files in '.'. glibtoolize: copying file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: copying file 'm4/libtool.m4' glibtoolize: copying file 'm4/ltoptions.m4' glibtoolize: copying file 'm4/ltsugar.m4' glibtoolize: copying file 'm4/ltversion.m4' glibtoolize: copying file 'm4/lt~obsolete.m4' checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking target system type... x86_64-apple-darwin18.7.0 checking how to print strings... printf checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking dependency style of g++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating libgeneral.pc config.status: creating libgeneral/Makefile config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands

Configuration for libgeneral-26:

install prefix ..........: /usr/local compiler ................: gcc

Now type 'make' to build libgeneral-26, and then 'make install' for installation.

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/mateusz/5S/build/libgeneral/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in libgeneral /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -std=c++11 -MT libgeneral_la-exception.lo -MD -MP -MF .deps/libgeneral_la-exception.Tpo -c -o libgeneral_la-exception.lo test -f 'exception.cpp' || echo './'exception.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -std=c++11 -MT libgeneral_la-exception.lo -MD -MP -MF .deps/libgeneral_la-exception.Tpo -c exception.cpp -fno-common -DPIC -o .libs/libgeneral_la-exception.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -std=c++11 -MT libgeneral_la-exception.lo -MD -MP -MF .deps/libgeneral_la-exception.Tpo -c exception.cpp -o libgeneral_la-exception.o >/dev/null 2>&1 mv -f .deps/libgeneral_la-exception.Tpo .deps/libgeneral_la-exception.Plo /bin/sh ../libtool --tag=CXX --mode=link g++ -I../include -g -O2 -std=c++11 -o libgeneral.la -rpath /usr/local/lib libgeneral_la-exception.lo
libtool: link: g++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libgeneral.0.dylib .libs/libgeneral_la-exception.o -g -O2 -install_name /usr/local/lib/libgeneral.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module libtool: link: (cd ".libs" && rm -f "libgeneral.dylib" && ln -s "libgeneral.0.dylib" "libgeneral.dylib") libtool: link: ar cru .libs/libgeneral.a libgeneral_la-exception.o libtool: link: ranlib .libs/libgeneral.a libtool: link: ( cd ".libs" && rm -f "libgeneral.la" && ln -s "../libgeneral.la" "libgeneral.la" ) Making all in include make[2]: Nothing to be done for all'. Making install in libgeneral .././install-sh -c -d '/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libgeneral.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libgeneral.0.dylib /usr/local/lib/libgeneral.0.dylib libtool: install: (cd /usr/local/lib && { ln -s -f libgeneral.0.dylib libgeneral.dylib || { rm -f libgeneral.dylib && ln -s libgeneral.0.dylib libgeneral.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libgeneral.lai /usr/local/lib/libgeneral.la libtool: install: /usr/bin/install -c .libs/libgeneral.a /usr/local/lib/libgeneral.a libtool: install: chmod 644 /usr/local/lib/libgeneral.a libtool: install: ranlib /usr/local/lib/libgeneral.a make[2]: Nothing to be done forinstall-data-am'. Making install in include make[2]: Nothing to be done for install-exec-am'. .././install-sh -c -d '/usr/local/include' .././install-sh -c -d '/usr/local/include/libgeneral' /usr/bin/install -c -m 644 libgeneral/macros.h libgeneral/exception.hpp '/usr/local/include/libgeneral' make[2]: Nothing to be done forinstall-exec-am'. ./install-sh -c -d '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 libgeneral.pc '/usr/local/lib/pkgconfig' aclocal: warning: couldn't open directory 'm4': No such file or directory configure.ac:6: installing './compile' configure.ac:4: installing './config.guess' configure.ac:4: installing './config.sub' configure.ac:8: installing './install-sh' configure.ac:6: error: required file './ltmain.sh' not found configure.ac:8: installing './missing' libfragmentzip/Makefile.am: installing './depcomp' aclocal: warning: couldn't open directory 'm4': No such file or directory glibtoolize: putting auxiliary files in '.'. glibtoolize: copying file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: copying file 'm4/libtool.m4' glibtoolize: copying file 'm4/ltoptions.m4' glibtoolize: copying file 'm4/ltsugar.m4' glibtoolize: copying file 'm4/ltversion.m4' glibtoolize: copying file 'm4/lt~obsolete.m4' checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking target system type... x86_64-apple-darwin18.7.0 checking how to print strings... printf checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking dependency style of g++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether to enable WIN32 specific flags... no checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libcurl >= 1.0... yes checking for libzip >= 1.0... yes checking for zlib >= 1.0... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for bzero... yes checking for strdup... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating libfragmentzip/Makefile config.status: creating libfragmentzip.pc config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands

Configuration for libfragmentzip-58:

install prefix ..........: /usr/local compiler ................: gcc

Now type 'make' to build libfragmentzip-58, and then 'make install' for installation.

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/mateusz/5S/build/libfragmentzip/missing autoheader) rm -f stamp-h1 touch config.h.in /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in libfragmentzip /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libzip/1.5.2/include -I../include -g -O2 -MT libfragmentzip_la-libfragmentzip.lo -MD -MP -MF .deps/libfragmentzip_la-libfragmentzip.Tpo -c -o libfragmentzip_la-libfragmentzip.lo test -f 'libfragmentzip.c' || echo './'libfragmentzip.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libzip/1.5.2/include -I../include -g -O2 -MT libfragmentzip_la-libfragmentzip.lo -MD -MP -MF .deps/libfragmentzip_la-libfragmentzip.Tpo -c libfragmentzip.c -fno-common -DPIC -o .libs/libfragmentzip_la-libfragmentzip.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libzip/1.5.2/include -I../include -g -O2 -MT libfragmentzip_la-libfragmentzip.lo -MD -MP -MF .deps/libfragmentzip_la-libfragmentzip.Tpo -c libfragmentzip.c -o libfragmentzip_la-libfragmentzip.o >/dev/null 2>&1 mv -f .deps/libfragmentzip_la-libfragmentzip.Tpo .deps/libfragmentzip_la-libfragmentzip.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/local/Cellar/libzip/1.5.2/include -I../include -g -O2 -L/usr/local/Cellar/libzip/1.5.2/lib -lzip -lz -lcurl -o libfragmentzip.la -rpath /usr/local/lib libfragmentzip_la-libfragmentzip.lo
libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libfragmentzip.0.dylib .libs/libfragmentzip_la-libfragmentzip.o -L/usr/local/Cellar/libzip/1.5.2/lib -lzip -lz -lcurl -g -O2 -install_name /usr/local/lib/libfragmentzip.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module libtool: link: (cd ".libs" && rm -f "libfragmentzip.dylib" && ln -s "libfragmentzip.0.dylib" "libfragmentzip.dylib") libtool: link: ar cru .libs/libfragmentzip.a libfragmentzip_la-libfragmentzip.o libtool: link: ranlib .libs/libfragmentzip.a libtool: link: ( cd ".libs" && rm -f "libfragmentzip.la" && ln -s "../libfragmentzip.la" "libfragmentzip.la" ) Making all in include make[2]: Nothing to be done for all'. cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged Making install in libfragmentzip .././install-sh -c -d '/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libfragmentzip.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libfragmentzip.0.dylib /usr/local/lib/libfragmentzip.0.dylib libtool: install: (cd /usr/local/lib && { ln -s -f libfragmentzip.0.dylib libfragmentzip.dylib || { rm -f libfragmentzip.dylib && ln -s libfragmentzip.0.dylib libfragmentzip.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libfragmentzip.lai /usr/local/lib/libfragmentzip.la libtool: install: /usr/bin/install -c .libs/libfragmentzip.a /usr/local/lib/libfragmentzip.a libtool: install: chmod 644 /usr/local/lib/libfragmentzip.a libtool: install: ranlib /usr/local/lib/libfragmentzip.a make[2]: Nothing to be done forinstall-data-am'. Making install in include make[2]: Nothing to be done for install-exec-am'. .././install-sh -c -d '/usr/local/include' .././install-sh -c -d '/usr/local/include/libfragmentzip' /usr/bin/install -c -m 644 libfragmentzip/libfragmentzip.h '/usr/local/include/libfragmentzip' install: /usr/local/include/libfragmentzip/libfragmentzip.h: Permission denied make[2]: *** [install-nobase_dist_includeHEADERS] Error 71 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 glibtoolize: putting auxiliary files in '.'. glibtoolize: linking file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: linking file 'm4/libtool.m4' glibtoolize: linking file 'm4/ltoptions.m4' glibtoolize: linking file 'm4/ltsugar.m4' glibtoolize: linking file 'm4/ltversion.m4' glibtoolize: linking file 'm4/lt~obsolete.m4' configure.ac:32: installing './compile' configure.ac:4: installing './config.guess' configure.ac:4: installing './config.sub' configure.ac:15: installing './install-sh' configure.ac:15: installing './missing' futurerestore/Makefile.am: installing './depcomp' ~/5S/build/futurerestore/external/idevicerestore ~/5S/build/futurerestore glibtoolize: putting auxiliary files in '../..'. glibtoolize: linking file '../../ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: linking file 'm4/libtool.m4' glibtoolize: linking file 'm4/ltoptions.m4' glibtoolize: linking file 'm4/ltsugar.m4' glibtoolize: linking file 'm4/ltversion.m4' glibtoolize: linking file 'm4/lt~obsolete.m4' configure.ac:17: installing '../../compile' configure.ac:8: installing '../../missing' src/Makefile.am: installing '../../depcomp' ~/5S/build/futurerestore ~/5S/build/futurerestore/external/img4tool ~/5S/build/futurerestore glibtoolize: putting auxiliary files in '../..'. glibtoolize: linking file '../../ltmain.sh' glibtoolize: You should add the contents of the following files to 'aclocal.m4': glibtoolize: '/usr/local/Cellar/libtool/2.4.6_1/share/aclocal/libtool.m4' glibtoolize: '/usr/local/Cellar/libtool/2.4.6_1/share/aclocal/ltoptions.m4' glibtoolize: '/usr/local/Cellar/libtool/2.4.6_1/share/aclocal/ltsugar.m4' glibtoolize: '/usr/local/Cellar/libtool/2.4.6_1/share/aclocal/ltversion.m4' glibtoolize: '/usr/local/Cellar/libtool/2.4.6_1/share/aclocal/lt~obsolete.m4' glibtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, glibtoolize: and rerunning glibtoolize and aclocal. glibtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal: warning: couldn't open directory 'm4': No such file or directory configure.ac:9: installing '../../compile' configure.ac:3: installing '../../missing' img4tool/Makefile.am: installing '../../depcomp' ~/5S/build/futurerestore ~/5S/build/futurerestore/external/tsschecker ~/5S/build/futurerestore glibtoolize: putting auxiliary files in '../..'. glibtoolize: linking file '../../ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: linking file 'm4/libtool.m4' glibtoolize: linking file 'm4/ltoptions.m4' glibtoolize: linking file 'm4/ltsugar.m4' glibtoolize: linking file 'm4/ltversion.m4' glibtoolize: linking file 'm4/lt~obsolete.m4' glibtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:9: installing '../../compile' configure.ac:3: installing '../../missing' tsschecker/Makefile.am:6: warning: source file '$(top_srcdir)/external/jssy/jssy/jssy.c' is in a subdirectory, tsschecker/Makefile.am:6: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. tsschecker/Makefile.am: installing '../../depcomp' ~/5S/build/futurerestore checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking target system type... x86_64-apple-darwin18.7.0 checking whether we need platform-specific build settings... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for library containing pthread_create... none required checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libplist >= 2.0.0... yes checking for libzip >= 0.10... yes checking for libimobiledevice-1.0 >= 1.2.1... yes checking for libfragmentzip >= 1.0... yes checking for libirecovery >= 0.2.0... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for pkg-config... (cached) /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes Package libipatcher was not found in the pkg-config search path. Perhaps you should add the directory containinglibipatcher.pc' to the PKG_CONFIG_PATH environment variable No package 'libipatcher' found checking whether to enable WIN32 specific flags... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating futurerestore/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in external/idevicerestore (/Users/mateusz/5S/build/futurerestore/external/idevicerestore) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' 'PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking target system type... x86_64-apple-darwin18.7.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libirecovery >= 0.2.0... yes checking for libimobiledevice-1.0 >= 1.2.1... yes checking for libplist >= 1.0... yes checking for libzip >= 1.4... yes checking for libusbmuxd >= 1.0... yes checking for libcurl >= 7.0... yes checking for openssl >= 0.9.8... yes checking for zlib >= 1.2... yes checking whether we need platform-specific build settings... yes checking whether gcc is Clang... yes checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for strsep... yes checking for strcspn... yes checking for realpath... yes checking for IDEVICE_E_TIMEOUT in enum idevice_error_t... yes checking whether to enable WIN32 specific flags... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for native large file support... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether make supports nested variables... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating docs/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands

Configuration for idevicerestore 1.0:

Install prefix: .........: /usr/local

Now type 'make' to build idevicerestore 1.0, and then 'make install' for installation.

=== configuring in external/img4tool (/Users/mateusz/5S/build/futurerestore/external/img4tool) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' 'PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libcrypto >= 1.0... yes checking for compression_decode_buffer in -lcompression... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking whether to enable WIN32 specific flags... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for size_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for error_at_line... no checking for memmove... yes checking for memset... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating img4tool/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in external/tsschecker (/Users/mateusz/5S/build/futurerestore/external/tsschecker) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' 'PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libplist >= 1.0... yes checking for libcurl >= 1.0... yes checking for libfragmentzip >= 1.0... yes checking for libirecovery >= 0.2.0... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for int32_t... yes checking for int64_t... yes checking for size_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for error_at_line... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for memset... yes checking for mkdir... yes checking for pow... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes checking whether to enable WIN32 specific flags... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tsschecker/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands

Configuration for futurerestore 1.0:

Install prefix ..........: /usr/local With libipatcher ........: no Now type 'make' to build futurerestore 1.0, and then 'make install' for installation.

/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in external/idevicerestore /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in src CC libidevicerestorela-idevicerestore.lo idevicerestore.c:801:17: warning: 'tempnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tempnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] filesystem = tempnam(NULL, "ipsw"); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:306:1: note: 'tempnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons on... ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:180:48: note: expanded from macro '__deprecated_msg'

define deprecated_msg(_msg) attribute__((deprecated(_msg)))

                                                  ^

1 warning generated. CC libidevicerestore_la-common.lo CC libidevicerestore_la-tss.lo CC libidevicerestore_la-fls.lo CC libidevicerestore_la-mbn.lo CC libidevicerestore_la-img3.lo CC libidevicerestore_la-img4.lo CC libidevicerestore_la-ipsw.lo CC libidevicerestore_la-normal.lo CC libidevicerestore_la-dfu.lo CC libidevicerestore_la-recovery.lo CC libidevicerestore_la-restore.lo restore.c:1653:15: warning: 'tempnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tempnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] bbfwtmp = tempnam(NULL, client->udid); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:306:1: note: 'tempnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons on... ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:180:48: note: expanded from macro '__deprecated_msg'

define deprecated_msg(_msg) attribute__((deprecated(_msg)))

                                                  ^

1 warning generated. CC libidevicerestore_la-asr.lo CC libidevicerestore_la-fdr.lo CC libidevicerestore_la-limera1n.lo CC libidevicerestore_la-download.lo CC libidevicerestore_la-locking.lo CC libidevicerestore_la-socket.lo CC libidevicerestore_la-thread.lo CC libidevicerestore_la-jsmn.lo CC libidevicerestore_la-json_plist.lo CCLD libidevicerestore.la Making all in docs make[4]: Nothing to be done for all'. make[4]: Nothing to be done forall-am'. Making all in external/img4tool /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in img4tool /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c -o libimg4tool_la-img4tool.lo test -f 'img4tool.c' || echo './'img4tool.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c img4tool.c -fno-common -DPIC -o .libs/libimg4tool_la-img4tool.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c img4tool.c -o libimg4tool_la-img4tool.o >/dev/null 2>&1 mv -f .deps/libimg4tool_la-img4tool.Tpo .deps/libimg4tool_la-img4tool.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -MT libimg4tool_la-img4.lo -MD -MP -MF .deps/libimg4tool_la-img4.Tpo -c -o libimg4tool_la-img4.lo test -f 'img4.c' || echo './'img4.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -MT libimg4tool_la-img4.lo -MD -MP -MF .deps/libimg4tool_la-img4.Tpo -c img4.c -fno-common -DPIC -o .libs/libimg4tool_la-img4.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -MT libimg4tool_la-img4.lo -MD -MP -MF .deps/libimg4tool_la-img4.Tpo -c img4.c -o libimg4tool_la-img4.o >/dev/null 2>&1 mv -f .deps/libimg4tool_la-img4.Tpo .deps/libimg4tool_la-img4.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -MT libimg4tool_la-lzssdec.lo -MD -MP -MF .deps/libimg4tool_la-lzssdec.Tpo -c -o libimg4tool_la-lzssdec.lo test -f 'lzssdec.c' || echo './'lzssdec.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -MT libimg4tool_la-lzssdec.lo -MD -MP -MF .deps/libimg4tool_la-lzssdec.Tpo -c lzssdec.c -fno-common -DPIC -o .libs/libimg4tool_la-lzssdec.o lzssdec.c:118:43: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const void ' [-Wint-conversion] char feed = lz_memmem(compressed+64, 1024, sig, sizeof(sig)); ^~~~ lzssdec.c:35:45: note: passing argument to parameter 'b2' here void lz_memmem(const void b1, const void b2, size_t len1, size_t len2) ^ lzssdec.c:118:49: warning: incompatible pointer to integer conversion passing 'int [2]' to parameter of type 'size_t' (aka 'unsigned long') [-Wint-conversion] char feed = lz_memmem(compressed+64, 1024, sig, sizeof(sig)); ^~~ lzssdec.c:35:56: note: passing argument to parameter 'len1' here void lz_memmem(const void b1, const void b2, size_t len1, size_t len2) ^ lzssdec.c:121:41: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const void ' [-Wint-conversion] feed = lz_memmem(compressed+64, 1024, sig2, sizeof(sig2)); ^~~~ lzssdec.c:35:45: note: passing argument to parameter 'b2' here void lz_memmem(const void b1, const void b2, size_t len1, size_t len2) ^ lzssdec.c:121:47: warning: incompatible pointer to integer conversion passing 'int [2]' to parameter of type 'size_t' (aka 'unsigned long') [-Wint-conversion] feed = lz_memmem(compressed+64, 1024, sig2, sizeof(sig2)); ^~~~ lzssdec.c:35:56: note: passing argument to parameter 'len1' here void lz_memmem(const void b1, const void b2, size_t len1, size_t len2) ^ 4 warnings generated. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -MT libimg4tool_la-lzssdec.lo -MD -MP -MF .deps/libimg4tool_la-lzssdec.Tpo -c lzssdec.c -o libimg4tool_la-lzssdec.o >/dev/null 2>&1 mv -f .deps/libimg4tool_la-lzssdec.Tpo .deps/libimg4tool_la-lzssdec.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/local/Cellar/openssl/1.0.2s/include -DIMG4TOOL_NOMAIN -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D IMG4TOOL_VERSION_COUNT=\"126\" -D IMG4TOOL_VERSION_SHA=\"dd9b385e6954b8d12021fd0c56e53d5ba760b80a\" -L/usr/local/Cellar/openssl/1.0.2s/lib -lcrypto -lcompression -o libimg4tool.la libimg4tool_la-img4tool.lo libimg4tool_la-img4.lo libimg4tool_la-lzssdec.lo -L/usr/local/Cellar/openssl/1.0.2s/lib -lcrypto
libtool: link: ar cru .libs/libimg4tool.a .libs/libimg4tool_la-img4tool.o .libs/libimg4tool_la-img4.o .libs/libimg4tool_la-lzssdec.o libtool: link: ranlib .libs/libimg4tool.a libtool: link: ( cd ".libs" && rm -f "libimg4tool.la" && ln -s "../libimg4tool.la" "libimg4tool.la" ) make[4]: Nothing to be done for all-am'. Making all in external/tsschecker /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in tsschecker gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libjssy_a-jssy.o -MD -MP -MF .deps/libjssy_a-jssy.Tpo -c -o libjssy_a-jssy.otest -f '../external/jssy/jssy/jssy.c' || echo './'../external/jssy/jssy/jssy.c mv -f .deps/libjssy_a-jssy.Tpo .deps/libjssy_a-jssy.Po rm -f libjssy.a ar cru libjssy.a libjssy_a-jssy.o ranlib libjssy.a /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libtsschecker_la-tsschecker.lo -MD -MP -MF .deps/libtsschecker_la-tsschecker.Tpo -c -o libtsschecker_la-tsschecker.lotest -f 'tsschecker.c' || echo './'`tsschecker.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libtsschecker_la-tsschecker.lo -MD -MP -MF .deps/libtsschecker_la-tsschecker.Tpo -c tsschecker.c -fno-common -DPIC -o .libs/libtsschecker_la-tsschecker.o tsschecker.c:818:18: warning: data argument not used by format string [-Wformat-extra-args] devVals->deviceBoard, devVals->deviceModel, BbGoldCertI... ^ ./debug.h:14:28: note: expanded from macro 'info'

define info(a ...) printf(a)

                       ^

1 warning generated. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libtsschecker_la-tsschecker.lo -MD -MP -MF .deps/libtsschecker_la-tsschecker.Tpo -c tsschecker.c -o libtsschecker_la-tsschecker.o >/dev/null 2>&1 mv -f .deps/libtsschecker_la-tsschecker.Tpo .deps/libtsschecker_la-tsschecker.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libtsschecker_la-tss.lo -MD -MP -MF .deps/libtsschecker_la-tss.Tpo -c -o libtsschecker_la-tss.lo test -f 'tss.c' || echo './'tss.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libtsschecker_la-tss.lo -MD -MP -MF .deps/libtsschecker_la-tss.Tpo -c tss.c -fno-common -DPIC -o .libs/libtsschecker_la-tss.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libtsschecker_la-tss.lo -MD -MP -MF .deps/libtsschecker_la-tss.Tpo -c tss.c -o libtsschecker_la-tss.o >/dev/null 2>&1 mv -f .deps/libtsschecker_la-tss.Tpo .deps/libtsschecker_la-tss.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libtsschecker_la-download.lo -MD -MP -MF .deps/libtsschecker_la-download.Tpo -c -o libtsschecker_la-download.lo test -f 'download.c' || echo './'download.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libtsschecker_la-download.lo -MD -MP -MF .deps/libtsschecker_la-download.Tpo -c download.c -fno-common -DPIC -o .libs/libtsschecker_la-download.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -MT libtsschecker_la-download.lo -MD -MP -MF .deps/libtsschecker_la-download.Tpo -c download.c -o libtsschecker_la-download.o >/dev/null 2>&1 mv -f .deps/libtsschecker_la-download.Tpo .deps/libtsschecker_la-download.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/libfragmentzip/include -I../external/jssy/jssy/ -DIDEVICERESTORE_NOMAIN=1 -DIMG4TOOL_NOMAIN=1 -DTSSCHECKER_NOMAIN=1 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"355\" -D TSSCHECKER_VERSION_SHA=\"c0b554e83f54d39d90cac9791160bf2ccb062aed\" -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/lib -lirecovery -L/usr/local/lib -L/usr/local/Cellar/libzip/1.5.2/lib -lfragmentzip -lzip -lcurl -lz -lm -o libtsschecker.la libtsschecker_la-tsschecker.lo libtsschecker_la-tss.lo libtsschecker_la-download.lo -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/lib -lirecovery -L/usr/local/lib -L/usr/local/Cellar/libzip/1.5.2/lib -lfragmentzip -lzip -lcurl -lz -lm libjssy.a

Warning: Linking the shared library libtsschecker.la against the static library libjssy.a is not portable! libtool: link: ar cru .libs/libtsschecker.a .libs/libtsschecker_la-tsschecker.o .libs/libtsschecker_la-tss.o .libs/libtsschecker_la-download.o libtool: link: ranlib .libs/libtsschecker.a libtool: link: ( cd ".libs" && rm -f "libtsschecker.la" && ln -s "../libtsschecker.la" "libtsschecker.la" ) make[4]: Nothing to be done for all-am'. Making all in futurerestore g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/Cellar/libimobiledevice/HEAD-60823f9_4/include -I/usr/local/Cellar/usbmuxd/HEAD-c2db27c_1/include -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I../external/tsschecker/external/jssy/jssy -I../external/tsschecker/tsschecker -I../external/img4tool/img4tool -I../external/idevicerestore/src -std=c++11 -stdlib=libc++ -MT futurerestore-futurerestore.o -MD -MP -MF .deps/futurerestore-futurerestore.Tpo -c -o futurerestore-futurerestore.otest -f 'futurerestore.cpp' || echo './'`futurerestore.cpp futurerestore.cpp:804:26: warning: 'tempnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tempnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] filesystem = tempnam(NULL, "ipsw_"); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:306:1: note: 'tempnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons on... ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:180:48: note: expanded from macro '__deprecated_msg'

define deprecated_msg(_msg) attribute__((deprecated(_msg)))

                                                  ^

1 warning generated. mv -f .deps/futurerestore-futurerestore.Tpo .deps/futurerestore-futurerestore.Po g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/Cellar/libimobiledevice/HEAD-60823f9_4/include -I/usr/local/Cellar/usbmuxd/HEAD-c2db27c_1/include -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I../external/tsschecker/external/jssy/jssy -I../external/tsschecker/tsschecker -I../external/img4tool/img4tool -I../external/idevicerestore/src -std=c++11 -stdlib=libc++ -MT futurerestore-main.o -MD -MP -MF .deps/futurerestore-main.Tpo -c -o futurerestore-main.o test -f 'main.cpp' || echo './'main.cpp mv -f .deps/futurerestore-main.Tpo .deps/futurerestore-main.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/Cellar/libimobiledevice/HEAD-60823f9_4/include -I/usr/local/Cellar/usbmuxd/HEAD-c2db27c_1/include -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I../external/tsschecker/external/jssy/jssy -I../external/tsschecker/tsschecker -I../external/img4tool/img4tool -I../external/idevicerestore/src -std=c++11 -stdlib=libc++ -o futurerestore futurerestore-futurerestore.o futurerestore-main.o ../external/idevicerestore/src/libidevicerestore.la ../external/img4tool/img4tool/libimg4tool.la ../external/tsschecker/tsschecker/libtsschecker.la ../external/tsschecker/tsschecker/libjssy.a -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/Cellar/libzip/1.5.2/lib -lzip -L/usr/local/Cellar/libimobiledevice/HEAD-60823f9_4/lib -L/usr/local/Cellar/libplist/2.0.0_1/lib -limobiledevice -lplist -L/usr/local/lib -lirecovery -L/usr/local/lib -L/usr/local/Cellar/libzip/1.5.2/lib -lfragmentzip -lzip -lcurl -lz
libtool: link: g++ -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/Cellar/libimobiledevice/HEAD-60823f9_4/include -I/usr/local/Cellar/usbmuxd/HEAD-c2db27c_1/include -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I../external/tsschecker/external/jssy/jssy -I../external/tsschecker/tsschecker -I../external/img4tool/img4tool -I../external/idevicerestore/src -std=c++11 -stdlib=libc++ -o futurerestore futurerestore-futurerestore.o futurerestore-main.o -Wl,-bind_at_load ../external/idevicerestore/src/.libs/libidevicerestore.a -L/usr/local/lib -L/usr/local/Cellar/libimobiledevice/HEAD-60823f9_4/lib -L/usr/local/Cellar/libplist/2.0.0_1/lib -L/usr/local/Cellar/libzip/1.5.2/lib -L/usr/local/Cellar/usbmuxd/HEAD-c2db27c_1/lib -lusbmuxd -L/usr/local/Cellar/openssl/1.0.2s/lib -lssl ../external/img4tool/img4tool/.libs/libimg4tool.a -lcompression -lcrypto ../external/tsschecker/tsschecker/.libs/libtsschecker.a -lm ../external/tsschecker/tsschecker/libjssy.a -limobiledevice -lplist /usr/local/lib/libirecovery.dylib /usr/local/lib/libfragmentzip.dylib -lzip -lcurl -lz -framework CoreFoundation -framework IOKit -pthread make[2]: Nothing to be done for all-am'. Making install in futurerestore .././install-sh -c -d '/usr/local/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c futurerestore '/usr/local/bin' libtool: install: /usr/bin/install -c futurerestore /usr/local/bin/futurerestore make[2]: Nothing to be done forinstall-data-am'. make[2]: Nothing to be done for install-exec-am'. make[2]: Nothing to be done forinstall-data-am'. Note: checking out 'c1b4203f1f8e05d49673548bab8963388be2dbf0'.

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 c1b4203 added missing macros include Submodule 'external/libgeneral' (https://github.com/tihmstar/libgeneral.git) registered for path 'external/libgeneral' Cloning into '/Users/mateusz/5S/build/liboffsetfinder64/external/libgeneral'... Submodule path 'external/libgeneral': checked out 'e423f64d9b535c9a963f2ed3ed0fbf300c1ec24c' aclocal: warning: couldn't open directory 'm4': No such file or directory configure.ac:6: installing './compile' configure.ac:4: installing './config.guess' configure.ac:4: installing './config.sub' configure.ac:8: installing './install-sh' configure.ac:6: error: required file './ltmain.sh' not found configure.ac:8: installing './missing' liboffsetfinder64/Makefile.am: installing './depcomp' aclocal: warning: couldn't open directory 'm4': No such file or directory glibtoolize: putting auxiliary files in '.'. glibtoolize: copying file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: copying file 'm4/libtool.m4' glibtoolize: copying file 'm4/ltoptions.m4' glibtoolize: copying file 'm4/ltsugar.m4' glibtoolize: copying file 'm4/ltversion.m4' glibtoolize: copying file 'm4/lt~obsolete.m4' checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking target system type... x86_64-apple-darwin18.7.0 checking how to print strings... printf checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking dependency style of g++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether we need platform-specific build settings... checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libimg4tool >= 155... no Note: img4tool has been disabled checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating liboffsetfinder64/Makefile config.status: creating liboffsetfinder64.pc config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands

Configuration for liboffsetfinder64-96:

install prefix ..........: /usr/local have img4tool ...........: yes compiler ................: gcc

Now type 'make' to build liboffsetfinder64-96, and then 'make install' for installation.

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/mateusz/5S/build/liboffsetfinder64/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in liboffsetfinder64 /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT ../external/libgeneral/libgeneral/liboffsetfinder64_la-exception.lo -MD -MP -MF ../external/libgeneral/libgeneral/.deps/liboffsetfinder64_la-exception.Tpo -c -o ../external/libgeneral/libgeneral/liboffsetfinder64_la-exception.lo test -f '../external/libgeneral/libgeneral/exception.cpp' || echo './'../external/libgeneral/libgeneral/exception.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT ../external/libgeneral/libgeneral/liboffsetfinder64_la-exception.lo -MD -MP -MF ../external/libgeneral/libgeneral/.deps/liboffsetfinder64_la-exception.Tpo -c ../external/libgeneral/libgeneral/exception.cpp -fno-common -DPIC -o ../external/libgeneral/libgeneral/.libs/liboffsetfinder64_la-exception.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT ../external/libgeneral/libgeneral/liboffsetfinder64_la-exception.lo -MD -MP -MF ../external/libgeneral/libgeneral/.deps/liboffsetfinder64_la-exception.Tpo -c ../external/libgeneral/libgeneral/exception.cpp -o ../external/libgeneral/libgeneral/liboffsetfinder64_la-exception.o >/dev/null 2>&1 mv -f ../external/libgeneral/libgeneral/.deps/liboffsetfinder64_la-exception.Tpo ../external/libgeneral/libgeneral/.deps/liboffsetfinder64_la-exception.Plo /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-insn.lo -MD -MP -MF .deps/liboffsetfinder64_la-insn.Tpo -c -o liboffsetfinder64_la-insn.lo test -f 'insn.cpp' || echo './'insn.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-insn.lo -MD -MP -MF .deps/liboffsetfinder64_la-insn.Tpo -c insn.cpp -fno-common -DPIC -o .libs/liboffsetfinder64_la-insn.o insn.cpp:30:2: warning: TODO is this distance validation correct?? [-W#warnings]

warning TODO is this distance validation correct??

^ insn.cpp:170:2: warning: TODO incomplete function implementation! [-W#warnings]

warning TODO incomplete function implementation!

^ insn.cpp:213:2: warning: TODO recheck this mask [-W#warnings]

warning TODO recheck this mask

^ insn.cpp:249:2: warning: TODO redo this! currently only recognises STR (immediate) [-W#warnings]

warning TODO redo this! currently only recognises STR (immediate)

^ insn.cpp:254:2: warning: TODO redo this! currently only recognises STR (immediate) [-W#warnings]

warning TODO redo this! currently only recognises STR (immediate)

^ insn.cpp:423:2: warning: TODO rewrite this! currently only unsigned offset supported [-W#warnings]

warning TODO rewrite this! currently only unsigned offset supported

^ 6 warnings generated. libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-insn.lo -MD -MP -MF .deps/liboffsetfinder64_la-insn.Tpo -c insn.cpp -o liboffsetfinder64_la-insn.o >/dev/null 2>&1 mv -f .deps/liboffsetfinder64_la-insn.Tpo .deps/liboffsetfinder64_la-insn.Plo /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-vsegment.lo -MD -MP -MF .deps/liboffsetfinder64_la-vsegment.Tpo -c -o liboffsetfinder64_la-vsegment.lo test -f 'vsegment.cpp' || echo './'vsegment.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-vsegment.lo -MD -MP -MF .deps/liboffsetfinder64_la-vsegment.Tpo -c vsegment.cpp -fno-common -DPIC -o .libs/liboffsetfinder64_la-vsegment.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-vsegment.lo -MD -MP -MF .deps/liboffsetfinder64_la-vsegment.Tpo -c vsegment.cpp -o liboffsetfinder64_la-vsegment.o >/dev/null 2>&1 mv -f .deps/liboffsetfinder64_la-vsegment.Tpo .deps/liboffsetfinder64_la-vsegment.Plo /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-vmem.lo -MD -MP -MF .deps/liboffsetfinder64_la-vmem.Tpo -c -o liboffsetfinder64_la-vmem.lo test -f 'vmem.cpp' || echo './'vmem.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-vmem.lo -MD -MP -MF .deps/liboffsetfinder64_la-vmem.Tpo -c vmem.cpp -fno-common -DPIC -o .libs/liboffsetfinder64_la-vmem.o vmem.cpp:73:12: warning: implicit conversion of NULL constant to 'tihmstar::offsetfinder64::loc_t' (aka 'unsigned long long') [-Wnull-conversion] return NULL;


           0
vmem.cpp:82:12: warning: implicit conversion of NULL constant to
      'tihmstar::offsetfinder64::loc_t' (aka 'unsigned long long')
      [-Wnull-conversion]
    return NULL;
    ~~~~~~ ^~~~
           0
2 warnings generated.
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-vmem.lo -MD -MP -MF .deps/liboffsetfinder64_la-vmem.Tpo -c vmem.cpp -o liboffsetfinder64_la-vmem.o >/dev/null 2>&1
mv -f .deps/liboffsetfinder64_la-vmem.Tpo .deps/liboffsetfinder64_la-vmem.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../include/liboffsetfinder64  -I../external/libgeneral/include    -g -O2 -stdlib=libc++  -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-patch.lo -MD -MP -MF .deps/liboffsetfinder64_la-patch.Tpo -c -o liboffsetfinder64_la-patch.lo `test -f 'patch.cpp' || echo './'`patch.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-patch.lo -MD -MP -MF .deps/liboffsetfinder64_la-patch.Tpo -c patch.cpp  -fno-common -DPIC -o .libs/liboffsetfinder64_la-patch.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-patch.lo -MD -MP -MF .deps/liboffsetfinder64_la-patch.Tpo -c patch.cpp -o liboffsetfinder64_la-patch.o >/dev/null 2>&1
mv -f .deps/liboffsetfinder64_la-patch.Tpo .deps/liboffsetfinder64_la-patch.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../include/liboffsetfinder64  -I../external/libgeneral/include    -g -O2 -stdlib=libc++  -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-patchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-patchfinder64.Tpo -c -o liboffsetfinder64_la-patchfinder64.lo `test -f 'patchfinder64.cpp' || echo './'`patchfinder64.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-patchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-patchfinder64.Tpo -c patchfinder64.cpp  -fno-common -DPIC -o .libs/liboffsetfinder64_la-patchfinder64.o
patchfinder64.cpp:29:17: warning: implicit conversion of NULL constant to
      'offsetfinder64::loc_t' (aka 'unsigned long long') [-Wnull-conversion]
    _entrypoint(NULL),
               ~^~~~
                0
patchfinder64.cpp:30:11: warning: implicit conversion of NULL constant to
      'offsetfinder64::loc_t' (aka 'unsigned long long') [-Wnull-conversion]
    _base(NULL)
         ~^~~~
          0
2 warnings generated.
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-patchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-patchfinder64.Tpo -c patchfinder64.cpp -o liboffsetfinder64_la-patchfinder64.o >/dev/null 2>&1
mv -f .deps/liboffsetfinder64_la-patchfinder64.Tpo .deps/liboffsetfinder64_la-patchfinder64.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../include/liboffsetfinder64  -I../external/libgeneral/include    -g -O2 -stdlib=libc++  -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-machopatchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-machopatchfinder64.Tpo -c -o liboffsetfinder64_la-machopatchfinder64.lo `test -f 'machopatchfinder64.cpp' || echo './'`machopatchfinder64.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-machopatchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-machopatchfinder64.Tpo -c machopatchfinder64.cpp  -fno-common -DPIC -o .libs/liboffsetfinder64_la-machopatchfinder64.o
machopatchfinder64.cpp:102:2: warning: TODO [-W#warnings]
#warning TODO
 ^
1 warning generated.
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-machopatchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-machopatchfinder64.Tpo -c machopatchfinder64.cpp -o liboffsetfinder64_la-machopatchfinder64.o >/dev/null 2>&1
mv -f .deps/liboffsetfinder64_la-machopatchfinder64.Tpo .deps/liboffsetfinder64_la-machopatchfinder64.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../include/liboffsetfinder64  -I../external/libgeneral/include    -g -O2 -stdlib=libc++  -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-kernelpatchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-kernelpatchfinder64.Tpo -c -o liboffsetfinder64_la-kernelpatchfinder64.lo `test -f 'kernelpatchfinder64.cpp' || echo './'`kernelpatchfinder64.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-kernelpatchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-kernelpatchfinder64.Tpo -c kernelpatchfinder64.cpp  -fno-common -DPIC -o .libs/liboffsetfinder64_la-kernelpatchfinder64.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-kernelpatchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-kernelpatchfinder64.Tpo -c kernelpatchfinder64.cpp -o liboffsetfinder64_la-kernelpatchfinder64.o >/dev/null 2>&1
mv -f .deps/liboffsetfinder64_la-kernelpatchfinder64.Tpo .deps/liboffsetfinder64_la-kernelpatchfinder64.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../include/liboffsetfinder64  -I../external/libgeneral/include    -g -O2 -stdlib=libc++  -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-ibootpatchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-ibootpatchfinder64.Tpo -c -o liboffsetfinder64_la-ibootpatchfinder64.lo `test -f 'ibootpatchfinder64.cpp' || echo './'`ibootpatchfinder64.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-ibootpatchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-ibootpatchfinder64.Tpo -c ibootpatchfinder64.cpp  -fno-common -DPIC -o .libs/liboffsetfinder64_la-ibootpatchfinder64.o
ibootpatchfinder64.cpp:152:79: warning: while loop has empty body [-Wempty-body]
    while ((--iter).supertype() != insn::sut_branch_imm || iter() == insn::bl);
                                                                              ^
ibootpatchfinder64.cpp:152:79: note: put the semicolon on a separate line to
      silence this warning
1 warning generated.
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/liboffsetfinder64 -I../external/libgeneral/include -g -O2 -stdlib=libc++ -std=c++11 -O3 -D EXPECTIONNAME=OFexception -MT liboffsetfinder64_la-ibootpatchfinder64.lo -MD -MP -MF .deps/liboffsetfinder64_la-ibootpatchfinder64.Tpo -c ibootpatchfinder64.cpp -o liboffsetfinder64_la-ibootpatchfinder64.o >/dev/null 2>&1
mv -f .deps/liboffsetfinder64_la-ibootpatchfinder64.Tpo .deps/liboffsetfinder64_la-ibootpatchfinder64.Plo
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -g -O2 -stdlib=libc++  -std=c++11 -O3 -D EXPECTIONNAME=OFexception -L/usr/local/lib/   -o liboffsetfinder64.la -rpath /usr/local/lib ../external/libgeneral/libgeneral/liboffsetfinder64_la-exception.lo liboffsetfinder64_la-insn.lo liboffsetfinder64_la-vsegment.lo liboffsetfinder64_la-vmem.lo liboffsetfinder64_la-patch.lo liboffsetfinder64_la-patchfinder64.lo liboffsetfinder64_la-machopatchfinder64.lo liboffsetfinder64_la-kernelpatchfinder64.lo liboffsetfinder64_la-ibootpatchfinder64.lo -L/usr/local/lib/  
libtool: link: g++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/liboffsetfinder64.0.dylib  ../external/libgeneral/libgeneral/.libs/liboffsetfinder64_la-exception.o .libs/liboffsetfinder64_la-insn.o .libs/liboffsetfinder64_la-vsegment.o .libs/liboffsetfinder64_la-vmem.o .libs/liboffsetfinder64_la-patch.o .libs/liboffsetfinder64_la-patchfinder64.o .libs/liboffsetfinder64_la-machopatchfinder64.o .libs/liboffsetfinder64_la-kernelpatchfinder64.o .libs/liboffsetfinder64_la-ibootpatchfinder64.o   -L/usr/local/lib/  -g -O2 -stdlib=libc++ -O3   -install_name  /usr/local/lib/liboffsetfinder64.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
libtool: link: (cd ".libs" && rm -f "liboffsetfinder64.dylib" && ln -s "liboffsetfinder64.0.dylib" "liboffsetfinder64.dylib")
libtool: link: ar cru .libs/liboffsetfinder64.a  ../external/libgeneral/libgeneral/liboffsetfinder64_la-exception.o liboffsetfinder64_la-insn.o liboffsetfinder64_la-vsegment.o liboffsetfinder64_la-vmem.o liboffsetfinder64_la-patch.o liboffsetfinder64_la-patchfinder64.o liboffsetfinder64_la-machopatchfinder64.o liboffsetfinder64_la-kernelpatchfinder64.o liboffsetfinder64_la-ibootpatchfinder64.o
libtool: link: ranlib .libs/liboffsetfinder64.a
libtool: link: ( cd ".libs" && rm -f "liboffsetfinder64.la" && ln -s "../liboffsetfinder64.la" "liboffsetfinder64.la" )
Making all in include
make[2]: Nothing to be done for `all'.
Making install in liboffsetfinder64
 .././install-sh -c -d '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   liboffsetfinder64.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/liboffsetfinder64.0.dylib /usr/local/lib/liboffsetfinder64.0.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f liboffsetfinder64.0.dylib liboffsetfinder64.dylib || { rm -f liboffsetfinder64.dylib && ln -s liboffsetfinder64.0.dylib liboffsetfinder64.dylib; }; })
libtool: install: /usr/bin/install -c .libs/liboffsetfinder64.lai /usr/local/lib/liboffsetfinder64.la
libtool: install: /usr/bin/install -c .libs/liboffsetfinder64.a /usr/local/lib/liboffsetfinder64.a
libtool: install: chmod 644 /usr/local/lib/liboffsetfinder64.a
libtool: install: ranlib /usr/local/lib/liboffsetfinder64.a
make[2]: Nothing to be done for `install-data-am'.
Making install in include
make[2]: Nothing to be done for `install-exec-am'.
 .././install-sh -c -d '/usr/local/include'
 .././install-sh -c -d '/usr/local/include/liboffsetfinder64/libgeneral'
 /usr/bin/install -c -m 644  liboffsetfinder64/libgeneral/macros.h liboffsetfinder64/libgeneral/exception.hpp '/usr/local/include/liboffsetfinder64/libgeneral'
 .././install-sh -c -d '/usr/local/include/liboffsetfinder64'
 /usr/bin/install -c -m 644  liboffsetfinder64/common.h liboffsetfinder64/OFexception.hpp liboffsetfinder64/insn.hpp liboffsetfinder64/vsegment.hpp liboffsetfinder64/vmem.hpp liboffsetfinder64/patch.hpp liboffsetfinder64/patchfinder64.hpp liboffsetfinder64/machopatchfinder64.hpp liboffsetfinder64/kernelpatchfinder64.hpp liboffsetfinder64/ibootpatchfinder64.hpp '/usr/local/include/liboffsetfinder64'
make[2]: Nothing to be done for `install-exec-am'.
 ./install-sh -c -d '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 liboffsetfinder64.pc '/usr/local/lib/pkgconfig'
aclocal: warning: couldn't open directory 'm4': No such file or directory
configure.ac:6: installing './compile'
configure.ac:4: installing './config.guess'
configure.ac:4: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:6: error: required file './ltmain.sh' not found
configure.ac:8: installing './missing'
img4tool/Makefile.am: installing './depcomp'
aclocal: warning: couldn't open directory 'm4': No such file or directory
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: copying file 'm4/libtool.m4'
glibtoolize: copying file 'm4/ltoptions.m4'
glibtoolize: copying file 'm4/ltsugar.m4'
glibtoolize: copying file 'm4/ltversion.m4'
glibtoolize: copying file 'm4/lt~obsolete.m4'
checking build system type... x86_64-apple-darwin18.7.0
checking host system type... x86_64-apple-darwin18.7.0
checking target system type... x86_64-apple-darwin18.7.0
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin18.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin18.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking whether we need platform-specific build settings... checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for openssl >= 0.9.8... yes
checking for libplist >= 2.0.0... yes
checking for libgeneral >= 26... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for memmem... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libimg4tool.pc
config.status: creating include/img4tool/img4tool.hpp
config.status: creating img4tool/Makefile
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands

Configuration for img4tool-163:
-------------------------------------------

  install prefix ..........: /usr/local
  have plist ..............: yes
  crypto backend ..........: openssl
  compiler ................: gcc

  Now type 'make' to build img4tool-163,
  and then 'make install' for installation.

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/mateusz/5S/build/img4tool/missing autoheader)
rm -f stamp-h1
touch config.h.in
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in img4tool
g++ -DHAVE_CONFIG_H -I. -I..    -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include  -g -O2 -std=c++11 -MT img4tool-main.o -MD -MP -MF .deps/img4tool-main.Tpo -c -o img4tool-main.o `test -f 'main.cpp' || echo './'`main.cpp
mv -f .deps/img4tool-main.Tpo .deps/img4tool-main.Po
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include  -g -O2 -std=c++11 -MT libimg4tool_la-ASN1DERElement.lo -MD -MP -MF .deps/libimg4tool_la-ASN1DERElement.Tpo -c -o libimg4tool_la-ASN1DERElement.lo `test -f 'ASN1DERElement.cpp' || echo './'`ASN1DERElement.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-ASN1DERElement.lo -MD -MP -MF .deps/libimg4tool_la-ASN1DERElement.Tpo -c ASN1DERElement.cpp  -fno-common -DPIC -o .libs/libimg4tool_la-ASN1DERElement.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-ASN1DERElement.lo -MD -MP -MF .deps/libimg4tool_la-ASN1DERElement.Tpo -c ASN1DERElement.cpp -o libimg4tool_la-ASN1DERElement.o >/dev/null 2>&1
mv -f .deps/libimg4tool_la-ASN1DERElement.Tpo .deps/libimg4tool_la-ASN1DERElement.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include -g -O2 -std=c11 -MT libimg4tool_la-lzssdec.lo -MD -MP -MF .deps/libimg4tool_la-lzssdec.Tpo -c -o libimg4tool_la-lzssdec.lo `test -f 'lzssdec.c' || echo './'`lzssdec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include -g -O2 -std=c11 -MT libimg4tool_la-lzssdec.lo -MD -MP -MF .deps/libimg4tool_la-lzssdec.Tpo -c lzssdec.c  -fno-common -DPIC -o .libs/libimg4tool_la-lzssdec.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include -g -O2 -std=c11 -MT libimg4tool_la-lzssdec.lo -MD -MP -MF .deps/libimg4tool_la-lzssdec.Tpo -c lzssdec.c -o libimg4tool_la-lzssdec.o >/dev/null 2>&1
mv -f .deps/libimg4tool_la-lzssdec.Tpo .deps/libimg4tool_la-lzssdec.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include  -g -O2 -std=c++11 -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c -o libimg4tool_la-img4tool.lo `test -f 'img4tool.cpp' || echo './'`img4tool.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c img4tool.cpp  -fno-common -DPIC -o .libs/libimg4tool_la-img4tool.o
img4tool.cpp:32:2: warning: TODO adjust this for HAVE_COMMCRYPTO [-W#warnings]
#warning TODO adjust this for HAVE_COMMCRYPTO
 ^
img4tool.cpp:286:2: warning: TODO we don't handle IM4R yet [-W#warnings]
#warning TODO we don't handle IM4R yet
 ^
img4tool.cpp:492:2: warning: TODO implement bvx2 [-W#warnings]
#warning TODO implement bvx2
 ^
3 warnings generated.
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include -g -O2 -std=c++11 -MT libimg4tool_la-img4tool.lo -MD -MP -MF .deps/libimg4tool_la-img4tool.Tpo -c img4tool.cpp -o libimg4tool_la-img4tool.o >/dev/null 2>&1
mv -f .deps/libimg4tool_la-img4tool.Tpo .deps/libimg4tool_la-img4tool.Plo
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include  -g -O2 -std=c++11 -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/Cellar/openssl/1.0.2s/lib -lssl -lcrypto -L/usr/local/lib -lgeneral  -o libimg4tool.la -rpath /usr/local/lib libimg4tool_la-ASN1DERElement.lo libimg4tool_la-lzssdec.lo libimg4tool_la-img4tool.lo  
libtool: link: g++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libimg4tool.0.dylib  .libs/libimg4tool_la-ASN1DERElement.o .libs/libimg4tool_la-lzssdec.o .libs/libimg4tool_la-img4tool.o   -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/Cellar/openssl/1.0.2s/lib -lssl -lcrypto -L/usr/local/lib /usr/local/lib/libgeneral.dylib  -g -O2   -install_name  /usr/local/lib/libimg4tool.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
libtool: link: (cd ".libs" && rm -f "libimg4tool.dylib" && ln -s "libimg4tool.0.dylib" "libimg4tool.dylib")
libtool: link: ar cru .libs/libimg4tool.a  libimg4tool_la-ASN1DERElement.o libimg4tool_la-lzssdec.o libimg4tool_la-img4tool.o
libtool: link: ranlib .libs/libimg4tool.a
libtool: link: ( cd ".libs" && rm -f "libimg4tool.la" && ln -s "../libimg4tool.la" "libimg4tool.la" )
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -I../include -I../include/img4tool  -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include  -g -O2 -std=c++11 -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/Cellar/openssl/1.0.2s/lib -lssl -lcrypto -L/usr/local/lib -lgeneral  -o img4tool img4tool-main.o libimg4tool.la 
libtool: link: g++ -I../include -I../include/img4tool -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/openssl/1.0.2s/include -I/usr/local/include -g -O2 -std=c++11 -o .libs/img4tool img4tool-main.o -Wl,-bind_at_load  -L/usr/local/Cellar/libplist/2.0.0_1/lib -L/usr/local/Cellar/openssl/1.0.2s/lib -L/usr/local/lib ./.libs/libimg4tool.dylib -lplist -lssl -lcrypto /usr/local/lib/libgeneral.dylib
Making all in include
make[2]: Nothing to be done for `all'.
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
Making install in img4tool
 .././install-sh -c -d '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libimg4tool.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libimg4tool.0.dylib /usr/local/lib/libimg4tool.0.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libimg4tool.0.dylib libimg4tool.dylib || { rm -f libimg4tool.dylib && ln -s libimg4tool.0.dylib libimg4tool.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libimg4tool.lai /usr/local/lib/libimg4tool.la
libtool: install: /usr/bin/install -c .libs/libimg4tool.a /usr/local/lib/libimg4tool.a
libtool: install: chmod 644 /usr/local/lib/libimg4tool.a
libtool: install: ranlib /usr/local/lib/libimg4tool.a
 .././install-sh -c -d '/usr/local/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c img4tool '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/img4tool /usr/local/bin/img4tool
make[2]: Nothing to be done for `install-data-am'.
Making install in include
make[2]: Nothing to be done for `install-exec-am'.
 .././install-sh -c -d '/usr/local/include'
 .././install-sh -c -d '/usr/local/include/img4tool'
 /usr/bin/install -c -m 644  img4tool/img4tool.hpp img4tool/ASN1DERElement.hpp '/usr/local/include/img4tool'
make[2]: Nothing to be done for `install-exec-am'.
 ./install-sh -c -d '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libimg4tool.pc '/usr/local/lib/pkgconfig'
glibtoolize: putting auxiliary files in '.'.
glibtoolize: linking file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: linking file 'm4/libtool.m4'
glibtoolize: linking file 'm4/ltoptions.m4'
glibtoolize: linking file 'm4/ltsugar.m4'
glibtoolize: linking file 'm4/ltversion.m4'
glibtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:25: installing './compile'
configure.ac:28: installing './config.guess'
configure.ac:28: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
tsschecker/Makefile.am:6: warning: source file '$(top_srcdir)/external/jssy/jssy/jssy.c' is in a subdirectory,
tsschecker/Makefile.am:6: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
tsschecker/Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 whether to enable WIN32 specific flags... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-apple-darwin18.7.0
checking host system type... x86_64-apple-darwin18.7.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin18.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libplist >= 1.0... yes
checking for libcurl >= 1.0... yes
checking for libfragmentzip >= 1.0... yes
checking for libirecovery >= 0.2.0... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking for int32_t... yes
checking for int64_t... yes
checking for size_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for error_at_line... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for memset... yes
checking for mkdir... yes
checking for pow... yes
checking for strchr... yes
checking for strdup... yes
checking for strstr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tsschecker/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in tsschecker
gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include   -I/usr/local/include  -I../external/jssy/jssy/ -g -O2 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"301\" -D TSSCHECKER_VERSION_SHA=\"f41ef5c0b684150df8aafdaadb3a1b6d8ca0e293\" -MT tsschecker-tsschecker.o -MD -MP -MF .deps/tsschecker-tsschecker.Tpo -c -o tsschecker-tsschecker.o `test -f 'tsschecker.c' || echo './'`tsschecker.c
tsschecker.c:817:18: warning: data argument not used by format string
      [-Wformat-extra-args]
                 devVals->deviceBoard, devVals->deviceModel, BbGoldCertI...
                 ^
./debug.h:14:28: note: expanded from macro 'info'
#define info(a ...) printf(a)
                           ^
tsschecker.c:1094:2: warning: print devices function doesn't actually check if
      devices are sorted. it assues they are sorted in json [-W#warnings]
#warning print devices function doesn't actually check if devices are so...
 ^
2 warnings generated.
mv -f .deps/tsschecker-tsschecker.Tpo .deps/tsschecker-tsschecker.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include   -I/usr/local/include  -I../external/jssy/jssy/ -g -O2 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"301\" -D TSSCHECKER_VERSION_SHA=\"f41ef5c0b684150df8aafdaadb3a1b6d8ca0e293\" -MT tsschecker-tss.o -MD -MP -MF .deps/tsschecker-tss.Tpo -c -o tsschecker-tss.o `test -f 'tss.c' || echo './'`tss.c
tss.c:166:96: warning: format specifies type 'int' but the argument has type
      'uint64_t' (aka 'unsigned long long') [-Wformat]
  ...invalid size %d for data to integer conversion\n", __func__, strsz);
                  ~~                                              ^~~~~
                  %llu
./debug.h:18:48: note: expanded from macro 'error'
#define error(a ...) printf("[Error] "),printf(a)
                                               ^
tss.c:212:96: warning: format specifies type 'int' but the argument has type
      'uint64_t' (aka 'unsigned long long') [-Wformat]
  ...invalid size %d for data to boolean conversion\n", __func__, strsz);
                  ~~                                              ^~~~~
                  %llu
./debug.h:18:48: note: expanded from macro 'error'
#define error(a ...) printf("[Error] "),printf(a)
                                               ^
2 warnings generated.
mv -f .deps/tsschecker-tss.Tpo .deps/tsschecker-tss.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include   -I/usr/local/include  -I../external/jssy/jssy/ -g -O2 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"301\" -D TSSCHECKER_VERSION_SHA=\"f41ef5c0b684150df8aafdaadb3a1b6d8ca0e293\" -MT tsschecker-download.o -MD -MP -MF .deps/tsschecker-download.Tpo -c -o tsschecker-download.o `test -f 'download.c' || echo './'`download.c
mv -f .deps/tsschecker-download.Tpo .deps/tsschecker-download.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include   -I/usr/local/include  -I../external/jssy/jssy/ -g -O2 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"301\" -D TSSCHECKER_VERSION_SHA=\"f41ef5c0b684150df8aafdaadb3a1b6d8ca0e293\" -MT tsschecker-main.o -MD -MP -MF .deps/tsschecker-main.Tpo -c -o tsschecker-main.o `test -f 'main.c' || echo './'`main.c
mv -f .deps/tsschecker-main.Tpo .deps/tsschecker-main.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include   -I/usr/local/include  -I../external/jssy/jssy/ -g -O2 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"301\" -D TSSCHECKER_VERSION_SHA=\"f41ef5c0b684150df8aafdaadb3a1b6d8ca0e293\" -MT libjssy_a-jssy.o -MD -MP -MF .deps/libjssy_a-jssy.Tpo -c -o libjssy_a-jssy.o `test -f '../external/jssy/jssy/jssy.c' || echo './'`../external/jssy/jssy/jssy.c
mv -f .deps/libjssy_a-jssy.Tpo .deps/libjssy_a-jssy.Po
rm -f libjssy.a
ar cru libjssy.a libjssy_a-jssy.o 
ranlib libjssy.a
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include   -I/usr/local/include  -I../external/jssy/jssy/ -g -O2 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"301\" -D TSSCHECKER_VERSION_SHA=\"f41ef5c0b684150df8aafdaadb3a1b6d8ca0e293\"   -o tsschecker tsschecker-tsschecker.o tsschecker-tss.o tsschecker-download.o tsschecker-main.o -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/lib -L/usr/local/Cellar/libzip/1.5.2/lib -lfragmentzip -lzip -lcurl -lz -lcurl  -L/usr/local/lib -lirecovery -lm libjssy.a 
libtool: link: gcc -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/include -I../external/jssy/jssy/ -g -O2 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"301\" -D TSSCHECKER_VERSION_SHA=\"f41ef5c0b684150df8aafdaadb3a1b6d8ca0e293\" -o tsschecker tsschecker-tsschecker.o tsschecker-tss.o tsschecker-download.o tsschecker-main.o  -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/lib -L/usr/local/Cellar/libzip/1.5.2/lib /usr/local/lib/libfragmentzip.dylib -lzip -lz -lcurl /usr/local/lib/libirecovery.dylib -lm libjssy.a -framework CoreFoundation -framework IOKit -pthread
make[2]: Nothing to be done for `all-am'.
Making install in tsschecker
 .././install-sh -c -d '/usr/local/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c tsschecker '/usr/local/bin'
libtool: install: /usr/bin/install -c tsschecker /usr/local/bin/tsschecker
 .././install-sh -c -d '/usr/local/lib'
 /usr/bin/install -c -m 644  libjssy.a '/usr/local/lib'
 ( cd '/usr/local/lib' && ranlib libjssy.a )
make[2]: Nothing to be done for `install-data-am'.
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
[+] Dependencies should now be installed and compiled.
Killing iTunes as this will be quite annoying with what we are going to do.
Archive:  /Users/mateusz/5S/ipsw.ipsw
  inflating: ipsw/058-74917-062.dmg  
  inflating: ipsw/._058-74917-062.dmg  
  inflating: ipsw/058-74940-063.dmg  
  inflating: ipsw/058-75381-062.dmg  
  inflating: ipsw/BuildManifest.plist  
   creating: ipsw/Firmware/
   creating: ipsw/Firmware/all_flash/
  inflating: ipsw/Firmware/all_flash/applelogo@2x~iphone.s5l8960x.im4p  
  inflating: ipsw/Firmware/all_flash/applelogo@2x~iphone.s5l8960x.im4p.plist  
  inflating: ipsw/Firmware/all_flash/applelogo@2x~iphone.s8000.im4p  
  inflating: ipsw/Firmware/all_flash/applelogo@2x~iphone.s8000.im4p.plist  
  inflating: ipsw/Firmware/all_flash/applelogo@2x~iphone.s8003.im4p  
  inflating: ipsw/Firmware/all_flash/applelogo@2x~iphone.s8003.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterycharging0@2x~iphone.s5l8960x.im4p  
  inflating: ipsw/Firmware/all_flash/batterycharging0@2x~iphone.s5l8960x.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterycharging0@2x~iphone.s8000.im4p  
  inflating: ipsw/Firmware/all_flash/batterycharging0@2x~iphone.s8000.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterycharging0@2x~iphone.s8003.im4p  
  inflating: ipsw/Firmware/all_flash/batterycharging0@2x~iphone.s8003.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterycharging1@2x~iphone.s5l8960x.im4p  
  inflating: ipsw/Firmware/all_flash/batterycharging1@2x~iphone.s5l8960x.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterycharging1@2x~iphone.s8000.im4p  
  inflating: ipsw/Firmware/all_flash/batterycharging1@2x~iphone.s8000.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterycharging1@2x~iphone.s8003.im4p  
  inflating: ipsw/Firmware/all_flash/batterycharging1@2x~iphone.s8003.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batteryfull@2x~iphone.s5l8960x.im4p  
  inflating: ipsw/Firmware/all_flash/batteryfull@2x~iphone.s5l8960x.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batteryfull@2x~iphone.s8000.im4p  
  inflating: ipsw/Firmware/all_flash/batteryfull@2x~iphone.s8000.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batteryfull@2x~iphone.s8003.im4p  
  inflating: ipsw/Firmware/all_flash/batteryfull@2x~iphone.s8003.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterylow0@2x~iphone.s5l8960x.im4p  
  inflating: ipsw/Firmware/all_flash/batterylow0@2x~iphone.s5l8960x.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterylow0@2x~iphone.s8000.im4p  
  inflating: ipsw/Firmware/all_flash/batterylow0@2x~iphone.s8000.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterylow0@2x~iphone.s8003.im4p  
  inflating: ipsw/Firmware/all_flash/batterylow0@2x~iphone.s8003.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterylow1@2x~iphone.s5l8960x.im4p  
  inflating: ipsw/Firmware/all_flash/batterylow1@2x~iphone.s5l8960x.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterylow1@2x~iphone.s8000.im4p  
  inflating: ipsw/Firmware/all_flash/batterylow1@2x~iphone.s8000.im4p.plist  
  inflating: ipsw/Firmware/all_flash/batterylow1@2x~iphone.s8003.im4p  
  inflating: ipsw/Firmware/all_flash/batterylow1@2x~iphone.s8003.im4p.plist  
  inflating: ipsw/Firmware/all_flash/DeviceTree.n51ap.im4p  
  inflating: ipsw/Firmware/all_flash/DeviceTree.n51ap.im4p.plist  
  inflating: ipsw/Firmware/all_flash/DeviceTree.n53ap.im4p  
  inflating: ipsw/Firmware/all_flash/DeviceTree.n53ap.im4p.plist  
  inflating: ipsw/Firmware/all_flash/DeviceTree.n69ap.im4p  
  inflating: ipsw/Firmware/all_flash/DeviceTree.n69ap.im4p.plist  
  inflating: ipsw/Firmware/all_flash/DeviceTree.n69uap.im4p  
  inflating: ipsw/Firmware/all_flash/DeviceTree.n69uap.im4p.plist  
  inflating: ipsw/Firmware/all_flash/glyphplugin@1136~iphone-lightning.s5l8960x.im4p  
  inflating: ipsw/Firmware/all_flash/glyphplugin@1136~iphone-lightning.s5l8960x.im4p.plist  
  inflating: ipsw/Firmware/all_flash/glyphplugin@1136~iphone-lightning.s8000.im4p  
  inflating: ipsw/Firmware/all_flash/glyphplugin@1136~iphone-lightning.s8000.im4p.plist  
  inflating: ipsw/Firmware/all_flash/glyphplugin@1136~iphone-lightning.s8003.im4p  
  inflating: ipsw/Firmware/all_flash/glyphplugin@1136~iphone-lightning.s8003.im4p.plist  
  inflating: ipsw/Firmware/all_flash/iBoot.iphone6.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/iBoot.iphone6.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/all_flash/iBoot.n69.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/iBoot.n69.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/all_flash/iBoot.n69u.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/iBoot.n69u.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/all_flash/LLB.iphone6.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/LLB.iphone6.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/all_flash/LLB.n69.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/LLB.n69.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/all_flash/LLB.n69u.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/LLB.n69u.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/all_flash/recoverymode@1136~iphone-lightning.s5l8960x.im4p  
  inflating: ipsw/Firmware/all_flash/recoverymode@1136~iphone-lightning.s5l8960x.im4p.plist  
  inflating: ipsw/Firmware/all_flash/recoverymode@1136~iphone-lightning.s8000.im4p  
  inflating: ipsw/Firmware/all_flash/recoverymode@1136~iphone-lightning.s8000.im4p.plist  
  inflating: ipsw/Firmware/all_flash/recoverymode@1136~iphone-lightning.s8003.im4p  
  inflating: ipsw/Firmware/all_flash/recoverymode@1136~iphone-lightning.s8003.im4p.plist  
  inflating: ipsw/Firmware/all_flash/sep-firmware.n51.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/sep-firmware.n51.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/all_flash/sep-firmware.n53.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/sep-firmware.n53.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/all_flash/sep-firmware.n69.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/sep-firmware.n69.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/all_flash/sep-firmware.n69u.RELEASE.im4p  
  inflating: ipsw/Firmware/all_flash/sep-firmware.n69u.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/aopfw.im4p  
   creating: ipsw/Firmware/dfu/
  inflating: ipsw/Firmware/dfu/iBEC.iphone6.RELEASE.im4p  
  inflating: ipsw/Firmware/dfu/iBEC.iphone6.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/dfu/iBEC.n69.RELEASE.im4p  
  inflating: ipsw/Firmware/dfu/iBEC.n69.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/dfu/iBEC.n69u.RELEASE.im4p  
  inflating: ipsw/Firmware/dfu/iBEC.n69u.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/dfu/iBSS.iphone6.RELEASE.im4p  
  inflating: ipsw/Firmware/dfu/iBSS.iphone6.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/dfu/iBSS.n69.RELEASE.im4p  
  inflating: ipsw/Firmware/dfu/iBSS.n69.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/dfu/iBSS.n69u.RELEASE.im4p  
  inflating: ipsw/Firmware/dfu/iBSS.n69u.RELEASE.im4p.plist  
  inflating: ipsw/Firmware/Mav10-5.62.00.Release.bbfw  
  inflating: ipsw/Firmware/Mav10-5.62.00.Release.plist  
  inflating: ipsw/Firmware/Mav7Mav8-7.60.00.Release.bbfw  
  inflating: ipsw/Firmware/Mav7Mav8-7.60.00.Release.plist  
   creating: ipsw/Firmware/usr/
   creating: ipsw/Firmware/usr/local/
   creating: ipsw/Firmware/usr/local/standalone/
  inflating: ipsw/kernelcache.release.iphone6  
  inflating: ipsw/kernelcache.release.iphone8b  
  inflating: ipsw/Restore.plist      
ipsw/Firmware/Mav7Mav8-7.60.00.Release.bbfw -> ./Mav7Mav8-7.60.00.Release.bbfw
Mav7Mav8-7.60.00.Release.bbfw   ipsw.ipsw
README.md           ipwndfu_public
build               manifests
iBoot64Patcher          restore.sh
igetnonce           shsh
ipsw
Supported Device
iPhone6,2
Supported device found.
4908908228056
ipsw/Firmware/dfu/iBEC.iphone6.RELEASE.im4p -> ./iBEC.iphone6.RELEASE.im4p
ipsw/Firmware/dfu/iBSS.iphone6.RELEASE.im4p -> ./iBSS.iphone6.RELEASE.im4p
ipsw/Firmware/all_flash/sep-firmware.n53.RELEASE.im4p -> ./sep-firmware.n53.RELEASE.im4p
img4tool version: 0.163-c3df16cb998d5013aef092baeb71908475366182
Extracted IM4P payload to iBSS.raw
img4tool version: 0.163-c3df16cb998d5013aef092baeb71908475366182
Extracted IM4P payload to iBEC.raw
main: Starting...
getting get_sigcheck_patch() patch
applying patch=0x18038b73c : 000080d2c0035fd6
main: Writing out patched file to iBSS.prepatched...
main: Quitting...
main: Starting...
getting get_debug_enabled_patch() patch
getting get_sigcheck_patch() patch
applying patch=0x830009dcc : 000080d2c0035fd6
applying patch=0x83000b008 : 200080d2
main: Writing out patched file to iBEC.prepatched...
main: Quitting...
img4tool version: 0.163-c3df16cb998d5013aef092baeb71908475366182
Created IM4P file at iBSS.im4p
img4tool version: 0.163-c3df16cb998d5013aef092baeb71908475366182
Created IM4P file at iBEC.im4p
Version: f41ef5c0b684150df8aafdaadb3a1b6d8ca0e293 - 301
libfragmentzip version: 0.58-ffec726ea514d8b8f3f3e42d04ce1430f3889747
[TSSC] manually specified ECID to use, parsed "4908908228056" to dec:4908908228056 hex:476f1bb2dd8
[TSSC] opening manifests/BuildManifest_iPhone6,2_1033_OTA.plist
[TSSR] Request URL set to https://gs.apple.com/TSS/controller?action=2
[TSSR] Sending TSS request attempt 1... success
also requesting APTicket for installType=Update
[Error] [TSSR] Error: could not get id0 for installType=Update
[WARNING] [TSSR] failed to build tssrequest for alternative installType
[TSSR] User specified doesn't to request a Baseband ticket.
[TSSR] Request URL set to https://gs.apple.com/TSS/controller?action=2
[TSSR] Sending TSS request attempt 1... failure
[Error] ERROR: TSS request failed (status=128, message=An internal error occurred.)
Saved shsh blobs!

iOS 10.3.3 for device iPhone6,2 IS being signed!
shsh/4908908228056_iPhone6,2_10.3.3-14G60_21435e940bc330660080f0b9e012eaea395240d3.shsh2 -> shsh/stitch.shsh2
img4tool version: 0.163-c3df16cb998d5013aef092baeb71908475366182
Created IMG4 file at iBSS.img4
img4tool version: 0.163-c3df16cb998d5013aef092baeb71908475366182
Created IMG4 file at iBEC.img4
iBSS.img4 -> ipsw/Firmware/dfu/iBSS.iphone6.RELEASE.im4p
iBEC.img4 -> ipsw/Firmware/dfu/iBEC.iphone6.RELEASE.im4p
  adding: 058-74917-062.dmg (deflated 1%)
  adding: 058-74940-063.dmg (deflated 17%)
  adding: 058-75381-062.dmg (deflated 17%)
  adding: BuildManifest.plist (deflated 95%)
  adding: Firmware/ (stored 0%)
  adding: Firmware/aopfw.im4p (deflated 45%)
  adding: Firmware/usr/ (stored 0%)
  adding: Firmware/usr/local/ (stored 0%)
  adding: Firmware/usr/local/standalone/ (stored 0%)
  adding: Firmware/dfu/ (stored 0%)
  adding: Firmware/dfu/iBEC.n69.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/dfu/iBSS.n69u.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/dfu/iBSS.iphone6.RELEASE.im4p (deflated 51%)
  adding: Firmware/dfu/iBEC.n69.RELEASE.im4p (deflated 0%)
  adding: Firmware/dfu/iBEC.n69u.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/dfu/iBEC.n69u.RELEASE.im4p (deflated 0%)
  adding: Firmware/dfu/iBSS.iphone6.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/dfu/iBEC.iphone6.RELEASE.im4p (deflated 49%)
  adding: Firmware/dfu/iBSS.n69.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/dfu/iBEC.iphone6.RELEASE.im4p.plist (deflated 28%)
  adding: Firmware/dfu/iBSS.n69u.RELEASE.im4p (deflated 0%)
  adding: Firmware/dfu/iBSS.n69.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/ (stored 0%)
  adding: Firmware/all_flash/DeviceTree.n51ap.im4p.plist (deflated 37%)
  adding: Firmware/all_flash/batterycharging0@2x~iphone.s8000.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/glyphplugin@1136~iphone-lightning.s8000.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/sep-firmware.n51.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/iBoot.n69u.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/sep-firmware.n51.RELEASE.im4p.plist (deflated 37%)
  adding: Firmware/all_flash/LLB.n69.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/batterylow0@2x~iphone.s5l8960x.im4p (deflated 69%)
  adding: Firmware/all_flash/applelogo@2x~iphone.s8000.im4p.plist (deflated 38%)
  adding: Firmware/all_flash/batterylow0@2x~iphone.s8000.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batteryfull@2x~iphone.s8003.im4p (deflated 77%)
  adding: Firmware/all_flash/batteryfull@2x~iphone.s8003.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/recoverymode@1136~iphone-lightning.s5l8960x.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/glyphplugin@1136~iphone-lightning.s8000.im4p (deflated 13%)
  adding: Firmware/all_flash/sep-firmware.n69u.RELEASE.im4p.plist (deflated 37%)
  adding: Firmware/all_flash/glyphplugin@1136~iphone-lightning.s5l8960x.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batterycharging0@2x~iphone.s8003.im4p (deflated 20%)
  adding: Firmware/all_flash/batteryfull@2x~iphone.s5l8960x.im4p (deflated 77%)
  adding: Firmware/all_flash/applelogo@2x~iphone.s5l8960x.im4p (deflated 9%)
  adding: Firmware/all_flash/batterylow0@2x~iphone.s8000.im4p (deflated 69%)
  adding: Firmware/all_flash/applelogo@2x~iphone.s8000.im4p (deflated 9%)
  adding: Firmware/all_flash/recoverymode@1136~iphone-lightning.s8000.im4p (deflated 72%)
  adding: Firmware/all_flash/applelogo@2x~iphone.s5l8960x.im4p.plist (deflated 38%)
  adding: Firmware/all_flash/batterycharging0@2x~iphone.s5l8960x.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batteryfull@2x~iphone.s5l8960x.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/glyphplugin@1136~iphone-lightning.s5l8960x.im4p (deflated 13%)
  adding: Firmware/all_flash/sep-firmware.n69.RELEASE.im4p.plist (deflated 37%)
  adding: Firmware/all_flash/DeviceTree.n69uap.im4p.plist (deflated 37%)
  adding: Firmware/all_flash/LLB.iphone6.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/DeviceTree.n69uap.im4p (deflated 82%)
  adding: Firmware/all_flash/recoverymode@1136~iphone-lightning.s8000.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batterycharging1@2x~iphone.s8000.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batterycharging1@2x~iphone.s5l8960x.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batterylow1@2x~iphone.s8000.im4p (deflated 12%)
  adding: Firmware/all_flash/recoverymode@1136~iphone-lightning.s5l8960x.im4p (deflated 72%)
  adding: Firmware/all_flash/LLB.n69u.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batterylow1@2x~iphone.s8000.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/LLB.n69.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/LLB.iphone6.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/batterycharging1@2x~iphone.s5l8960x.im4p (deflated 12%)
  adding: Firmware/all_flash/iBoot.n69u.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batterycharging1@2x~iphone.s8003.im4p (deflated 12%)
  adding: Firmware/all_flash/iBoot.iphone6.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batterycharging1@2x~iphone.s8003.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batterycharging1@2x~iphone.s8000.im4p (deflated 12%)
  adding: Firmware/all_flash/batterylow0@2x~iphone.s5l8960x.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/batterylow1@2x~iphone.s8003.im4p (deflated 12%)
  adding: Firmware/all_flash/batterylow1@2x~iphone.s8003.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/sep-firmware.n69.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/batterylow1@2x~iphone.s5l8960x.im4p (deflated 12%)
  adding: Firmware/all_flash/DeviceTree.n69ap.im4p.plist (deflated 37%)
  adding: Firmware/all_flash/iBoot.n69.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/recoverymode@1136~iphone-lightning.s8003.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/sep-firmware.n53.RELEASE.im4p.plist (deflated 37%)
  adding: Firmware/all_flash/batterylow0@2x~iphone.s8003.im4p (deflated 69%)
  adding: Firmware/all_flash/applelogo@2x~iphone.s8003.im4p (deflated 9%)
  adding: Firmware/all_flash/DeviceTree.n69ap.im4p (deflated 82%)
  adding: Firmware/all_flash/batterycharging0@2x~iphone.s5l8960x.im4p (deflated 20%)
  adding: Firmware/all_flash/recoverymode@1136~iphone-lightning.s8003.im4p (deflated 72%)
  adding: Firmware/all_flash/iBoot.n69.RELEASE.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/sep-firmware.n69u.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/batterylow1@2x~iphone.s5l8960x.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/DeviceTree.n53ap.im4p (deflated 83%)
  adding: Firmware/all_flash/glyphplugin@1136~iphone-lightning.s8003.im4p (deflated 13%)
  adding: Firmware/all_flash/batterycharging0@2x~iphone.s8000.im4p (deflated 20%)
  adding: Firmware/all_flash/DeviceTree.n53ap.im4p.plist (deflated 37%)
  adding: Firmware/all_flash/batteryfull@2x~iphone.s8000.im4p (deflated 77%)
  adding: Firmware/all_flash/batterycharging0@2x~iphone.s8003.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/iBoot.iphone6.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/glyphplugin@1136~iphone-lightning.s8003.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/sep-firmware.n53.RELEASE.im4p (deflated 0%)
  adding: Firmware/all_flash/batteryfull@2x~iphone.s8000.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/DeviceTree.n51ap.im4p (deflated 83%)
  adding: Firmware/all_flash/batterylow0@2x~iphone.s8003.im4p.plist (deflated 26%)
  adding: Firmware/all_flash/applelogo@2x~iphone.s8003.im4p.plist (deflated 38%)
  adding: Firmware/all_flash/LLB.n69u.RELEASE.im4p (deflated 0%)
  adding: Firmware/Mav10-5.62.00.Release.plist (deflated 23%)
  adding: Firmware/Mav7Mav8-7.60.00.Release.plist (deflated 29%)
  adding: Firmware/Mav10-5.62.00.Release.bbfw (deflated 0%)
  adding: Firmware/Mav7Mav8-7.60.00.Release.bbfw (deflated 0%)
  adding: Restore.plist (deflated 84%)
  adding: kernelcache.release.iphone6 (deflated 6%)
  adding: kernelcache.release.iphone8b (deflated 6%)
[==================================================] 100.0%
[==================================================] 100.0%
[==================================================] 100.0%
Version: f41ef5c0b684150df8aafdaadb3a1b6d8ca0e293 - 301
libfragmentzip version: 0.58-ffec726ea514d8b8f3f3e42d04ce1430f3889747
[TSSC] manually specified ECID to use, parsed "4908908228056" to dec:4908908228056 hex:476f1bb2dd8
[TSSC] manually specified apnonce to use, parsed "c067414bc17bc7d65dd036f56b81b522265ba79f" to hex:c067414bc17bc7d65dd036f56b81b522265ba79f
[TSSC] opening manifests/BuildManifest_iPhone6,2_1033_OTA.plist
[TSSR] Request URL set to https://gs.apple.com/TSS/controller?action=2
[TSSR] Sending TSS request attempt 1... success
also requesting APTicket for installType=Update
[Error] [TSSR] Error: could not get id0 for installType=Update
[WARNING] [TSSR] failed to build tssrequest for alternative installType
[TSSR] User specified doesn't to request a Baseband ticket.
[TSSR] Request URL set to https://gs.apple.com/TSS/controller?action=2
[TSSR] Sending TSS request attempt 1... failure
[Error] ERROR: TSS request failed (status=128, message=An internal error occurred.)
Saved shsh blobs!

iOS 10.3.3 for device iPhone6,2 IS being signed!
4908908228056_iPhone6,2_10.3.3-14G60_c067414bc17bc7d65dd036f56b81b522265ba79f.shsh -> shsh/apnonce.shsh2
Done prepping files! Time to downgrade!!!
****RESTORING!****
Waiting for device to reconnect...
Version: 7e66824796f697ea54597dadbdba462382f004b9 - 247
Odysseus support: no
INFO: device serial number is DX5SH1UUFFG9
[INFO] 64-bit device detected
futurerestore init done
reading signing ticket shsh/apnonce.shsh2 is done
Found device iPhone6,2 n53ap
[TSSC] opening manifests/BuildManifest_iPhone6,2_1033_OTA.plist
[TSSR] User specified not to request a baseband ticket.
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Did set SEP+baseband path and firmware
[WARNING] Failed to read BasebandGoldCertID from device! Is it already in recovery?
[WARNING] Using tsschecker's fallback BasebandGoldCertID. This might result in invalid baseband signing status information
[WARNING] Failed to read BasebandSerialNumber from device! Is it already in recovery?
[WARNING] Using tsschecker's fallback BasebandSerialNumber size. This might result in invalid baseband signing status information
[TSSC] opening manifests/BuildManifest_iPhone6,2_1033_OTA.plist
[TSSR] User specified to request only a baseband ticket.
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Found device in Recovery mode
Device already in Recovery mode
Found device in Recovery mode
Identified device as n53ap, iPhone6,2
Extracting BuildManifest from iPSW
Product version: 10.3.3
Product build: 14G60 Major: 14
Device supports IMG4: true
Got ApNonce from device: c0 67 41 4b c1 7b c7 d6 5d d0 36 f5 6b 81 b5 22 26 5b a7 9f 
checking APTicket to be valid for this restore...
Verified ECID in APTicket matches device ECID
checking APTicket to be valid for this restore...
Verified ECID in APTicket matches device ECID
[Error] im4m_buildidentity_check_cb: can't find any identity which matches all hashes inside IM4M
[Error] getBuildIdentityForIM4M: found buildidentity, but can't read information
[Error] BuildIdentity selected for restore doesn't match APTicket

BuildIdentity selected for restore:
BuildNumber : 14G60
BuildTrain : Greensburg
DeviceClass : n53ap
FDRSupport : NO
RestoreBehavior : Erase
Variant : Customer Erase Install (IPSW)

BuildIdentiy valid for the APTicket:
IM4M isn't valid for any restore with this BuildManifest
This APTicket can't be used for restoring this firmware
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Extracting filesystem from iPSW
[==================================================] 100.0%
Extracting iBEC.iphone6.RELEASE.im4p...
Personalizing IMG4 component iBEC...
Sending iBEC (653349 bytes)...
waiting for device to reconnect... 
Getting SepNonce in recovery mode... 08 02 a9 8e bc e8 13 1a e5 da 84 92 ed aa 9a 6a 96 08 71 ab 
Getting ApNonce in recovery mode... c0 67 41 4b c1 7b c7 d6 5d d0 36 f5 6b 81 b5 22 26 5b a7 9f 
[WARNING] Setting bgcolor to green! If you don't see a green screen, then your device didn't boot iBEC correctly
Recovery Mode Environment:
iBoot build-version=iBoot-3406.60.10
iBoot build-style=RELEASE
Sending RestoreLogo...
Extracting applelogo@2x~iphone.s5l8960x.im4p...
Personalizing IMG4 component RestoreLogo...
Sending RestoreLogo (11640 bytes)...
ramdisk-size=0x10000000
Extracting 058-74940-063.dmg...
Personalizing IMG4 component RestoreRamDisk...
Sending RestoreRamDisk (41583638 bytes)...
Extracting DeviceTree.n53ap.im4p...
Personalizing IMG4 component RestoreDeviceTree...
Sending RestoreDeviceTree (107919 bytes)...
Extracting kernelcache.release.iphone6...
Personalizing IMG4 component RestoreKernelCache...
Sending RestoreKernelCache (12178427 bytes)...
Trying to fetch new signing tickets
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received signing tickets
About to restore device... 
Waiting for device...
Device 9c09abdaf3976bd17e7a47d54217c0c1fd17d76a is now connected in restore mode...
Connecting now...
Connected to com.apple.mobile.restored, version 14
Device 9c09abdaf3976bd17e7a47d54217c0c1fd17d76a has successfully entered restore mode
Hardware Information:
BoardID: 2
ChipID: 35168
UniqueChipID: 4908908228056
ProductionMode: true
Starting FDR listener thread
About to send NORData...
Found firmware path Firmware/all_flash
Getting firmware manifest from build identity
Extracting LLB.iphone6.RELEASE.im4p...
Personalizing IMG4 component LLB...
Extracting applelogo@2x~iphone.s5l8960x.im4p...
Personalizing IMG4 component AppleLogo...
Extracting batterycharging0@2x~iphone.s5l8960x.im4p...
Personalizing IMG4 component BatteryCharging0...
Extracting batterycharging1@2x~iphone.s5l8960x.im4p...
Personalizing IMG4 component BatteryCharging1...
Extracting batteryfull@2x~iphone.s5l8960x.im4p...
Personalizing IMG4 component BatteryFull...
Extracting batterylow0@2x~iphone.s5l8960x.im4p...
Personalizing IMG4 component BatteryLow0...
Extracting batterylow1@2x~iphone.s5l8960x.im4p...
Personalizing IMG4 component BatteryLow1...
Extracting glyphplugin@1136~iphone-lightning.s5l8960x.im4p...
Personalizing IMG4 component BatteryPlugin...
Extracting DeviceTree.n53ap.im4p...
Personalizing IMG4 component DeviceTree...
Extracting recoverymode@1136~iphone-lightning.s5l8960x.im4p...
Personalizing IMG4 component RecoveryMode...
Extracting iBoot.iphone6.RELEASE.im4p...
Personalizing IMG4 component iBoot...
Personalizing IMG4 component RestoreSEP...
Personalizing IMG4 component SEP...
Sending NORData now...
Done sending NORData
About to send RootTicket...
Sending RootTicket now...
Done sending RootTicket
Waiting for NAND (28)
Checking filesystems (15)
Checking filesystems (15)
Checking filesystems (15)
Unmounting filesystems (29)
Unmounting filesystems (29)
Creating partition map (11)
Creating filesystem (12)
About to send filesystem...
Connected to ASR
Validating the filesystem
Filesystem validated
Sending filesystem now...
[==================================================] 100.0%
Done sending filesystem
Verifying restore (14)
[==================================================] 100.0%
Checking filesystems (15)
ERROR: Unable to receive message from FDR 0x7fec32596ac0 (-2). 0/2 bytes

`
Merculous commented 4 years ago

From what I've seen, this was just an error from idevicerestore/futurerestore that happens once in a while. Just re-run the script and try again. Please comment if there's any other issues present.

ghost commented 4 years ago

Thank you for answering! I took a closer look at both of my Anker Lightning cables and on each of them there is a burned pin (the same one on both, weird), maybe that's reason it didn't work. I'll get a new cable in a couple of days and let you know.