Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743944 - sys-cluster/kubernetes: fails to compile with musl with sandbox failure (x86_64.c:pers_is_32():36: failure (No error information))
Summary: sys-cluster/kubernetes: fails to compile with musl with sandbox failure (x86_...
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-21 12:10 UTC by Alexander Miroshnichenko
Modified: 2021-12-03 02:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=sys-cluster/kubernetes-1.18.6::gentoo' (emerge-info.txt,17.04 KB, text/plain)
2020-09-22 09:23 UTC, Alexander Miroshnichenko
Details
build log (build.log,78.70 KB, text/plain)
2020-09-22 09:56 UTC, Alexander Miroshnichenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Miroshnichenko 2020-09-21 12:10:19 UTC
sys-cluster/kubernetes failed to compile on musl libc gentoo.

Reproducible: Sometimes

Steps to Reproduce:
1. install Gentoo with musl libc
2. emerge -v sys-cluster/kubernetes
3. compile fail



Actual Results:  
k8s.io/kubernetes/vendor/k8s.io/kube-openapi/pkg/generators
k8s.io/kubernetes/vendor/k8s.io/kube-openapi/cmd/openapi-gen
+++ [0920 21:43:06] Building go targets for linux/amd64:
    ./vendor/github.com/go-bindata/go-bindata/go-bindata
k8s.io/kubernetes/vendor/github.com/go-bindata/go-bindata
k8s.io/kubernetes/vendor/github.com/go-bindata/go-bindata/go-bindata
warning: ignoring symlink /var/tmp/portage/sys-cluster/kubernetes-1.18.6/work/kubernetes-1.18.6/_output/local/go/src/k8s.io/kubernetes
go: warning: "k8s.io/kubernetes/vendor/github.com/go-bindata/go-bindata/..." matched no packages
 * /var/tmp/portage/sys-apps/sandbox-2.18/work/sandbox-2.18/libsandbox/trace/linux/x86_64.c:pers_is_32():36: failure (No error information):
 * unknown x86_64 (CS) personalityhack/generate-bindata.sh: line 52: 12829 Aborted                 (core dumped) gofmt -s -w "${BINDATA_OUTPUT}.tmp"
make[1]: *** [Makefile.generated_files:535: gen_bindata] Error 1
make: *** [Makefile:544: generated_files] Error 2
 * ERROR: sys-cluster/kubernetes-1.18.6::gentoo failed (compile phase):
 *   emake failed

Expected Results:  
No errors while compile
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-21 13:14:24 UTC
Full build.log and emerge --info please, but we may end up needing backtraces and such too.
Comment 2 Alexander Miroshnichenko 2020-09-22 09:23:03 UTC
Created attachment 661861 [details]
emerge --info '=sys-cluster/kubernetes-1.18.6::gentoo'
Comment 3 Alexander Miroshnichenko 2020-09-22 09:43:36 UTC
How to collect backtrace ?
Comment 4 Alexander Miroshnichenko 2020-09-22 09:56:47 UTC
Created attachment 661864 [details]
build log
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-03 02:25:33 UTC
(In reply to Alexander Miroshnichenko from comment #3)
> How to collect backtrace ?

I'm sorry, I missed this: https://wiki.gentoo.org/wiki/Debugging.

Anyway, this looks sandbox related.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-03 02:26:20 UTC
... that said, it's not in tree anymore.