>>> Starting src_compile Error: * In program cave perform install --hooks --managed-output --output-exclusivity with-others =dev-db/etcd-2.0.10-r1:0::gentoo --destination installed --x-of-y 1 of 1: * When installing 'dev-db/etcd-2.0.10-r1:0::gentoo': * When running an ebuild command on 'dev-db/etcd-2.0.10-r1:0::gentoo': * Install failed for 'dev-db/etcd-2.0.10-r1:0::gentoo' (paludis::ActionFailedError) WORK=/var/tmp/paludis/dev-db-etcd-2.0.10-r1/temp/go-build998492715 package github.com/coreos/etcd imports runtime: C source files not allowed when not using cgo or SWIG: atomic_amd64x.c defs.c float.c heapdump.c lfstack.c malloc.c mcache.c mcentral.c mem_linux.c mfixalloc.c mgc0.c mheap.c msize.c os_linux.c panic.c parfor.c proc.c runtime.c signal.c signal_amd64x.c signal_unix.c stack.c string.c sys_x86.c vdso_linux_amd64.c !!! ERROR in dev-db/etcd-2.0.10-r1::gentoo: !!! In src_compile at line 3856 !!! (no message provided) !!! Call stack: !!! * src_compile (/var/tmp/paludis/dev-db-etcd-2.0.10-r1/temp/loadsaveenv:3856) !!! * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:668) !!! * main (/usr/libexec/paludis/ebuild.bash:691) Same error with newer versions of etcd as well.
Still a problem? I've added etcd-2.2.5 recently.
Still same error with dev-db/etcd-2.2.5
(In reply to Harris Landgarten from comment #0) > imports runtime: C source files not allowed when not using cgo or SWIG: > atomic_amd64x.c defs.c float.c heapdump.c lfstack.c malloc.c mcache.c > mcentral.c mem_linux.c mfixalloc.c mgc0.c mheap.c msize.c os_linux.c panic.c > parfor.c proc.c runtime.c signal.c signal_amd64x.c signal_unix.c stack.c > string.c sys_x86.c vdso_linux_amd64.c I think this message might indicate that you have CGO_ENABLED=0 exported in your environment. Does it build if you export CGO_ENABLED=1 instead?
CGO_ENABLED is not in the environment at all export CGO_ENABLED=1 and cave install etcd -zx Checking 'etcd-2.2.5.tar.gz'... ok >>> Running ebuild phase killold as root:root... >>> Starting builtin_killold >>> Done builtin_killold >>> Completed ebuild phase killold >>> Running ebuild phases init saveenv as paludisbuild:paludisbuild... >>> Starting builtin_init >>> Done builtin_init >>> Starting builtin_saveenv >>> Done builtin_saveenv >>> Completed ebuild phases init saveenv >>> Running ebuild phases loadenv setup saveenv as root:root... >>> Starting builtin_loadenv >>> Done builtin_loadenv >>> Starting pkg_setup >>> Done pkg_setup >>> Starting builtin_saveenv >>> Done builtin_saveenv >>> Completed ebuild phases loadenv setup saveenv >>> Running ebuild phases loadenv unpack saveenv as paludisbuild:paludisbuild... >>> Starting builtin_loadenv >>> Done builtin_loadenv >>> Starting src_unpack >>> Unpacking etcd-2.2.5.tar.gz to /var/tmp/paludis/dev-db-etcd-2.2.5/work tar zxf /usr/portage/distfiles/etcd-2.2.5.tar.gz --no-same-owner >>> Done src_unpack >>> Starting builtin_saveenv >>> Done builtin_saveenv >>> Completed ebuild phases loadenv unpack saveenv >>> Running ebuild phases loadenv prepare saveenv as paludisbuild:paludisbuild... >>> Starting builtin_loadenv >>> Done builtin_loadenv >>> Starting src_prepare >>> Done src_prepare >>> Starting builtin_saveenv >>> Done builtin_saveenv >>> Completed ebuild phases loadenv prepare saveenv >>> Running ebuild phases loadenv configure saveenv as paludisbuild:paludisbuild... >>> Starting builtin_loadenv >>> Done builtin_loadenv >>> Starting src_configure >>> Done src_configure >>> Starting builtin_saveenv >>> Done builtin_saveenv >>> Completed ebuild phases loadenv configure saveenv >>> Running ebuild phases loadenv compile saveenv as paludisbuild:paludisbuild... >>> Starting builtin_loadenv >>> Done builtin_loadenv >>> Starting src_compile WORK=/var/tmp/paludis/dev-db-etcd-2.2.5/temp/go-build512349225 Error: * In program cave perform install --hooks --managed-output --output-exclusivity with-others =dev-db/etcd-2.2.5:0::gentoo --destination installed --x-of-y 1 of 1: * When installing 'dev-db/etcd-2.2.5:0::gentoo': * When running an ebuild command on 'dev-db/etcd-2.2.5:0::gentoo': * Install failed for 'dev-db/etcd-2.2.5:0::gentoo' (paludis::ActionFailedError) package github.com/coreos/etcd imports runtime: C source files not allowed when not using cgo or SWIG: atomic_amd64x.c defs.c float.c heapdump.c lfstack.c malloc.c mcache.c mcentral.c mem_linux.c mfixalloc.c mgc0.c mheap.c msize.c os_linux.c panic.c parfor.c proc.c runtime.c signal.c signal_amd64x.c signal_unix.c stack.c string.c sys_x86.c vdso_linux_amd64.c !!! ERROR in dev-db/etcd-2.2.5::gentoo: !!! In src_compile at line 2730 !!! (no message provided) !!! Call stack: !!! * src_compile (/var/tmp/paludis/dev-db-etcd-2.2.5/temp/loadsaveenv:2730) !!! * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:675) !!! * main (/usr/libexec/paludis/ebuild.bash:698) diefunc: making ebuild PID 24645 exit with error die trap: exiting with error. Failed install to / for dev-db/etcd-2.2.5:0::gentoo
With dev-lang/go-1.15.6-r1 and dev-db/etcd-3.3.23, this doesn't seem to happen (althrough I only tested this with portage, dunno if paludis induces this bug).
(In reply to Erik Zscheile from comment #5) > With dev-lang/go-1.15.6-r1 and dev-db/etcd-3.3.23, this doesn't seem to > happen (althrough I only tested this with portage, dunno if paludis induces > this bug). Thanks!