[igt-dev] ✗ Fi.CI.BUILD: failure for Use new procps library libproc2
Patchwork
patchwork at emeril.freedesktop.org
Fri May 12 20:52:53 UTC 2023
== Series Details ==
Series: Use new procps library libproc2
URL : https://patchwork.freedesktop.org/series/117699/
State : failure
== Summary ==
IGT patchset build failed on latest successful build
a482779488f11c432d7ddcb1980691ab1603f356 lib/drmtest: Add function drm_reopen_driver()
ninja: Entering directory `/opt/igt/build'
[1/1051] Generating version.h with a custom command.
[2/1049] Linking static target lib/libigt-i915_intel_memory_region_c.a.
[3/1049] Linking static target lib/libigt-i915_intel_decode_c.a.
[4/1049] Linking static target lib/libigt-igt_collection_c.a.
[5/1049] Linking static target lib/libigt-i915_i915_blt_c.a.
[6/1049] Linking static target lib/libigt-igt_debugfs_c.a.
[7/1049] Linking static target lib/libigt-igt_device_scan_c.a.
[8/1049] Compiling C object 'lib/76b5a35@@igt-igt_aux_c at sta/igt_aux.c.o'.
FAILED: lib/76b5a35@@igt-igt_aux_c at sta/igt_aux.c.o
cc -Ilib/76b5a35@@igt-igt_aux_c at sta -Ilib -I../../../usr/src/igt-gpu-tools/lib -I../../../usr/src/igt-gpu-tools/include -I../../../usr/src/igt-gpu-tools/include/drm-uapi -I../../../usr/src/igt-gpu-tools/include/linux-uapi -I../../../usr/src/igt-gpu-tools/lib/stubs/syscalls -I. -I../../../usr/src/igt-gpu-tools/ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu -I/usr/include/valgrind -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/opt/igt/share/igt-gpu-tools"' '-DIGT_SRCDIR="/usr/src/igt-gpu-tools/tests"' '-DIGT_LOG_DOMAIN="igt_aux"' -MD -MQ 'lib/76b5a35@@igt-igt_aux_c at sta/igt_aux.c.o' -MF 'lib/76b5a35@@igt-igt_aux_c at sta/igt_aux.c.o.d' -o 'lib/76b5a35@@igt-igt_aux_c at sta/igt_aux.c.o' -c ../../../usr/src/igt-gpu-tools/lib/igt_aux.c
../../../usr/src/igt-gpu-tools/lib/igt_aux.c: In function ‘open_process’:
../../../usr/src/igt-gpu-tools/lib/igt_aux.c:1235:55: error: macro "igt_assert" passed 2 arguments, but takes just 1
1235 | igt_assert(prcs->proc != NULL, "procps open failed\n");
| ^
In file included from ../../../usr/src/igt-gpu-tools/lib/drmtest.h:39,
from ../../../usr/src/igt-gpu-tools/lib/igt_aux.c:66:
../../../usr/src/igt-gpu-tools/lib/igt_core.h:675: note: macro "igt_assert" defined here
675 | #define igt_assert(expr) \
|
../../../usr/src/igt-gpu-tools/lib/igt_aux.c:1235:2: error: ‘igt_assert’ undeclared (first use in this function)
1235 | igt_assert(prcs->proc != NULL, "procps open failed\n");
| ^~~~~~~~~~
../../../usr/src/igt-gpu-tools/lib/igt_aux.c:1235:2: note: each undeclared identifier is reported only once for each function it appears in
../../../usr/src/igt-gpu-tools/lib/igt_aux.c: In function ‘close_process’:
../../../usr/src/igt-gpu-tools/lib/igt_aux.c:1257:15: warning: passing argument 1 of ‘freeproc’ from incompatible pointer type [-Wincompatible-pointer-types]
1257 | freeproc(prcs->proc);
| ~~~~^~~~~~
| |
| PROCTAB * {aka struct PROCTAB *}
In file included from ../../../usr/src/igt-gpu-tools/lib/igt_aux.c:56:
/usr/include/proc/readproc.h:264:30: note: expected ‘proc_t *’ {aka ‘struct proc_t *’} but argument is of type ‘PROCTAB *’ {aka ‘struct PROCTAB *’}
264 | extern void freeproc(proc_t* p);
| ~~~~~~~~^
../../../usr/src/igt-gpu-tools/lib/igt_aux.c: In function ‘get_process_ids’:
../../../usr/src/igt-gpu-tools/lib/igt_aux.c:1277:6: error: ‘proc_info’ undeclared (first use in this function)
1277 | if (proc_info) {
| ^~~~~~~~~
ninja: build stopped: subcommand failed.
More information about the igt-dev
mailing list