[Bug 288857] devel/golangci-lint: built with an old Go version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Aug 2025 22:52:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288857
Bug ID: 288857
Summary: devel/golangci-lint: built with an old Go version
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: dutra@FreeBSD.org
Reporter: freebsd@samuelkarp.com
Assignee: dutra@FreeBSD.org
Flags: maintainer-feedback?(dutra@FreeBSD.org)
The latest golangci-lint in pkg (golangci-lint-2.1.6) was built with Go 1.23
and cannot run on projects targeting Go 1.24. Go 1.24 is the latest available
Go version in pkg.
```
$ pkg info go
go-1.24_9,2
Name : go
Version : 1.24_9,2
Installed on : Sat Jul 26 18:58:02 2025 UTC
Origin : lang/go
Architecture : FreeBSD:14:*
Prefix : /usr/local
Categories : lang
Licenses :
Maintainer : go@FreeBSD.org
WWW : https://golang.org
Comment : Meta-port for the default version of the Go programming
language
Annotations :
build_timestamp: 2025-07-03T10:40:38+0000
built_by : poudriere-git-3.4.2-12-g74a54a88
port_checkout_unclean: no
port_git_hash : d7951ee86
ports_top_checkout_unclean: no
ports_top_git_hash: d7951ee86
repo_type : binary
repository : FreeBSD
Flat size : 13.0B
Description :
Go is an open source programming environment that makes it easy to build
simple, reliable, and efficient software.
This is a meta port for the default version of Go, it provides symbolic links
called go and gofmt.
```
```
$ pkg info golangci-lint
golangci-lint-2.1.6
Name : golangci-lint
Version : 2.1.6
Installed on : Sat Jul 26 18:57:59 2025 UTC
Origin : devel/golangci-lint
Architecture : FreeBSD:14:amd64
Prefix : /usr/local
Categories : devel
Licenses : GPLv3
Maintainer : dutra@FreeBSD.org
WWW : https://github.com/golangci/golangci-lint
Comment : Linters Runner for Go
Options :
COMPLETIONS : on
DOCS : on
EXAMPLES : on
Shared Libs required:
libc.so.7
libthr.so.3
Annotations :
FreeBSD_version: 1402000
build_timestamp: 2025-07-03T15:39:40+0000
built_by : poudriere-git-3.4.2-12-g74a54a88
port_checkout_unclean: no
port_git_hash : d7951ee86
ports_top_checkout_unclean: no
ports_top_git_hash: d7951ee86
repo_type : binary
repository : FreeBSD
Flat size : 44.7MiB
Description :
GolangCI-Lint is a linters aggregator. It's fast, on average 5 times
faster than gometalinter. It's easy to integrate and use, has nice
output and has a minimum number of false positives. It supports go
modules.
```
```
$ # current project has `toolchain go1.24.2` in `go.mod`
$ golangci-lint run
Error: can't load config: the Go language version (go1.23) used to build
golangci-lint is lower than the targeted Go version (1.24.2)
Failed executing command with error: can't load config: the Go language version
(go1.23) used to build golangci-lint is lower than the targeted Go version
(1.24.2)
```
--
You are receiving this mail because:
You are the assignee for the bug.