|FAILURE| pw155006 [PATCH] ethdev: fix shadow variable definition

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Jul 9 21:10:15 CEST 2025


Test-Label: iol-compile-amd64-testing
Test-Status: FAILURE
http://dpdk.org/patch/155006

_Testing issues_

Submitter: Stephen Hemminger <stephen at networkplumber.org>
Date: Thursday, July 03 2025 17:24:07 
DPDK git baseline: Repo:dpdk
  Branch: master
  CommitID:ba982f9a1ca9b96ed0394b764f1523d482e963a2

155006 --> testing issues

Upstream job id: Windows-Compile-DPDK-VS#6319

Test environment and result as below:

+-------------------------------+--------------------+-------------------+------------------+-------------------+
|          Environment          | dpdk_meson_compile | dpdk_compile_spdk | dpdk_compile_ovs | dpdk_msvc_compile |
+===============================+====================+===================+==================+===================+
| CentOS Stream 9               | FAIL               | WARN              | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Debian GNU/Linux 12           | FAIL               | WARN              | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| CentOS Stream 10              | FAIL               | SKIPPED           | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Fedora Linux 40               | FAIL               | WARN              | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Fedora Linux 41               | FAIL               | WARN              | WARN             | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Red Hat Enterprise Linux 9.5  | FAIL               | SKIPPED           | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Red Hat Enterprise Linux 8.10 | FAIL               | SKIPPED           | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| openSUSE Leap 15.6            | FAIL               | SKIPPED           | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Ubuntu 20.04                  | FAIL               | SKIPPED           | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Ubuntu 22.04                  | FAIL               | WARN              | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Ubuntu 24.04                  | FAIL               | WARN              | WARN             | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Alpine Linux 3.22.0           | FAIL               | SKIPPED           | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| FreeBSD 14.2                  | FAIL               | SKIPPED           | SKIPPED          | SKIPPED           |
+-------------------------------+--------------------+-------------------+------------------+-------------------+
| Windows Server 2022           | SKIPPED            | SKIPPED           | SKIPPED          | PASS              |
+-------------------------------+--------------------+-------------------+------------------+-------------------+

==== 20 line log output for FreeBSD 14.2 (dpdk_meson_compile): ====
cc -Ilib/librte_eal.a.p -Ilib -I../lib -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.2"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LIBEAL_USE_G
 ETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c
../lib/eal/common/eal_common_options.c:274:58: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
274 | eal_option_device_add(enum rte_devtype type, const char *optarg)
|                                                          ^
/usr/include/getopt.h:70:14: note: previous declaration is here
70 | extern char *optarg;                    /* getopt(3) external variables */
|              ^
../lib/eal/common/eal_common_options.c:1585:46: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
1585 | eal_parse_common_option(int opt, const char *optarg,
|                                              ^
/usr/include/getopt.h:70:14: note: previous declaration is here
70 | extern char *optarg;                    /* getopt(3) external variables */
|              ^
2 errors generated.
[48/2142] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_uuid.c.o
[49/2142] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[50/2142] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[51/2142] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[52/2142] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
ninja: build stopped: subcommand failed.
==== End log output ====

CentOS Stream 9
	Kernel: 5.15
	Compiler: gcc gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-7)

Debian GNU/Linux 12
	Kernel: 5.15
	Compiler: gcc gcc (Debian 12.2.0-14+deb12u1) 12.2.0

CentOS Stream 10
	Kernel: 5.15
	Compiler: gcc gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-8)

Fedora Linux 40
	Kernel: 5.15
	Compiler: clang gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)

Fedora Linux 41
	Kernel: 5.15
	Compiler: gcc gcc (GCC) 14.3.1 20250523 (Red Hat 14.3.1-1)

Red Hat Enterprise Linux 9.5
	Kernel: 5.15
	Compiler: gcc gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2)

Red Hat Enterprise Linux 8.10
	Kernel: 5.15
	Compiler: gcc gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22)

openSUSE Leap 15.6
	Kernel: 5.15
	Compiler: gcc gcc (SUSE Linux) 7.5.0

Ubuntu 20.04
	Kernel: 5.15
	Compiler: gcc gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0

Ubuntu 22.04
	Kernel: 5.15
	Compiler: gcc gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

Ubuntu 24.04
	Kernel: 5.15
	Compiler: gcc gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0

Alpine Linux 3.22.0
	Kernel: 5.15
	Compiler: gcc gcc (Alpine 14.2.0) 14.2.0

FreeBSD 14.2
	Kernel: 14.2-RELEASE
	Compiler: clang 18.1.6

Windows Server 2022
	Kernel: 10.0.20348.2031
	Compiler: clang 15.0.7, gcc 14.1.0 (MinGW), and MSVC VS 19.39.33521

To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/33589/

UNH-IOL DPDK Community Lab

To manage your email subscriptions, visit: 
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/


More information about the test-report mailing list