[Slackbuilds-users] runc slackbuild failed to build

Christoph Willing chris.willing at linux.com
Fri May 6 07:41:59 UTC 2022


On 6/5/22 17:26, Matteo Bernardini wrote:
> hi Dimitris,
> 
> I think you haven't logged out and logged back in from your root session
> after having installed google-go-lang because from your output it seems
> you are still using go from gcc.
> 

As suggested elsewhere, I think all packages like runc which depend on
google-go-lang should have the following line, or some approved variant,
somewhere early in the SlackBuild:

[ -z "$GOROOT" ] && source /etc/profile.d/go.sh


This will remove the need to log out and back in if the google-go-lang
installation is new - as will be the case when building in a clean VM,
which many of us do.


chris


More information about the SlackBuilds-users mailing list