automatic DPDK test reports
 help / color / mirror / Atom feed
From: 0-day Robot <robot@bytheb.org>
To: test-report@dpdk.org
Cc: dmitry.kozliuk@gmail.com, robot@bytheb.org
Subject: |FAILURE| pw115438 [PATCH v3 4/4] eal: remove unneeded includes from a public header
Date: Thu, 25 Aug 2022 19:40:02 -0400	[thread overview]
Message-ID: <20220825234002.19152-1-robot@bytheb.org> (raw)
In-Reply-To: <20220825223355.410540-5-dmitry.kozliuk@gmail.com>

From: robot@bytheb.org

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

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

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-aarch64" at step Build and test
####################################################################################
[9/4071] Generating rte_telemetry_def with a custom command.
[10/4071] Generating rte_telemetry_mingw with a custom command.
[11/4071] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o 
ccache aarch64-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@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/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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry  -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -c ../lib/telemetry/telemetry.c
../lib/telemetry/telemetry.c: In function ‘rte_telemetry_register_cmd’:
../lib/telemetry/telemetry.c:81:18: error: implicit declaration of function ‘realloc’ [-Werror=implicit-function-declaration]
   81 |  new_callbacks = realloc(callbacks, sizeof(callbacks[0]) * (num_callbacks + 1));
      |                  ^~~~~~~
../lib/telemetry/telemetry.c:81:18: error: incompatible implicit declaration of built-in function ‘realloc’ [-Werror]
../lib/telemetry/telemetry.c:25:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘realloc’
   24 | #include "telemetry_internal.h"
  +++ |+#include <stdlib.h>
   25 | 
../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’:
../lib/telemetry/telemetry.c:602:2: error: implicit declaration of function ‘atexit’; did you mean ‘_exit’? [-Werror=implicit-function-declaration]
  602 |  atexit(unlink_sockets);
      |  ^~~~~~
      |  _exit
../lib/telemetry/telemetry.c:602:2: error: nested extern declaration of ‘atexit’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[12/4071] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_bus.c.o'.
[13/4071] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memzone.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-aarch64" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
[10/4248] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_bus.c.o'.
[11/4248] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o'.
[12/4248] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o 
ccache aarch64-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@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/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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry  -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -c ../lib/telemetry/telemetry.c
../lib/telemetry/telemetry.c: In function ‘rte_telemetry_register_cmd’:
../lib/telemetry/telemetry.c:81:18: error: implicit declaration of function ‘realloc’ [-Werror=implicit-function-declaration]
   81 |  new_callbacks = realloc(callbacks, sizeof(callbacks[0]) * (num_callbacks + 1));
      |                  ^~~~~~~
../lib/telemetry/telemetry.c:81:18: error: incompatible implicit declaration of built-in function ‘realloc’ [-Werror]
../lib/telemetry/telemetry.c:25:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘realloc’
   24 | #include "telemetry_internal.h"
  +++ |+#include <stdlib.h>
   25 | 
../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’:
../lib/telemetry/telemetry.c:602:2: error: implicit declaration of function ‘atexit’; did you mean ‘_exit’? [-Werror=implicit-function-declaration]
  602 |  atexit(unlink_sockets);
      |  ^~~~~~
      |  _exit
../lib/telemetry/telemetry.c:602:2: error: nested extern declaration of ‘atexit’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[13/4248] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memzone.c.o'.
[14/4248] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memory.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-ppc64le" at step Build and test
####################################################################################
  345 |  free(devargs);
      |  ^~~~
../lib/eal/common/eal_common_dev.c:345:2: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
../lib/eal/common/eal_common_dev.c: In function ‘rte_dev_event_callback_register’:
../lib/eal/common/eal_common_dev.c:452:14: error: incompatible implicit declaration of built-in function ‘malloc’ [-Werror]
  452 |   event_cb = malloc(sizeof(struct dev_event_callback));
      |              ^~~~~~
../lib/eal/common/eal_common_dev.c:452:14: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
../lib/eal/common/eal_common_dev.c:486:2: error: incompatible implicit declaration of built-in function ‘free’ [-Werror]
  486 |  free(event_cb);
      |  ^~~~
../lib/eal/common/eal_common_dev.c:486:2: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
../lib/eal/common/eal_common_dev.c: In function ‘rte_dev_event_callback_unregister’:
../lib/eal/common/eal_common_dev.c:526:4: error: incompatible implicit declaration of built-in function ‘free’ [-Werror]
  526 |    free(event_cb->dev_name);
      |    ^~~~
../lib/eal/common/eal_common_dev.c:526:4: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
../lib/eal/common/eal_common_dev.c: In function ‘rte_dev_iterator_next’:
../lib/eal/common/eal_common_dev.c:761:2: error: incompatible implicit declaration of built-in function ‘free’ [-Werror]
  761 |  free(bus_str);
      |  ^~~~
../lib/eal/common/eal_common_dev.c:761:2: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-ppc64le" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-ppc64le" at step Build and test
####################################################################################
[9/4089] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o'.
[10/4089] Generating rte_telemetry_mingw with a custom command.
[11/4089] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o 
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@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/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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry  -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -c ../lib/telemetry/telemetry.c
../lib/telemetry/telemetry.c: In function ‘rte_telemetry_register_cmd’:
../lib/telemetry/telemetry.c:81:18: error: implicit declaration of function ‘realloc’ [-Werror=implicit-function-declaration]
   81 |  new_callbacks = realloc(callbacks, sizeof(callbacks[0]) * (num_callbacks + 1));
      |                  ^~~~~~~
../lib/telemetry/telemetry.c:81:18: error: incompatible implicit declaration of built-in function ‘realloc’ [-Werror]
../lib/telemetry/telemetry.c:25:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘realloc’
   24 | #include "telemetry_internal.h"
  +++ |+#include <stdlib.h>
   25 | 
../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’:
../lib/telemetry/telemetry.c:602:2: error: implicit declaration of function ‘atexit’; did you mean ‘_exit’? [-Werror=implicit-function-declaration]
  602 |  atexit(unlink_sockets);
      |  ^~~~~~
      |  _exit
../lib/telemetry/telemetry.c:602:2: error: nested extern declaration of ‘atexit’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[12/4089] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_class.c.o'.
[13/4089] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_bus.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-ppc64le" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-riscv64" at step Build and test
####################################################################################
[10/4059] Generating rte_telemetry_mingw with a custom command.
[11/4059] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_class.c.o'.
[12/4059] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o 
ccache riscv64-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@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/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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry  -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -c ../lib/telemetry/telemetry.c
../lib/telemetry/telemetry.c: In function ‘rte_telemetry_register_cmd’:
../lib/telemetry/telemetry.c:81:18: error: implicit declaration of function ‘realloc’ [-Werror=implicit-function-declaration]
   81 |  new_callbacks = realloc(callbacks, sizeof(callbacks[0]) * (num_callbacks + 1));
      |                  ^~~~~~~
../lib/telemetry/telemetry.c:81:18: error: incompatible implicit declaration of built-in function ‘realloc’ [-Werror]
../lib/telemetry/telemetry.c:25:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘realloc’
   24 | #include "telemetry_internal.h"
  +++ |+#include <stdlib.h>
   25 | 
../lib/telemetry/telemetry.c: In function ‘telemetry_v2_init’:
../lib/telemetry/telemetry.c:602:2: error: implicit declaration of function ‘atexit’; did you mean ‘_exit’? [-Werror=implicit-function-declaration]
  602 |  atexit(unlink_sockets);
      |  ^~~~~~
      |  _exit
../lib/telemetry/telemetry.c:602:2: error: nested extern declaration of ‘atexit’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[13/4059] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_bus.c.o'.
[14/4059] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_config.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-riscv64" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------

      parent reply	other threads:[~2022-08-25 23:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220825223355.410540-5-dmitry.kozliuk@gmail.com>
2022-08-25 22:35 ` |SUCCESS| " checkpatch
2022-08-25 23:40 ` 0-day Robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220825234002.19152-1-robot@bytheb.org \
    --to=robot@bytheb.org \
    --cc=dmitry.kozliuk@gmail.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).