mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.2k stars 2.92k forks source link

Build Failed #4415

Closed lhkzhl closed 5 years ago

lhkzhl commented 5 years ago
*** Checking out onepassword-app-extension at "bcc4cc97fed9a6e73fa204f2e61138e353cb3ef7"
*** Checking out SwiftKeychainWrapper at "218a97f3882ab1098a2ad4c706c13c606446da18"
*** Checking out MappaMundi at "981095dff1c014a458624820ac8f2cda39c92144"
*** Checking out sentry-cocoa at "4.0.1"
*** Checking out GCDWebServer at "3.3.2"
*** Checking out SnapKit at "3.1.2"
*** Checking out EarlGrey at "ce90f3ffabfb9cfcda73bcbcdd8844c47fede04e"
*** Checking out SwiftyJSON at "3.1.4"
*** Checking out telemetry-ios at "v1.1.0"
*** Checking out Alamofire at "4.3.0"
*** Checking out XCGLogger at "Version_4.0.0"
*** Checking out Deferred at "35b8927c1b94ce074e10793c57e1f80d0e2227fa"
*** Checking out ios_sdk at "v4.12.1"
*** Checking out Fuzi at "2.0.2"
*** Checking out JSONSchema.swift at "1c052b83baa8c497e12cde6a8afca0f54574612f"
*** Checking out KIF at "v3.7.3"
*** Checking out SDWebImage at "4.1.0"
*** xcodebuild output can be found in /var/folders/1p/ggtwy57x5v91l5zz1yqbb_pc0000gn/T/carthage-xcodebuild.p3TuuJ.log
*** Valid cache found for Alamofire, skipping build
*** Valid cache found for Deferred, skipping build
*** No cache found for EarlGrey, building with all downstream dependencies
*** No cache found for Fuzi, building with all downstream dependencies
*** No cache found for GCDWebServer, building with all downstream dependencies
*** Valid cache found for ios_sdk, skipping build
*** No cache found for JSONSchema.swift, building with all downstream dependencies
*** No cache found for KIF, building with all downstream dependencies
*** No cache found for MappaMundi, building with all downstream dependencies
*** No cache found for onepassword-app-extension, building with all downstream dependencies
*** No cache found for SDWebImage, building with all downstream dependencies
*** Valid cache found for sentry-cocoa, skipping build
*** No cache found for SnapKit, building with all downstream dependencies
*** No cache found for SwiftKeychainWrapper, building with all downstream dependencies
*** No cache found for SwiftyJSON, building with all downstream dependencies
*** No cache found for telemetry-ios, building with all downstream dependencies
*** No cache found for XCGLogger, building with all downstream dependencies
*** Building scheme "EarlGrey" in EarlGrey.xcodeproj
Build Failed
    Task failed with exit code 65:
    /usr/bin/xcrun xcodebuild -project /Users/hailong/Desktop/test/firefox-ios/Carthage/Checkouts/EarlGrey/EarlGrey.xcodeproj -scheme EarlGrey -configuration Release -derivedDataPath /Users/hailong/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/EarlGrey/ce90f3ffabfb9cfcda73bcbcdd8844c47fede04e -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/1p/ggtwy57x5v91l5zz1yqbb_pc0000gn/T/EarlGrey SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/hailong/Desktop/test/firefox-ios/Carthage/Checkouts/EarlGrey)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/1p/ggtwy57x5v91l5zz1yqbb_pc0000gn/T/carthage-xcodebuild.p3TuuJ.log
up to date in 3.179s

> firefox-ios@1.0.0 build /Users/hailong/Desktop/test/firefox-ios
> webpack --config webpack.config.js

Hash: 9f1a1b60e96dfc6fdcd6
Version: webpack 4.17.1
Time: 2425ms
Built at: 2018/12/02 下午11:18:27
                      Asset      Size  Chunks             Chunk Names
AllFramesAtDocumentStart.js  1.21 KiB       0  [emitted]  AllFramesAtDocumentStart
  AllFramesAtDocumentEnd.js  10.1 KiB       1  [emitted]  AllFramesAtDocumentEnd
MainFrameAtDocumentStart.js  32.1 KiB       2  [emitted]  MainFrameAtDocumentStart
  MainFrameAtDocumentEnd.js  22.3 KiB       3  [emitted]  MainFrameAtDocumentEnd
        DocumentServices.js   213 KiB       4  [emitted]  DocumentServices
Entrypoint AllFramesAtDocumentStart = AllFramesAtDocumentStart.js
Entrypoint AllFramesAtDocumentEnd = AllFramesAtDocumentEnd.js
Entrypoint MainFrameAtDocumentStart = MainFrameAtDocumentStart.js
Entrypoint MainFrameAtDocumentEnd = MainFrameAtDocumentEnd.js
Entrypoint DocumentServices = DocumentServices.js
 [2] ./Client/Frontend/UserContent/UserScripts/DocumentServices/src/__firefox__.js 861 bytes {4} [built]
 [3] multi ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentStart/__firefox__.js 28 bytes {0} [built]
 [4] ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentStart/__firefox__.js 783 bytes {0} [built]
 [5] multi ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/__firefox__.js ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/ContextMenu.js ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/DownloadHelper.js ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/FocusHelper.js ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/LoginsHelper.js ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/PrintHandler.js 88 bytes {1} [built]
 [6] ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/__firefox__.js 783 bytes {1} [built]
 [7] ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/ContextMenu.js 948 bytes {1} [built]
 [8] ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/DownloadHelper.js 1.49 KiB {1} [built]
 [9] ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/FocusHelper.js 1.4 KiB {1} [built]
[10] ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/LoginsHelper.js 25.4 KiB {1} [built]
[11] ./Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/PrintHandler.js 530 bytes {1} [built]
[12] multi ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentStart/HistoryStateHelper.js ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentStart/NightModeHelper.js ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentStart/NoImageModeHelper.js ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentStart/ReaderMode.js ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentStart/TrackingProtectionStats.js 76 bytes {2} [built]
[13] ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentStart/HistoryStateHelper.js 1.27 KiB {2} [built]
[15] ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentStart/NoImageModeHelper.js 2.47 KiB {2} [built]
[20] multi ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentEnd/CustomSearchHandler.js ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentEnd/FindInPage.js ./Client/Frontend/UserContent/UserScripts/MainFrame/AtDocumentEnd/MetadataHelper.js 52 bytes {3} [built]
[32] multi ./Client/Frontend/UserContent/UserScripts/DocumentServices/src/__firefox__.js ./Client/Frontend/UserContent/UserScripts/DocumentServices/src/entry.js 40 bytes {4} [built]
lhkzhl commented 5 years ago

error log:

curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
err_str
Command /bin/sh failed with exit code 1

** ARCHIVE FAILED **

The following build commands failed:
    PhaseScriptExecution Setup\ EarlGrey\ Script /Users/hailong/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/EarlGrey/ce90f3ffabfb9cfcda73bcbcdd8844c47fede04e/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/Script-FDC5EEA01CAEEFC2006C5174.sh
stevelyc commented 5 years ago

Rebuild, come on, there will be good things to appear

Grey-Bit commented 5 years ago

Hitting the same problem on the freshly cloned repo + just installed Xcode 10.1

detectedstealth commented 5 years ago

Run bootstrap can't build on Xcode 10.1 or Xcode 10.2. With Xcode 10.1 it complained bout alamofire so I did a Carthage update and now it fails on DeferredMac

farhanpatel commented 5 years ago

Make sure you use xcode 10.1. When running carthage. you'll need to make sure xcode-select is pointing to xcode10.1 and not 10.2