|FAILURE| pw116416 [PATCH v2] net/iavf: fix error of virtchnl command

0-day Robot robot at bytheb.org
Mon Sep 19 10:59:56 CEST 2022


From: robot at bytheb.org

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

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3080802837
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
####################################################################################
../drivers/net/iavf/iavf_vchnl.c:124:36: error: ‘F_GETFL’ undeclared (first use in this function)
  124 |  int flags = fcntl(handler->fd[1], F_GETFL);
      |                                    ^~~~~~~
../drivers/net/iavf/iavf_vchnl.c:124:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c:125:24: error: ‘F_SETFL’ undeclared (first use in this function)
  125 |  fcntl(handler->fd[1], F_SETFL, flags | O_NONBLOCK);
      |                        ^~~~~~~
../drivers/net/iavf/iavf_vchnl.c:125:41: error: ‘O_NONBLOCK’ undeclared (first use in this function)
  125 |  fcntl(handler->fd[1], F_SETFL, flags | O_NONBLOCK);
      |                                         ^~~~~~~~~~
In file included from ../lib/eal/include/rte_per_lcore.h:25,
                 from ../lib/eal/include/rte_eal.h:19,
                 from ../drivers/net/iavf/iavf_vchnl.c:20:
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_dev_event_handler_fini’:
../lib/eal/windows/include/pthread.h:43:32: error: value computed is not used [-Werror=unused-value]
   43 | #define pthread_cancel(thread) !TerminateThread((HANDLE) thread, 0)
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:143:2: note: in expansion of macro ‘pthread_cancel’
  143 |  pthread_cancel(handler->tid);
      |  ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[421/1305] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.obj'.
[422/1305] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.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