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

2017-11-25 Thread Matteo Bernardini
2017-11-25 22:36 GMT+01:00 Thomas Szteliga :
> BTW, shouldn't this be addressed in the google-go-lang.SlackBuild?

quoting from the README:
"The tools are added to the path by putting go.sh and go.csh files in
/etc/profile.d and letting the system's /etc/profile or /etc/csh.login pick it
up."

IMHO, it looks clear enough already...

Matteo
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



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

2017-11-25 Thread Thomas Szteliga

W dniu 25/11/2017 o 21:03, Matteo Bernardini pisze:

when you have installed google-go-lang you must log out, relogin
again, and only after that build the rest of the dependencies of
docker.




Hello Matteo,

thank you for this tip.

Running

. /etc/profile.d/go.sh

before

slpg -s sbo runc

solved my problem.

BTW, shouldn't this be addressed in the google-go-lang.SlackBuild?


--
Thomas Szteliga

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



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

2017-11-25 Thread Matteo Bernardini
Hi Thomas,

when you have installed google-go-lang you must log out, relogin
again, and only after that build the rest of the dependencies of
docker.

Matteo
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



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

2017-11-25 Thread Thomas Szteliga

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




smime.p7s
Description: Kryptograficzna sygnatura S/MIME
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/