Skip to content

Instantly share code, notes, and snippets.

@taktamur
Last active March 10, 2019 05:59
Show Gist options
  • Save taktamur/2bffdfd941728d74826ec7d380aa8d52 to your computer and use it in GitHub Desktop.
Save taktamur/2bffdfd941728d74826ec7d380aa8d52 to your computer and use it in GitHub Desktop.
flockインストール時のエラー
mbp13:~ tak$ brew install flock
==> Installing flock from naoty/misc
==> Downloading https://github.com/naoty/flock/archive/0.1.0.tar.gz
Already downloaded: /Users/tak/Library/Caches/Homebrew/downloads/ca62d84ef3ff77d86b10fab58cd619a6e85e79dba320fc04d73e20a80f149ee0--flock-0.1.0.tar.gz
==> swift build -c release
Last 15 lines from /Users/tak/Library/Logs/Homebrew/flock/01.swift:
2019-03-10 14:34:03 +0900
swift
build
-c
release
/private/tmp/flock-20190310-19210-14q8g2j/flock-0.1.0: error: manifest parse error(s):
sandbox-exec: sandbox_apply_container: Operation not permitted
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/naoty/homebrew-misc/issues
mbp13:~ tak$ cat /Users/tak/Library/Logs/Homebrew/flock/01.swift
2019-03-10 14:34:03 +0900
swift
build
-c
release
/private/tmp/flock-20190310-19210-14q8g2j/flock-0.1.0: error: manifest parse error(s):
sandbox-exec: sandbox_apply_container: Operation not permitted
HOMEBREW_VERSION: 2.0.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: 6865aee729ebc28dfa4af6fdbaeec297df0ac34c
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: af4df92bf45435b6a830b864e031f7426d026873
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CACHE: /Users/tak/Library/Caches/Homebrew
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.19.2 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_181, 1.7.0_71
macOS: 10.14.3-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: 10.1
CXX: clang++
OBJC: clang
OBJCXX: clang++
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.14
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
mbp13:~ tak$
Linking ./.build/x86_64-apple-macosx10.10/release/sourcekitten
Compile Swift Module 'flock' (10 sources)
/private/tmp/flock-20190310-25431-1j0iv11/flock-0.1.0/Sources/flock/Commands/MainCommand.swift:15:74: error: call can throw, but it is not marked with 'try' and the error is not handled
structures = paths.map({ File(path: $0) }).flatMap({ $0 }).map({ Structure(file: $0) })
^
error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /private/tmp/flock-20190310-25431-1j0iv11/flock-0.1.0/.build/release.yaml main output:
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/naoty/homebrew-misc/issues
mbp13:tmp tak$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment