Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macos-totp-cli: rebuild 1 #146

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Formula/macos-totp-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
sha256 "82cc7c7798de320dd23b91c7fcdc76bfc3b4b60184397a5b25f025e639cfee3c"
license any_of: ["Apache-2.0", "MIT"]

bottle do
rebuild 1
end

depends_on "go" => :build

def install

Check warning on line 14 in Formula/macos-totp-cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew install --verbose --formula --build-bottle moonfruit/tap/macos-totp-cli` failed on Linux!

==> Fetching moonfruit/tap/macos-totp-cli ==> Downloading https://github.com/simnalamburt/macos-totp-cli/archive/refs/tags/v1.0.1.tar.gz Already downloaded: /home/runner/.cache/Homebrew/downloads/eda5bdb07907792bb981b13367c333989846b2e900ebea8fd93c55f54eeca58d--macos-totp-cli-1.0.1.tar.gz ==> Verifying checksum for 'eda5bdb07907792bb981b13367c333989846b2e900ebea8fd93c55f54eeca58d--macos-totp-cli-1.0.1.tar.gz' ==> Installing macos-totp-cli from moonfruit/tap /usr/bin/env tar --extract --no-same-owner --file /home/runner/.cache/Homebrew/downloads/eda5bdb07907792bb981b13367c333989846b2e900ebea8fd93c55f54eeca58d--macos-totp-cli-1.0.1.tar.gz --directory /tmp/homebrew-unpack20240906-7948-yv82zc /usr/bin/env cp -pR /tmp/homebrew-unpack20240906-7948-yv82zc/macos-totp-cli-1.0.1/. /tmp/macos-totp-cli-20240906-7948-sk2oab/macos-totp-cli-1.0.1 ==> go build -trimpath -o=/home/linuxbrew/.linuxbrew/Cellar/macos-totp-cli/1.0.1/bin/macos-totp-cli -ldflags=-s -w -o totp go: downloading github.com/makiuchi-d/gozxing v0.1.1 go: downloading github.com/keybase/go-keychain v0.0.0-20231219164618-57a3676c3af6 go: downloading github.com/spf13/cobra v1.8.0 go: downloading github.com/xlzd/gotp v0.1.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 go: downloading golang.org/x/text v0.14.0 # github.com/simnalamburt/macos-totp-cli ./main.go:24:19: undefined: keychain.NewItem ./main.go:25:28: undefined: keychain.SecClassGenericPassword ./main.go:30:34: undefined: keychain.SynchronizableNo ./main.go:31:30: undefined: keychain.AccessibleWhenPasscodeSetThisDeviceOnly ./main.go:32:18: undefined: keychain.AddItem ./main.go:139:22: undefined: keychain.NewItem ./main.go:140:31: undefined: keychain.SecClassGenericPassword ./main.go:142:33: undefined: keychain.MatchLimitAll ./main.go:144:29: undefined: keychain.QueryItem ./main.go:165:22: undefined: keychain.NewItem ./main.go:165:22: too many errors ==> Formula Tap: moonfruit/tap Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/moonfruit/homebrew-tap/Formula/macos-totp-cli.rb ==> Configuration HOMEBREW_VERSION: 4.3.19-78-gb511436 ORIGIN: https://github.com/Homebrew/brew HEAD: b5114360d828b098be18da0a4b6fe7bec7a504a6 Last commit: 67 minutes ago Core tap JSON: 06 Sep 10:01 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /home/runner/.cache/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: 3650 HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /home/runner/work/homebrew-tap/homebrew-tap/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set Homebrew Ruby: 3.3.4 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/ruby CPU: quad-core 64-bit zen3 Clang: 14.0.0 Git: 2.46.0 => /usr/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.5.0-1025-azure x86_64 GNU/Linux OS: Ubuntu 22.04.4 LTS (jammy) Host glibc: 2.35 /usr/bin/gcc: 11.4.0 /usr/bin/ruby: 3.0.2 glibc: N/A gcc@11: N/A gcc: N/A xorg: N/A ==> ENV HOMEBREW_CC: gcc-11 HOMEBREW_CXX: g++-11 MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew HOMEBREW_GIT: /usr/bin/git ACLOCAL_PATH: /home/linuxbrew/.linuxbrew/share/aclocal PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/go/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /home/runner/work/homebrew-tap/homebrew-tap/logs/macos-totp-cli/00.options.out /home/runner/work/homebrew-tap/homebrew-tap/logs/macos-totp-cli/01.go /home/runner/work/homebrew-tap/homebrew-tap/logs/macos-totp-cli/01.go.cc If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/moonfruit/homebrew-tap/issues Error: moonfruit/tap/macos-totp-cli 1.0.1 did not bu
system "go", "build", *std_go_args(ldflags: "-s -w"), "-o", "totp"
bin.install "totp"
ENV.prepend_path "PATH", bin
Expand Down
Loading