>>> pipewire 0.2.7 Extracting gzip -d -c /home/peko/autobuild/instance-1/dl/pipewire/pipewire-0.2.7.tar.gz | /home/peko/autobuild/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7 -xf - >>> pipewire 0.2.7 Patching >>> pipewire 0.2.7 Configuring rm -rf /home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7//build mkdir -p /home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7//build sed -e 's%@TARGET_CROSS@%/home/peko/autobuild/instance-1/output-1/host/bin/arm-none-linux-gnueabi-%g' -e 's%@TARGET_ARCH@%arm%g' -e 's%@TARGET_CPU@%cortex-a8%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os'%g" -e 's%@HOST_DIR@%/home/peko/autobuild/instance-1/output-1/host%g' -e 's%@STAGING_DIR@%/home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7//build/cross-compilation.conf PATH="/home/peko/autobuild/instance-1/output-1/host/bin:/home/peko/autobuild/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/peko/autobuild/instance-1/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7//build/cross-compilation.conf -Dbuild.pkg_config_path=/home/peko/autobuild/instance-1/output-1/host/lib/pkgconfig -Dgstreamer=disabled -Dsystemd=false /home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7/ /home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7//build The Meson build system Version: 0.55.3 Source dir: /home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7 Build dir: /home/peko/autobuild/instance-1/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: ccache cc (gcc 8.3.0 "cc (Debian 8.3.0-6) 8.3.0") C linker for the build machine: cc ld.bfd 2.31.1 C compiler for the host machine: /home/peko/autobuild/instance-1/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/peko/autobuild/instance-1/output-1/host/bin/arm-none-linux-gnueabi-gcc 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: cortex-a8 Target machine cpu family: arm Target machine cpu: cortex-a8 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" : YES 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/peko/autobuild/instance-1/output-1/host/bin/pkgconf (1.6.1) Run-time dependency dbus-1 found: YES 1.12.18 Run-time dependency alsa found: YES 1.2.4 Found CMake: NO Run-time dependency x11 found: NO (tried pkgconfig and cmake) sdl2-config found: NO Run-time dependency sdl2 found: NO (tried pkgconfig and config-tool) Run-time dependency libavcodec found: YES 58.91.100 Run-time dependency libavformat found: YES 58.45.100 Run-time dependency libavfilter found: YES 7.85.100 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 Build targets in project: 43 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.0 at /home/peko/autobuild/instance-1/output-1/host/bin/ninja >>> pipewire 0.2.7 Building PATH="/home/peko/autobuild/instance-1/output-1/host/bin:/home/peko/autobuild/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/peko/autobuild/instance-1/output-1/host/bin/ninja -j4 -C /home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7//build ninja: Entering directory `/home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7//build' [1/145] Compiling C object spa/plugins/alsa/libspa-alsa.so.p/alsa.c.o [2/145] Compiling C object spa/plugins/alsa/libspa-alsa.so.p/alsa-monitor.c.o [3/145] Compiling C object spa/plugins/alsa/libspa-alsa.so.p/alsa-sink.c.o [4/145] Compiling C object spa/plugins/alsa/libspa-alsa.so.p/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, ^ [5/145] Compiling C object spa/plugins/audiomixer/libspa-audiomixer.so.p/plugin.c.o [6/145] Compiling C object spa/plugins/audiomixer/libspa-audiomixer.so.p/mix-ops.c.o [7/145] Compiling C object spa/plugins/audiotestsrc/libspa-audiotestsrc.so.p/plugin.c.o [8/145] Compiling C object spa/plugins/alsa/libspa-alsa.so.p/alsa-source.c.o [9/145] Linking target spa/plugins/alsa/libspa-alsa.so [10/145] Compiling C object spa/plugins/ffmpeg/libspa-ffmpeg.so.p/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/peko/autobuild/instance-1/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/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libavcodec/avcodec.h:2710) [-Wdeprecated-declarations] c = av_codec_next(NULL); ^ ../spa/plugins/ffmpeg/ffmpeg.c:94:3: warning: 'av_codec_next' is deprecated (declared at /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libavcodec/avcodec.h:2710) [-Wdeprecated-declarations] c = av_codec_next(c); ^ [11/145] Compiling C object spa/plugins/audiomixer/libspa-audiomixer.so.p/audiomixer.c.o [12/145] Linking target spa/plugins/audiomixer/libspa-audiomixer.so [13/145] Compiling C object spa/plugins/support/libspa-support.so.p/mapper.c.o [14/145] Compiling C object spa/plugins/support/libspa-support.so.p/logger.c.o [15/145] Compiling C object spa/plugins/ffmpeg/libspa-ffmpeg.so.p/ffmpeg-enc.c.o [16/145] Compiling C object spa/plugins/support/libspa-support.so.p/plugin.c.o [17/145] Compiling C object spa/plugins/ffmpeg/libspa-ffmpeg.so.p/ffmpeg-dec.c.o [18/145] Compiling C object spa/plugins/audiotestsrc/libspa-audiotestsrc.so.p/audiotestsrc.c.o [19/145] Compiling C object spa/plugins/support/libspa-dbus.so.p/dbus.c.o [20/145] Linking target spa/plugins/ffmpeg/libspa-ffmpeg.so [21/145] Linking target spa/plugins/audiotestsrc/libspa-audiotestsrc.so [22/145] Linking target spa/plugins/support/libspa-dbus.so [23/145] Compiling C object spa/plugins/support/libspa-support.so.p/loop.c.o [24/145] Linking target spa/plugins/support/libspa-support.so [25/145] Compiling C object spa/plugins/test/libspa-test.so.p/plugin.c.o [26/145] Compiling C object spa/plugins/videotestsrc/libspa-videotestsrc.so.p/plugin.c.o [27/145] Compiling C object spa/plugins/test/libspa-test.so.p/fakesrc.c.o [28/145] Compiling C object spa/plugins/test/libspa-test.so.p/fakesink.c.o [29/145] Linking target spa/plugins/test/libspa-test.so [30/145] Compiling C object spa/plugins/volume/libspa-volume.so.p/plugin.c.o [31/145] Compiling C object spa/plugins/v4l2/libspa-v4l2.so.p/v4l2.c.o [32/145] Compiling C object src/pipewire/libpipewire-0.2.so.1.207.0.p/resource.c.o [33/145] Compiling C object spa/plugins/videotestsrc/libspa-videotestsrc.so.p/videotestsrc.c.o [34/145] Linking target spa/plugins/videotestsrc/libspa-videotestsrc.so [35/145] Compiling C object spa/plugins/v4l2/libspa-v4l2.so.p/v4l2-source.c.o FAILED: spa/plugins/v4l2/libspa-v4l2.so.p/v4l2-source.c.o /home/peko/autobuild/instance-1/output-1/host/bin/arm-none-linux-gnueabi-gcc -Ispa/plugins/v4l2/libspa-v4l2.so.p -Ispa/plugins/v4l2 -I../spa/plugins/v4l2 -Ispa/include -I../spa/include -I/home/peko/autobuild/instance-1/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 -fPIC -MD -MQ spa/plugins/v4l2/libspa-v4l2.so.p/v4l2-source.c.o -MF spa/plugins/v4l2/libspa-v4l2.so.p/v4l2-source.c.o.d -o spa/plugins/v4l2/libspa-v4l2.so.p/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/peko/autobuild/instance-1/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 ../spa/include/spa/utils/defs.h:30:0, from ../spa/include/spa/support/type-map.h:27, from ../spa/plugins/v4l2/v4l2-source.c:27: /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:42:14: note: expected 'void * restrict' but argument is of type 'const struct format_info *' extern void *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 ../spa/include/spa/utils/defs.h:30:0, from ../spa/include/spa/support/type-map.h:27, from ../spa/plugins/v4l2/v4l2-source.c:27: /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:42:14: note: expected 'size_t' but argument is of type 'const struct format_info *' extern void *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 ../spa/include/spa/utils/defs.h:30:0, from ../spa/include/spa/support/type-map.h:27, from ../spa/plugins/v4l2/v4l2-source.c:27: /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:62:14: note: expected 'void *' but argument is of type 'const struct format_info *' extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^ 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 ../spa/include/spa/utils/defs.h:30:0, from ../spa/include/spa/support/type-map.h:27, from ../spa/plugins/v4l2/v4l2-source.c:27: /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:62:14: note: expected 'size_t' but argument is of type 'const struct format_info *' extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^ 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 ../spa/include/spa/utils/defs.h:30:0, from ../spa/include/spa/support/type-map.h:27, from ../spa/plugins/v4l2/v4l2-source.c:27: /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:62:14: note: expected 'void *' but argument is of type 'const struct format_info *' extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^ 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 ../spa/include/spa/utils/defs.h:30:0, from ../spa/include/spa/support/type-map.h:27, from ../spa/plugins/v4l2/v4l2-source.c:27: /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:62:14: note: expected 'size_t' but argument is of type 'const struct format_info *' extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^ 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 ../spa/include/spa/utils/defs.h:30:0, from ../spa/include/spa/support/type-map.h:27, from ../spa/plugins/v4l2/v4l2-source.c:27: /home/peko/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:62:14: note: expected 'size_t' but argument is of type 'const struct format_info *' extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^ 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; ^ [36/145] Compiling C object spa/plugins/v4l2/libspa-v4l2.so.p/v4l2-monitor.c.o [37/145] Compiling C object spa/plugins/volume/libspa-volume.so.p/volume.c.o [38/145] Compiling C object spa/tools/spa-inspect.p/spa-inspect.c.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:250: /home/peko/autobuild/instance-1/output-1/build/pipewire-0.2.7/.stamp_built] Error 1 make: Leaving directory '/home/peko/autobuild/instance-1/buildroot'