Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/98383 _Compilation issues_ Submitter: Stephen Hemminger Date: 2021-09-08 17:16:44 Reply_mail: 20210908171644.26571-9-stephen@networkplumber.org DPDK git baseline: Repo:dpdk, CommitID: b344eb5d941a7522ff27b6b7b5419f68c3fea9a0 Meson Build Summary: 22 Builds Done, 14 Successful, 8 Failures, 0 Blocked +----------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +----------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | pass | pass | fail | | | fail | | RHEL83-64 | pass | pass | fail | pass | fail | | | FC34-64 | pass | pass | | | | | | UB2104-64 | pass | | | | | | | WIN10-64 | | fail | | | | | | UB2004-32 | pass | | | | | | | CENTOS83-64 | pass | pass | | | | | | FreeBSD1201-64 | fail | pass | | fail | fail | | | SUSE15-64 | pass | pass | | | | | +----------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc OS: RHEL83-64 Kernel Version: 4.18.0-305.3.1.el8.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc OS: FC34-64 Kernel Version: 5.11.15-300.fc34.x86_64 GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2104-64 Kernel Version: 5.11.0-16-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0 Clang Version: 12.0.0-1ubuntu1 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: CENTOS83-64 Kernel Version: 4.18.0-240.1.1.el8_3.x86_64 GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-lp152.57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 9.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc FAILED: app/dpdk-dumpcap.p/dumpcap_main.c.o gcc -Iapp/dpdk-dumpcap.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/pdump -I../lib/pdump -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-dumpcap.p/dumpcap_main.c.o -MF app/dpdk-dumpcap.p/dumpcap_main.c.o.d -o app/dpdk-dumpcap.p/dumpcap_main.c.o -c ../app/dumpcap/main.c ../app/dumpcap/main.c: In function 'create_output': ../app/dumpcap/main.c:625:33: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Werror=format-truncation=] 625 | snprintf(os, sizeof(os), "%s %s", | ^~ 626 | uts.sysname, uts.release); | ~~~~~~~~~~~ ../app/dumpcap/main.c:625:4: note: 'snprintf' output between 2 and 512 bytes into a destination of size 256 625 | snprintf(os, sizeof(os), "%s %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 626 | uts.sysname, uts.release); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1748/2143] Compiling C object drivers/librte_baseband_acc100.so.22.0.p/meson-generated_.._rte_baseband_acc100.pmd.c.o [1749/2143] Generating rte_baseband_turbo_sw.sym_chk with a meson_exe.py custom command [1750/2143] Generating rte_baseband_acc100.sym_chk with a meson_exe.py custom command [1751/2143] Compiling C object app/dpdk-proc-info.p/proc-info_main.c.o [1752/2143] Compiling C object app/dpdk-test-acl.p/test-acl_main.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: app/dpdk-dumpcap.p/dumpcap_main.c.o gcc -Iapp/dpdk-dumpcap.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/pdump -I../lib/pdump -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-dumpcap.p/dumpcap_main.c.o -MF app/dpdk-dumpcap.p/dumpcap_main.c.o.d -o app/dpdk-dumpcap.p/dumpcap_main.c.o -c ../app/dumpcap/main.c ../app/dumpcap/main.c: In function 'create_output': ../app/dumpcap/main.c:625:33: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Werror=format-truncation=] 625 | snprintf(os, sizeof(os), "%s %s", | ^~ 626 | uts.sysname, uts.release); | ~~~~~~~~~~~ ../app/dumpcap/main.c:625:4: note: 'snprintf' output between 2 and 512 bytes into a destination of size 256 625 | snprintf(os, sizeof(os), "%s %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 626 | uts.sysname, uts.release); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1721/2023] Generating rte_event_octeontx.pmd.c with a custom command [1722/2023] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o [1723/2023] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o [1724/2023] Generating rte_event_sw.sym_chk with a meson_exe.py custom command [1725/2023] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o [1726/2023] Compiling C object app/dpdk-pdump.p/pdump_main.c.o [1727/2023] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o [1728/2023] Compiling C object drivers/libtmp_rte_baseband_acc100.a.p/baseband_acc100_rte_acc100_pmd.c.o [1729/2023] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o gcc -Ilib/librte_pcapng.a.p -Ilib -I../lib -Ilib/pcapng -I../lib/pcapng -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.pcapng -MD -MQ lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o -MF lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o.d -o lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o -c ../lib/pcapng/rte_pcapng.c In file included from ../lib/pcapng/rte_pcapng.c:19: ../lib/pcapng/rte_pcapng.c: In function 'rte_pcapng_copy': ../lib/pcapng/rte_pcapng.c:405:43: error: returning 'int' from a function with return type 'struct rte_mbuf *' makes pointer from integer without a cast [-Werror=int-conversion] 405 | RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -EINVAL); | ^ ../lib/ethdev/rte_ethdev.h:1736:10: note: in definition of macro 'RTE_ETH_VALID_PORTID_OR_ERR_RET' 1736 | return retval; \ | ^~~~~~ cc1: all warnings being treated as errors [339/2143] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o [340/2143] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o [341/2143] Generating security.sym_chk with a meson_exe.py custom command [342/2143] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o [343/2143] Generating rib.sym_chk with a meson_exe.py custom command [344/2143] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o [345/2143] Generating symbol file lib/librte_eal.so.22.0.p/librte_eal.so.22.0.symbols [346/2143] Compiling C object lib/librte_ipsec.a.p/ipsec_ipsec_sad.c.o [347/2143] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o ninja: build stopped *Build Failed #4: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_pdump.a.p/pdump_rte_pdump.c.o icc -Ilib/librte_pdump.a.p -Ilib -I../lib -Ilib/pdump -I../lib/pdump -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.pdump -MD -MQ lib/librte_pdump.a.p/pdump_rte_pdump.c.o -MF lib/librte_pdump.a.p/pdump_rte_pdump.c.o.d -o lib/librte_pdump.a.p/pdump_rte_pdump.c.o -c ../lib/pdump/rte_pdump.c ../lib/pdump/rte_pdump.c(754): error #167: argument of type "struct rte_pdump_stats (*)[1024]" is incompatible with parameter of type "const struct rte_pdump_stats (*)[1024]" pdump_sum_stats(port, dev_info.nb_rx_queues, pdump_stats->rx, stats); ^ ../lib/pdump/rte_pdump.c(755): error #167: argument of type "struct rte_pdump_stats (*)[1024]" is incompatible with parameter of type "const struct rte_pdump_stats (*)[1024]" pdump_sum_stats(port, dev_info.nb_tx_queues, pdump_stats->tx, stats); ^ compilation aborted for ../lib/pdump/rte_pdump.c (code 2) [468/3021] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [469/3021] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlantic_atl_ethdev.c.o [470/3021] Compiling C object lib/librte_table.a.p/table_rte_table_acl.c.o [471/3021] Compiling C object lib/librte_port.a.p/port_rte_swx_port_source_sink.c.o [472/3021] Generating ethdev.sym_chk with a meson_exe.py custom command [473/3021] Compiling C object lib/librte_port.a.p/port_rte_port_sym_crypto.c.o [474/3021] Compiling C object lib/librte_port.a.p/port_rte_port_eventdev.c.o [475/3021] Compiling C object lib/librte_port.a.p/port_rte_port_kni.c.o [476/3021] Compiling C object lib/librte_port.a.p/port_rte_port_ring.c.o [477/3021] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [478/3021] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o ninja: build stopped *Build Failed #5: OS: WIN10-64 Target: x86_64-windows-clang Compiler for C supports arguments -mavx: YES Run-time dependency jansson found: NO (tried pkgconfig) lib\meson.build:163:12: ERROR: Problem encountered: Missing internal dependency "bpf" for pdump [lib/pdump] A full log can be found at C:\windows-dpdk\dpdk\build\meson-logs\meson-log.txt ninja: Entering directory `build' *Build Failed #6: OS: UB2004-64 Target: x86_64-native-linuxapp-doc FAILED: doc/api/html /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18770/dpdk/doc/api/generate_doxygen.sh doc/api/doxy-api.conf doc/api/html /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18770/dpdk/doc/api/doxy-html-custom.sh /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18770/dpdk/lib/pdump/rte_pdump.h:172: error: argument 'filter' of command @param is not found in the argument list of rte_pdump_enable_bpf_by_deviceid(const char *device_id, uint16_t queue, uint32_t flags, uint32_t snaplen, struct rte_ring *ring, struct rte_mempool *mp, const struct rte_bpf_prm *prm) (warning treated as error, aborting now) [2635/2661] Generating rte_kni with a custom command. make: Entering directory '/usr/src/linux-headers-5.8.0-48-generic' CC [M] /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18770/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/kni_net.o CC [M] /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18770/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/kni_misc.o LD [M] /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18770/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/rte_kni.o MODPOST /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18770/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/Module.symvers CC [M] /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18770/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/rte_kni.mod.o LD [M] /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18770/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/rte_kni.ko make: Leaving directory '/usr/src/linux-headers-5.8.0-48-generic' [2636/2661] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'. [2637/2661] Generating html_guides with a custom command. [2638/2661] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker.c.o'. [2639/2661] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker_dual.c.o'. ninja: build stopped *Build Failed #7: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o gcc -Ilib/76b5a35@@rte_pcapng@sta -Ilib -I../lib -Ilib/pcapng -I../lib/pcapng -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.pcapng -MD -MQ 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o' -MF 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o.d' -o 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o' -c ../lib/pcapng/rte_pcapng.c In file included from ../lib/pcapng/rte_pcapng.c:19: ../lib/pcapng/rte_pcapng.c: In function ‘rte_pcapng_copy’: ../lib/pcapng/rte_pcapng.c:405:43: error: returning ‘int’ from a function with return type ‘struct rte_mbuf *’ makes pointer from integer without a cast [-Werror=int-conversion] RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -EINVAL); ^ ../lib/ethdev/rte_ethdev.h:1736:10: note: in definition of macro ‘RTE_ETH_VALID_PORTID_OR_ERR_RET’ return retval; \ ^~~~~~ cc1: all warnings being treated as errors [344/2832] Linking target lib/librte_member.so.22.0. [345/2832] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power.c.o'. [346/2832] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_empty_poll.c.o'. [347/2832] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_cppc_cpufreq.c.o'. [348/2832] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_pstate_cpufreq.c.o'. ninja: build stopped *Build Failed #8: OS: RHEL83-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_pdump.a.p/pdump_rte_pdump.c.o icc -Ilib/librte_pdump.a.p -Ilib -I../lib -Ilib/pdump -I../lib/pdump -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.pdump -MD -MQ lib/librte_pdump.a.p/pdump_rte_pdump.c.o -MF lib/librte_pdump.a.p/pdump_rte_pdump.c.o.d -o lib/librte_pdump.a.p/pdump_rte_pdump.c.o -c ../lib/pdump/rte_pdump.c ../lib/pdump/rte_pdump.c(754): error #167: argument of type "struct rte_pdump_stats (*)[1024]" is incompatible with parameter of type "const struct rte_pdump_stats (*)[1024]" pdump_sum_stats(port, dev_info.nb_rx_queues, pdump_stats->rx, stats); ^ ../lib/pdump/rte_pdump.c(755): error #167: argument of type "struct rte_pdump_stats (*)[1024]" is incompatible with parameter of type "const struct rte_pdump_stats (*)[1024]" pdump_sum_stats(port, dev_info.nb_tx_queues, pdump_stats->tx, stats); ^ compilation aborted for ../lib/pdump/rte_pdump.c (code 2) [494/3084] Compiling C object lib/librte_port.a.p/port_rte_swx_port_fd.c.o [495/3084] Linking target lib/librte_fib.so.22.0 [496/3084] Compiling C object lib/librte_table.a.p/table_rte_swx_table_wm.c.o [497/3084] Compiling C object lib/librte_port.a.p/port_rte_swx_port_source_sink.c.o [498/3084] Compiling C object lib/librte_port.a.p/port_rte_port_eventdev.c.o [499/3084] Compiling C object lib/librte_port.a.p/port_rte_port_kni.c.o [500/3084] Compiling C object lib/librte_port.a.p/port_rte_port_ring.c.o [501/3084] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [502/3084] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o ninja: build stopped DPDK STV team