* [OE-core][master][kirkstone][PATCH 1/2] cases/buildepoxy.py: fix typo
@ 2022-04-26 3:59 Chen Qi
2022-04-26 3:59 ` [OE-core][master][kirkstone][PATCH 2/2] go.bbclass: disable the use of the default configuration file Chen Qi
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2022-04-26 3:59 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/lib/oeqa/sdk/cases/buildepoxy.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py b/meta/lib/oeqa/sdk/cases/buildepoxy.py
index 385f8ccca8..f69f720cd6 100644
--- a/meta/lib/oeqa/sdk/cases/buildepoxy.py
+++ b/meta/lib/oeqa/sdk/cases/buildepoxy.py
@@ -17,7 +17,7 @@ class EpoxyTest(OESDKTestCase):
"""
def setUp(self):
if not (self.tc.hasHostPackage("nativesdk-meson")):
- raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain Meson")
+ raise unittest.SkipTest("EpoxyTest class: SDK doesn't contain Meson")
def test_epoxy(self):
with tempfile.TemporaryDirectory(prefix="epoxy", dir=self.tc.sdk_dir) as testdir:
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [OE-core][master][kirkstone][PATCH 2/2] go.bbclass: disable the use of the default configuration file
2022-04-26 3:59 [OE-core][master][kirkstone][PATCH 1/2] cases/buildepoxy.py: fix typo Chen Qi
@ 2022-04-26 3:59 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2022-04-26 3:59 UTC (permalink / raw)
To: openembedded-core
We need to disable the use the default configuration file. This is
to ensure that user settings do not mess things up when building go
recipes.
For example, if I set 'GOBIN=./relative/path' in $HOME/.config/go/env,
then go-runtime fails to build with error like below:
cannot install, GOBIN must be an absolute path
According to `go help environment',
"""
Setting GOENV=off in the environment disables the use of the default
configuration file.
"""
We can explicitly disable the configuration file by setting GOENV to off.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/classes/go.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index df8d4db26d..1a9a0bc1d4 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -68,6 +68,7 @@ GO_INSTALL_FILTEROUT ?= "${GO_IMPORT}/vendor/"
B = "${WORKDIR}/build"
export GOPATH = "${B}"
+export GOENV = "off"
export GOTMPDIR ?= "${WORKDIR}/build-tmp"
GOTMPDIR[vardepvalue] = ""
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-26 3:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26 3:59 [OE-core][master][kirkstone][PATCH 1/2] cases/buildepoxy.py: fix typo Chen Qi
2022-04-26 3:59 ` [OE-core][master][kirkstone][PATCH 2/2] go.bbclass: disable the use of the default configuration file Chen Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox