Closed er-minio closed 1 year ago
@er-minio for which package and on which platform?
Hi @iloveitaly apologies for the poorly written request!
I'm trying to install hyper focus on MacOs X 13.2.1 (22D68). Xcode installed.
Can you try again with verbose logging enabled and paste/screenshot the output here?
Here it is.
`er-minio@Mac-Studio ~ % brew install -v iloveitaly/tap/hyper-focus
Running brew update --auto-update
...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
aarch64-elf-gdb dexter flavours ksops notify trurl wazero
blocky enchive hz libansilove renovate typst
==> New Casks
alipay-key-tool beardie cursor dehelper hummingbird mullvad-browser orcaslicer usmart-trade vbrokers
==> Fetching iloveitaly/tap/hyper-focus ==> Downloading https://github.com/iloveitaly/hyper-focus/archive/refs/tags/v0.1.9.tar.gz Already downloaded: /Users/er-minio/Library/Caches/Homebrew/downloads/709af88ee73b222b69e3ada32921e8e549b1d9b084037b1c5e93c04a37f5eec7--hyper-focus-0.1.9.tar.gz ==> Verifying checksum for '709af88ee73b222b69e3ada32921e8e549b1d9b084037b1c5e93c04a37f5eec7--hyper-focus-0.1.9.tar.gz' ==> Installing hyper-focus from iloveitaly/tap /usr/bin/env tar --extract --no-same-owner --file /Users/er-minio/Library/Caches/Homebrew/downloads/709af88ee73b222b69e3ada32921e8e549b1d9b084037b1c5e93c04a37f5eec7--hyper-focus-0.1.9.tar.gz --directory /private/tmp/d20230405-6098-14t58h1 /usr/bin/env cp -pR /private/tmp/d20230405-6098-14t58h1/hyper-focus-0.1.9/. /private/tmp/hyper-focus-20230405-6098-uug2gq/hyper-focus-0.1.9 ==> swift build --disable-sandbox -c release error: terminated(1): /usr/bin/xcrun --sdk macosx --show-sdk-platform-path output: xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation xcrun: error: unable to lookup item 'PlatformPath' in SDK '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
==> Formula Tap: iloveitaly/tap Path: /opt/homebrew/Library/Taps/iloveitaly/homebrew-tap/Formula/hyper-focus.rb ==> Configuration HOMEBREW_VERSION: 4.0.11 ORIGIN: https://github.com/Homebrew/brew HEAD: 931327df1f30a3a5b1aa07657c0d1070e61988f9 Last commit: 5 days ago Core tap JSON: 05 Apr 09:01 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 10 Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: 10-core 64-bit arm_firestorm_icestorm Clang: 14.0.3 build 1403 Git: 2.39.2 => /Library/Developer/CommandLineTools/usr/bin/git Curl: 7.87.0 => /usr/bin/curl macOS: 13.3-arm64 CLT: 14.3.0.0.1.1679647830 Xcode: 14.2 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j10 CMAKE_PREFIX_PATH: /opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/13 HOMEBREW_GIT: git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
Error: iloveitaly/tap/hyper-focus 0.1.9 did not build Logs: /Users/er-minio/Library/Logs/Homebrew/hyper-focus/01.swift /Users/er-minio/Library/Logs/Homebrew/hyper-focus/00.options.out If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/iloveitaly/homebrew-tap/issues `
I fixed the PlatformPath as suggested here: https://stackoverflow.com/questions/43418533/running-swift-build-in-terminal-leading-to-platform-path-errors
Result:
`er-minio@Mac-Studio ~ % brew install -v iloveitaly/tap/hyper-focus
==> Fetching iloveitaly/tap/hyper-focus
==> Downloading https://github.com/iloveitaly/hyper-focus/archive/refs/tags/v0.1.9.tar.gz
Already downloaded: /Users/er-minio/Library/Caches/Homebrew/downloads/709af88ee73b222b69e3ada32921e8e549b1d9b084037b1c5e93c04a37f5eec7--hyper-focus-0.1.9.tar.gz
==> Verifying checksum for '709af88ee73b222b69e3ada32921e8e549b1d9b084037b1c5e93c04a37f5eec7--hyper-focus-0.1.9.tar.gz'
==> Installing hyper-focus from iloveitaly/tap
/usr/bin/env tar --extract --no-same-owner --file /Users/er-minio/Library/Caches/Homebrew/downloads/709af88ee73b222b69e3ada32921e8e549b1d9b084037b1c5e93c04a37f5eec7--hyper-focus-0.1.9.tar.gz --directory /private/tmp/d20230405-7083-1uqv7ib
/usr/bin/env cp -pR /private/tmp/d20230405-7083-1uqv7ib/hyper-focus-0.1.9/. /private/tmp/hyper-focus-20230405-7083-bugwms/hyper-focus-0.1.9
==> swift build --disable-sandbox -c release
warning: /Users/er-minio/Library/org.swift.swiftpm/configuration is not accessible or not writable, disabling user-level configuration features.
warning: /Users/er-minio/Library/org.swift.swiftpm/security is not accessible or not writable, disabling user-level security features.
warning: /Users/er-minio/Library/Caches/org.swift.swiftpm is not accessible or not writable, disabling user-level cache features.
warning: 'hyper-focus-0.1.9': failed loading cached manifest for 'hyper-focus-0.1.9': Error Domain=NSCocoaErrorDomain Code=4 "The file “manifests” doesn’t exist." UserInfo={NSFilePath=/Users/er-minio/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x6000015b2700 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
warning: 'hyper-focus-0.1.9':
Nice, looks like it's working! Closing this out.
I'm getting (amongst other) this error when trying to install:
Error Domain=NSCocoaErrorDomain Code=4 "The file “manifests” doesn’t exist.
Is this something on my end?