Article 5Q8SA [SOLVED] Building containerd for Slackware 14.2 with the Slackbuild

[SOLVED] Building containerd for Slackware 14.2 with the Slackbuild

by
Moun
from LinuxQuestions.org on (#5Q8SA)
(Problem solved reported here in case it could be useful.)

I got an error when building containerd with the Slackbuild.

Code:+ bin/ctr
go: cannot find main module, but found vendor.conf in /tmp/SBo/containerd-1.4.3
to create a module there, run:
go mod init
Makefile:193: recipe for target 'bin/ctr' failed
make: *** [bin/ctr] Error 1Which is obviously the same issue reported in Github memory.

The provided solution in the link above worked:
Code:$ GO111MODULE=auto ./containerd.SlackBuildlatest?d=yIl2AUoC8zA latest?i=qu0r4MMwM3Q:yAcbozQ1gtU:F7zBnMy latest?i=qu0r4MMwM3Q:yAcbozQ1gtU:V_sGLiP latest?d=qj6IDK7rITs latest?i=qu0r4MMwM3Q:yAcbozQ1gtU:gIN9vFwqu0r4MMwM3Q
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