Summary: | app-emulation/runc-1.0.0_rc1 - QA issues | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED INVALID | ||
Severity: | QA | CC: | williamh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Martin Mokrejš
2016-06-30 22:54:48 UTC
# emerge -pqv '=app-emulation/runc-1.0.0_rc1::gentoo' [ebuild N ] app-emulation/runc-1.0.0_rc1 USE="seccomp -apparmor" The output looks like you are trying to build runc with an older version of Go. What is the output from "go version"? $ go version go version go1.4.2 linux/amd64 $ OK, you are right that the below upgrade helped: # emerge -uNpv dev-lang/go These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-lang/go-1.6.3:0/1.6.3::gentoo [1.4.2:0/0::gentoo] USE="-gccgo%" 59903 KiB Trying to install app-emulation/runc-1.0.0_rc2 with (an admitedly old) go-1.6-r1 fails with: * Package: app-emulation/runc-1.0.0_rc2 * Repository: gentoo * Maintainer: cardoe@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux seccomp userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox ln: ‘.gopath/src/..’: cannot overwrite directory fatal: Not a git repository (or any parent up to mount point /usr/unsecure) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). ln -sfn /usr/unsecure/tmp/portage/app-emulation/runc-1.0.0_rc2/work/runc-1.0.0_rc2/src/github.com/opencontainers/runc /usr/unsecure/tmp/portage/app-emulation/runc-1.0.0_rc2/work/runc-1.0.0_rc2/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/opencontainers/runc go build -i -ldflags "-X main.gitCommit="" -X main.version=1.0.0-rc2" -tags "no seccomp" -o runc . go install runtime/internal/sys: open /usr/lib/go/pkg/linux_amd64/runtime/internal/sys.a: permission denied Makefile:30: recipe for target 'all' failed make: *** [all] Error 1 Once go was updated (to 1.7.3) runc installs fine. Created attachment 452710 [details]
build.log
I upgraded to go-1.7.3 but I have a different issue now.
$ equery belongs libseccomp.so
* Searching for libseccomp.so ...
sys-libs/libseccomp-2.3.1 (/scratch/mmokrejs/gentoo_rap/usr/lib64/libseccomp.so -> libseccomp.so.2.3.1)
$
The compile process supposedly uses system-wide (which has libc 2.14) but should prefer the libc from Gentoo::RAP:
$ emerge -pv sys-libs/glibc
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-libs/glibc-2.23-r2:2.2::rap USE="gd nscd rpc -audit -caps -debug (-hardened) (-multilib) -profile (-selinux) (-suid) -systemtap -vanilla" 0 KiB
I even reinstalled sys-libs/libseccomp but that did not help.
(In reply to Martin Mokrejš from comment #6) > Created attachment 452710 [details] > build.log > > I upgraded to go-1.7.3 but I have a different issue now. Oh, wrong machine, I should file this probably as a separate issue for Gentoo::RAP. (In reply to Martin Mokrejš from comment #6) > Created attachment 452710 [details] > build.log > > I upgraded to go-1.7.3 but I have a different issue now. Btw, I had 1.7.1 actually. This package is no longer in the tree. Definitely loose dependencies. |