gls icon indicating copy to clipboard operation
gls copied to clipboard

gls fails to build main.swift

Open sammcj opened this issue 8 years ago • 7 comments

% brew install https://raw.githubusercontent.com/rs/homebrew/gls/Library/Formula/gls.rb
######################################################################## 100.0%
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Downloading https://github.com/rs/gls/archive/1.0.tar.gz
==> Downloading from https://codeload.github.com/rs/gls/tar.gz/1.0
######################################################################## 100.0%
==> xcodebuild -project gls.xcodeproj SYMROOT=build

The following build commands failed:
    CompileSwift normal x86_64 /tmp/gls20150908-77464-zjeger/gls-1.0/gls/main.swift
    CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)

Let me know if there is any other information I can provide to help.

sammcj avatar Sep 07 '15 23:09 sammcj

Please add the -v option to get more info.

rs avatar Sep 07 '15 23:09 rs

brew install -v https://raw.githubusercontent.com/rs/homebrew/gls/Library/Formula/gls.rb
/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.0.0-645; OS X 10.11) https://raw.githubusercontent.com/rs/homebrew/gls/Library/Formula/gls.rb -o /Library/Caches/Homebrew/Formula/gls.rb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   382  100   382    0     0    627      0 --:--:-- --:--:-- --:--:--   628
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Downloading https://github.com/rs/gls/archive/1.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/gls-1.0.tar.gz
==> Verifying gls-1.0.tar.gz checksum
tar xf /Library/Caches/Homebrew/gls-1.0.tar.gz
==> xcodebuild -project gls.xcodeproj SYMROOT=build
Build settings from command line:
    SYMROOT = build

=== BUILD TARGET gls OF PROJECT gls WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies

Write auxiliary files
write-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/swift-overrides.hmap
write-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-all-non-framework-target-headers.hmap
write-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-project-headers.hmap
/bin/mkdir -p /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64
write-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls-OutputFileMap.json
write-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-all-target-headers.hmap
write-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls.LinkFileList
write-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-own-target-headers.hmap
write-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls.hmap
write-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-generated-files.hmap

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
    cd /tmp/gls20150908-79633-ypfkgu/gls-1.0
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name gls -O -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -target x86_64-apple-macosx10.10 -g -Xfrontend -serialize-debugging-options -I /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/Release -F /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/Release -c -j8 /tmp/gls20150908-79633-ypfkgu/gls-1.0/gls/main.swift -output-file-map /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls.swiftmodule -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/swift-overrides.hmap -Xcc -iquote -Xcc /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-generated-files.hmap -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-own-target-headers.hmap -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-all-target-headers.hmap -Xcc -iquote -Xcc /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-project-headers.hmap -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/Release/include -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/DerivedSources/x86_64 -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/DerivedSources -emit-objc-header -emit-objc-header-path /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls-Swift.h -Xcc -working-directory/tmp/gls20150908-79633-ypfkgu/gls-1.0

CompileSwift normal x86_64 /tmp/gls20150908-79633-ypfkgu/gls-1.0/gls/main.swift
    cd /tmp/gls20150908-79633-ypfkgu/gls-1.0
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /tmp/gls20150908-79633-ypfkgu/gls-1.0/gls/main.swift -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/Release -F /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/Release -g -serialize-debugging-options -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/swift-overrides.hmap -Xcc -iquote -Xcc /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-generated-files.hmap -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-own-target-headers.hmap -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-all-target-headers.hmap -Xcc -iquote -Xcc /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/gls-project-headers.hmap -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/Release/include -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/DerivedSources/x86_64 -Xcc -I/tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/DerivedSources -Xcc -working-directory/tmp/gls20150908-79633-ypfkgu/gls-1.0 -emit-module-doc-path /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/main~partial.swiftdoc -O -module-name gls -emit-module-path /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/main~partial.swiftmodule -serialize-diagnostics-path /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.dia -emit-dependencies-path /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.d -emit-reference-dependencies-path /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.swiftdeps -o /tmp/gls20150908-79633-ypfkgu/gls-1.0/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.o
/tmp/gls20150908-79633-ypfkgu/gls-1.0/gls/main.swift:19:14: error: missing argument label 'arrayLiteral:' in call
    if Array(path)[0] != "/" {
             ^
             arrayLiteral:
/tmp/gls20150908-79633-ypfkgu/gls-1.0/gls/main.swift:20:49: error: 'stringByAppendingPathComponent' is unavailable: Use stringByAppendingPathComponent on NSString instead.
        path = fileManager.currentDirectoryPath.stringByAppendingPathComponent(path)
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.String:287:8: note: 'stringByAppendingPathComponent' has been explicitly marked unavailable here
  func stringByAppendingPathComponent(aString: String) -> String
       ^
/tmp/gls20150908-79633-ypfkgu/gls-1.0/gls/main.swift:28:60: error: cannot force unwrap value of non-optional type 'NSURL'
let contents = fileManager.contentsOfDirectoryAtURL(pathURL!, includingPropertiesForKeys: properties, options: (.SkipsHiddenFiles), error: &error)
                                                    ~~~~~~~^


** BUILD FAILED **


The following build commands failed:
    CompileSwift normal x86_64 /tmp/gls20150908-79633-ypfkgu/gls-1.0/gls/main.swift
    CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)
==> Formula
Path: /Library/Caches/Homebrew/Formula/gls.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 8d80b2a4902fb68e3a90d60ee5d61d4ee6c51d72
Last commit: 6 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit haswell
OS X: 10.11-x86_64
Xcode: 7.0 => /Applications/Xcode-beta.app/Contents/Developer
CLT: N/A
Clang: 7.0 build 700
X11: N/A
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/samm/.rvm/rubies/ruby-2.2.2/bin/ruby
Java: 1.8.0_51
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/apache2:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
HOMEBREW_SDKROOT: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin

Error: gls 1.0 did not build
Logs:
     /Users/samm/Library/Logs/Homebrew/gls/01.xcodebuild

These open issues may also help:
gls 1.0 (new formula) https://github.com/Homebrew/homebrew/pull/43660

sammcj avatar Sep 08 '15 00:09 sammcj

I pushed some fix, but I can't test them as I don't have a mac running El Capitan at hand. Please retry the install with the --head option and tell me if it works now:

brew install --HEAD https://raw.githubusercontent.com/rs/homebrew/gls/Library/Formula/gls.rb

Thx

rs avatar Sep 08 '15 04:09 rs

No go - don't stress over it though, not like it's super important :tongue:

systems-samm-imac ~  <1> % cat /Users/samm/Library/Logs/Homebrew/gls/01.xcodebuild
2015-09-08 15:33:38 +1000

xcodebuild
-project
gls.xcodeproj
SYMROOT=build

Build settings from command line:
    SYMROOT = build

=== BUILD TARGET gls OF PROJECT gls WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies

Write auxiliary files
write-file /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls.hmap
write-file /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-own-target-headers.hmap
write-file /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-all-non-framework-target-headers.hmap
write-file /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-all-target-headers.hmap
/bin/mkdir -p /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64
write-file /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls.LinkFileList
write-file /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-project-headers.hmap
write-file /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/swift-overrides.hmap
write-file /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-generated-files.hmap
write-file /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls-OutputFileMap.json

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
    cd /tmp/gls20150908-98408-1mvfwxo/gls-master
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name gls -O -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -target x86_64-apple-macosx10.10 -g -Xfrontend -serialize-debugging-options -I /tmp/gls20150908-98408-1mvfwxo/gls-master/build/Release -F /tmp/gls20150908-98408-1mvfwxo/gls-master/build/Release -c -j8 /tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift -output-file-map /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls.swiftmodule -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/swift-overrides.hmap -Xcc -iquote -Xcc /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-generated-files.hmap -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-own-target-headers.hmap -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-all-target-headers.hmap -Xcc -iquote -Xcc /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-project-headers.hmap -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/Release/include -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/DerivedSources/x86_64 -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/DerivedSources -emit-objc-header -emit-objc-header-path /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls-Swift.h -Xcc -working-directory/tmp/gls20150908-98408-1mvfwxo/gls-master

CompileSwift normal x86_64 /tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift
    cd /tmp/gls20150908-98408-1mvfwxo/gls-master
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I /tmp/gls20150908-98408-1mvfwxo/gls-master/build/Release -F /tmp/gls20150908-98408-1mvfwxo/gls-master/build/Release -g -serialize-debugging-options -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/swift-overrides.hmap -Xcc -iquote -Xcc /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-generated-files.hmap -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-own-target-headers.hmap -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-all-target-headers.hmap -Xcc -iquote -Xcc /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/gls-project-headers.hmap -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/Release/include -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/DerivedSources/x86_64 -Xcc -I/tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/DerivedSources -Xcc -working-directory/tmp/gls20150908-98408-1mvfwxo/gls-master -emit-module-doc-path /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main~partial.swiftdoc -O -module-name gls -emit-module-path /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main~partial.swiftmodule -serialize-diagnostics-path /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.dia -emit-dependencies-path /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.d -emit-reference-dependencies-path /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.swiftdeps -o /tmp/gls20150908-98408-1mvfwxo/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.o
/tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift:29:4: error: initializer for conditional binding must have Optional type, not 'NSURL'
if let pathURL = NSURL(fileURLWithPath: path) {
   ^
/tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift:35:13: error: 'println' has been renamed to 'print'
            println(msg)
            ^~~~~~~
            print
Swift.println:1:82: note: 'println' has been explicitly marked unavailable here
@available(*, unavailable) @inline(never) @_semantics("stdlib_binary_only") func println<T>(value: T)
                                                                                 ^
/tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift:40:5: error: 'println' has been renamed to 'print'
    println("Invalid path")
    ^~~~~~~
    print
Swift.println:1:82: note: 'println' has been explicitly marked unavailable here
@available(*, unavailable) @inline(never) @_semantics("stdlib_binary_only") func println<T>(value: T)
                                                                                 ^
/tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift:62:87: error: static method 'allZeros' has been replaced with the default initializer
        let iconB64 = data.base64EncodedStringWithOptions(NSDataBase64EncodingOptions.allZeros)
                                                                                     ~^~~~~~~~
                                                                                     ()
/tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift:69:16: error: 'lastPathComponent' is unavailable: Use lastPathComponent on NSString instead.
    print(path.lastPathComponent)
               ^~~~~~~~~~~~~~~~~
Foundation.String:175:7: note: 'lastPathComponent' has been explicitly marked unavailable here
  var lastPathComponent: String { get }
      ^
/tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift:73:25: error: extra argument 'error' in call
    url.getResourceValue(&rsrc, forKey: NSURLFileResourceTypeKey, error: nil)
                        ^                                                ~~~
/tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift:80:62: error: extra argument 'error' in call
            print(fileManager.destinationOfSymbolicLinkAtPath(path, error: nil)!)
                                                             ^             ~~~
/tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift:85:5: error: 'println()' is unavailable: use print("")
    println()
    ^~~~~~~
Swift.println:1:109: note: 'println()' has been explicitly marked unavailable here
@available(*, unavailable, message="use print(\"\")") @inline(never) @_semantics("stdlib_binary_only") func println()
                                                                                                            ^

** BUILD FAILED **


The following build commands failed:
    CompileSwift normal x86_64 /tmp/gls20150908-98408-1mvfwxo/gls-master/gls/main.swift
    CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)

HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 7a8703cedbcc808fe5435af0e72314d35042570c
Last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit haswell
OS X: 10.11-x86_64
Xcode: 7.0 => /Applications/Xcode-beta.app/Contents/Developer
CLT: N/A
GCC-4.2: build 0
Clang: 7.0 build 700
X11: N/A
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: 1.8.0_51

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/apache2:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
HOMEBREW_SDKROOT: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
``

sammcj avatar Sep 08 '15 05:09 sammcj

I also have problems building this. Here is my error log: https://gist.github.com/aziz/d97a2ba7c13ea33eab25

aziz avatar Sep 08 '15 07:09 aziz

You can retry

rs avatar Sep 08 '15 07:09 rs

failed again: https://gist.github.com/aziz/789c3d9d05836e2a7021

aziz avatar Sep 08 '15 07:09 aziz