This change calls go-env_set_compile_environment in golang-vcs's
src_unpack to set up a sane compile environment early in the go build
process. This un-breaks cross compiling of all golang ebuilds that
inherit golang-vcs.
Signed-off-by: Thilo Fromm <thilo.alexander@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33539
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This change calls go-env_set_compile_environment in
golang-vcs-snapshot's src_unpack to set up a sane compile environment
early in the go build process. This un-breaks cross compiling of all
golang ebuilds that inherit golang-vcs-snapshot.
Signed-off-by: Thilo Fromm <thilo.alexander@gmail.com>
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This change calls go-env_set_compile_environment in go-module's
src_unpack to set up a sane compile environment early in the go build
process. This un-breaks cross compiling of all golang ebuilds that
inherit go-module.
Signed-off-by: Thilo Fromm <thilo.alexander@gmail.com>
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This change adds a helper function to explicitly set CC, CXX, and
GOARCH, and carrying over CFLAGS, LDFLAGS and friends to CGO
equivalents, to provide a minimal sane compile environment for Go.
It enables Go builds to play nice with crossdev's wrappers for
emerge/ebuild etc. Previously, Go ebuilds emitted binaries for the host
architecture.
For example, when running on an x86_64 host:
emerge-aarch64-cross-linux-gnu foo
will now correctly emerge Go package "foo" for aarch64 instead of
x86_64.
The eclass provides a single helper function
go-env_set_compile_environment()
intended to be called by other Go eclasses in an early build stage.
Ebuilds may also explicitly call this function.
Signed-off-by: Thilo Fromm <thilo.alexander@gmail.com>
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Emacs pinentry will only work when it can talk to its server counterpart
from either app-editors/emacs:25 or app-emacs/pinentry.
While gpg2 will work without this (in "loopback" pinentry-mode), the
Emacs pinentry dialog is still needed with gpgsm, e.g. when signing
e-mail with a S/MIME certificate.
Technically, the dependency could be on "|| ( app-emacs/pinentry
app-editors/emacs:25 )", but pulling in a previous slot of Emacs doesn't
seem useful.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This fixes the configure phase, however it still fails to compile for qt6
so the use.mask stays in place for now
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Remove the test dependency on dev-python/nbdime since the only test
using it is ignored already because of other missing dependencies.
Signed-off-by: Michał Górny <mgorny@gentoo.org>