Coder Social home page Coder Social logo

homebrew-made's Introduction

Open before closed.

The future is decentralized.

homebrew-made's People

Contributors

jhheider avatar mxcl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebrew-made's Issues

Cannot install on Arch Linux

Hi,

Installation via homebrew crashed, it was complaining about missingLinuxMain. Console log below

[segabor@csihuhu domain11]$ brew install mxcl/made/swift-sh
==> Tapping mxcl/made
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/mxcl/homebrew-made'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
Tapped 1 formula (27 files, 21.9KB).
==> Installing swift-sh from mxcl/made
==> Downloading https://github.com/mxcl/swift-sh/archive/1.1.3.zip
==> Downloading from https://codeload.github.com/mxcl/swift-sh/zip/1.1.3
#=#=-#  #                                                                     
==> swift build --configuration release -Xswiftc -static-stdlib --disable-sandbox
Last 15 lines from /home/segabor/.cache/Homebrew/Logs/swift-sh/01.swift:
2019-01-14 14:04:48 +0100

swift
build
--configuration
release
-Xswiftc
-static-stdlib
--disable-sandbox

error: missingLinuxMain

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/mxcl/homebrew-made/issues

brew install mxcl/made/swift-sh fails with compilation errors

  • macOS Big Sur 11.6
  • Xcode Version 13.0 (13A233) installed

Log output:

2021-10-10 13:20:06 -0400

swift
build
--configuration
release
--disable-sandbox

/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0: warning: failed loading manifest for 'swift-sh-2.3.0' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb49750a670 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0: warning: failed storing manifest for 'swift-sh-2.3.0' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb497433e00 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kylef/Spectre.git
Skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “repositories” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/repositories, NSUnderlyingError=0x7fb497705400 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “repositories” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/repositories, NSUnderlyingError=0x7fb497518100 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “repositories” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/repositories, NSUnderlyingError=0x7fb499204220 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Fetched https://github.com/kylef/PathKit (1.31s)
Fetched https://github.com/kylef/Spectre.git (1.30s)
Fetched https://github.com/krzyzanowskim/CryptoSwift (1.31s)
Fetching https://github.com/mxcl/Path.swift
Fetching https://github.com/mxcl/StreamReader
Fetching https://github.com/mxcl/Version
Skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “repositories” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/repositories, NSUnderlyingError=0x7fb49770bd20 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “repositories” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/repositories, NSUnderlyingError=0x7fb497439960 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “repositories” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/repositories, NSUnderlyingError=0x7fb499009e10 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Fetched https://github.com/mxcl/Version (0.50s)
Fetched https://github.com/mxcl/StreamReader (0.50s)
Fetched https://github.com/mxcl/Path.swift (0.50s)
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/tuist/xcodeproj
Fetching https://github.com/mxcl/LegibleError
Skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “repositories” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/repositories, NSUnderlyingError=0x7fb49751bec0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “repositories” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/repositories, NSUnderlyingError=0x7fb49770be00 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “repositories” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/repositories, NSUnderlyingError=0x7fb4974362d0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Fetched https://github.com/tadija/AEXML (1.26s)
Fetched https://github.com/tuist/xcodeproj (1.26s)
Fetched https://github.com/mxcl/LegibleError (1.26s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 7.23.0 (0.63s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.4.0 (0.67s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.0.0 (4.14s)
Computing version for https://github.com/mxcl/LegibleError
Computed https://github.com/mxcl/LegibleError at 1.0.4 (0.61s)
Computing version for https://github.com/mxcl/StreamReader
Computed https://github.com/mxcl/StreamReader at 1.0.1 (0.61s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.2.0 (0.59s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.0 (0.60s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.5.0 (0.62s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.62s)
Creating working copy for https://github.com/mxcl/Path.swift
Working copy of https://github.com/mxcl/Path.swift resolved at 1.2.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.0.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.4.0
Creating working copy for https://github.com/mxcl/LegibleError
Working copy of https://github.com/mxcl/LegibleError resolved at 1.0.4
Creating working copy for https://github.com/mxcl/StreamReader
Working copy of https://github.com/mxcl/StreamReader resolved at 1.0.1
Creating working copy for https://github.com/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 7.23.0
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.5.0
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/StreamReader: warning: failed loading manifest for 'streamreader' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4996083a0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/Version: warning: failed loading manifest for 'version' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4990d1ec0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/CryptoSwift: warning: failed loading manifest for 'cryptoswift' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4995f0e10 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/xcodeproj: warning: failed loading manifest for 'xcodeproj' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4995f0760 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/Path.swift: warning: failed loading manifest for 'path.swift' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4995efbf0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/LegibleError: warning: failed loading manifest for 'legibleerror' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4977a86d0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/LegibleError: warning: failed storing manifest for 'legibleerror' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4995f50e0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/Path.swift: warning: failed storing manifest for 'path.swift' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4990fa4e0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/xcodeproj: warning: failed storing manifest for 'xcodeproj' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4995e8dc0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/CryptoSwift: warning: failed storing manifest for 'cryptoswift' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb49751c200 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/StreamReader: warning: failed storing manifest for 'streamreader' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4990d24a0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/Version: warning: failed storing manifest for 'version' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4977a6da0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/AEXML: warning: failed loading manifest for 'aexml' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4995efed0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/PathKit: warning: failed loading manifest for 'pathkit' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4977a6ed0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/PathKit: warning: failed storing manifest for 'pathkit' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4995ee540 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/AEXML: warning: failed storing manifest for 'aexml' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb499616330 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/Spectre: warning: failed loading manifest for 'spectre' from cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb49961d550 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/Spectre: warning: failed storing manifest for 'spectre' in cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/xxxxxx/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x7fb4977a6ed0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
'Spectre' /private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/Spectre: warning: Invalid Exclude '/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/Spectre/Sources/Spectre/[email protected]': File not found.
remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[1/8] Compiling PathKit PathKit.swift
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/PathKit/Sources/PathKit.swift:583:12: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
      free(cPattern)
           ^
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/PathKit/Sources/PathKit.swift:583:12: note: coalesce using '??' to provide a default when the optional value contains 'nil'
      free(cPattern)
           ^
                    ?? <#default value#>
/private/tmp/swift-sh-20211010-40468-17m09tq/swift-sh-2.3.0/.build/checkouts/PathKit/Sources/PathKit.swift:583:12: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
      free(cPattern)
           ^
                   !

HOMEBREW_VERSION: 3.2.15
ORIGIN: https://github.com/Homebrew/brew
HEAD: 92749f9c5243691f8e576aa1227cb9ebba509cd4
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 8f97610900f5c215007b2f6f137477c51d92f823
Core tap last commit: 11 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_BOOTSNAP: set
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit haswell
Clang: 13.0.0 build 1300
Git: 2.18.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/local/Homebrew/Library/Homebrew/shims/shared/curl
macOS: 11.6-x86_64
CLT: N/A
Xcode: 13.0

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/11
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin

error: terminated(72): xcrun --sdk macosx --find xctest

brew install mxcl/made/swift-sh

==> Installing swift-sh from mxcl/made
==> Cloning https://github.com/mxcl/swift-sh
Updating /Users/daijie/Library/Caches/Homebrew/swift-sh--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 2a223fc .some
==> swift build --configuration release -Xswiftc -static-stdlib --disable-sandbo
Last 15 lines from /Users/daijie/Library/Logs/Homebrew/swift-sh/01.swift:
2019-01-12 19:26:46 +0800

swift
build
--configuration
release
-Xswiftc
-static-stdlib
--disable-sandbox

error: terminated(72): xcrun --sdk macosx --find xctest output:



If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/mxcl/homebrew-made/issues
xcrun --sdk macosx --find xctest
xcrun: error: unable to find utility "xctest", not a developer tool or in PATH

`swift-sh` is not installed from bottle even in a ABI-stable environment like macOS 10.15.1

I was trying to install swift-sh from mxcl/made/swift-sh, and the shell output results made me curious :-) It was saying that swift-sh cannot be installed from bottle due to ABI instabilities, but I was using macOS 10.15.1 with Swift 5.2 so that made me wonder.

$ brew install mxcl/made/swift-sh
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from 328e1f698 to d014d5a98.
Updated 1 tap (homebrew/cask).
No changes to formulae.

==> Tapping mxcl/made
Cloning into '/usr/local/Homebrew/Library/Taps/mxcl/homebrew-made'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
Tapped 1 formula (29 files, 27.4KB).
==> Installing swift-sh from mxcl/made
Warning: Building mxcl/made/swift-sh from source:
  The bottle requires a Swift ABI stable version of macOS
==> Downloading https://github.com/mxcl/swift-sh/archive/1.15.0.tar.gz
==> Downloading from https://codeload.github.com/mxcl/swift-sh/tar.gz/1.15.0
##O#- #                                                                       
==> swift build --configuration release --disable-sandbox
🍺  /usr/local/Cellar/swift-sh/1.15.0: 6 files, 3.6MB, built in 1 minute 52 seconds

I'm not really an expert in Homebrew's DSL - and you are :-), but it looks like the condition for checking whether to use bottles is reversed: it should return true (I think?) on ABI-stable environments but it's returning false.

Outdated swift-sh version & question about Homebrew formula location

Hi @mxcl, I've just noticed that the version of swift-sh in the fomula in this repository (1.11.0) does not match with the latest version of swift-sh in its own repository (1.12.0).

More generally, I'd like to ask why there is a separate repository which contains only this very formula? I like the way Beak handles it by storing the formula directly in its repository. They even have a script in place which updates the formula. I guess this could make it easier to keep the Homebrew formula up to date.

PS: I just tried installing all three main tools for this task (swift-sh, Marathon & Beak) via Homebrew and the latest version was picked only for Beak.

swift-sh bottle seems out-of-date

brew install mxcl/made/swift-sh
./my_swift_sh_script
  # -> Failure that should have been fixed with 1.18.0

brew reinstall --build-from-source mxcl/made/swift-sh
./my_swift_sh_script
  # -> Success

Failed to download resource "swift-sh"

Hello @mxcl. I have the next problem trying to install swift-sh:

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "swift-sh"
Download failed: https://github.com/mxcl/swift-sh/releases/download/1.14.0/swift-sh-1.14.0.mojave.bottle.1.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://github.com/mxcl/swift-sh/archive/1.14.0.tar.gz
Already downloaded: /Users/digoot/Library/Caches/Homebrew/downloads/6ae75a8fa9c8ba63febc595844bd35792c93910d1a87528ab2f718c96669abd1--swift-sh-1.14.0.tar.gz
==> swift build --configuration release --disable-sandbox
Last 15 lines from /Users/digoot/Library/Logs/Homebrew/swift-sh/01.swift:
2019-08-13 23:24:04 +0200

swift
build
--configuration
release
--disable-sandbox

dyld: Library not loaded: @rpath/llbuild.framework/Versions/A/llbuild
  Referenced from: /Library/Developer/CommandLineTools/usr/bin/swift-build
  Reason: image not found

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/mxcl/homebrew-made/issues

Which is the problem? My XCode version is 10.3 (10G8) and Command Line Tools version is 10.0.1

Thank you so much for your support in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.