LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-22-2024, 11:52 AM   #1
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
Error compiling runc on Slackware 15


Code:
runc-1.1.12/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go
runc-1.1.12/vendor/google.golang.org/protobuf/runtime/protoimpl/
runc-1.1.12/vendor/google.golang.org/protobuf/runtime/protoimpl/impl.go
runc-1.1.12/vendor/google.golang.org/protobuf/runtime/protoimpl/version.go
runc-1.1.12/vendor/modules.txt
go build -trimpath "-buildmode=pie"  -tags "seccomp" -ldflags "-X main.gitCommit=51d5e94601ceffbbd85688df1c928ecccbfa4685 -X main.version=1.1.12 " -o runc .
checkpoint.go:12:2: //go:build comment without // +build comment
libcontainer/cgroups/utils.go:15:2: //go:build comment without // +build comment
make: *** [Makefile:60: runc] error 1
Any help?
Thanks
 
Old 03-22-2024, 11:55 AM   #2
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Original Poster
Rep: Reputation: 54
Very strange. Compiling on another cpu works.

Error on cpu: AMD A10-5800K APU with Radeon(tm) HD Graphics

Compile fine on: AMD Ryzen 3 3100 4-Core Processor

Last edited by camerabambai; 03-22-2024 at 11:56 AM.
 
Old 03-22-2024, 11:58 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
I had that problem, contacted the SlackBuild maintainer and his advice sorted it out:
Quote:
All you need to do is log out and back in or source /etc/profile.d/go.sh
script manually, which activates google-go-lang.
 
1 members found this post helpful.
  


Reply

Tags
error message



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] compiling the SBo for runc-1.1.4 on 15.0 leads to errors; docker! kats99 Slackware 2 11-09-2022 08:19 AM
[SOLVED] runc from slackbuilds.org does not build on Slackware 15.0 M0M0 Slackware 12 04-30-2022 11:40 PM
LXer: runC: The little container engine that could LXer Syndicated Linux News 0 08-15-2016 10:01 AM
LXer: Docker 1.11 Debuts with runC, Supports IPv6 LXer Syndicated Linux News 0 04-14-2016 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration