gls icon indicating copy to clipboard operation
gls copied to clipboard

Build fail during homebrew install

Open qbarbosa opened this issue 7 years ago • 2 comments

Hello ! I'm trying to install your graphical ls, it looks great !

But I get an error :

Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

I tried with the --HEAD option but it didn't change anything.

I use MacOS Sierra.

Here is what I get with the -v option :

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


/usr/bin/curl --remote-time --location --user-agent Homebrew/1.1.9 (Macintosh; Intel macOS 10.12.1) curl/7.49.1 --fail https://raw.githubusercontent.com/rs/homebrew/gls/Library/Formula/gls.rb -o /Users/quentinbarbosa/Library/Caches/Homebrew/Formula/gls.rb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   495  100   495    0     0   1001      0 --:--:-- --:--:-- --:--:--  1002
==> Downloading https://github.com/rs/gls/archive/1.0.tar.gz
Already downloaded: /Users/quentinbarbosa/Library/Caches/Homebrew/gls-1.0.tar.gz
==> Verifying gls-1.0.tar.gz checksum
tar xzf /Users/quentinbarbosa/Library/Caches/Homebrew/gls-1.0.tar.gz
==> xcodebuild -project gls.xcodeproj SDKROOT= SYMROOT=build
Build settings from command line:
    SDKROOT =
    SYMROOT = build

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

Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

** BUILD FAILED **


The following build commands failed:
	Check dependencies
(1 failure)

==> Formula
Path: /Users/quentinbarbosa/Library/Caches/Homebrew/Formula/gls.rb
==> Configuration
HOMEBREW_VERSION: 1.1.9
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 664d0c67d5947605c914c4c56ebcfaa80cb6eca0
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ff65bf4846c64c3b5d55eb64d6ca850435c60ad8
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.10.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: N/A
macOS: 10.12.1-x86_64
Xcode: 8.2.1
CLT: 8.2.0.0.1.1480973914
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.12
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/bin:/bin:/usr/sbin:/sbin

Error: gls 1.0 did not build
Logs:
     /Users/quentinbarbosa/Library/Logs/Homebrew/gls/00.options.out
     /Users/quentinbarbosa/Library/Logs/Homebrew/gls/01.xcodebuild
Do not report this issue to Homebrew/brew or Homebrew/core!

Thank you for any help you could provide. :)

qbarbosa avatar Feb 01 '17 14:02 qbarbosa

Same issue.

joeyfigaro avatar Aug 09 '17 20:08 joeyfigaro

I think this package is outdated screen shot 2017-10-20 at 8 46 47 am

jamesalbert avatar Oct 20 '17 16:10 jamesalbert