[Slackbuilds-users] runc: C source files not allowed when not using cgo: gccgo_c.c

Thomas Szteliga ts at websafe.pl
Sat Nov 25 19:57:45 UTC 2017


Hello,

I'm trying to build docker, but the following error occurs
when building runc, which is a docker dependency:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
runc-3f2f8b84a77f73d38244dd690525642a72156c64/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go

runc-3f2f8b84a77f73d38244dd690525642a72156c64/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

go build -i  -ldflags "-X 
main.gitCommit=3f2f8b84a77f73d38244dd690525642a72156c64 -X 
main.version=1.0.0-rc4+dev " -tags "secc 


omp" -o runc .

build/src/github.com/opencontainers/runc/libcontainer/configs/namespaces_syscall.go:5:8: 
C source files not allowed when not 


using cgo: gccgo_c.c

Makefile:28: recipe for target 'runc' failed

make: *** [runc] Error 1

Total build time for package runc : 1.09 Sec

+==============================================================================
| Some error on the package runc-1.0.0_rc4_3f2f8b8 [ FAILED ]
+==============================================================================
| See log file in '/var/log/slpkg/sbo/build_logs' directory or read README
+==============================================================================

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




/var/log/slpkg/sbo/build_logs/build_runc_log ends in:




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
runc-3f2f8b84a77f73d38244dd690525642a72156c64/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go

runc-3f2f8b84a77f73d38244dd690525642a72156c64/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

go build -i  -ldflags "-X 
main.gitCommit=3f2f8b84a77f73d38244dd690525642a72156c64 -X 
main.version=1.0.0-rc4+dev " -tags "seccomp" -o runc .

build/src/github.com/opencontainers/runc/libcontainer/configs/namespaces_syscall.go:5:8: 
C source files not allowed when not using cgo: gccgo_c.c

Makefile:28: recipe for target 'runc' failed

make: *** [runc] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Any idea how to solve this problem?


-- 
Thomas Szteliga


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3719 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20171125/bba688a8/attachment.p7s>


More information about the SlackBuilds-users mailing list