Article 6EN9R docker-cli build fails on Slackware64 -current

docker-cli build fails on Slackware64 -current

by
the_zone
from LinuxQuestions.org on (#6EN9R)
I am running a Slackware64 current of 7th of September.

Trying to install docker-cli or docker-compose fails with bot sbopkg and slucikbuilds.

Code:cli-24.0.4/vendor/modules.txt
GO_LINKMODE=dynamic ./scripts/build/binary
Building dynamic docker-linux-amd64
+ go build -o build/docker-linux-amd64 -tags ' pkcs11' -ldflags ' -X "github.com/docker/cli/cli/version.GitCommit=3713ee1eea0447bcfe27378ad247c7e245406f04" -X "github.com/docker/cli/cli/version.BuildTime=2023-09-11T13:00:19Z" -X "github.com/docker/cli/cli/version.Version=24.0.4"' -buildmode=pie github.com/docker/cli/cmd/docker
go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags
# github.com/docker/cli/cli/connhelper/commandconn
build/src/github.com/docker/cli/cli/connhelper/commandconn/commandconn.go:71:22: error: reference to undefined identifier iatomic.Booli
71 | cmdExited atomic.Bool
| ^
build/src/github.com/docker/cli/cli/connhelper/commandconn/commandconn.go:76:22: error: reference to undefined identifier iatomic.Booli
76 | stdinClosed atomic.Bool
| ^
build/src/github.com/docker/cli/cli/connhelper/commandconn/commandconn.go:77:22: error: reference to undefined identifier iatomic.Booli
77 | stdoutClosed atomic.Bool
| ^
build/src/github.com/docker/cli/cli/connhelper/commandconn/commandconn.go:78:22: error: reference to undefined identifier iatomic.Booli
78 | closing atomic.Bool
| ^
build/src/github.com/docker/cli/cli/connhelper/commandconn/commandconn.go:63:16: error: incompatible type for return value 1 (type has no methods)
63 | return &c, c.cmd.Start()
| ^
# github.com/klauspost/compress/huff0
go1: internal compiler error: in do_get_backend, at go/gofrontend/types.cc:4252
0x1b2dd56 internal_error(char const*, ...)
???:0
0x771cd8 fancy_abort(char const*, int, char const*)
???:0
0x84b953 Type::get_btype_without_hash(Gogo*)
???:0
0x7ae908 Binary_expression::do_get_backend(Translate_context*)
???:0
0x83b762 Temporary_statement::do_get_backend(Translate_context*)
???:0
0x7fa6a8 Block::get_backend(Translate_context*)
???:0
0x837492 If_statement::do_get_backend(Translate_context*)
???:0
0x7fa6a8 Block::get_backend(Translate_context*)
???:0
0x83666c Block_statement::do_get_backend(Translate_context*)
???:0
0x7fa6a8 Block::get_backend(Translate_context*)
???:0
0x83666c Block_statement::do_get_backend(Translate_context*)
???:0
0x7fa6a8 Block::get_backend(Translate_context*)
???:0
0x83666c Block_statement::do_get_backend(Translate_context*)
???:0
0x7fa6a8 Block::get_backend(Translate_context*)
???:0
0x83666c Block_statement::do_get_backend(Translate_context*)
???:0
0x7fa6a8 Block::get_backend(Translate_context*)
???:0
0x7fb2e7 Function::build(Gogo*, Named_object*)
???:0
0x8003ad Gogo::write_globals()
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make: *** [Makefile:66: dynbinary] Error 2Some dependency I am missing ?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments