{"action":"created","issue":{"url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/2668","repository_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS","labels_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/2668/labels{/name}","comments_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/2668/comments","events_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/2668/events","html_url":"https://github.com/WhisperSystems/Signal-iOS/issues/2668","id":266780942,"number":2668,"title":"OpenSSL Pod not installing","user":{"login":"AmineMansouriLondon","id":23240351,"avatar_url":"https://avatars1.githubusercontent.com/u/23240351?v=4","gravatar_id":"","url":"https://api.github.com/users/AmineMansouriLondon","html_url":"https://github.com/AmineMansouriLondon","followers_url":"https://api.github.com/users/AmineMansouriLondon/followers","following_url":"https://api.github.com/users/AmineMansouriLondon/following{/other_user}","gists_url":"https://api.github.com/users/AmineMansouriLondon/gists{/gist_id}","starred_url":"https://api.github.com/users/AmineMansouriLondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmineMansouriLondon/subscriptions","organizations_url":"https://api.github.com/users/AmineMansouriLondon/orgs","repos_url":"https://api.github.com/users/AmineMansouriLondon/repos","events_url":"https://api.github.com/users/AmineMansouriLondon/events{/privacy}","received_events_url":"https://api.github.com/users/AmineMansouriLondon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-19T09:41:38Z","updated_at":"2017-11-13T13:50:46Z","closed_at":null,"author_association":"NONE","body":"### Bug description\r\nRunning \"Pod Install\" gives the error: \"Failed to download 'OpenSSL'\". I did not change anything on the podfile, I checked the link to the pod and it is correct. Please fix.\r\n\r\n### Steps to reproduce\r\n- Clone Signal-iOS.\r\n- Attempt \"make dependencies\", exits with error 126.\r\n- Attempt manual installation (run \"pod install\").\r\n\r\n**Actual result:** Fails with \"Failed to download 'OpenSSL'\"\r\n**Expected result:** Should download and install the pod in order for me to build the application.\r\n\r\n### Device info\r\n<!-- replace the examples with your info -->\r\n**Device**: n/a\r\n**iOS version**: n/a\r\n**Signal version:** Latest"},"comment":{"url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/comments/343924322","html_url":"https://github.com/WhisperSystems/Signal-iOS/issues/2668#issuecomment-343924322","issue_url":"https://api.github.com/repos/WhisperSystems/Signal-iOS/issues/2668","id":343924322,"user":{"login":"SalmanGhumsani","id":25687810,"avatar_url":"https://avatars1.githubusercontent.com/u/25687810?v=4","gravatar_id":"","url":"https://api.github.com/users/SalmanGhumsani","html_url":"https://github.com/SalmanGhumsani","followers_url":"https://api.github.com/users/SalmanGhumsani/followers","following_url":"https://api.github.com/users/SalmanGhumsani/following{/other_user}","gists_url":"https://api.github.com/users/SalmanGhumsani/gists{/gist_id}","starred_url":"https://api.github.com/users/SalmanGhumsani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalmanGhumsani/subscriptions","organizations_url":"https://api.github.com/users/SalmanGhumsani/orgs","repos_url":"https://api.github.com/users/SalmanGhumsani/repos","events_url":"https://api.github.com/users/SalmanGhumsani/events{/privacy}","received_events_url":"https://api.github.com/users/SalmanGhumsani/received_events","type":"User","site_admin":false},"created_at":"2017-11-13T13:50:46Z","updated_at":"2017-11-13T13:50:46Z","author_association":"NONE","body":"@michaelkirk Not resolve:\r\n\r\n `Preparing\r\n\r\nAnalyzing dependencies\r\n\r\nInspecting targets to integrate\r\n  Using `ARCHS` setting to build architectures of target `Pods-Signal`: (``)\r\n  Using `ARCHS` setting to build architectures of target `Pods-SignalTests`: (``)\r\n\r\nFinding Podfile changes\r\n  M OpenSSL\r\n  - ATAppUpdater\r\n  - AxolotlKit\r\n  - JSQMessagesViewController\r\n  - PureLayout\r\n  - Reachability\r\n  - SignalServiceKit\r\n  - SocketRocket\r\n  - YYImage\r\n\r\nFetching external sources\r\n-> Pre-downloading: `AxolotlKit` from `https://github.com/WhisperSystems/SignalProtocolKit.git`, commit `6e9d5e8c3dc87e397b4b7485172507b0990a22dd`\r\n  > Copying AxolotlKit from\r\n  `/Users/Appsinvo/Library/Caches/CocoaPods/Pods/External/AxolotlKit/b3dc7a9957359a9d30d4d56ace2810db` to\r\n  `Pods/AxolotlKit`\r\n-> Pre-downloading: `JSQMessagesViewController` from `https://github.com/WhisperSystems/JSQMessagesViewController.git`, commit `7d9e7562c67f3c7c71962bf9fe15c1695333c92f`\r\n  > Copying JSQMessagesViewController from\r\n  `/Users/Appsinvo/Library/Caches/CocoaPods/Pods/External/JSQMessagesViewController/66e3cdde48948f11aef91e38995dbdda`\r\n  to `Pods/JSQMessagesViewController`\r\n-> Pre-downloading: `OpenSSL` from `https://github.com/WhisperSystems/OpenSSL-Pod`, branch `mkirk/1.0.2m`\r\n  $ /usr/local/bin/git ls-remote https://github.com/WhisperSystems/OpenSSL-Pod mkirk/1.0.2m\r\n  8bfeb7944b49b93406dba2a84bfbfd55f87f6c5d\trefs/heads/mkirk/1.0.2m\r\n > Git download\r\n > Git download\r\n     $ /usr/local/bin/git clone https://github.com/WhisperSystems/OpenSSL-Pod\r\n     /var/folders/wq/hkkkcbt13yxdqqcvbpzxy06h0000gn/T/d20171113-29268-15tomf3 --template=\r\n     Cloning into '/var/folders/wq/hkkkcbt13yxdqqcvbpzxy06h0000gn/T/d20171113-29268-15tomf3'...\r\n   $ /usr/local/bin/git -C /var/folders/wq/hkkkcbt13yxdqqcvbpzxy06h0000gn/T/d20171113-29268-15tomf3\r\n   checkout --quiet 8bfeb7944b49b93406dba2a84bfbfd55f87f6c5d\r\n > Running prepare command\r\n   $ /bin/bash -c  set -e OPENSSL_VERSION=\"1.0.2m\"  CHECKSUM_FILE=\"checksum\" \r\n   SRC_TARBALL=\"openssl-${OPENSSL_VERSION}.tar.gz\"\r\n   SRC_URL=\"https://www.openssl.org/source/${SRC_TARBALL}\"  if [ -f file.tgz ] then   echo \"Using\r\n   existing file.tgz\"   mv file.tgz $SRC_TARBALL else   echo \"Downloading from ${SRC_URL}\"   curl -O\r\n   \"${SRC_URL}\"   if [ ! -f $SRC_TARBALL ]   then     echo \"Failed to download ${SRC_URL}\"     exit 1  \r\n   fi fi  # Ensure checksum matches incase we're installing from development pod # (Cocoapods checks for\r\n   us if we're downloading from source) if [ ! -f $CHECKSUM_FILE ] then   echo \"Missing checksum file\"  \r\n   exit 1 fi  shasum -c $CHECKSUM_FILE if [ $? -eq 0 ] then   echo \"Checksum OK.\" else   echo \"Checksum\r\n   failed.\"   exit 1 fi  SDKVERSION=`xcrun --sdk iphoneos --show-sdk-version 2> /dev/null`\r\n   MIN_SDK_VERSION_FLAG=\"-miphoneos-version-min=8.0\"  BASEPATH=\"${PWD}\" BUILD_ROOT=\"/tmp/openssl-pod\"  #\r\n   Order of ARCHS is somewhat significant since our pod exposes the headers from the last built arch\r\n   ARCHS=\"i386 x86_64 armv7 armv7s arm64\" DEVELOPER=`xcode-select -print-path`\r\n   OUTPUT_DIR=\"${BUILD_ROOT}/output\"  mkdir -p \"${OUTPUT_DIR}\"  cp \"${SRC_TARBALL}\"\r\n   \"${BUILD_ROOT}/${SRC_TARBALL}\" cd \"${BUILD_ROOT}\" tar -xzf \"${SRC_TARBALL}\"\r\n   SRC_DIR=\"openssl-${OPENSSL_VERSION}\" cd $SRC_DIR  echo \"Building OpenSSL. This will take a while...\"\r\n   for ARCH in ${ARCHS} do   CONFIGURE_FOR=\"iphoneos-cross\"    if [ \"${ARCH}\" == \"i386\" ] || [ \"${ARCH}\"\r\n   == \"x86_64\" ] ;   then     PLATFORM=\"iPhoneSimulator\"     if [ \"${ARCH}\" == \"x86_64\" ] ;     then     \r\n   CONFIGURE_FOR=\"darwin64-x86_64-cc\"     fi   else     sed -ie \"s!static volatile sig_atomic_t\r\n   intr_signal;!static volatile intr_signal;!\" \"crypto/ui/ui_openssl.c\"     PLATFORM=\"iPhoneOS\"   fi   \r\n   export CROSS_TOP=\"${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer\"   export\r\n   CROSS_SDK=\"${PLATFORM}${SDKVERSION}.sdk\"    echo \"Building openssl-${OPENSSL_VERSION} for ${PLATFORM}\r\n   ${SDKVERSION} ${ARCH}\"   echo \"Please stand by...\"    export CC=\"${DEVELOPER}/usr/bin/gcc -arch\r\n   ${ARCH} ${MIN_SDK_VERSION_FLAG}\"   \r\n   ARCH_OUTPUT_DIR=\"${OUTPUT_DIR}/${PLATFORM}${SDKVERSION}-${ARCH}.sdk\"   mkdir -p \"${ARCH_OUTPUT_DIR}\"  \r\n   SSL_BUILD_LOG=\"${ARCH_OUTPUT_DIR}/build-openssl-${OPENSSL_VERSION}.log\"    echo \"Starting build for\r\n   ${ARCH} / ${OPENSSL_VERSION}\" > $SSL_BUILD_LOG    ./Configure ${CONFIGURE_FOR}\r\n   --prefix=\"${ARCH_OUTPUT_DIR}\" --openssldir=\"${ARCH_OUTPUT_DIR}\" >> \"${SSL_BUILD_LOG}\" 2>&1   sed -ie\r\n   \"s!^CFLAG=!CFLAG=-isysroot ${CROSS_TOP}/SDKs/${CROSS_SDK} !\" \"Makefile\"    make -j8 build_libs >>\r\n   \"${SSL_BUILD_LOG}\" 2>&1   make install >> \"${SSL_BUILD_LOG}\" 2>&1   make clean >> \"${SSL_BUILD_LOG}\"\r\n   2>&1    if [ ! -f \"${ARCH_OUTPUT_DIR}/lib/libssl.a\" ]   then     echo \"Failed to build\r\n   ${ARCH_OUTPUT_DIR}/lib/libssl.a\"     echo \"See ${SSL_BUILD_LOG} for details\"     exit 1   fi  \r\n   LIBSSL_ACCUM=\"${LIBSSL_ACCUM} ${ARCH_OUTPUT_DIR}/lib/libssl.a\"    if [ ! -f\r\n   \"${ARCH_OUTPUT_DIR}/lib/libcrypto.a\" ]   then     echo \"Failed to build\r\n   ${ARCH_OUTPUT_DIR}/lib/libssl.a\"     echo \"See ${SSL_BUILD_LOG} for details\"     exit 1   fi  \r\n   LIBCRYPTO_ACCUM=\"${LIBCRYPTO_ACCUM} ${ARCH_OUTPUT_DIR}/lib/libcrypto.a\" done  echo \"Copying headers\r\n   from last built ARCH...\" rm -rf \"${BASEPATH}/opensslIncludes/\" mkdir -p \"${BASEPATH}/opensslIncludes/\"\r\n   if [ ! -d \"${ARCH_OUTPUT_DIR}/include/openssl\" ] then   echo \"Failed to find headers\r\n   ${ARCH_OUTPUT_DIR}/include/openssl\"   echo \"See ${SSL_BUILD_LOG} for details\"   exit 1 fi cp -RL\r\n   \"${ARCH_OUTPUT_DIR}/include/openssl\" \"${BASEPATH}/opensslIncludes/\"  echo \"Creating fat library...\" rm\r\n   -rf \"${BASEPATH}/lib/\" mkdir -p \"${BASEPATH}/lib/\" lipo -create ${LIBSSL_ACCUM}    -output\r\n   \"${BASEPATH}/lib/libssl.a\" lipo -create ${LIBCRYPTO_ACCUM} -output \"${BASEPATH}/lib/libcrypto.a\"  cd\r\n   \"${BASEPATH}\" echo \"Building done.\"  echo \"Cleaning up...\" rm -rf \"${BUILD_ROOT}\" echo \"Done.\"\r\n   Downloading from https://www.openssl.org/source/openssl-1.0.2m.tar.gz\r\n     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                    Dload  Upload   Total   Spent    Left  Speed\r\n   100 5247k  100 5247k    0     0  4471k      0  0:00:01  0:00:01 --:--:-- 4473k\r\n   openssl-1.0.2m.tar.gz: OK\r\n   Checksum OK.\r\n   Building OpenSSL. This will take a while...\r\n   Building openssl-1.0.2m for iPhoneSimulator 11.0 i386\r\n   Please stand by...\r\n[!] Failed to download 'OpenSSL'.\r\n\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/external_sources/abstract_external_source.rb:119:in `rescue in block in pre_download'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/external_sources/abstract_external_source.rb:114:in `block in pre_download'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/user_interface.rb:85:in `titled_section'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/external_sources/abstract_external_source.rb:112:in `pre_download'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/external_sources/downloader_source.rb:13:in `fetch'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer/analyzer.rb:686:in `fetch_external_source'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer/analyzer.rb:662:in `block (2 levels) in fetch_external_sources'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer/analyzer.rb:661:in `each'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer/analyzer.rb:661:in `block in fetch_external_sources'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/user_interface.rb:64:in `section'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer/analyzer.rb:660:in `fetch_external_sources'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer/analyzer.rb:76:in `analyze'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer.rb:242:in `analyze'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/user_interface.rb:64:in `section'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer.rb:153:in `resolve_dependencies'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/installer.rb:116:in `install!'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/command/install.rb:41:in `run'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/lib/cocoapods/command.rb:52:in `run'\r\n/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.3.1/bin/pod:55:in `<top (required)>'\r\n/usr/local/bin/pod:23:in `load'\r\n/usr/local/bin/pod:23:in `<main>'`\r\n\r\n"}}
{"actor":{"display_login":"SalmanGhumsani"}}