diff mbox series

[1/4] gcc-runtime: enabling "network" task specific flag

Message ID 20240808145042.3914762-1-Harish.Sadineni@windriver.com
State Accepted, archived
Commit 35782416823fa863d26a338256f642f6bc480a96
Headers show
Series [1/4] gcc-runtime: enabling "network" task specific flag | expand

Commit Message

Sadineni, Harish Aug. 8, 2024, 2:50 p.m. UTC
From: Harish Sadineni <Harish.Sadineni@windriver.com>

Adding a "network" task specific flag which then triggers networking to
be enabled for this task, it is otherwise disabled which will cause
failures while running oe-selftest.

Fixes the following issues while running oe-selftest for gcc:
1)ssh: connect to host X.X.X.X port 22: Network is unreachable.
2)Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 1 +
 1 file changed, 1 insertion(+)

Comments

Richard Purdie Aug. 9, 2024, 9:04 p.m. UTC | #1
On Thu, 2024-08-08 at 07:50 -0700, Sadineni, Harish via lists.openembedded.org wrote:
> From: Harish Sadineni <Harish.Sadineni@windriver.com>
> 
> Adding a "network" task specific flag which then triggers networking to
> be enabled for this task, it is otherwise disabled which will cause
> failures while running oe-selftest.
> 
> Fixes the following issues while running oe-selftest for gcc:
> 1)ssh: connect to host X.X.X.X port 22: Network is unreachable.
> 2)Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf.
> 
> Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
> ---
>  meta/recipes-devtools/gcc/gcc-runtime.inc | 1 +
>  1 file changed, 1 insertion(+)

This series looks like good progress but we did see a build fail in testing:

https://autobuilder.yoctoproject.org/typhoon/#/builders/145/builds/2038/steps/12/logs/stdio

Cheers,

Richard
diff mbox series

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 8e0d1a6889..7afe34ebed 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -292,6 +292,7 @@  do_check[prefuncs] += "extend_recipe_sysroot"
 do_check[prefuncs] += "check_prepare"
 do_check[dirs] = "${WORKDIR}/dejagnu ${B}"
 do_check[nostamp] = "1"
+do_check[network] = "1"
 do_check() {
     export DEJAGNU="${WORKDIR}/dejagnu/site.exp"