|FAILURE| pw156214 [RFC 8/8] pcapng: avoid shadow declaration warning
0-day Robot
robot at bytheb.org
Thu Aug 28 02:24:48 CEST 2025
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/156214/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/17281206436
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-mini" failed at step Build and test
"ubuntu-22.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-22.04-gcc-static-mingw" failed at step Build and test
"ubuntu-22.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-22.04-gcc-static-i386" failed at step Build and test
"ubuntu-22.04-gcc-riscv64" failed at step Build and test
"ubuntu-22.04-gcc-ppc64le" failed at step Build and test
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_cpt.c:5:
../drivers/common/cnxk/roc_cpt.c: In function ‘roc_cpt_dev_configure’:
../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’
196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push")
| ^~~~~~~
../lib/eal/include/rte_common.h:831:17: note: in expansion of macro ‘__rte_diagnostic_push’
831 | __rte_diagnostic_push \
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/common/cnxk/roc_platform.h:53:34: note: in expansion of macro ‘RTE_MAX’
53 | #define PLT_MAX RTE_MAX
| ^~~~~~~
../drivers/common/cnxk/roc_ie_ot.h:539:10: note: in expansion of macro ‘PLT_MAX’
539 | (PLT_MAX(sizeof(struct roc_ot_ipsec_inb_sa), sizeof(struct roc_ot_ipsec_outb_sa)))
| ^~~~~~~
../drivers/common/cnxk/roc_cpt.c:638:39: note: in expansion of macro ‘ROC_OT_IPSEC_SA_SZ_MAX’
638 | ctx_ilen = (PLT_ALIGN(ROC_OT_IPSEC_SA_SZ_MAX, ROC_ALIGN) / 128) - 1;
| ^~~~~~~~~~~~~~~~~~~~~~
[236/3605] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_cpt_debug.c.o
[237/3605] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dpi.c.o
[238/3605] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_eswitch.c.o
[239/3605] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dev.c.o
[240/3605] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_hash.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-mini" at step Build and test
####################################################################################
941 | m->data_off = (uint16_t)RTE_MIN((uint16_t)RTE_PKTMBUF_HEADROOM,
| ^~~~~~~
../lib/eal/include/rte_common.h:807:23: error: void value not ignored as it ought to be
807 | __extension__ ({ \
| ^~~~
808 | __rte_diagnostic_push \
| ~~~~~~~~~~~~~~~~~~~~~~~
809 | __rte_diagnostic_ignored_shadow \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
810 | typeof (a) _a = (a); \
| ~~~~~~~~~~~~~~~~~~~~~~
811 | typeof (b) _b = (b); \
| ~~~~~~~~~~~~~~~~~~~~~~
812 | _a < _b ? _a : _b; \
| ~~~~~~~~~~~~~~~~~~~~
813 | __rte_diagnostic_pop \
| ~~~~~~~~~~~~~~~~~~~~~~
814 | })
| ~~
../lib/mbuf/rte_mbuf.h:941:33: note: in expansion of macro ‘RTE_MIN’
941 | m->data_off = (uint16_t)RTE_MIN((uint16_t)RTE_PKTMBUF_HEADROOM,
| ^~~~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-mini" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_cpt.c:5:
../drivers/common/cnxk/roc_cpt.c: In function ‘roc_cpt_dev_configure’:
../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’
196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push")
| ^~~~~~~
../lib/eal/include/rte_common.h:831:17: note: in expansion of macro ‘__rte_diagnostic_push’
831 | __rte_diagnostic_push \
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/common/cnxk/roc_platform.h:53:34: note: in expansion of macro ‘RTE_MAX’
53 | #define PLT_MAX RTE_MAX
| ^~~~~~~
../drivers/common/cnxk/roc_ie_ot.h:539:10: note: in expansion of macro ‘PLT_MAX’
539 | (PLT_MAX(sizeof(struct roc_ot_ipsec_inb_sa), sizeof(struct roc_ot_ipsec_outb_sa)))
| ^~~~~~~
../drivers/common/cnxk/roc_cpt.c:638:39: note: in expansion of macro ‘ROC_OT_IPSEC_SA_SZ_MAX’
638 | ctx_ilen = (PLT_ALIGN(ROC_OT_IPSEC_SA_SZ_MAX, ROC_ALIGN) / 128) - 1;
| ^~~~~~~~~~~~~~~~~~~~~~
[236/7149] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_hash.c.o
[237/7149] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_cpt_debug.c.o
[238/7149] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dpi.c.o
[239/7149] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_eswitch.c.o
[240/7149] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-static-mingw" at step Build and test
####################################################################################
941 | m->data_off = (uint16_t)RTE_MIN((uint16_t)RTE_PKTMBUF_HEADROOM,
| ^~~~~~~
../lib/eal/include/rte_common.h:807:16: error: void value not ignored as it ought to be
807 | __extension__ ({ \
| ^~~~
808 | __rte_diagnostic_push \
| ~~~~~~~~~~~~~~~~~~~~~~~
809 | __rte_diagnostic_ignored_shadow \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
810 | typeof (a) _a = (a); \
| ~~~~~~~~~~~~~~~~~~~~~~
811 | typeof (b) _b = (b); \
| ~~~~~~~~~~~~~~~~~~~~~~
812 | _a < _b ? _a : _b; \
| ~~~~~~~~~~~~~~~~~~~~
813 | __rte_diagnostic_pop \
| ~~~~~~~~~~~~~~~~~~~~~~
814 | })
| ~~
../lib/mbuf/rte_mbuf.h:941:26: note: in expansion of macro ‘RTE_MIN’
941 | m->data_off = (uint16_t)RTE_MIN((uint16_t)RTE_PKTMBUF_HEADROOM,
| ^~~~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-mingw" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_cpt.c:5:
../drivers/common/cnxk/roc_cpt.c: In function ‘roc_cpt_dev_configure’:
../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’
196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push")
| ^~~~~~~
../lib/eal/include/rte_common.h:831:17: note: in expansion of macro ‘__rte_diagnostic_push’
831 | __rte_diagnostic_push \
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/common/cnxk/roc_platform.h:53:34: note: in expansion of macro ‘RTE_MAX’
53 | #define PLT_MAX RTE_MAX
| ^~~~~~~
../drivers/common/cnxk/roc_ie_ot.h:539:10: note: in expansion of macro ‘PLT_MAX’
539 | (PLT_MAX(sizeof(struct roc_ot_ipsec_inb_sa), sizeof(struct roc_ot_ipsec_outb_sa)))
| ^~~~~~~
../drivers/common/cnxk/roc_cpt.c:638:39: note: in expansion of macro ‘ROC_OT_IPSEC_SA_SZ_MAX’
638 | ctx_ilen = (PLT_ALIGN(ROC_OT_IPSEC_SA_SZ_MAX, ROC_ALIGN) / 128) - 1;
| ^~~~~~~~~~~~~~~~~~~~~~
[234/7063] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_bphy_cgx.c.o
[235/7063] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dpi.c.o
[236/7063] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_cpt_debug.c.o
[237/7063] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_eswitch.c.o
[238/7063] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
941 | m->data_off = (uint16_t)RTE_MIN((uint16_t)RTE_PKTMBUF_HEADROOM,
| ^~~~~~~
../lib/eal/include/rte_common.h:807:23: error: void value not ignored as it ought to be
807 | __extension__ ({ \
| ^~~~
808 | __rte_diagnostic_push \
| ~~~~~~~~~~~~~~~~~~~~~~~
809 | __rte_diagnostic_ignored_shadow \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
810 | typeof (a) _a = (a); \
| ~~~~~~~~~~~~~~~~~~~~~~
811 | typeof (b) _b = (b); \
| ~~~~~~~~~~~~~~~~~~~~~~
812 | _a < _b ? _a : _b; \
| ~~~~~~~~~~~~~~~~~~~~
813 | __rte_diagnostic_pop \
| ~~~~~~~~~~~~~~~~~~~~~~
814 | })
| ~~
../lib/mbuf/rte_mbuf.h:941:33: note: in expansion of macro ‘RTE_MIN’
941 | m->data_off = (uint16_t)RTE_MIN((uint16_t)RTE_PKTMBUF_HEADROOM,
| ^~~~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_cpt.c:5:
../drivers/common/cnxk/roc_cpt.c: In function ‘roc_cpt_dev_configure’:
../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’
196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push")
| ^~~~~~~
../lib/eal/include/rte_common.h:831:17: note: in expansion of macro ‘__rte_diagnostic_push’
831 | __rte_diagnostic_push \
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/common/cnxk/roc_platform.h:53:34: note: in expansion of macro ‘RTE_MAX’
53 | #define PLT_MAX RTE_MAX
| ^~~~~~~
../drivers/common/cnxk/roc_ie_ot.h:539:10: note: in expansion of macro ‘PLT_MAX’
539 | (PLT_MAX(sizeof(struct roc_ot_ipsec_inb_sa), sizeof(struct roc_ot_ipsec_outb_sa)))
| ^~~~~~~
../drivers/common/cnxk/roc_cpt.c:638:39: note: in expansion of macro ‘ROC_OT_IPSEC_SA_SZ_MAX’
638 | ctx_ilen = (PLT_ALIGN(ROC_OT_IPSEC_SA_SZ_MAX, ROC_ALIGN) / 128) - 1;
| ^~~~~~~~~~~~~~~~~~~~~~
[232/6271] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_bphy_cgx.c.o
[233/6271] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_cpt_debug.c.o
[234/6271] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dpi.c.o
[235/6271] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_eswitch.c.o
[236/6271] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
from ../drivers/common/cnxk/roc_api.h:22,
from ../drivers/common/cnxk/roc_cpt.c:5:
../drivers/common/cnxk/roc_cpt.c: In function ‘roc_cpt_dev_configure’:
../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’
196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push")
| ^~~~~~~
../lib/eal/include/rte_common.h:831:17: note: in expansion of macro ‘__rte_diagnostic_push’
831 | __rte_diagnostic_push \
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/common/cnxk/roc_platform.h:53:34: note: in expansion of macro ‘RTE_MAX’
53 | #define PLT_MAX RTE_MAX
| ^~~~~~~
../drivers/common/cnxk/roc_ie_ot.h:539:10: note: in expansion of macro ‘PLT_MAX’
539 | (PLT_MAX(sizeof(struct roc_ot_ipsec_inb_sa), sizeof(struct roc_ot_ipsec_outb_sa)))
| ^~~~~~~
../drivers/common/cnxk/roc_cpt.c:638:39: note: in expansion of macro ‘ROC_OT_IPSEC_SA_SZ_MAX’
638 | ctx_ilen = (PLT_ALIGN(ROC_OT_IPSEC_SA_SZ_MAX, ROC_ALIGN) / 128) - 1;
| ^~~~~~~~~~~~~~~~~~~~~~
[231/6320] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o
[232/6320] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_bphy_cgx.c.o
[233/6320] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dpi.c.o
[234/6320] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_cpt_debug.c.o
[235/6320] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_dev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------
More information about the test-report
mailing list