|FAILURE| pw129124 [PATCH v6 6/6] eal: add option to put timestamp on console output

0-day Robot robot at bytheb.org
Thu Jun 29 19:19:18 CEST 2023


From: robot at bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/129124/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/5414510891
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
In file included from ../lib/eal/common/eal_common_log.c:5:
../lib/eal/common/eal_common_log.c: In function ‘eal_log_level_parse’:
../lib/eal/windows/include/getopt.h:38:16: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
   38 | #define optarg usual_optarg
      |                ^~~~~~~~~~~~
../lib/eal/common/eal_common_log.c:239:28: note: in expansion of macro ‘optarg’
  239 |  char * const old_optarg = optarg;
      |                            ^~~~~~
../lib/eal/common/eal_common_log.c:248:34: error: passing argument 2 of ‘usual_getopt_long’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  248 |  while ((opt = getopt_long(argc, argv, eal_short_options,
      |                                  ^~~~
../lib/eal/windows/include/getopt.h:43:57: note: in definition of macro ‘getopt_long’
   43 | #define getopt_long(a, b, c, d, e) usual_getopt_long(a, b, c, d, e)
      |                                                         ^
../lib/eal/windows/include/getopt.h:86:33: note: expected ‘char **’ but argument is of type ‘char * const*’
   86 | int getopt_long(int argc, char *argv[], const char *options,
      |                           ~~~~~~^~~~~~
../lib/eal/windows/include/getopt.h:43:57: note: in definition of macro ‘getopt_long’
   43 | #define getopt_long(a, b, c, d, e) usual_getopt_long(a, b, c, d, e)
      |                                                         ^
cc1: all warnings being treated as errors
[25/1426] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_lcore.c.obj'.
[26/1426] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_mcfg.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
####################################################################################
--------------------------------END LOGS-----------------------------


More information about the test-report mailing list