* |WARNING| pw124801 [PATCH] log: add timestamp for log
[not found] <20230304030437.706-1-luzhipeng@cestc.cn>
@ 2023-03-04 3:06 ` checkpatch
2023-03-04 4:39 ` |FAILURE| " 0-day Robot
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: checkpatch @ 2023-03-04 3:06 UTC (permalink / raw)
To: test-report; +Cc: luzhipeng
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/124801
_coding style issues_
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#83: FILE: lib/eal/common/eal_common_log.c:487:
+ struct tm *info;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#84: FILE: lib/eal/common/eal_common_log.c:488:
+ char date[24];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#85: FILE: lib/eal/common/eal_common_log.c:489:
+ struct timespec ts;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#86: FILE: lib/eal/common/eal_common_log.c:490:
+ long usec;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#88: FILE: lib/eal/common/eal_common_log.c:492:
+ clock_gettime(CLOCK_REALTIME, &ts);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#89: FILE: lib/eal/common/eal_common_log.c:493:
+ info = localtime(&ts.tv_sec);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#90: FILE: lib/eal/common/eal_common_log.c:494:
+ usec = ts.tv_nsec / 1000;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#91: FILE: lib/eal/common/eal_common_log.c:495:
+ if (info == NULL) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#92: FILE: lib/eal/common/eal_common_log.c:496:
+ snprintf(buf, buf_size, "[%s.%06ld] ", "unknown date", usec);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#92: FILE: lib/eal/common/eal_common_log.c:496:
+ snprintf(buf, buf_size, "[%s.%06ld] ", "unknown date", usec);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#93: FILE: lib/eal/common/eal_common_log.c:497:
+ return;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#93: FILE: lib/eal/common/eal_common_log.c:497:
+ return;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#94: FILE: lib/eal/common/eal_common_log.c:498:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#96: FILE: lib/eal/common/eal_common_log.c:500:
+ strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", info);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#97: FILE: lib/eal/common/eal_common_log.c:501:
+ snprintf(buf, buf_size, "[%s.%06ld] ", date, usec);$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#117: FILE: lib/eal/common/eal_common_log.c:524:
+ fprintf(f,"%s ",timestamp);
^
ERROR:SPACING: space required after that ',' (ctx:VxV)
#117: FILE: lib/eal/common/eal_common_log.c:524:
+ fprintf(f,"%s ",timestamp);
^
total: 4 errors, 13 warnings, 43 lines checked
zhipeng Lu <luzhipeng@cestc.cn> is unknown, please fix the commit message or update .mailmap.
zhipeng Lu <luzhipeng@cestc.cn> is unknown, please fix the commit message or update .mailmap.
^ permalink raw reply [flat|nested] 6+ messages in thread
* |FAILURE| pw124801 [PATCH] log: add timestamp for log
[not found] <20230304030437.706-1-luzhipeng@cestc.cn>
2023-03-04 3:06 ` |WARNING| pw124801 [PATCH] log: add timestamp for log checkpatch
@ 2023-03-04 4:39 ` 0-day Robot
2023-03-06 7:03 ` |SUCCESS| " qemudev
2023-03-06 7:03 ` qemudev
3 siblings, 0 replies; 6+ messages in thread
From: 0-day Robot @ 2023-03-04 4:39 UTC (permalink / raw)
To: test-report; +Cc: luzhipeng, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/124801/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/4329092516
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-mini" failed at step Build and test
"ubuntu-20.04-gcc-abi+doc+tests" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
"ubuntu-20.04-gcc-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-riscv64" failed at step Build and test
"fedora:35-gcc" failed at step Build
"fedora:35-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-mini" at step Build and test
####################################################################################
[10/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_bus.c.o'.
[11/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_class.c.o'.
[12/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_config.c.o'.
[13/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_debug.c.o'.
[14/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_dev.c.o'.
[15/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_devargs.c.o'.
[16/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_errno.c.o'.
[17/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_fbarray.c.o'.
[18/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_hexdump.c.o'.
[19/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_interrupts.c.o'.
[20/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_launch.c.o'.
[21/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_lcore.c.o'.
[22/1405] Generating kvargs.sym_chk with a meson_exe.py custom command.
[23/1405] Linking target lib/librte_kvargs.so.23.1.
[24/1405] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o
ccache gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -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 -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -c ../lib/eal/common/eal_common_log.c
../lib/eal/common/eal_common_log.c:485:1: error: no previous prototype for ‘rte_log_get_timestamp_prefix’ [-Werror=missing-prototypes]
485 | rte_log_get_timestamp_prefix(char *buf, int buf_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[25/1405] Generating telemetry.sym_chk with a meson_exe.py custom command.
[26/1405] Generating symbol file 'lib/76b5a35@@rte_kvargs@sha/librte_kvargs.so.23.1.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-mini" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-abi+doc+tests" at step Build and test
####################################################################################
[18/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_errno.c.o'.
[19/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_fbarray.c.o'.
[20/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_hexdump.c.o'.
[21/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_interrupts.c.o'.
[22/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_launch.c.o'.
[23/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_lcore.c.o'.
[24/4276] Generating telemetry.sym_chk with a meson_exe.py custom command.
[25/4276] Generating symbol file 'lib/76b5a35@@rte_kvargs@sha/librte_kvargs.so.23.1.symbols'.
[26/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_mcfg.c.o'.
[27/4276] Linking target lib/librte_telemetry.so.23.1.
[28/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memalloc.c.o'.
[29/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memory.c.o'.
[30/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memzone.c.o'.
[31/4276] Generating symbol file 'lib/76b5a35@@rte_telemetry@sha/librte_telemetry.so.23.1.symbols'.
[32/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o
ccache gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -c ../lib/eal/common/eal_common_log.c
../lib/eal/common/eal_common_log.c:485:1: error: no previous prototype for ‘rte_log_get_timestamp_prefix’ [-Werror=missing-prototypes]
485 | rte_log_get_timestamp_prefix(char *buf, int buf_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[33/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o'.
[34/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_string_fns.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-abi+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[12/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_config.c.o'.
[13/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_debug.c.o'.
[14/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_dev.c.o'.
[15/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_devargs.c.o'.
[16/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_errno.c.o'.
[17/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_fbarray.c.o'.
[18/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_hexdump.c.o'.
[19/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_interrupts.c.o'.
[20/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_launch.c.o'.
[21/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_lcore.c.o'.
[22/4276] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o
ccache clang -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -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 -Xclang -fcolor-diagnostics -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -c ../lib/eal/common/eal_common_log.c
../lib/eal/common/eal_common_log.c:485:1: error: no previous prototype for function 'rte_log_get_timestamp_prefix' [-Werror,-Wmissing-prototypes]
rte_log_get_timestamp_prefix(char *buf, int buf_size)
^
../lib/eal/common/eal_common_log.c:484:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void
^
static
1 error generated.
[23/4276] Generating kvargs.sym_chk with a meson_exe.py custom command.
[24/4276] Generating telemetry.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
[11/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memzone.c.o'.
[12/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memory.c.o'.
[13/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_class.c.o'.
[14/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_config.c.o'.
[15/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_debug.c.o'.
[16/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_dev.c.o'.
[17/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_devargs.c.o'.
[18/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_errno.c.o'.
[19/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_fbarray.c.o'.
[20/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_hexdump.c.o'.
[21/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_interrupts.c.o'.
[22/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_launch.c.o'.
[23/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_lcore.c.o'.
[24/2977] Generating kvargs.sym_chk with a meson_exe.py custom command.
[25/2977] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o
ccache gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -c ../lib/eal/common/eal_common_log.c
../lib/eal/common/eal_common_log.c:485:1: error: no previous prototype for ‘rte_log_get_timestamp_prefix’ [-Werror=missing-prototypes]
485 | rte_log_get_timestamp_prefix(char *buf, int buf_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[26/2977] Generating telemetry.sym_chk with a meson_exe.py custom command.
[27/2977] Linking target lib/librte_kvargs.so.23.1.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
[12/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_class.c.obj'.
[13/1295] Generating symbol file 'lib/76b5a35@@rte_kvargs@sha/librte_kvargs-23.dll.symbols'.
[14/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_bus.c.obj'.
[15/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_debug.c.obj'.
[16/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_config.c.obj'.
[17/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_dev.c.obj'.
[18/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_devargs.c.obj'.
[19/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_hexdump.c.obj'.
[20/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_errno.c.obj'.
[21/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_fbarray.c.obj'.
[22/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_launch.c.obj'.
[23/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_interrupts.c.obj'.
[24/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_lcore.c.obj'.
[25/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_mcfg.c.obj'.
[26/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.obj'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.obj
ccache x86_64-w64-mingw32-gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/windows/include -I../lib/eal/windows/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 -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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_WIN32_WINNT=0x0A00 -D__USE_MINGW_ANSI_STDIO -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.obj' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.obj.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.obj' -c ../lib/eal/common/eal_common_log.c
../lib/eal/common/eal_common_log.c:485:1: error: no previous prototype for ‘rte_log_get_timestamp_prefix’ [-Werror=missing-prototypes]
485 | rte_log_get_timestamp_prefix(char *buf, int buf_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[27/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memalloc.c.obj'.
[28/1295] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memory.c.obj'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-aarch64" at step Build and test
####################################################################################
[10/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_bus.c.o'.
[11/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memzone.c.o'.
[12/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memory.c.o'.
[13/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_class.c.o'.
[14/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_config.c.o'.
[15/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_debug.c.o'.
[16/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_dev.c.o'.
[17/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_devargs.c.o'.
[18/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_errno.c.o'.
[19/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_fbarray.c.o'.
[20/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_hexdump.c.o'.
[21/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_interrupts.c.o'.
[22/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_launch.c.o'.
[23/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_lcore.c.o'.
[24/3909] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o
ccache aarch64-linux-gnu-gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -c ../lib/eal/common/eal_common_log.c
../lib/eal/common/eal_common_log.c:485:1: error: no previous prototype for ‘rte_log_get_timestamp_prefix’ [-Werror=missing-prototypes]
485 | rte_log_get_timestamp_prefix(char *buf, int buf_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[25/3909] Generating kvargs.sym_chk with a meson_exe.py custom command.
[26/3909] Generating telemetry.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
[9/3759] Linking static target lib/librte_telemetry.a.
[10/3759] Compiling C object 'lib/76b5a35@@rte_telemetry@sha/telemetry_telemetry_legacy.c.o'.
[11/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_bus.c.o'.
[12/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_class.c.o'.
[13/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_config.c.o'.
[14/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_debug.c.o'.
[15/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_dev.c.o'.
[16/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_devargs.c.o'.
[17/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_errno.c.o'.
[18/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_fbarray.c.o'.
[19/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_hexdump.c.o'.
[20/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_interrupts.c.o'.
[21/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_launch.c.o'.
[22/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_lcore.c.o'.
[23/3759] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -c ../lib/eal/common/eal_common_log.c
../lib/eal/common/eal_common_log.c:485:1: error: no previous prototype for ‘rte_log_get_timestamp_prefix’ [-Werror=missing-prototypes]
485 | rte_log_get_timestamp_prefix(char *buf, int buf_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[24/3759] Generating kvargs.sym_chk with a meson_exe.py custom command.
[25/3759] Generating telemetry.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
[9/3731] Compiling C object 'lib/76b5a35@@rte_telemetry@sha/telemetry_telemetry_data.c.o'.
[10/3731] Compiling C object 'lib/76b5a35@@rte_telemetry@sha/telemetry_telemetry_legacy.c.o'.
[11/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_bus.c.o'.
[12/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_class.c.o'.
[13/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_config.c.o'.
[14/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_debug.c.o'.
[15/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_dev.c.o'.
[16/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_devargs.c.o'.
[17/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_errno.c.o'.
[18/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_fbarray.c.o'.
[19/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_hexdump.c.o'.
[20/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_interrupts.c.o'.
[21/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_launch.c.o'.
[22/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_lcore.c.o'.
[23/3731] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o
ccache riscv64-linux-gnu-gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_log.c.o' -c ../lib/eal/common/eal_common_log.c
../lib/eal/common/eal_common_log.c:485:1: error: no previous prototype for ‘rte_log_get_timestamp_prefix’ [-Werror=missing-prototypes]
485 | rte_log_get_timestamp_prefix(char *buf, int buf_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[24/3731] Generating kvargs.sym_chk with a meson_exe.py custom command.
[25/3731] Generating telemetry.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:35-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:35-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread