-
-
Notifications
You must be signed in to change notification settings - Fork 130
Description
First, thanks for this awesome project I use for my personal backups every month!
Describe the bug
Hi! I'm trying to build the package while making a Homebrew Formulae.
It states that go 1.24 is needed, although readme states it requires 1.21.
To Reproduce
Follow the build instructions from the readme: go build .
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
==> go build .
go: ../../go.mod requires go >= 1.24.0 (running go 1.21.13; GOTOOLCHAIN=local)
/usr/bin/env /usr/bin/ruby -e puts\ RUBY_VERSION
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromNameLoader): loading glibc
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromNameLoader): loading gcc@12
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromNameLoader): loading gcc
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/ignorable.rb:30:in 'block in Object#raise'
BuildError: Failed executing: go build .
Platform Info
Modern linux distro:
Kernel: 6.17.9-2-cachyos
CPU: Intel i5-9600K (6) @ 4.700GHz
==> Configuration
HOMEBREW_VERSION: 5.0.9-41-gd4b292b
ORIGIN: https://github.com/Homebrew/brew
HEAD: d4b292bde95df19cb73dcb7b8a65b8e61879d8bf
Last commit: 22 hours ago
Branch: main
Core tap HEAD: 29e09eff897180cfdaf0fbebfb14188e881043df
Core tap last commit: 10 minutes ago
Core tap JSON: 10 Jan 17:07 UTC
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :0
HOMEBREW_DOWNLOAD_CONCURRENCY: 12
HOMEBREW_EDITOR: nvim
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 6
HOMEBREW_NO_INSTALL_FROM_API: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.4.8 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.8/bin/ruby
CPU: hexa-core 64-bit skylake
Clang: 21.1.6
Git: 2.52.0 => /bin/git
Curl: 8.17.0 => /bin/curl
Kernel: Linux 6.17.9-2-cachyos x86_64 GNU/Linux
OS: CachyOS
Host glibc: 2.42
Host libstdc++: 6.0.34
/usr/bin/gcc: 15.2.1
/usr/bin/env /usr/bin/ruby -e puts\ RUBY_VERSION
/usr/bin/ruby: N/A
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading glibc
glibc: N/A
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading gcc@12
gcc@12: N/A
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading gcc
gcc: 15.2.0
xorg: N/A
==> ENV
HOMEBREW_CC: gcc-15
HOMEBREW_CXX: g++-15
MAKEFLAGS: -j6
CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew/opt/node@24:/home/linuxbrew/.linuxbrew/opt/[email protected]:/home/linuxbrew/.linuxbrew
PKG_CONFIG_LIBDIR:
HOMEBREW_MAKE_JOBS: 6
HOMEBREW_GIT: git
PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/node@24/bin:/home/linuxbrew/.linuxbrew/opt/[email protected]/bin:/home/linuxbrew/.linuxbrew/opt/goreleaser/bin:/home/linuxbrew/.linuxbrew/opt/binutils/bin:/usr/bin:/bin:/usr/sbin:/sbin:/home/linuxbrew/.linuxbrew/opt/gcc/bin
Error: backrest 1.10.1 did not build
Logs:
/home/dk/.cache/Homebrew/Logs/backrest/00.options.out
/home/dk/.cache/Homebrew/Logs/backrest/01.npm.log
/home/dk/.cache/Homebrew/Logs/backrest/02.npm.log
/home/dk/.cache/Homebrew/Logs/backrest/03.go.log
READ THIS: https://docs.brew.sh/Troubleshooting
/usr/bin/env PATH=/home/linuxbrew/.linuxbrew/opt/gh/bin:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared:/usr/bin:/bin:/usr/sbin:/sbin HOME=/home/dk gh auth token --hostname github.com
/usr/bin/env HOME=/home/dk git credential-osxkeychain get
/usr/bin/env PATH=/home/linuxbrew/.linuxbrew/opt/gh/bin:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared:/usr/bin:/bin:/usr/sbin:/sbin HOME=/home/dk gh auth token --hostname github.com
/usr/bin/env HOME=/home/dk git credential-osxkeychain get
/usr/bin/env /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/5.0.9-41-gd4b292b\ (Linux;\ x86_64\ CachyOS)\ curl/8.17.0 --header Accept-Language:\ en --retry 3 --location https://api.github.com/search/issues\?q=backrest+repo\%3AHomebrew\%2Fhomebrew-core+state\%3Aopen+type\%3Aissue+in\%3Atitle\&per_page=100 --header Accept:\ application/vnd.github+json --write-out '
'%{http_code} --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/github_api_headers20260110-26689-gjxouh
Additional context
I suppose you just have to update the readme, if move onto go 1.24 was intentional