>>> pipewire 0.2.7 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-0/dl/pipewire/pipewire-0.2.7.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7 -xf - >>> pipewire 0.2.7 Patching >>> pipewire 0.2.7 Configuring rm -rf /home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7//build mkdir -p /home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7//build sed -e 's%@TARGET_CROSS@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-%g' -e 's%@TARGET_ARCH@%arm%g' -e 's%@TARGET_CPU@%arm926ej-s%g' -e 's%@TARGET_ENDIAN@%little%g' -e 's%@TARGET_CFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os", "-D_FORTIFY_SOURCE=2"%g' -e 's%@TARGET_LDFLAGS@%%g' -e 's%@TARGET_CXXFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os", "-D_FORTIFY_SOURCE=2"%g' -e 's%@HOST_DIR@%/home/buildroot/autobuild/run/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" package/meson/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-0/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7//build/cross-compilation.conf -Dgstreamer=enabled -Dsystemd=false /home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7/ /home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7//build The Meson build system Version: 0.53.1 Source dir: /home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7 Build dir: /home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7/build Build type: cross build Project name: pipewire Project version: 0.2.7 C compiler for the build machine: cc (gcc 4.8.2 "cc (Ubuntu 4.8.2-19ubuntu1) 4.8.2") C linker for the build machine: cc GNU ld.bfd 2.24 C compiler for the host machine: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc (gcc 4.8.3 "arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease)") C linker for the host machine: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc GNU ld.bfd 2.24.51.20140217 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: arm926ej-s Target machine cpu family: arm Target machine cpu: arm926ej-s Has header "dlfcn.h" : YES Has header "inttypes.h" : YES Has header "memory.h" : YES Has header "poll.h" : YES Has header "stddef.h" : YES Has header "stdint.h" : YES Has header "stdio_ext.h" : YES Has header "strings.h" : YES Has header "string.h" : YES Has header "sys/param.h" : YES Has header "sys/poll.h" : YES Has header "sys/prctl.h" : YES Has header "sys/socket.h" : YES Has header "sys/stat.h" : YES Has header "sys/times.h" : YES Has header "sys/time.h" : YES Has header "sys/types.h" : YES Has header "sys/utsname.h" : YES Has header "sys/wait.h" : YES Has header "ucontext.h" : YES Has header "unistd.h" : YES Has header "valgrind/valgrind.h" : NO Checking for function "poll" : YES Checking for function "pselect" : YES Checking for function "posix_memalign" : YES Checking for function "getpagesize" : YES Checking for function "clock_gettime" : YES Checking for type "ptrdiff_t" : YES Checking for function "mkstemp" : YES Checking for function "memfd_create" : NO Configuring config.h using configuration Configuring Makefile using configuration Library m found: YES Library rt found: YES Library dl found: YES Run-time dependency threads found: YES Found pkg-config: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkgconf (1.6.1) Run-time dependency dbus-1 found: YES 1.12.18 Run-time dependency glib-2.0 found: YES 2.62.5 Run-time dependency gobject-2.0 found: YES 2.62.5 Run-time dependency gmodule-2.0 found: YES 2.62.5 Run-time dependency gio-2.0 found: YES 2.62.5 Run-time dependency gio-unix-2.0 found: YES 2.62.5 Run-time dependency gstreamer-1.0 found: YES 1.16.2 Run-time dependency gstreamer-plugins-base-1.0 found: YES 1.16.2 Run-time dependency gstreamer-video-1.0 found: YES 1.16.2 Run-time dependency gstreamer-audio-1.0 found: YES 1.16.2 Run-time dependency gstreamer-allocators-1.0 found: YES 1.16.2 Run-time dependency alsa found: YES 1.2.1.2 Run-time dependency x11 found: YES 1.6.12 Run-time dependency sdl2 found: YES 2.0.10 Run-time dependency libavcodec found: YES 58.54.100 Run-time dependency libavformat found: YES 58.29.100 Run-time dependency libavfilter found: YES 7.57.100 Found CMake: NO Run-time dependency libva found: NO (tried pkgconfig and cmake) Run-time dependency sbc found: NO (tried pkgconfig and cmake) Run-time dependency libudev found: YES 243 Dependency threads found: YES unknown (cached) Configuring version.h using configuration Program pw-uninstalled.sh found: YES (/home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7/pw-uninstalled.sh) Build targets in project: 48 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.0 at /home/buildroot/autobuild/run/instance-0/output-1/host/bin/ninja >>> pipewire 0.2.7 Building PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-0/output-1/host/bin/ninja -j4 -C /home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7//build' [1/161] Compiling C object 'spa/plugins/alsa/b6cb841@@spa-alsa@sha/alsa.c.o'. [2/161] Compiling C object 'src/modules/spa/6b9305a@@pipewire-module-spa-monitor@sha/spa-monitor.c.o'. ../src/modules/spa/spa-monitor.c: In function 'pw_spa_monitor_load': ../src/modules/spa/spa-monitor.c:275:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&filename, "%s/%s.so", dir, lib); ^ ../src/modules/spa/spa-monitor.c: In function 'update_monitor': ../src/modules/spa/spa-monitor.c:240:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf((char **) &item.value, "%s,%s", monitors, name); ^ [3/161] Compiling C object 'spa/plugins/alsa/b6cb841@@spa-alsa@sha/alsa-monitor.c.o'. [4/161] Compiling C object 'spa/plugins/alsa/b6cb841@@spa-alsa@sha/alsa-sink.c.o'. [5/161] Compiling C object 'spa/plugins/alsa/b6cb841@@spa-alsa@sha/alsa-source.c.o'. [6/161] Compiling C object 'spa/plugins/audiomixer/55b85d2@@spa-audiomixer@sha/mix-ops.c.o'. [7/161] Compiling C object 'spa/plugins/audiomixer/55b85d2@@spa-audiomixer@sha/plugin.c.o'. [8/161] Compiling C object 'spa/plugins/audiotestsrc/f850fe5@@spa-audiotestsrc@sha/plugin.c.o'. [9/161] Compiling C object 'spa/plugins/alsa/b6cb841@@spa-alsa@sha/alsa-utils.c.o'. ../spa/plugins/alsa/alsa-utils.c: In function 'spa_alsa_set_format': ../spa/plugins/alsa/alsa-utils.c:285:2: warning: format '%zd' expects argument of type 'signed size_t', but argument 7 has type 'snd_pcm_uframes_t' [-Wformat=] spa_log_info(state->log, "buffer frames %zd, period frames %zd, periods %u, frame_size %zd", ^ ../spa/plugins/alsa/alsa-utils.c:285:2: warning: format '%zd' expects argument of type 'signed size_t', but argument 8 has type 'snd_pcm_uframes_t' [-Wformat=] ../spa/plugins/alsa/alsa-utils.c: In function 'try_pull': ../spa/plugins/alsa/alsa-utils.c:343:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'int64_t' [-Wformat=] spa_log_trace(state->log, "alsa-util %p: %d %lu", state, io->status, ^ ../spa/plugins/alsa/alsa-utils.c: In function 'pull_frames': ../spa/plugins/alsa/alsa-utils.c:424:4: warning: format '%zd' expects argument of type 'signed size_t', but argument 7 has type 'uint64_t' [-Wformat=] spa_log_warn(state->log, "underrun, for %zd frames", state->underrun); ^ ../spa/plugins/alsa/alsa-utils.c: In function 'alsa_on_playback_timeout_event': ../spa/plugins/alsa/alsa-utils.c:535:2: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int64_t' [-Wformat=] spa_log_trace(state->log, "timeout %ld %d %ld %ld %ld", state->filled, state->threshold, ^ ../spa/plugins/alsa/alsa-utils.c:535:2: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'int64_t' [-Wformat=] ../spa/plugins/alsa/alsa-utils.c: In function 'alsa_on_capture_timeout_event': ../spa/plugins/alsa/alsa-utils.c:620:2: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'int64_t' [-Wformat=] spa_log_trace(state->log, "timeout %ld %d %ld %ld %ld", avail, state->threshold, ^ [10/161] Linking target spa/plugins/alsa/libspa-alsa.so. [11/161] Compiling C object 'spa/plugins/ffmpeg/033e5d0@@spa-ffmpeg@sha/ffmpeg.c.o'. ../spa/plugins/ffmpeg/ffmpeg.c: In function 'spa_handle_factory_enum': ../spa/plugins/ffmpeg/ffmpeg.c:87:2: warning: 'av_register_all' is deprecated (declared at /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libavformat/avformat.h:2050) [-Wdeprecated-declarations] av_register_all(); ^ ../spa/plugins/ffmpeg/ffmpeg.c:90:3: warning: 'av_codec_next' is deprecated (declared at /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libavcodec/avcodec.h:4118) [-Wdeprecated-declarations] c = av_codec_next(NULL); ^ ../spa/plugins/ffmpeg/ffmpeg.c:94:3: warning: 'av_codec_next' is deprecated (declared at /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libavcodec/avcodec.h:4118) [-Wdeprecated-declarations] c = av_codec_next(c); ^ [12/161] Compiling C object 'spa/plugins/audiomixer/55b85d2@@spa-audiomixer@sha/audiomixer.c.o'. [13/161] Linking target spa/plugins/audiomixer/libspa-audiomixer.so. [14/161] Compiling C object 'spa/plugins/support/ba87df0@@spa-support@sha/mapper.c.o'. [15/161] Compiling C object 'spa/plugins/support/ba87df0@@spa-support@sha/logger.c.o'. [16/161] Compiling C object 'spa/plugins/ffmpeg/033e5d0@@spa-ffmpeg@sha/ffmpeg-enc.c.o'. [17/161] Compiling C object 'spa/plugins/ffmpeg/033e5d0@@spa-ffmpeg@sha/ffmpeg-dec.c.o'. [18/161] Compiling C object 'spa/plugins/support/ba87df0@@spa-support@sha/plugin.c.o'. [19/161] Linking target spa/plugins/ffmpeg/libspa-ffmpeg.so. [20/161] Compiling C object 'spa/plugins/audiotestsrc/f850fe5@@spa-audiotestsrc@sha/audiotestsrc.c.o'. [21/161] Linking target spa/plugins/audiotestsrc/libspa-audiotestsrc.so. [22/161] Compiling C object 'spa/plugins/support/ba87df0@@spa-dbus@sha/dbus.c.o'. [23/161] Compiling C object 'spa/plugins/support/ba87df0@@spa-support@sha/loop.c.o'. [24/161] Linking target spa/plugins/support/libspa-support.so. [25/161] Linking target spa/plugins/support/libspa-dbus.so. [26/161] Compiling C object 'spa/plugins/test/2b6c823@@spa-test@sha/plugin.c.o'. [27/161] Compiling C object 'spa/plugins/videotestsrc/9e0d445@@spa-videotestsrc@sha/plugin.c.o'. [28/161] Compiling C object 'spa/plugins/volume/d2dd3fc@@spa-volume@sha/plugin.c.o'. [29/161] Compiling C object 'spa/plugins/test/2b6c823@@spa-test@sha/fakesrc.c.o'. [30/161] Compiling C object 'spa/plugins/v4l2/f952731@@spa-v4l2@sha/v4l2.c.o'. [31/161] Compiling C object 'spa/plugins/test/2b6c823@@spa-test@sha/fakesink.c.o'. [32/161] Linking target spa/plugins/test/libspa-test.so. [33/161] Compiling C object 'spa/plugins/v4l2/f952731@@spa-v4l2@sha/v4l2-source.c.o'. FAILED: spa/plugins/v4l2/f952731@@spa-v4l2@sha/v4l2-source.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -Ispa/plugins/v4l2/f952731@@spa-v4l2@sha -Ispa/plugins/v4l2 -I../spa/plugins/v4l2 -Ispa/include -I../spa/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include -pipe -Wall -Winvalid-pch -std=gnu99 -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ 'spa/plugins/v4l2/f952731@@spa-v4l2@sha/v4l2-source.c.o' -MF 'spa/plugins/v4l2/f952731@@spa-v4l2@sha/v4l2-source.c.o.d' -o 'spa/plugins/v4l2/f952731@@spa-v4l2@sha/v4l2-source.c.o' -c ../spa/plugins/v4l2/v4l2-source.c In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:251:3: error: 'V4L2_PIX_FMT_ARGB555' undeclared here (not in a function) {V4L2_PIX_FMT_ARGB555, FORMAT_UNKNOWN, VIDEO, RAW}, ^ ../spa/plugins/v4l2/v4l2-utils.c:252:3: error: 'V4L2_PIX_FMT_XRGB555' undeclared here (not in a function) {V4L2_PIX_FMT_XRGB555, FORMAT_RGB15, VIDEO, RAW}, ^ ../spa/plugins/v4l2/v4l2-utils.c:253:3: error: 'V4L2_PIX_FMT_ARGB555X' undeclared here (not in a function) {V4L2_PIX_FMT_ARGB555X, FORMAT_UNKNOWN, VIDEO, RAW}, ^ ../spa/plugins/v4l2/v4l2-utils.c:254:3: error: 'V4L2_PIX_FMT_XRGB555X' undeclared here (not in a function) {V4L2_PIX_FMT_XRGB555X, FORMAT_BGR15, VIDEO, RAW}, ^ ../spa/plugins/v4l2/v4l2-utils.c:260:3: error: 'V4L2_PIX_FMT_ABGR32' undeclared here (not in a function) {V4L2_PIX_FMT_ABGR32, FORMAT_BGRA, VIDEO, RAW}, ^ ../spa/plugins/v4l2/v4l2-utils.c:261:3: error: 'V4L2_PIX_FMT_XBGR32' undeclared here (not in a function) {V4L2_PIX_FMT_XBGR32, FORMAT_BGRx, VIDEO, RAW}, ^ ../spa/plugins/v4l2/v4l2-utils.c:262:3: error: 'V4L2_PIX_FMT_ARGB32' undeclared here (not in a function) {V4L2_PIX_FMT_ARGB32, FORMAT_ARGB, VIDEO, RAW}, ^ ../spa/plugins/v4l2/v4l2-utils.c:263:3: error: 'V4L2_PIX_FMT_XRGB32' undeclared here (not in a function) {V4L2_PIX_FMT_XRGB32, FORMAT_xRGB, VIDEO, RAW}, ^ ../spa/plugins/v4l2/v4l2-utils.c:279:3: error: 'V4L2_PIX_FMT_Y16_BE' undeclared here (not in a function) {V4L2_PIX_FMT_Y16_BE, FORMAT_GRAY16_BE, VIDEO, RAW}, ^ ../spa/plugins/v4l2/v4l2-utils.c:919:59: warning: 'struct v4l2_query_ext_ctrl' declared inside parameter list [enabled by default] static int query_ext_ctrl_ioctl(struct port *port, struct v4l2_query_ext_ctrl *qctrl) ^ ../spa/plugins/v4l2/v4l2-utils.c:919:59: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] ../spa/plugins/v4l2/v4l2-utils.c: In function 'query_ext_ctrl_ioctl': ../spa/plugins/v4l2/v4l2-utils.c:925:25: error: 'VIDIOC_QUERY_EXT_CTRL' undeclared (first use in this function) res = ioctl(port->fd, VIDIOC_QUERY_EXT_CTRL, qctrl); ^ ../spa/plugins/v4l2/v4l2-utils.c:925:25: note: each undeclared identifier is reported only once for each function it appears in ../spa/plugins/v4l2/v4l2-utils.c:925:3: warning: passing argument 2 of 'ioctl' makes integer from pointer without a cast [enabled by default] res = ioctl(port->fd, VIDIOC_QUERY_EXT_CTRL, qctrl); ^ In file included from ../spa/plugins/v4l2/v4l2-utils.c:24:0, from ../spa/plugins/v4l2/v4l2-source.c:209: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/sys/ioctl.h:41:12: note: expected 'long unsigned int' but argument is of type 'const struct format_info *' extern int ioctl (int __fd, unsigned long int __request, ...) __THROW; ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:930:15: error: dereferencing pointer to incomplete type qc.id = qctrl->id; ^ ../spa/plugins/v4l2/v4l2-utils.c:930:15: error: request for member 'id' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:930:8: warning: assignment makes integer from pointer without a cast [enabled by default] qc.id = qctrl->id; ^ ../spa/plugins/v4l2/v4l2-utils.c:933:8: error: dereferencing pointer to incomplete type qctrl->type = qc.type; ^ ../spa/plugins/v4l2/v4l2-utils.c:933:8: error: request for member 'type' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:933:3: warning: statement with no effect [-Wunused-value] qctrl->type = qc.type; ^ ../spa/plugins/v4l2/v4l2-utils.c:934:15: error: dereferencing pointer to incomplete type memcpy(qctrl->name, qc.name, sizeof(qctrl->name)); ^ ../spa/plugins/v4l2/v4l2-utils.c:934:15: error: request for member 'name' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:934:44: error: dereferencing pointer to incomplete type memcpy(qctrl->name, qc.name, sizeof(qctrl->name)); ^ ../spa/plugins/v4l2/v4l2-utils.c:934:44: error: request for member 'name' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:934:3: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default] memcpy(qctrl->name, qc.name, sizeof(qctrl->name)); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/sys/types.h:25, from ../spa/plugins/v4l2/v4l2-source.c:21: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:48:1: note: expected 'void * restrict' but argument is of type 'const struct format_info *' __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:934:3: warning: passing argument 3 of 'memcpy' makes integer from pointer without a cast [enabled by default] memcpy(qctrl->name, qc.name, sizeof(qctrl->name)); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/sys/types.h:25, from ../spa/plugins/v4l2/v4l2-source.c:21: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:48:1: note: expected 'size_t' but argument is of type 'const struct format_info *' __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:935:8: error: dereferencing pointer to incomplete type qctrl->minimum = qc.minimum; ^ ../spa/plugins/v4l2/v4l2-utils.c:935:8: error: request for member 'minimum' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:935:3: warning: statement with no effect [-Wunused-value] qctrl->minimum = qc.minimum; ^ ../spa/plugins/v4l2/v4l2-utils.c:937:9: error: dereferencing pointer to incomplete type qctrl->maximum = (__u32)qc.maximum; ^ ../spa/plugins/v4l2/v4l2-utils.c:937:9: error: request for member 'maximum' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:937:4: warning: statement with no effect [-Wunused-value] qctrl->maximum = (__u32)qc.maximum; ^ ../spa/plugins/v4l2/v4l2-utils.c:938:9: error: dereferencing pointer to incomplete type qctrl->default_value = (__u32)qc.default_value; ^ ../spa/plugins/v4l2/v4l2-utils.c:938:9: error: request for member 'default_value' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:938:4: warning: statement with no effect [-Wunused-value] qctrl->default_value = (__u32)qc.default_value; ^ ../spa/plugins/v4l2/v4l2-utils.c:940:9: error: dereferencing pointer to incomplete type qctrl->maximum = qc.maximum; ^ ../spa/plugins/v4l2/v4l2-utils.c:940:9: error: request for member 'maximum' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:940:4: warning: statement with no effect [-Wunused-value] qctrl->maximum = qc.maximum; ^ ../spa/plugins/v4l2/v4l2-utils.c:941:9: error: dereferencing pointer to incomplete type qctrl->default_value = qc.default_value; ^ ../spa/plugins/v4l2/v4l2-utils.c:941:9: error: request for member 'default_value' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:941:4: warning: statement with no effect [-Wunused-value] qctrl->default_value = qc.default_value; ^ ../spa/plugins/v4l2/v4l2-utils.c:943:8: error: dereferencing pointer to incomplete type qctrl->step = qc.step; ^ ../spa/plugins/v4l2/v4l2-utils.c:943:8: error: request for member 'step' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:943:3: warning: statement with no effect [-Wunused-value] qctrl->step = qc.step; ^ ../spa/plugins/v4l2/v4l2-utils.c:944:8: error: dereferencing pointer to incomplete type qctrl->flags = qc.flags; ^ ../spa/plugins/v4l2/v4l2-utils.c:944:8: error: request for member 'flags' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:944:3: warning: statement with no effect [-Wunused-value] qctrl->flags = qc.flags; ^ ../spa/plugins/v4l2/v4l2-utils.c:945:8: error: dereferencing pointer to incomplete type qctrl->elems = 1; ^ ../spa/plugins/v4l2/v4l2-utils.c:945:8: error: request for member 'elems' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:945:3: warning: statement with no effect [-Wunused-value] qctrl->elems = 1; ^ ../spa/plugins/v4l2/v4l2-utils.c:946:8: error: dereferencing pointer to incomplete type qctrl->nr_of_dims = 0; ^ ../spa/plugins/v4l2/v4l2-utils.c:946:8: error: request for member 'nr_of_dims' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:946:3: warning: statement with no effect [-Wunused-value] qctrl->nr_of_dims = 0; ^ ../spa/plugins/v4l2/v4l2-utils.c:947:15: error: dereferencing pointer to incomplete type memset(qctrl->dims, 0, sizeof(qctrl->dims)); ^ ../spa/plugins/v4l2/v4l2-utils.c:947:15: error: request for member 'dims' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:947:38: error: dereferencing pointer to incomplete type memset(qctrl->dims, 0, sizeof(qctrl->dims)); ^ ../spa/plugins/v4l2/v4l2-utils.c:947:38: error: request for member 'dims' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:947:3: warning: passing argument 1 of 'memset' discards 'const' qualifier from pointer target type [enabled by default] memset(qctrl->dims, 0, sizeof(qctrl->dims)); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/sys/types.h:25, from ../spa/plugins/v4l2/v4l2-source.c:21: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:76:1: note: expected 'void *' but argument is of type 'const struct format_info *' __NTH (memset (void *__dest, int __ch, size_t __len)) ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:947:3: warning: passing argument 3 of 'memset' makes integer from pointer without a cast [enabled by default] memset(qctrl->dims, 0, sizeof(qctrl->dims)); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/sys/types.h:25, from ../spa/plugins/v4l2/v4l2-source.c:21: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:76:1: note: expected 'size_t' but argument is of type 'const struct format_info *' __NTH (memset (void *__dest, int __ch, size_t __len)) ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:948:16: error: dereferencing pointer to incomplete type switch (qctrl->type) { ^ ../spa/plugins/v4l2/v4l2-utils.c:948:16: error: request for member 'type' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:950:9: error: dereferencing pointer to incomplete type qctrl->elem_size = sizeof(__s64); ^ ../spa/plugins/v4l2/v4l2-utils.c:950:9: error: request for member 'elem_size' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:950:4: warning: statement with no effect [-Wunused-value] qctrl->elem_size = sizeof(__s64); ^ ../spa/plugins/v4l2/v4l2-utils.c:953:9: error: dereferencing pointer to incomplete type qctrl->elem_size = qc.maximum + 1; ^ ../spa/plugins/v4l2/v4l2-utils.c:953:9: error: request for member 'elem_size' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:953:4: warning: statement with no effect [-Wunused-value] qctrl->elem_size = qc.maximum + 1; ^ ../spa/plugins/v4l2/v4l2-utils.c:956:9: error: dereferencing pointer to incomplete type qctrl->elem_size = sizeof(__s32); ^ ../spa/plugins/v4l2/v4l2-utils.c:956:9: error: request for member 'elem_size' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:956:4: warning: statement with no effect [-Wunused-value] qctrl->elem_size = sizeof(__s32); ^ ../spa/plugins/v4l2/v4l2-utils.c:959:15: error: dereferencing pointer to incomplete type memset(qctrl->reserved, 0, sizeof(qctrl->reserved)); ^ ../spa/plugins/v4l2/v4l2-utils.c:959:15: error: request for member 'reserved' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:959:42: error: dereferencing pointer to incomplete type memset(qctrl->reserved, 0, sizeof(qctrl->reserved)); ^ ../spa/plugins/v4l2/v4l2-utils.c:959:42: error: request for member 'reserved' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:959:3: warning: passing argument 1 of 'memset' discards 'const' qualifier from pointer target type [enabled by default] memset(qctrl->reserved, 0, sizeof(qctrl->reserved)); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/sys/types.h:25, from ../spa/plugins/v4l2/v4l2-source.c:21: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:76:1: note: expected 'void *' but argument is of type 'const struct format_info *' __NTH (memset (void *__dest, int __ch, size_t __len)) ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:959:3: warning: passing argument 3 of 'memset' makes integer from pointer without a cast [enabled by default] memset(qctrl->reserved, 0, sizeof(qctrl->reserved)); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/sys/types.h:25, from ../spa/plugins/v4l2/v4l2-source.c:21: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:76:1: note: expected 'size_t' but argument is of type 'const struct format_info *' __NTH (memset (void *__dest, int __ch, size_t __len)) ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:961:7: error: dereferencing pointer to incomplete type qctrl->id = qc.id; ^ ../spa/plugins/v4l2/v4l2-utils.c:961:7: error: request for member 'id' in something not a structure or union ../spa/plugins/v4l2/v4l2-utils.c:961:2: warning: statement with no effect [-Wunused-value] qctrl->id = qc.id; ^ ../spa/plugins/v4l2/v4l2-utils.c: In function 'spa_v4l2_enum_controls': ../spa/plugins/v4l2/v4l2-utils.c:998:29: error: storage size of 'queryctrl' isn't known struct v4l2_query_ext_ctrl queryctrl; ^ ../spa/plugins/v4l2/v4l2-utils.c:1005:61: error: 'V4L2_CTRL_FLAG_NEXT_COMPOUND' undeclared (first use in this function) const unsigned next_fl = V4L2_CTRL_FLAG_NEXT_CTRL | V4L2_CTRL_FLAG_NEXT_COMPOUND; ^ ../spa/plugins/v4l2/v4l2-utils.c:1005:59: error: invalid operands to binary | (have 'unsigned int' and 'const struct format_info *') const unsigned next_fl = V4L2_CTRL_FLAG_NEXT_CTRL | V4L2_CTRL_FLAG_NEXT_COMPOUND; ^ ../spa/plugins/v4l2/v4l2-utils.c:1011:2: warning: passing argument 3 of 'memset' makes integer from pointer without a cast [enabled by default] spa_zero(queryctrl); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/sys/types.h:25, from ../spa/plugins/v4l2/v4l2-source.c:21: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/bits/string3.h:76:1: note: expected 'size_t' but argument is of type 'const struct format_info *' __NTH (memset (void *__dest, int __ch, size_t __len)) ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:1018:11: error: request for member 'id' in something not a structure or union queryctrl.id = *index; ^ ../spa/plugins/v4l2/v4l2-utils.c:1018:2: warning: statement with no effect [-Wunused-value] queryctrl.id = *index; ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:28:0: ../spa/plugins/v4l2/v4l2-utils.c:1019:57: error: request for member 'id' in something not a structure or union spa_log_debug(port->log, "test control %08x", queryctrl.id); ^ ../spa/include/spa/support/log.h:107:20: note: in definition of macro 'spa_log_log' (l)->log((l),lev,__VA_ARGS__); \ ^ ../spa/plugins/v4l2/v4l2-utils.c:1019:2: note: in expansion of macro 'spa_log_debug' spa_log_debug(port->log, "test control %08x", queryctrl.id); ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:1019:2: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'const struct format_info *' [-Wformat=] ../spa/plugins/v4l2/v4l2-utils.c:1021:2: warning: passing argument 2 of 'query_ext_ctrl_ioctl' from incompatible pointer type [enabled by default] if (query_ext_ctrl_ioctl(port, &queryctrl) != 0) { ^ ../spa/plugins/v4l2/v4l2-utils.c:919:12: note: expected 'struct v4l2_query_ext_ctrl *' but argument is of type 'const struct format_info (*)[1]' static int query_ext_ctrl_ioctl(struct port *port, struct v4l2_query_ext_ctrl *qctrl) ^ ../spa/plugins/v4l2/v4l2-utils.c:1023:17: error: request for member 'id' in something not a structure or union if (queryctrl.id != next_fl) ^ ../spa/plugins/v4l2/v4l2-utils.c:1023:21: warning: comparison between pointer and integer [enabled by default] if (queryctrl.id != next_fl) ^ ../spa/plugins/v4l2/v4l2-utils.c:1041:23: error: request for member 'id' in something not a structure or union (*index) = queryctrl.id | next_fl; ^ ../spa/plugins/v4l2/v4l2-utils.c:1041:27: error: invalid operands to binary | (have 'const struct format_info *' and 'unsigned int') (*index) = queryctrl.id | next_fl; ^ ../spa/plugins/v4l2/v4l2-utils.c:1041:12: warning: assignment makes integer from pointer without a cast [enabled by default] (*index) = queryctrl.id | next_fl; ^ ../spa/plugins/v4l2/v4l2-utils.c:1045:15: error: request for member 'flags' in something not a structure or union if (queryctrl.flags & V4L2_CTRL_FLAG_DISABLED) ^ ../spa/plugins/v4l2/v4l2-utils.c:1045:22: error: invalid operands to binary & (have 'const struct format_info *' and 'int') if (queryctrl.flags & V4L2_CTRL_FLAG_DISABLED) ^ ../spa/plugins/v4l2/v4l2-utils.c:1051:21: error: request for member 'id' in something not a structure or union ctrl_id = queryctrl.id & ~next_fl; ^ ../spa/plugins/v4l2/v4l2-utils.c:1051:25: error: invalid operands to binary & (have 'const struct format_info *' and 'unsigned int') ctrl_id = queryctrl.id & ~next_fl; ^ ../spa/plugins/v4l2/v4l2-utils.c:1051:10: warning: assignment makes integer from pointer without a cast [enabled by default] ctrl_id = queryctrl.id & ~next_fl; ^ ../spa/plugins/v4l2/v4l2-utils.c:1062:52: error: request for member 'default_value' in something not a structure or union port->controls[port->n_controls].value = queryctrl.default_value; ^ ../spa/plugins/v4l2/v4l2-utils.c:1062:41: error: incompatible types when assigning to type 'double' from type 'const struct format_info *' port->controls[port->n_controls].value = queryctrl.default_value; ^ ../spa/plugins/v4l2/v4l2-utils.c:1062:2: warning: statement with no effect [-Wunused-value] port->controls[port->n_controls].value = queryctrl.default_value; ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:28:0: ../spa/plugins/v4l2/v4l2-utils.c:1064:56: error: request for member 'name' in something not a structure or union spa_log_debug(port->log, "Control %s %d %d", queryctrl.name, prop_id, ctrl_id); ^ ../spa/include/spa/support/log.h:107:20: note: in definition of macro 'spa_log_log' (l)->log((l),lev,__VA_ARGS__); \ ^ ../spa/plugins/v4l2/v4l2-utils.c:1064:2: note: in expansion of macro 'spa_log_debug' spa_log_debug(port->log, "Control %s %d %d", queryctrl.name, prop_id, ctrl_id); ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:1064:2: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'const struct format_info *' [-Wformat=] ../spa/plugins/v4l2/v4l2-utils.c:1068:19: error: request for member 'type' in something not a structure or union switch (queryctrl.type) { ^ In file included from ../spa/include/spa/clock/clock.h:38:0, from ../spa/plugins/v4l2/v4l2-source.c:31: ../spa/plugins/v4l2/v4l2-utils.c:1075:44: error: request for member 'default_value' in something not a structure or union ":", t->param.propType, "isu", queryctrl.default_value, ^ ../spa/include/spa/pod/builder.h:591:19: note: in definition of macro 'SPA_POD_OBJECT' "<", id, type, ##__VA_ARGS__, ">" ^ ../spa/plugins/v4l2/v4l2-utils.c:1070:11: note: in expansion of macro 'spa_pod_builder_object' param = spa_pod_builder_object(&b, ^ ../spa/plugins/v4l2/v4l2-utils.c:1076:19: error: request for member 'minimum' in something not a structure or union 3, queryctrl.minimum, ^ ../spa/include/spa/pod/builder.h:591:19: note: in definition of macro 'SPA_POD_OBJECT' "<", id, type, ##__VA_ARGS__, ">" ^ ../spa/plugins/v4l2/v4l2-utils.c:1070:11: note: in expansion of macro 'spa_pod_builder_object' param = spa_pod_builder_object(&b, ^ ../spa/plugins/v4l2/v4l2-utils.c:1077:19: error: request for member 'maximum' in something not a structure or union queryctrl.maximum, ^ ../spa/include/spa/pod/builder.h:591:19: note: in definition of macro 'SPA_POD_OBJECT' "<", id, type, ##__VA_ARGS__, ">" ^ ../spa/plugins/v4l2/v4l2-utils.c:1070:11: note: in expansion of macro 'spa_pod_builder_object' param = spa_pod_builder_object(&b, ^ ../spa/plugins/v4l2/v4l2-utils.c:1078:19: error: request for member 'step' in something not a structure or union queryctrl.step, ^ ../spa/include/spa/pod/builder.h:591:19: note: in definition of macro 'SPA_POD_OBJECT' "<", id, type, ##__VA_ARGS__, ">" ^ ../spa/plugins/v4l2/v4l2-utils.c:1070:11: note: in expansion of macro 'spa_pod_builder_object' param = spa_pod_builder_object(&b, ^ ../spa/plugins/v4l2/v4l2-utils.c:1079:42: error: request for member 'name' in something not a structure or union ":", t->param.propName, "s", queryctrl.name); ^ ../spa/include/spa/pod/builder.h:591:19: note: in definition of macro 'SPA_POD_OBJECT' "<", id, type, ##__VA_ARGS__, ">" ^ ../spa/plugins/v4l2/v4l2-utils.c:1070:11: note: in expansion of macro 'spa_pod_builder_object' param = spa_pod_builder_object(&b, ^ ../spa/plugins/v4l2/v4l2-utils.c:1087:44: error: request for member 'default_value' in something not a structure or union ":", t->param.propType, "b-u", queryctrl.default_value, ^ ../spa/include/spa/pod/builder.h:591:19: note: in definition of macro 'SPA_POD_OBJECT' "<", id, type, ##__VA_ARGS__, ">" ^ ../spa/plugins/v4l2/v4l2-utils.c:1082:11: note: in expansion of macro 'spa_pod_builder_object' param = spa_pod_builder_object(&b, ^ ../spa/plugins/v4l2/v4l2-utils.c:1088:42: error: request for member 'name' in something not a structure or union ":", t->param.propName, "s", queryctrl.name); ^ ../spa/include/spa/pod/builder.h:591:19: note: in definition of macro 'SPA_POD_OBJECT' "<", id, type, ##__VA_ARGS__, ">" ^ ../spa/plugins/v4l2/v4l2-utils.c:1082:11: note: in expansion of macro 'spa_pod_builder_object' param = spa_pod_builder_object(&b, ^ In file included from ../spa/plugins/v4l2/v4l2-source.c:209:0: ../spa/plugins/v4l2/v4l2-utils.c:1099:42: error: request for member 'name' in something not a structure or union ":", t->param.propName, "s", queryctrl.name, ^ ../spa/plugins/v4l2/v4l2-utils.c:1100:44: error: request for member 'default_value' in something not a structure or union ":", t->param.propType, "i-u", queryctrl.default_value, ^ ../spa/plugins/v4l2/v4l2-utils.c:1104:27: error: request for member 'id' in something not a structure or union querymenu.id = queryctrl.id; ^ ../spa/plugins/v4l2/v4l2-utils.c:1104:16: warning: assignment makes integer from pointer without a cast [enabled by default] querymenu.id = queryctrl.id; ^ ../spa/plugins/v4l2/v4l2-utils.c:1108:35: error: request for member 'minimum' in something not a structure or union for (querymenu.index = queryctrl.minimum; ^ ../spa/plugins/v4l2/v4l2-utils.c:1108:24: warning: assignment makes integer from pointer without a cast [enabled by default] for (querymenu.index = queryctrl.minimum; ^ ../spa/plugins/v4l2/v4l2-utils.c:1109:35: error: request for member 'maximum' in something not a structure or union querymenu.index <= queryctrl.maximum; ^ ../spa/plugins/v4l2/v4l2-utils.c:1109:23: warning: comparison between pointer and integer [enabled by default] querymenu.index <= queryctrl.maximum; ^ ../spa/plugins/v4l2/v4l2-utils.c:998:29: warning: unused variable 'queryctrl' [-Wunused-variable] struct v4l2_query_ext_ctrl queryctrl; ^ [34/161] Compiling C object 'spa/plugins/volume/d2dd3fc@@spa-volume@sha/volume.c.o'. [35/161] Compiling C object 'spa/plugins/videotestsrc/9e0d445@@spa-videotestsrc@sha/videotestsrc.c.o'. [36/161] Compiling C object 'spa/plugins/v4l2/f952731@@spa-v4l2@sha/v4l2-monitor.c.o'. ninja: build stopped: subcommand failed. make: *** [/home/buildroot/autobuild/run/instance-0/output-1/build/pipewire-0.2.7/.stamp_built] Error 1 make: Leaving directory `/home/buildroot/autobuild/run/instance-0/buildroot'