Skip to contentSkip to conversation

stage-drivers-build #90: build failed for x86_64 allyesconfig x86_64 allmodconfig x86_64 no PM

Jenkins Hans Verkuil 1 participant 1 message Sep 21, 2023 2 messages not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 10 lines · Jenkins Builder Robot

Some tests failed:
PASS: arm32 allmodconfig
PASS: arm32 allyesconfig
FAIL: x86_64 allyesconfig
FAIL: x86_64 allmodconfig
FAIL: x86_64 no PM
PASS: arm64 allyesconfig
PASS: arm64 allmodconfig
PASS: clang15 allmodconfig

These build errors are due to this:

../drivers/staging/media/omap4iss/iss_csi2.c: In function ‘csi2_init_entities’:
../drivers/staging/media/omap4iss/iss_csi2.c:1268:57: error: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 22 [-Werror=format-truncation=]
1268 | snprintf(sd->name, sizeof(sd->name), "OMAP4 ISS %s", name);
| ^~ ~~~~
../drivers/staging/media/omap4iss/iss_csi2.c:1268:9: note: ‘snprintf’ output between 11 and 42 bytes into a destination of size 32

 1268 |         snprintf(sd->name, sizeof(sd->name), "OMAP4 ISS %s", name);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cc1: all warnings being treated as errors

Since these "may be truncated" warnings are now enabled, and apparently the kernel configs for these targets have warnings being treated as errors, this now fails.

Regards,

Hans

Quoted 44 lines

GENERAL INFO

BUILD SUCCESSFUL
Build URL: https://builder.linuxtv.org/job/stage-drivers-build/90/
Project: stage-drivers-build
Date of build: Thu, 21 Sep 2023 13:00:10 +0000
Build duration: 4 min 54 sec and counting

CHANGE SET

Revision by hverkuil: (media: atomisp: remove left-over videobuf include)

change: edit drivers/staging/media/atomisp/pci/atomisp_compat_css20.c

Revision by hverkuil: (media: remove the old videobuf framework)

change: edit Documentation/driver-api/media/v4l2-core.rst

change: delete drivers/media/v4l2-core/videobuf-dma-contig.c

change: delete drivers/media/v4l2-core/videobuf-core.c

change: delete drivers/media/v4l2-core/videobuf-dma-sg.c

change: delete include/media/videobuf-dma-sg.h

change: edit Documentation/translations/zh_CN/video4linux/v4l2-framework.txt

change: edit Documentation/driver-api/media/v4l2-dev.rst

change: edit drivers/media/v4l2-core/Makefile

change: delete include/media/videobuf-core.h

change: delete include/media/videobuf-dma-contig.h

change: delete drivers/media/v4l2-core/videobuf-vmalloc.c

change: delete Documentation/driver-api/media/v4l2-videobuf.rst

change: edit drivers/media/v4l2-core/Kconfig

change: delete include/media/videobuf-vmalloc.h