ish-app / ish Goto Github PK
View Code? Open in Web Editor NEWLinux shell for iOS
Home Page: https://ish.app
License: Other
Linux shell for iOS
Home Page: https://ish.app
License: Other
I try to build ish but ninja
exits with this error:
[377/377] Linking target ish.
FAILED: ish
cc -o ish 'ish@exe/main.c.o' -Wl,-headerpad_max_install_names libish.a subprojects/softfloat/libsoftfloat.a subprojects/gdbm-1.14.1/src/libgdbm.a -pthread
clang: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
Undefined symbols for architecture x86_64:
"_va_end", referenced from:
_make_datum in libish.a(fs_fake.c.o)
"_va_start", referenced from:
_make_datum in libish.a(fs_fake.c.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
This might be a pipe dream and a whole lot of stupidity/misinformation so I apologize ahead of time but... could you not have just have cross-compiled QEMU's x86 software emulation to the ARM instructions iOS devices use? Would that approach even be possible/let alone offer you any benefit?
Do you see this as the basis for a "VirtualBox" for iOS? Emulating an ethernet controller, graphics controller, etc...
If people could use a Bluetooth mouse + keyboard with their iPad through an x86-backed virtual machine to develop... that might be something? Obviously performance would be a concern...
this has been tried through two different refactors after which I ended up reverting to the original.
This is a feature request for a keyboard with ctrl, tab, and escape keys for better access to various functions in shell and popular programs like vi.
Apple isn't going to let you download executable code from the internet (it's technically not allowed).
This would go in the row of extra keys.
When I tried to download rustup I got an SSL read error when trying to download the rustup installer, or cloning into github repos.
I run the following:
# apk add curl
# curl https://sh.rustup.rs | sh
...
curl: (56) LibreSSL SSL_read: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt, errno 0
...
Any pointers into what's happening? I am very new to this :)
Trying to run tmux results in a ‘Bad system call’ error
# apk add tmux
...
# tmux
Bad system call
#
I spent a bit of time trying to fix this, but I couldn't really figure it out so I thought I'd just report it and hope you would be able to shed more light on this. After cloning iSH and trying to compile it in Xcode, I'm getting errors from the "Run Webpack" phase, and the errors I'm getting seem to suggest that there's a dependency called deasync that is being compiled with the wrong architecture. Here's the log, if you're curious:
PhaseScriptExecution Run\ Webpack /Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/Script-BB4A53AC1FAA49CA00A72ACE.sh (in target: iSH)
cd /Users/saagarjha/Git/ish
export ACTION=build
export AD_HOC_CODE_SIGNING_ALLOWED=NO
export ALTERNATE_GROUP=staff
export ALTERNATE_MODE=u+w,go-w,a+rX
export ALTERNATE_OWNER=saagarjha
export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO
export ALWAYS_SEARCH_USER_PATHS=NO
export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
export APPLE_INTERNAL_DIR=/AppleInternal
export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
export APPLICATION_EXTENSION_API_ONLY=NO
export APPLY_RULES_IN_COPY_FILES=NO
export ARCHS=arm64
export ARCHS_STANDARD=arm64
export ARCHS_STANDARD_32_64_BIT="armv7 arm64"
export ARCHS_STANDARD_32_BIT=armv7
export ARCHS_STANDARD_64_BIT=arm64
export ARCHS_STANDARD_INCLUDING_64_BIT=arm64
export ARCHS_UNIVERSAL_IPHONE_OS="armv7 arm64"
export ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon
export AVAILABLE_PLATFORMS="appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator"
export AppIdentifierPrefix=X4A9GH5NN2.
export BITCODE_GENERATION_MODE=marker
export BUILD_ACTIVE_RESOURCES_ONLY=YES
export BUILD_COMPONENTS="headers build"
export BUILD_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products
export BUILD_ROOT=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products
export BUILD_STYLE=
export BUILD_VARIANTS=normal
export BUILT_PRODUCTS_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos
export CACHE_ROOT=/var/folders/x3/wncmj8p52t732rrxyz6h424m0000gn/C/com.apple.DeveloperTools/10.1-10B61/Xcode
export CCHROOT=/var/folders/x3/wncmj8p52t732rrxyz6h424m0000gn/C/com.apple.DeveloperTools/10.1-10B61/Xcode
export CHMOD=/bin/chmod
export CHOWN=/usr/sbin/chown
export CLANG_ANALYZER_NONNULL=YES
export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION=YES_AGGRESSIVE
export CLANG_CXX_LANGUAGE_STANDARD=gnu++14
export CLANG_CXX_LIBRARY=libc++
export CLANG_ENABLE_MODULES=YES
export CLANG_ENABLE_OBJC_ARC=YES
export CLANG_MODULES_BUILD_SESSION_FILE=/Users/saagarjha/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation
export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING=YES
export CLANG_WARN_BOOL_CONVERSION=YES
export CLANG_WARN_COMMA=YES
export CLANG_WARN_CONSTANT_CONVERSION=YES
export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS=YES
export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
export CLANG_WARN_DOCUMENTATION_COMMENTS=YES
export CLANG_WARN_EMPTY_BODY=YES
export CLANG_WARN_ENUM_CONVERSION=YES
export CLANG_WARN_INFINITE_RECURSION=YES
export CLANG_WARN_INT_CONVERSION=YES
export CLANG_WARN_NON_LITERAL_NULL_CONVERSION=YES
export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF=YES
export CLANG_WARN_OBJC_LITERAL_CONVERSION=YES
export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
export CLANG_WARN_RANGE_LOOP_ANALYSIS=YES
export CLANG_WARN_STRICT_PROTOTYPES=YES
export CLANG_WARN_SUSPICIOUS_MOVE=YES
export CLANG_WARN_UNGUARDED_AVAILABILITY=YES_AGGRESSIVE
export CLANG_WARN_UNREACHABLE_CODE=YES
export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
export CLASS_FILE_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/JavaClasses
export CLEAN_PRECOMPS=YES
export CLONE_HEADERS=NO
export CODESIGNING_FOLDER_PATH=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos/iSH.app
export CODE_SIGNING_ALLOWED=YES
export CODE_SIGNING_REQUIRED=YES
export CODE_SIGN_CONTEXT_CLASS=XCiPhoneOSCodeSignContext
export CODE_SIGN_ENTITLEMENTS=app/iSH.entitlements
export CODE_SIGN_IDENTITY="iPhone Developer"
export CODE_SIGN_INJECT_BASE_ENTITLEMENTS=YES
export CODE_SIGN_STYLE=Automatic
export COLOR_DIAGNOSTICS=NO
export COMBINE_HIDPI_IMAGES=NO
export COMPILER_INDEX_STORE_ENABLE=Default
export COMPOSITE_SDK_DIRS=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/CompositeSDKs
export COMPRESS_PNG_FILES=YES
export CONFIGURATION=Debug
export CONFIGURATION_BUILD_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos
export CONFIGURATION_TEMP_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos
export CONTENTS_FOLDER_PATH=iSH.app
export COPYING_PRESERVES_HFS_DATA=NO
export COPY_HEADERS_RUN_UNIFDEF=NO
export COPY_PHASE_STRIP=NO
export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
export CORRESPONDING_SIMULATOR_PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
export CORRESPONDING_SIMULATOR_PLATFORM_NAME=iphonesimulator
export CORRESPONDING_SIMULATOR_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk
export CORRESPONDING_SIMULATOR_SDK_NAME=iphonesimulator12.1
export CP=/bin/cp
export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
export CURRENT_ARCH=undefined_arch
export CURRENT_PROJECT_VERSION=31
export CURRENT_VARIANT=normal
export DEAD_CODE_STRIPPING=YES
export DEBUGGING_SYMBOLS=YES
export DEBUG_INFORMATION_FORMAT=dwarf
export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
export DEFINES_MODULE=NO
export DEPLOYMENT_LOCATION=NO
export DEPLOYMENT_POSTPROCESSING=NO
export DEPLOYMENT_TARGET_CLANG_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=miphoneos-version-min
export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-miphoneos-version-min=
export DEPLOYMENT_TARGET_LD_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_LD_FLAG_NAME=ios_version_min
export DEPLOYMENT_TARGET_SETTING_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_SUGGESTED_VALUES="8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1"
export DERIVED_FILES_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/DerivedSources
export DERIVED_FILE_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/DerivedSources
export DERIVED_SOURCES_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/DerivedSources
export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_INSTALL_DIR=/Applications/Xcode.app/Contents/Developer
export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export DEVELOPMENT_LANGUAGE=en
export DEVELOPMENT_TEAM=X4A9GH5NN2
export DEVICE_DEVELOPER_DIR=/Developer
export DOCUMENTATION_FOLDER_PATH=iSH.app/en.lproj/Documentation
export DO_HEADER_SCANNING_IN_JAM=NO
export DSTROOT=/tmp/iSH.dst
export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export DWARF_DSYM_FILE_NAME=iSH.app.dSYM
export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
export DWARF_DSYM_FOLDER_PATH=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos
export EFFECTIVE_PLATFORM_NAME=-iphoneos
export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
export EMBEDDED_PROFILE_NAME=embedded.mobileprovision
export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
export ENABLE_BITCODE=NO
export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
export ENABLE_HEADER_DEPENDENCIES=YES
export ENABLE_ON_DEMAND_RESOURCES=YES
export ENABLE_STRICT_OBJC_MSGSEND=YES
export ENABLE_TESTABILITY=YES
export ENTITLEMENTS_ALLOWED=YES
export ENTITLEMENTS_DESTINATION=Signature
export ENTITLEMENTS_REQUIRED=YES
export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj"
export EXECUTABLES_FOLDER_PATH=iSH.app/Executables
export EXECUTABLE_FOLDER_PATH=iSH.app
export EXECUTABLE_NAME=iSH
export EXECUTABLE_PATH=iSH.app/iSH
export EXPANDED_CODE_SIGN_IDENTITY=3976C2FFBDBF7F787297E255F43B282B9BFF500C
export EXPANDED_CODE_SIGN_IDENTITY_NAME="iPhone Developer: Saagar Jha (4594JH4V5L)"
export EXPANDED_PROVISIONING_PROFILE=c5248009-434f-4c99-a4fa-100286495b41
export FILE_LIST=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/Objects/LinkFileList
export FIXED_FILES_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/FixedFiles
export FRAMEWORKS_FOLDER_PATH=iSH.app/Frameworks
export FRAMEWORK_FLAG_PREFIX=-framework
export FRAMEWORK_SEARCH_PATHS="/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos "
export FRAMEWORK_VERSION=A
export FULL_PRODUCT_NAME=iSH.app
export GCC3_VERSION=3.3
export GCC_C_LANGUAGE_STANDARD=gnu11
export GCC_DYNAMIC_NO_PIC=NO
export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
export GCC_NO_COMMON_BLOCKS=YES
export GCC_OPTIMIZATION_LEVEL=0
export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
export GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1 "
export GCC_SYMBOLS_PRIVATE_EXTERN=NO
export GCC_THUMB_SUPPORT=YES
export GCC_TREAT_WARNINGS_AS_ERRORS=NO
export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
export GCC_WARN_UNDECLARED_SELECTOR=YES
export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
export GCC_WARN_UNUSED_FUNCTION=YES
export GCC_WARN_UNUSED_VARIABLE=YES
export GENERATE_MASTER_OBJECT_FILE=NO
export GENERATE_PKGINFO_FILE=YES
export GENERATE_PROFILING_CODE=NO
export GENERATE_TEXT_BASED_STUBS=NO
export GID=20
export GROUP=staff
export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
export HEADERMAP_USES_VFS=NO
export HEADER_SEARCH_PATHS="/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos/include /Users/saagarjha/Git/ish /Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos/meson/subprojects/gdbm-1.18/src"
export HIDE_BITCODE_SYMBOLS=YES
export HOME=/Users/saagarjha
export ICONV=/usr/bin/iconv
export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
export INFOPLIST_FILE=app/Info.plist
export INFOPLIST_OUTPUT_FORMAT=binary
export INFOPLIST_PATH=iSH.app/Info.plist
export INFOPLIST_PREPROCESS=NO
export INFOSTRINGS_PATH=iSH.app/en.lproj/InfoPlist.strings
export INLINE_PRIVATE_FRAMEWORKS=NO
export INSTALLHDRS_COPY_PHASE=NO
export INSTALLHDRS_SCRIPT_PHASE=NO
export INSTALL_DIR=/tmp/iSH.dst/Applications
export INSTALL_GROUP=staff
export INSTALL_MODE_FLAG=u+w,go-w,a+rX
export INSTALL_OWNER=saagarjha
export INSTALL_PATH=/Applications
export INSTALL_ROOT=/tmp/iSH.dst
export IPHONEOS_DEPLOYMENT_TARGET=11.0
export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
export JAVA_ARCHIVE_CLASSES=YES
export JAVA_ARCHIVE_TYPE=JAR
export JAVA_COMPILER=/usr/bin/javac
export JAVA_FOLDER_PATH=iSH.app/Java
export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
export JAVA_JAR_FLAGS=cv
export JAVA_SOURCE_SUBDIR=.
export JAVA_USE_DEPENDENCIES=YES
export JAVA_ZIP_FLAGS=-urg
export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
export KASAN_DEFAULT_CFLAGS="-DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow"
export KEEP_PRIVATE_EXTERNS=NO
export LD_DEPENDENCY_INFO_FILE=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/Objects-normal/undefined_arch/iSH_dependency_info.dat
export LD_GENERATE_MAP_FILE=NO
export LD_MAP_FILE_PATH=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/iSH-LinkMap-normal-undefined_arch.txt
export LD_NO_PIE=NO
export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
export LD_RUNPATH_SEARCH_PATHS=" @executable_path/Frameworks"
export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
export LEX=lex
export LIBRARY_FLAG_NOSPACE=YES
export LIBRARY_FLAG_PREFIX=-l
export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
export LIBRARY_SEARCH_PATHS="/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos "
export LINKER_DISPLAYS_MANGLED_NAMES=NO
export LINK_FILE_LIST_normal_arm64=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/Objects-normal/arm64/iSH.LinkFileList
export LINK_WITH_STANDARD_LIBRARIES=YES
export LOCALIZED_RESOURCES_FOLDER_PATH=iSH.app/en.lproj
export LOCALIZED_STRING_MACRO_NAMES="NSLocalizedString CFLocalizedString"
export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
export LOCAL_APPS_DIR=/Applications
export LOCAL_DEVELOPER_DIR=/Library/Developer
export LOCAL_LIBRARY_DIR=/Library
export LOCROOT=/Users/saagarjha/Git/ish
export LOCSYMROOT=/Users/saagarjha/Git/ish
export MACH_O_TYPE=mh_execute
export MAC_OS_X_PRODUCT_BUILD_VERSION=18C38b
export MAC_OS_X_VERSION_ACTUAL=101402
export MAC_OS_X_VERSION_MAJOR=101400
export MAC_OS_X_VERSION_MINOR=1402
export MESON_BUILD_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos/meson
export METAL_LIBRARY_FILE_BASE=default
export METAL_LIBRARY_OUTPUT_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos/iSH.app
export MODULE_CACHE_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
export MTL_ENABLE_DEBUG_INFO=YES
export NATIVE_ARCH=armv7
export NATIVE_ARCH_32_BIT=i386
export NATIVE_ARCH_64_BIT=x86_64
export NATIVE_ARCH_ACTUAL=x86_64
export NO_COMMON=YES
export OBJECT_FILE_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/Objects
export OBJECT_FILE_DIR_normal=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/Objects-normal
export OBJROOT=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex
export ONLY_ACTIVE_ARCH=YES
export OS=MACOS
export OSAC=/usr/bin/osacompile
export PACKAGE_TYPE=com.apple.package-type.wrapper.application
export PASCAL_STRINGS=YES
export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
export PBDEVELOPMENTPLIST_PATH=iSH.app/pbdevelopment.plist
export PER_ARCH_OBJECT_FILE_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/Objects-normal/undefined_arch
export PER_VARIANT_OBJECT_FILE_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/Objects-normal
export PKGINFO_FILE_PATH=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/PkgInfo
export PKGINFO_PATH=iSH.app/PkgInfo
export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library
export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
export PLATFORM_DISPLAY_NAME=iOS
export PLATFORM_NAME=iphoneos
export PLATFORM_PREFERRED_ARCH=arm64
export PLATFORM_PRODUCT_BUILD_VERSION=16B91
export PLIST_FILE_OUTPUT_FORMAT=binary
export PLUGINS_FOLDER_PATH=iSH.app/PlugIns
export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
export PRECOMP_DESTINATION_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/PrefixHeaders
export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
export PRIVATE_HEADERS_FOLDER_PATH=iSH.app/PrivateHeaders
export PRODUCT_BUNDLE_IDENTIFIER=com.saagarjha.iSH
export PRODUCT_MODULE_NAME=iSH
export PRODUCT_NAME=iSH
export PRODUCT_SETTINGS_PATH=/Users/saagarjha/Git/ish/app/Info.plist
export PRODUCT_TYPE=com.apple.product-type.application
export PROFILING_CODE=NO
export PROJECT=iSH
export PROJECT_DERIVED_FILE_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/DerivedSources
export PROJECT_DIR=/Users/saagarjha/Git/ish
export PROJECT_FILE_PATH=/Users/saagarjha/Git/ish/iSH.xcodeproj
export PROJECT_NAME=iSH
export PROJECT_TEMP_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build
export PROJECT_TEMP_ROOT=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex
export PROVISIONING_PROFILE_REQUIRED=YES
export PUBLIC_HEADERS_FOLDER_PATH=iSH.app/Headers
export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
export REMOVE_CVS_FROM_RESOURCES=YES
export REMOVE_GIT_FROM_RESOURCES=YES
export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
export REMOVE_HG_FROM_RESOURCES=YES
export REMOVE_SVN_FROM_RESOURCES=YES
export RESOURCE_RULES_REQUIRED=YES
export REZ_COLLECTOR_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/ResourceManagerResources
export REZ_OBJECTS_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/ResourceManagerResources/Objects
export REZ_SEARCH_PATHS="/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos "
export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
export SCRIPTS_FOLDER_PATH=iSH.app/Scripts
export SCRIPT_INPUT_FILE_0=/Users/saagarjha/Git/ish/app/xtermjs
export SCRIPT_INPUT_FILE_COUNT=1
export SCRIPT_INPUT_FILE_LIST_COUNT=0
export SCRIPT_OUTPUT_FILE_0=/Users/saagarjha/Git/ish/app/xtermjs/bundle.js
export SCRIPT_OUTPUT_FILE_COUNT=1
export SCRIPT_OUTPUT_FILE_LIST_COUNT=0
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk
export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk
export SDK_DIR_iphoneos12_1=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk
export SDK_NAME=iphoneos12.1
export SDK_NAMES=iphoneos12.1
export SDK_PRODUCT_BUILD_VERSION=16B91
export SDK_VERSION=12.1
export SDK_VERSION_ACTUAL=120100
export SDK_VERSION_MAJOR=120000
export SDK_VERSION_MINOR=100
export SED=/usr/bin/sed
export SEPARATE_STRIP=NO
export SEPARATE_SYMBOL_EDIT=NO
export SET_DIR_MODE_OWNER_GROUP=YES
export SET_FILE_MODE_OWNER_GROUP=NO
export SHALLOW_BUNDLE=YES
export SHARED_DERIVED_FILE_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos/DerivedSources
export SHARED_FRAMEWORKS_FOLDER_PATH=iSH.app/SharedFrameworks
export SHARED_PRECOMPS_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/PrecompiledHeaders
export SHARED_SUPPORT_FOLDER_PATH=iSH.app/SharedSupport
export SKIP_INSTALL=NO
export SOURCE_ROOT=/Users/saagarjha/Git/ish
export SRCROOT=/Users/saagarjha/Git/ish
export STRINGS_FILE_OUTPUT_ENCODING=binary
export STRIP_BITCODE_FROM_COPIED_FILES=YES
export STRIP_INSTALLED_PRODUCT=YES
export STRIP_STYLE=all
export STRIP_SWIFT_SYMBOLS=YES
export SUPPORTED_DEVICE_FAMILIES=1,2
export SUPPORTED_PLATFORMS="iphoneos iphonesimulator"
export SUPPORTS_TEXT_BASED_API=NO
export SWIFT_PLATFORM_TARGET_PREFIX=ios
export SYMROOT=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products
export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
export SYSTEM_APPS_DIR=/Applications
export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
export SYSTEM_DEMOS_DIR=/Applications/Extras
export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
export SYSTEM_LIBRARY_DIR=/System/Library
export TAPI_VERIFY_MODE=ErrorsOnly
export TARGETED_DEVICE_FAMILY=1,2
export TARGETNAME=iSH
export TARGET_BUILD_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Products/Debug-iphoneos
export TARGET_DEVICE_IDENTIFIER=70d1ae8c4aa6b7300a18c75ff50abc61ad42fce9
export TARGET_DEVICE_MODEL=iPhone8,4
export TARGET_DEVICE_OS_VERSION=12.1.1
export TARGET_NAME=iSH
export TARGET_TEMP_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build
export TEMP_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build
export TEMP_FILES_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build
export TEMP_FILE_DIR=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build
export TEMP_ROOT=/Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex
export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
export TeamIdentifierPrefix=X4A9GH5NN2.
export UID=501
export UNLOCALIZED_RESOURCES_FOLDER_PATH=iSH.app
export UNSTRIPPED_PRODUCT=NO
export USER=saagarjha
export USER_APPS_DIR=/Users/saagarjha/Applications
export USER_LIBRARY_DIR=/Users/saagarjha/Library
export USE_DYNAMIC_NO_PIC=YES
export USE_HEADERMAP=YES
export USE_HEADER_SYMLINKS=NO
export VALIDATE_PRODUCT=NO
export VALID_ARCHS=arm64
export VERBOSE_PBXCP=NO
export VERSIONING_SYSTEM=apple-generic
export VERSIONPLIST_PATH=iSH.app/version.plist
export VERSION_INFO_BUILDER=saagarjha
export VERSION_INFO_FILE=iSH_vers.c
export VERSION_INFO_STRING=""@(#)PROGRAM:iSH PROJECT:iSH-31""
export WARNING_CFLAGS=-Wno-ambiguous-macro
export WRAPPER_EXTENSION=app
export WRAPPER_NAME=iSH.app
export WRAPPER_SUFFIX=.app
export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_INSTALL_PATH=/Applications/Xcode.app/Contents/Developer/../../..
export XCODE_PRODUCT_BUILD_VERSION=10B61
export XCODE_VERSION_ACTUAL=1010
export XCODE_VERSION_MAJOR=1000
export XCODE_VERSION_MINOR=1010
export XPCSERVICES_FOLDER_PATH=iSH.app/XPCServices
export YACC=yacc
export arch=undefined_arch
export variant=normal
/bin/sh -c /Users/saagarjha/Library/Developer/Xcode/DerivedData/iSH-ezrqnmvucwlkhugluyhqsldczpeb/Build/Intermediates.noindex/iSH.build/Debug-iphoneos/iSH.build/Script-BB4A53AC1FAA49CA00A72ACE.sh
yarn install v1.12.3
warning package.json: No license field
warning xtermjs-glue: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error /Users/saagarjha/Git/ish/app/xtermjs/node_modules/deasync: Command failed.
Exit code: 1
Command: node ./build.js
Arguments:
Directory: /Users/saagarjha/Git/ish/app/xtermjs/node_modules/deasync
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/saagarjha/Git/ish/app/xtermjs/node_modules/deasync/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/saagarjha/.node-gyp/11.1.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/saagarjha/.node-gyp/11.1.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/saagarjha/.node-gyp/11.1.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/saagarjha/Git/ish/app/xtermjs/node_modules/deasync',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/deasync/src/deasync.o
clang: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX' [-Wincompatible-sysroot]
In file included from ../src/deasync.cc:1:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:48:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv/errno.h:25:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/errno.h:32:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/errno.h:23:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/errno.h:72:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/cdefs.h:784:2: error: Unsupported architecture
#error Unsupported architecture
^
In file included from ../src/deasync.cc:1:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_types.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
In file included from ../src/deasync.cc:1:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_types.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?
typedef __int64_t __darwin_blkcnt_t; /* total blocks */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_blksize_t; /* preferred block size */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_dev_t; /* dev_t */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean '__uint128_t'?
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?
typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
^
note: '__uint128_t' declared here
In file included from ../src/deasync.cc:1:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:71:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_wctype_t;
^
note: '__uint128_t' declared here
In file included from ../src/deasync.cc:1:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:75:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types/_va_list.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
In file included from ../src/deasync.cc:1:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types/_va_list.h:32:9: error: unknown type name '__darwin_va_list'
typedef __darwin_va_list va_list;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/deasync/src/deasync.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/usr/local/Cellar/node/11.1.0/bin/node" "/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/saagarjha/Git/ish/app/xtermjs/node_modules/deasync
gyp ERR! node -v v11.1.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
warning Error running install script for optional dependency: "/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments:
Directory: /Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | x64
node-pre-gyp info check checked for \"/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/saagarjha/.node-gyp/11.1.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/saagarjha/.node-gyp/11.1.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/saagarjha/.node-gyp/11.1.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
SOLINK_MODULE(target) Release/.node
clang: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX' [-Wincompatible-sysroot]
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/lib/libc++.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/lib/libc++.tbd (4 slices)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/lib/libSystem.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/lib/libSystem.tbd (4 slices)
CXX(target) Release/obj.target/fse/fsevents.o
clang: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX' [-Wincompatible-sysroot]
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:50:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:48:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv/errno.h:25:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/errno.h:32:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/errno.h:23:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/errno.h:72:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/cdefs.h:784:2: error: Unsupported architecture
#error Unsupported architecture
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:50:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_types.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:50:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_types.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?
typedef __int64_t __darwin_blkcnt_t; /* total blocks */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_blksize_t; /* preferred block size */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_dev_t; /* dev_t */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean '__uint128_t'?
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?
typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
^
note: '__uint128_t' declared here
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:50:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:71:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_wctype_t;
^
note: '__uint128_t' declared here
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:50:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:75:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types/_va_list.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:50:
In file included from /Users/saagarjha/.node-gyp/11.1.0/include/node/uv.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/_stdio.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/sys/_types/_va_list.h:32:9: error: unknown type name '__darwin_va_list'
typedef __darwin_va_list va_list;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command \"/usr/local/Cellar/node/11.1.0/bin/node\" \"/usr/local/Cellar/node/11.1.0/libexec/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64\" \"--napi_version=3\" \"--node_abi_napi=napi\"
gyp ERR! cwd /Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents
gyp ERR! node -v v11.1.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp build --fallback-to-build --module=/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node --module_name=fse --module_path=/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64 --napi_version=3 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command \"/usr/local/Cellar/node/11.1.0/bin/node\" \"/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents
node-pre-gyp ERR! node -v v11.1.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.0
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp build --fallback-to-build --module=/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node --module_name=fse --module_path=/Users/saagarjha/Git/ish/app/xtermjs/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64 --napi_version=3 --node_abi_napi=napi' (1)"
info This module is OPTIONAL, you can safely ignore this error
Any ideas as to what might be going wrong here? I'm using Xcode Version 10.1 (10B61) on macOS Mojave 10.14.2 Beta (18C38b).
Currently, it is possible to copy selected text to a clipboard by tapping “Copy” on the context menu, but it seems that it is impossible to paste from it on iSH.
I believe both of them are essential. Besides, keyboard shortcuts like CMD+V are also welcome if possible.
Running adduser
without any arguments works well, but once you add any argument(s) the app crashes.
[iPhone 6 running iOS 11.2]
Is it possible to make this project compatible with iOS 10?
go 1.10.1.-r0 refuses to run stating 'This program can only be run of processors with MMX support'
Steps to reproduce:
(PS. keep up the good work! I've been wanting something like this for a long time!)
I know the focus right now is compatibility with the basic userland, but what about making it possible to pipe inputs and outputs through Siri shortcuts a.k.a. Workflows?
It would make it possible to ”Shell out” from any app supporting it without the need of a remote server.
First Idea that comes to mind:
When do apk add emacs then try to run emacs, I get:
# emacs
Fatal error 31: Bad argument to system callBad system call
#
I’m able to install Python 3 with apk, but when I try to run it I get the output “illegal instruction”. Let me know if I can provide any other useful information.
There ought to be an escape key so it’s possible to exit vi.
As the title says, curl (and possibly other programs) crash iSH when running, with the following notice:
Apr 20 19:03:32 iPhone iSH[3896] <Notice>: TODO: actual working poll
In /kernel/poll.c
:
if (nfds != 1)
TODO("actual working poll");
--
I have already sent you a crash dump and log.
I got this crash when trying to download the rustup toolchain. Full crash in the app.
Here's my command to reproduce it.
# curl https://sh.rustup.rs | sh -s --y
After doing this two times I now have a crash-on-launch version of the app. I believe I might need a reinstall. I will send you the crashlogs by mail.
I ran apk add docker
and I got Error executing docker-18-06-1.pre-install: script exited with error 127
But it seems the install finish somehow, then when I run it:
docker This program can only be run on processors with MMX support.
tbodt@arch-vm ~/i/build> ./ish tests/busybox sh
pwd
/home/tbodt/ish/build
sleep -.1
sh: /usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin//usr/sbin/: Exec format error
could not handle page fault at 72737533, exiting
Attempting to ssh into a server fails with:
fcntl(3, F_GETFL): Invalid argument
Host key verification failed.
Ssh-keygen hangs on "Generating public/private rsa key pair".
Set 8.8.8.8 and 8.8.4.4 as the default in /etc/resolve.conf to obviate the need to set it at every launch.
Since vim
works, but emacs
doesn't: can we have an option to map caps-lock to esc, instead of ctrl?
Of course there's more, but I can only decode so many tsan dumps before my head explodes.
I tried to install gdb with the hope of debugging why tmux wouldn’t work (another issue I submitted) and found out that gdb doesn’t work either :(
# apk add gdb
...
# gdb tmux
Segmentation Fault
# gdb -h
Segmentation Fault
# gdb
Segmentation Fault
#
It is not possible to paste text, or at least easily
To improve connection speed in China, I switched to an apk mirror maintained by TUNA, only to find unexpected failure of busybox.trigger
during installation though apk while installing from the original source is all ok. I’d like to ask the developer why this happened.
When you run the times command in the latest test flight build it will just black screen and crash producing the log attached. If you are screen recording it will show a UIAlertView and say "Attemping to kill init" with the closing button "goodbye". Dont know what the times command does but I'm guessing this is a bug?
Error loading shared library libssl.so.44: Exec format error (needed by /sbin/apk)
Error loading shared library libcrypto.so.42: Exec format error (needed by /sbin/apk)
Error loading shared library libz.so.1: Exec format error (needed by /sbin/apk)
followed by many errors about symbols that could not be found
have never noticed this when using clang
clarification: this only happens when building the project with gcc
This is a feature request for dark mode(s). Preferably, a choice between current black-on white, plus a white-on-black, green-on-black, and solarized-on-black theme.
After installing krb5 package, I tried to kinit but failed with this message below.
kinit: Failed to store credentials: Invalid argument (filename: /tmp/krb5cc_0) while getting initial credentials
iPad:~# irb
<main>: warning: Failed to create communication pipe for timer thread: No error information
Traceback (most recent call last):
SEGV received in ILL handler
Nano - Trouble Saving
Emacs - Trouble Doing Anything
Node.js - Trouble Doing Anything
This is the weirdest fucking thing. When you run ish in the debugger, it segfaults at the end of the install, and if you check the pointer in the debugger it looks valid. Then if you click continue, or step, it just keeps going as if nothing was wrong. When you run outside the debugger, it crashes before producing any output, and the crash dump shows the pointer is pointing to an unmapped page surrounded by mapped pages. Not quite sure if it's the same bug.
Keyboard should start with lowercase characters. Also utilize maybe the function keys that you can edit in iOS and add maybe like a / or something. Also a doule tap on the log should close the keyboard too :)
2 080481f7 --- cycle 31533
2 08048357 --- compiling:
2 08048357 55 push obp
2 08048358 89 mov reg, modrm reg=esp opcode=4 base=ebp
2 0804835a 83 grp1 imm8, modrm reg=ebp opcode=5 base=esp imm 18 sub
2 0804835d d9 fpu reg=edi opcode=7 base=ebp offset=-0xfffffff6 fnstcw mem16
2 08048360 dd fpu reg=eax opcode=0 base=ebp offset=0x8 fld mem64
2 08048363 d9 fpu reg=eax opcode=0 base=eax fld st(i)
2 08048365 66 entering 16 bit mode
2 08048366 8b mov modrm, reg reg=eax opcode=0 base=ebp offset=-0xfffffff6
2 08048369 80 grp1 imm8, modrm8 reg=ecx opcode=1 base=esp imm c or
2 0804836c 66 entering 16 bit mode
2 0804836d 89 mov reg, modrm reg=eax opcode=0 base=ebp offset=-0xfffffff4
2 08048370 d9 fpu reg=eax opcode=0 base=eax fld st(i)
2 08048372 d9 fpu reg=ebp opcode=5 base=ebp offset=-0xfffffff4 fldcw mem16
2 08048375 df fpu reg=edi opcode=7 base=ebp offset=-0xffffffe8 fistp mem64
2 08048378 d9 fpu reg=ebp opcode=5 base=ebp offset=-0xfffffff6 fldcw mem16
2 0804837b 8b mov modrm, reg reg=eax opcode=0 base=ebp offset=-0xffffffe8
2 0804837e 8b mov modrm, reg reg=edx opcode=2 base=ebp offset=-0xffffffec
2 08048381 89 mov reg, modrm reg=eax opcode=0 base=ebp offset=-0xffffffe8
2 08048384 89 mov reg, modrm reg=edx opcode=2 base=ebp offset=-0xffffffec
2 08048387 df fpu reg=ebp opcode=5 base=ebp offset=-0xffffffe8 fild mem64
2 0804838a dd fpu reg=ebx opcode=3 base=ebp offset=-0xfffffff8 fstp mem64
2 0804838d dd fpu reg=eax opcode=0 base=ebp offset=-0xfffffff8 fld mem64
2 08048390 d8 fpu reg=ebp opcode=5 base=edx undefined2 08048357 --- cycle 31534
2 illegal instruction at 0x8048390: d8 ea dd 5d f8 dd 45 f8
$ rasm2 -d 'd8eadd5df8dd45f8'
fsubr st(2)
fstp qword [ebp - 8]
fld qword [ebp - 8]
Repro: x86.linux.elf.zip
Here's the block executing correctly in usercorn:
main+0x110
0x8048357: push ebp | esp = 0xbffff938 | W bffff938
R 0xbffff940: 9a999999 9999f13f [.......? ] R
W 0xbffff93c: 08820408 [.... ] W
0x8048358: mov ebp, esp | ebp = 0xbffff938
0x804835a: sub esp, 0x18 | eflags = 0x00000080
+ esp = 0xbffff920
0x804835d: fnstcw word ptr [ebp - 0xa] | | W bffff92e
0x8048360: fld qword ptr [ebp + 8] | | R bffff940
0x8048363: fld st(0) |
0x8048365: mov ax, word ptr [ebp - 0xa] | | R bffff92e
0x8048369: or ah, 0xc | eax = 0x00000c00
+ eflags = 0x00000004
0x804836c: mov word ptr [ebp - 0xc], ax | | W bffff92c
0x8048370: fld st(0) |
0x8048372: fldcw word ptr [ebp - 0xc] | | R bffff92c
0x8048375: fistp qword ptr [ebp - 0x18] | | W bffff920
0x8048378: fldcw word ptr [ebp - 0xa] | | R bffff92e
0x804837b: mov eax, dword ptr [ebp - 0x18] | eax = 0x00000001 | R bffff920
0x804837e: mov edx, dword ptr [ebp - 0x14] | edx = 0x00000000 | R bffff924
0x8048381: mov dword ptr [ebp - 0x18], eax | | W bffff920
0x8048384: mov dword ptr [ebp - 0x14], edx | | W bffff924
0x8048387: fild qword ptr [ebp - 0x18] | | R bffff920
0x804838a: fstp qword ptr [ebp - 8] | | W bffff930
0x804838d: fld qword ptr [ebp - 8] | | R bffff930
0x8048390: fsubr st(2) |
0x8048392: fstp qword ptr [ebp - 8] | | W bffff930
0x8048395: fld qword ptr [ebp - 8] | | R bffff930
0x8048398: fldz |
0x804839a: fxch st(1) |
0x804839c: fucomi st(1) | eflags = 0x00000000
0x804839e: fstp st(1) |
0x80483a0: jp 0x80483a8 |
Edit: looks like this is just some fpu instructions generally missing
on iPhone SE IOS 12.1
I have observed network issues on iOS 12.1.1 beta 2.
ish
ish
that access the internetish
, and use the network a bunchWhen the app crashes when it's using the Berkeley DB NDBM, the database doesn't get synced to disk. Need to switch to a better database.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.