>>> libsigrok: Building testing/libsigrok 0.5.2-r3 (using abuild 3.13.0-r5) started Mon, 30 Sep 2024 12:34:21 +0000 >>> libsigrok: Checking sanity of /home/buildozer/aports/testing/libsigrok/APKBUILD... >>> libsigrok: Analyzing dependencies... >>> libsigrok: Installing for build: build-base libzip-dev glib-dev libserialport-dev libusb-dev libftdi1-dev glibmm-dev check-dev doxygen (1/104) Installing libbz2 (1.0.8-r6) (2/104) Installing xz-libs (5.6.2-r0) (3/104) Installing libzip (1.11.1-r0) (4/104) Installing libzip-tools (1.11.1-r0) (5/104) Installing bzip2-dev (1.0.8-r6) (6/104) Installing xz (5.6.2-r0) (7/104) Installing xz-dev (5.6.2-r0) (8/104) Installing zlib-dev (1.3.1-r2) (9/104) Installing zstd (1.5.6-r1) (10/104) Installing zstd-dev (1.5.6-r1) (11/104) Installing libzip-dev (1.11.1-r0) (12/104) Installing libxml2 (2.12.8-r0) (13/104) Installing libxml2-utils (2.12.8-r0) (14/104) Installing docbook-xml (4.5-r9) Executing docbook-xml-4.5-r9.post-install (15/104) Installing libgpg-error (1.50-r0) (16/104) Installing libgcrypt (1.10.3-r0) (17/104) Installing libxslt (1.1.39-r1) (18/104) Installing docbook-xsl (1.79.2-r9) Executing docbook-xsl-1.79.2-r9.post-install (19/104) Installing gettext-asprintf (0.22.5-r0) (20/104) Installing libintl (0.22.5-r0) (21/104) Installing gettext-libs (0.22.5-r0) (22/104) Installing gettext-envsubst (0.22.5-r0) (23/104) Installing gettext (0.22.5-r0) (24/104) Installing gettext-dev (0.22.5-r0) (25/104) Installing libffi (3.4.6-r0) (26/104) Installing gdbm (1.24-r0) (27/104) Installing mpdecimal (4.0.0-r0) (28/104) Installing libpanelw (6.5_p20240601-r1) (29/104) Installing sqlite-libs (3.46.1-r0) (30/104) Installing python3 (3.12.6-r0) (31/104) Installing python3-pycache-pyc0 (3.12.6-r0) (32/104) Installing pyc (3.12.6-r0) (33/104) Installing python3-pyc (3.12.6-r0) (34/104) Installing py3-parsing (3.1.4-r0) (35/104) Installing py3-parsing-pyc (3.1.4-r0) (36/104) Installing py3-packaging (24.1-r0) (37/104) Installing py3-packaging-pyc (24.1-r0) (38/104) Installing libeconf (0.6.3-r0) (39/104) Installing libblkid (2.40.2-r3) (40/104) Installing libmount (2.40.2-r3) (41/104) Installing glib (2.82.1-r0) (42/104) Installing linux-headers (6.6-r0) (43/104) Installing libffi-dev (3.4.6-r0) (44/104) Installing bsd-compat-headers (0.7.2-r6) (45/104) Installing libformw (6.5_p20240601-r1) (46/104) Installing libmenuw (6.5_p20240601-r1) (47/104) Installing libncurses++ (6.5_p20240601-r1) (48/104) Installing ncurses-dev (6.5_p20240601-r1) (49/104) Installing libedit-dev (20240808.3.1-r0) (50/104) Installing libpcre2-16 (10.43-r0) (51/104) Installing libpcre2-32 (10.43-r0) (52/104) Installing pcre2-dev (10.43-r0) (53/104) Installing libuuid (2.40.2-r3) (54/104) Installing libfdisk (2.40.2-r3) (55/104) Installing libsmartcols (2.40.2-r3) (56/104) Installing sqlite (3.46.1-r0) (57/104) Installing sqlite-dev (3.46.1-r0) (58/104) Installing util-linux (2.40.2-r3) (59/104) Installing dmesg (2.40.2-r3) (60/104) Installing setarch (2.40.2-r3) (61/104) Installing skalibs (2.14.2.0-r2) (62/104) Installing utmps-libs (0.1.2.2-r3) (63/104) Installing util-linux-misc (2.40.2-r3) (64/104) Installing linux-pam (1.6.1-r1) (65/104) Installing runuser (2.40.2-r3) (66/104) Installing mount (2.40.2-r3) (67/104) Installing losetup (2.40.2-r3) (68/104) Installing hexdump (2.40.2-r3) (69/104) Installing uuidgen (2.40.2-r3) (70/104) Installing blkid (2.40.2-r3) (71/104) Installing sfdisk (2.40.2-r3) (72/104) Installing mcookie (2.40.2-r3) (73/104) Installing agetty (2.40.2-r3) (74/104) Installing wipefs (2.40.2-r3) (75/104) Installing cfdisk (2.40.2-r3) (76/104) Installing umount (2.40.2-r3) (77/104) Installing flock (2.40.2-r3) (78/104) Installing lsblk (2.40.2-r3) (79/104) Installing libcap-ng (0.8.5-r0) (80/104) Installing setpriv (2.40.2-r3) (81/104) Installing lscpu (2.40.2-r3) (82/104) Installing logger (2.40.2-r3) (83/104) Installing partx (2.40.2-r3) (84/104) Installing fstrim (2.40.2-r3) (85/104) Installing findmnt (2.40.2-r3) (86/104) Installing util-linux-dev (2.40.2-r3) (87/104) Installing glib-dev (2.82.1-r0) (88/104) Installing libserialport (0.1.1-r1) (89/104) Installing libserialport-dev (0.1.1-r1) (90/104) Installing libusb (1.0.27-r0) (91/104) Installing libusb-dev (1.0.27-r0) (92/104) Installing confuse (3.3-r4) (93/104) Installing libftdi1 (1.5-r4) Executing libftdi1-1.5-r4.pre-install (94/104) Installing libftdi1-dev (1.5-r4) (95/104) Installing libsigc++ (2.12.1-r0) (96/104) Installing glibmm (2.66.7-r0) (97/104) Installing libsigc++-dev (2.12.1-r0) (98/104) Installing glibmm-dev (2.66.7-r0) (99/104) Installing check (0.15.2-r5) (100/104) Installing check-dev (0.15.2-r5) (101/104) Installing doxygen (1.12.0-r0) (102/104) Installing .makedepends-libsigrok (20240930.123425) (103/104) Installing util-linux-openrc (2.40.2-r3) (104/104) Installing agetty-openrc (0.55.1-r0) Executing busybox-1.36.1-r32.trigger Executing glib-2.82.1-r0.trigger No schema files found: doing nothing. OK: 477 MiB in 206 packages >>> libsigrok: Cleaning up srcdir >>> libsigrok: Cleaning up pkgdir >>> libsigrok: Cleaning up tmpdir >>> libsigrok: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libsigrok-0.5.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libsigrok: Fetching http://sigrok.org/download/source/libsigrok/libsigrok-0.5.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1737k 100 1737k 0 0 4370k 0 --:--:-- --:--:-- --:--:-- 4388k >>> libsigrok: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libsigrok-0.5.2.tar.gz >>> libsigrok: Checking sha512sums... libsigrok-0.5.2.tar.gz: OK >>> libsigrok: Unpacking /var/cache/distfiles/edge/libsigrok-0.5.2.tar.gz... >>> libsigrok: Updating ./autostuff/config.guess checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... autostuff/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-unknown-linux-musl checking host system type... riscv64-unknown-linux-musl checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether ln -s works... yes checking whether make supports order-only prerequisites... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/riscv64-alpine-linux-musl/bin/ld checking if the linker (/usr/riscv64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 98304 checking how to convert riscv64-unknown-linux-musl file names to riscv64-unknown-linux-musl format... func_convert_file_noop checking how to convert riscv64-unknown-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/riscv64-alpine-linux-musl/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/riscv64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/riscv64-alpine-linux-musl/bin/ld checking if the linker (/usr/riscv64-alpine-linux-musl/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/riscv64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/riscv64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.22... yes checking for libserialport... yes checking for libftdi... yes checking for libhidapi... no checking for libbluez... no checking for libusb... yes checking for librevisa... no checking for libgpib... no checking for libieee1284... no checking for libgio... yes checking compiler flag for C99... -std=c99 checking compiler flag for visibility... -fvisibility=hidden checking which C compiler warning flags to use... -Wall -Wextra -Wmissing-prototypes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether byte ordering is bigendian... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/timerfd.h usability... yes checking sys/timerfd.h presence... yes checking for sys/timerfd.h... yes checking for library containing pow... none required checking for RPC support... no checking for __int128_t... yes checking for __uint128_t... yes checking for bt_put_le16... no checking which C++ compiler warning flags to use... -Wall -Wextra checking whether g++ supports C++11 features by default... yes checking for doxygen... yes checking for library containing __cxa_throw... none required checking for a Python interpreter with version >= 2.7... python checking for python... /usr/bin/python checking for python version... 3.1 checking for python platform... linux checking for python script directory... ${prefix}/lib/python3.12/site-packages checking for python extension module directory... ${exec_prefix}/lib/python3.12/site-packages checking for stoi and stod... yes checking python module: setuptools... no checking python module: numpy... no checking for swig... no checking for swig3.0... no checking for swig2.0... no checking for ruby... no checking for javac... no checking jni.h usability... no checking jni.h presence... no checking for jni.h... no checking for LIBSIGROK... yes checking for TESTS... yes checking for LIBSIGROKCXX... yes checking for PYSIGROK... yes checking for RBSIGROK... yes Please specify at least one package name on the command line. Please specify at least one package name on the command line. Please specify at least one package name on the command line. checking for libusb_os_handle... no checking for zip_discard... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libsigrok.pc config.status: creating bindings/cxx/libsigrokcxx.pc config.status: creating config.h config.status: creating include/libsigrok/version.h config.status: executing depfiles commands config.status: executing libtool commands libsigrok configuration summary: - Package version................. 0.5.2 - Library ABI version............. 5:1:1 - Prefix.......................... /usr - Building on..................... riscv64-unknown-linux-musl - Building for.................... riscv64-unknown-linux-musl - Building shared / static........ yes / no Compile configuration: - C compiler...................... gcc - C compiler version.............. gcc (Alpine 14.2.0) 14.2.0 - C compiler flags................ -Os -fstack-clash-protection -Wformat -Werror=format-security - Additional C compiler flags..... -std=c99 -fvisibility=hidden - C compiler warnings............. -Wall -Wextra -Wmissing-prototypes - C++ compiler.................... g++ - C++ compiler version............ g++ (Alpine 14.2.0) 14.2.0 - C++ compiler flags.............. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 - C++ compiler warnings........... -Wall -Wextra - Linker flags.................... -Wl,--as-needed,-O1,--sort-common Detected libraries (required): - glib-2.0 >= 2.32.0.............. 2.82.1 - libzip >= 0.10.................. 1.11.1 Detected libraries (optional): - libserialport >= 0.1.1.......... 0.1.1 - libftdi1 >= 1.0................. 1.5 - hidapi >= 0.8.0................. no - hidapi-hidraw >= 0.8.0.......... no - hidapi-libusb >= 0.8.0.......... no - bluez >= 4.0.................... no - libusb-1.0 >= 1.0.16............ 1.0.27 - librevisa >= 0.0.20130412....... no - libgpib......................... no - libieee1284..................... no - gio-2.0 >= 2.24.0............... 2.82.1 - check >= 0.9.4.................. 0.15.2 - glibmm-2.4 >= 2.32.0............ 2.66.7 - python = 3.1.................... no - python3 = 3.1................... no - python31 = 3.1.................. no - python-3.1 = 3.1................ no - pygobject-3.0 >= 3.0.0.......... no - ruby............................ no - ruby-........................... no Enabled hardware drivers: - agilent-dmm..................... yes - appa-55ii....................... yes - arachnid-labs-re-load-pro....... yes - asix-sigma...................... yes - atten-pps3xxx................... yes - baylibre-acme................... yes - beaglelogic..................... yes - brymen-dmm...................... yes - cem-dt-885x..................... yes - center-3xx...................... yes - chronovu-la..................... yes - colead-slm...................... yes - conrad-digi-35-cpu.............. yes - demo............................ yes - dreamsourcelab-dslogic.......... yes - fluke-45........................ yes - fluke-dmm....................... yes - ftdi-la......................... yes - fx2lafw......................... yes - gmc-mh-1x-2x.................... yes - gwinstek-gds-800................ yes - gwinstek-gpd.................... yes - hameg-hmo....................... yes - hantek-4032l.................... yes - hantek-6xxx..................... yes - hantek-dso...................... yes - hp-3457a........................ yes - hp-3478a........................ no (missing: libgpib) - hung-chang-dso-2100............. no (missing: libieee1284) - ikalogic-scanalogic2............ yes - ikalogic-scanaplus.............. yes - ipdbg-la........................ yes - kecheng-kc-330b................. yes - kern-scale...................... yes - korad-kaxxxxp................... yes - lascar-el-usb................... yes - lecroy-logicstudio.............. yes - lecroy-xstream.................. yes - manson-hcs-3xxx................. yes - mastech-ms6514.................. yes - maynuo-m97...................... yes - mic-985xx....................... yes - microchip-pickit2............... yes - mooshimeter-dmm................. no (missing: bluetooth_comm) - motech-lps-30x.................. yes - norma-dmm....................... yes - openbench-logic-sniffer......... yes - pce-322a........................ yes - pipistrello-ols................. yes - rdtech-dps...................... yes - rigol-ds........................ yes - rohde-schwarz-sme-0x............ yes - saleae-logic16.................. yes - saleae-logic-pro................ yes - scpi-dmm........................ yes - scpi-pps........................ yes - serial-dmm...................... yes - serial-lcr...................... yes - siglent-sds..................... yes - sysclk-lwla..................... yes - sysclk-sla5032.................. yes - teleinfo........................ yes - testo........................... yes - tondaj-sl-814................... yes - uni-t-dmm....................... yes - uni-t-ut32x..................... yes - yokogawa-dlm.................... yes - zeroplus-logic-cube............. yes - zketech-ebd-usb................. yes Enabled serial communication transports: - serial comm ................... yes - libserialport ................. yes - hidapi ........................ no - bluetooth ..................... no - bluez ......................... no Enabled SCPI backends: - TCP............................. yes - RPC............................. no - serial.......................... yes - VISA............................ no - GPIB............................ no - USBTMC.......................... yes Enabled language bindings: - C++............................. yes - Python.......................... no (missing: Headers, PyGObject, setuptools, numpy, SWIG) - Ruby............................ no (missing: Ruby, Headers, SWIG) - Java............................ no (missing: SWIG, JavaC, JNI headers) make all-am CC src/serial.lo CC src/serial_bt.lo CC src/serial_hid.lo CC src/serial_hid_bu86x.lo CC src/serial_hid_ch9325.lo CC src/serial_hid_cp2110.lo CC src/serial_hid_victor.lo CC src/serial_libsp.lo CC src/scpi/scpi_serial.lo CC src/ezusb.lo CC src/usb.lo CC src/scpi/scpi_usbtmc_libusb.lo CC src/drivers.lo CC src/driver_list_start.lo CC src/driver_list_stop.lo GEN doxy/xml/index.xml CC src/backend.lo CC src/conversion.lo CC src/device.lo CC src/session.lo CC src/session_file.lo CC src/session_driver.lo CC src/hwdriver.lo CC src/trigger.lo CC src/soft-trigger.lo CC src/analog.lo CC src/fallback.lo CC src/resource.lo CC src/strutil.lo CC src/log.lo CC src/version.lo CC src/error.lo CC src/std.lo CC src/sw_limits.lo CC src/input/input.lo CC src/input/binary.lo CC src/input/chronovu_la8.lo CC src/input/csv.lo CC src/input/logicport.lo CC src/input/raw_analog.lo CC src/input/trace32_ad.lo CC src/input/vcd.lo CC src/input/wav.lo CC src/input/null.lo CC src/output/output.lo CC src/output/analog.lo CC src/output/ascii.lo CC src/output/bits.lo CC src/output/binary.lo CC src/output/csv.lo CC src/output/chronovu_la8.lo CC src/output/wav.lo CC src/output/hex.lo CC src/output/ols.lo CC src/output/srzip.lo CC src/output/vcd.lo CC src/output/wavedrom.lo CC src/output/null.lo CC src/transform/transform.lo CC src/transform/nop.lo CC src/transform/scale.lo CC src/transform/invert.lo CC src/scpi/scpi_tcp.lo CC src/scpi/scpi.lo CC src/bt/bt_bluez.lo CC src/modbus/modbus.lo CC src/modbus/modbus_serial_rtu.lo CC src/dmm/asycii.lo src/usb.c: In function 'usb_source_dispatch': src/usb.c:142:18: warning: cast between incompatible function types from 'GSourceFunc' {aka 'int (*)(void *)'} to 'int (*)(int, int, void *)' [-Wcast-function-type] 142 | keep = (*(sr_receive_data_callback)callback)(-1, revents, user_data); | ^ src/usb.c: In function 'usb_source_add': src/usb.c:459:39: warning: cast between incompatible function types from 'sr_receive_data_callback' {aka 'int (*)(int, int, void *)'} to 'gboolean (*)(void *)' {aka 'int (*)(void *)'} [-Wcast-function-type] 459 | g_source_set_callback(source, (GSourceFunc)cb, cb_data, NULL); | ^ CC src/dmm/bm25x.lo CC src/dmm/bm86x.lo CC src/dmm/dtm0660.lo CC src/dmm/eev121gw.lo CC src/dmm/es519xx.lo CC src/dmm/fs9721.lo CC src/dmm/fs9922.lo In file included from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from include/libsigrok/libsigrok.h:27, from src/analog.c:26: src/analog.c: In function 'sr_analog_unit_to_string': /usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/analog.c:412:9: note: in expansion of macro 'g_string_free' 412 | g_string_free(buf, FALSE); | ^~~~~~~~~~~~~ CC src/dmm/m2110.lo CC src/dmm/metex14.lo src/output/srzip.c: In function 'zip_create': src/output/srzip.c:90:9: warning: 'zip_add' is deprecated: use 'zip_file_add' instead [-Wdeprecated-declarations] 90 | if (zip_add(zipfile, "version", versrc) < 0) { | ^~ In file included from src/output/srzip.c:26: /usr/include/zip.h:382:69: note: declared here 382 | ZIP_DEPRECATED("use 'zip_file_add' instead") ZIP_EXTERN zip_int64_t zip_add(zip_t *_Nonnull, const char *_Nonnull, zip_source_t *_Nonnull); | ^~~~~~~ src/output/srzip.c:174:9: warning: 'zip_add' is deprecated: use 'zip_file_add' instead [-Wdeprecated-declarations] 174 | if (zip_add(zipfile, "metadata", metasrc) < 0) { | ^~ /usr/include/zip.h:382:69: note: declared here 382 | ZIP_DEPRECATED("use 'zip_file_add' instead") ZIP_EXTERN zip_int64_t zip_add(zip_t *_Nonnull, const char *_Nonnull, zip_source_t *_Nonnull); | ^~~~~~~ src/output/srzip.c: In function 'zip_append': src/output/srzip.c:247:17: warning: 'zip_replace' is deprecated: use 'zip_file_replace' instead [-Wdeprecated-declarations] 247 | if (zip_replace(archive, zs.index, metasrc) < 0) { | ^~ /usr/include/zip.h:387:65: note: declared here 387 | ZIP_DEPRECATED("use 'zip_file_replace' instead") ZIP_EXTERN int zip_replace(zip_t *_Nonnull, zip_uint64_t, zip_source_t *_Nonnull); | ^~~~~~~~~~~ src/output/srzip.c:271:25: warning: 'zip_rename' is deprecated: use 'zip_file_rename' instead [-Wdeprecated-declarations] 271 | if (zip_rename(archive, i, "logic-1-1") < 0) { | ^~ /usr/include/zip.h:386:64: note: declared here 386 | ZIP_DEPRECATED("use 'zip_file_rename' instead") ZIP_EXTERN int zip_rename(zip_t *_Nonnull, zip_uint64_t, const char *_Nonnull); | ^~~~~~~~~~ src/output/srzip.c:293:9: warning: 'zip_add' is deprecated: use 'zip_file_add' instead [-Wdeprecated-declarations] 293 | i = zip_add(archive, chunkname, logicsrc); | ^ /usr/include/zip.h:382:69: note: declared here 382 | ZIP_DEPRECATED("use 'zip_file_add' instead") ZIP_EXTERN zip_int64_t zip_add(zip_t *_Nonnull, const char *_Nonnull, zip_source_t *_Nonnull); | ^~~~~~~ src/output/srzip.c: In function 'zip_append_analog': src/output/srzip.c:384:9: warning: 'zip_add' is deprecated: use 'zip_file_add' instead [-Wdeprecated-declarations] 384 | i = zip_add(archive, chunkname, analogsrc); | ^ /usr/include/zip.h:382:69: note: declared here 382 | ZIP_DEPRECATED("use 'zip_file_add' instead") ZIP_EXTERN zip_int64_t zip_add(zip_t *_Nonnull, const char *_Nonnull, zip_source_t *_Nonnull); | ^~~~~~~ CC src/dmm/ms2115b.lo CC src/dmm/ms8250d.lo CC src/dmm/rs9lcd.lo CC src/dmm/ut372.lo src/session.c: In function 'fd_source_dispatch': src/session.c:130:18: warning: cast between incompatible function types from 'GSourceFunc' {aka 'int (*)(void *)'} to 'int (*)(int, int, void *)' [-Wcast-function-type] 130 | keep = (*(sr_receive_data_callback)callback) | ^ CC src/dmm/ut71x.lo CC src/dmm/vc870.lo src/session.c: In function 'sr_session_fd_source_add': src/session.c:1239:39: warning: cast between incompatible function types from 'sr_receive_data_callback' {aka 'int (*)(int, int, void *)'} to 'gboolean (*)(void *)' {aka 'int (*)(void *)'} [-Wcast-function-type] 1239 | g_source_set_callback(source, (GSourceFunc)cb, cb_data, NULL); | ^ src/session.c: In function 'copy_src': src/session.c:1486:44: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1486 | g_memdup(src, sizeof(struct sr_config))); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from src/session.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/dmm/vc96.lo src/session.c: In function 'sr_packet_copy': src/session.c:1542:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1542 | analog_copy->encoding = g_memdup(analog->encoding, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ src/session.c:1544:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1544 | analog_copy->meaning = g_memdup(analog->meaning, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ src/session.c:1548:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1548 | analog_copy->spec = g_memdup(analog->spec, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/lcr/es51919.lo CC src/lcr/vc4080.lo CC src/scale/kern.lo CC src/hardware/agilent-dmm/protocol.lo CC src/hardware/agilent-dmm/api.lo CC src/hardware/appa-55ii/protocol.lo CC src/hardware/appa-55ii/api.lo CC src/hardware/arachnid-labs-re-load-pro/protocol.lo CC src/hardware/arachnid-labs-re-load-pro/api.lo CC src/hardware/asix-sigma/protocol.lo CC src/hardware/asix-sigma/api.lo CC src/hardware/atten-pps3xxx/protocol.lo CC src/hardware/atten-pps3xxx/api.lo CC src/hardware/baylibre-acme/protocol.lo CC src/hardware/baylibre-acme/api.lo CC src/hardware/baylibre-acme/gpio.lo CC src/hardware/beaglelogic/protocol.lo CC src/hardware/beaglelogic/api.lo CC src/hardware/beaglelogic/beaglelogic_native.lo CC src/hardware/beaglelogic/beaglelogic_tcp.lo CC src/hardware/brymen-dmm/parser.lo CC src/hardware/brymen-dmm/protocol.lo CC src/hardware/brymen-dmm/api.lo CC src/hardware/cem-dt-885x/protocol.lo CC src/hardware/cem-dt-885x/api.lo CC src/hardware/center-3xx/protocol.lo CC src/hardware/center-3xx/api.lo CC src/hardware/chronovu-la/protocol.lo CC src/hardware/chronovu-la/api.lo CC src/hardware/colead-slm/protocol.lo CC src/hardware/colead-slm/api.lo CC src/hardware/conrad-digi-35-cpu/protocol.lo CC src/hardware/conrad-digi-35-cpu/api.lo CC src/hardware/demo/protocol.lo CC src/hardware/demo/api.lo CC src/hardware/dreamsourcelab-dslogic/protocol.lo CC src/hardware/dreamsourcelab-dslogic/api.lo CC src/hardware/fluke-45/protocol.lo CC src/hardware/fluke-45/api.lo CC src/hardware/fluke-dmm/protocol.lo CC src/hardware/fluke-dmm/api.lo CC src/hardware/ftdi-la/protocol.lo CC src/hardware/ftdi-la/api.lo CC src/hardware/fx2lafw/protocol.lo CC src/hardware/fx2lafw/api.lo CC src/hardware/gmc-mh-1x-2x/protocol.lo CC src/hardware/gmc-mh-1x-2x/api.lo CC src/hardware/gwinstek-gds-800/protocol.lo CC src/hardware/gwinstek-gds-800/api.lo CC src/hardware/gwinstek-gpd/protocol.lo CC src/hardware/gwinstek-gpd/api.lo CC src/hardware/hameg-hmo/protocol.lo In file included from src/hardware/beaglelogic/beaglelogic.h:26, from src/hardware/beaglelogic/beaglelogic_native.c:21: /usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from src/hardware/beaglelogic/beaglelogic.h:26, from src/hardware/beaglelogic/api.c:22: /usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ CC src/hardware/hameg-hmo/api.lo In file included from src/hardware/beaglelogic/beaglelogic.h:26, from src/hardware/beaglelogic/beaglelogic_tcp.c:43: /usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ CC src/hardware/hantek-4032l/protocol.lo src/hardware/asix-sigma/protocol.c: In function 'sigma_fpga_init_bitbang': src/hardware/asix-sigma/protocol.c:306:9: warning: 'ftdi_usb_purge_buffers' is deprecated [-Wdeprecated-declarations] 306 | ftdi_usb_purge_buffers(&devc->ftdic); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/hardware/asix-sigma/protocol.h:28, from src/hardware/asix-sigma/protocol.c:27: /usr/include/libftdi1/ftdi.h:566:20: note: declared here 566 | int DEPRECATED(ftdi_usb_purge_buffers(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ In file included from src/hardware/beaglelogic/beaglelogic.h:26, from src/hardware/beaglelogic/protocol.c:33: /usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ src/hardware/asix-sigma/protocol.c: In function 'upload_firmware': src/hardware/asix-sigma/protocol.c:494:9: warning: 'ftdi_usb_purge_buffers' is deprecated [-Wdeprecated-declarations] 494 | ftdi_usb_purge_buffers(&devc->ftdic); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libftdi1/ftdi.h:566:20: note: declared here 566 | int DEPRECATED(ftdi_usb_purge_buffers(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ CC src/hardware/hantek-4032l/api.lo CC src/hardware/hantek-6xxx/protocol.lo CC src/hardware/hantek-6xxx/api.lo CC src/hardware/hantek-dso/protocol.lo src/hardware/chronovu-la/api.c: In function 'dev_open': src/hardware/chronovu-la/api.c:246:9: warning: 'ftdi_usb_purge_buffers' is deprecated [-Wdeprecated-declarations] 246 | if ((ret = ftdi_usb_purge_buffers(devc->ftdic)) < 0) { | ^~ In file included from src/hardware/chronovu-la/protocol.h:25, from src/hardware/chronovu-la/api.c:21: /usr/include/libftdi1/ftdi.h:566:20: note: declared here 566 | int DEPRECATED(ftdi_usb_purge_buffers(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ src/hardware/chronovu-la/protocol.c: In function 'close_usb_reset_sequencer': src/hardware/chronovu-la/protocol.c:205:17: warning: 'ftdi_usb_purge_buffers' is deprecated [-Wdeprecated-declarations] 205 | if ((ret = ftdi_usb_purge_buffers(devc->ftdic)) < 0) | ^~ In file included from src/hardware/chronovu-la/protocol.h:25, from src/hardware/chronovu-la/protocol.c:21: /usr/include/libftdi1/ftdi.h:566:20: note: declared here 566 | int DEPRECATED(ftdi_usb_purge_buffers(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ CC src/hardware/hantek-dso/api.lo CC src/hardware/hp-3457a/protocol.lo CC src/hardware/hp-3457a/api.lo CC src/hardware/ikalogic-scanalogic2/protocol.lo CC src/hardware/ikalogic-scanalogic2/api.lo CC src/hardware/ikalogic-scanaplus/protocol.lo CC src/hardware/ikalogic-scanaplus/api.lo CC src/hardware/ipdbg-la/protocol.lo CC src/hardware/ipdbg-la/api.lo CC src/hardware/kecheng-kc-330b/protocol.lo CC src/hardware/kecheng-kc-330b/api.lo CC src/hardware/kern-scale/protocol.lo CC src/hardware/kern-scale/api.lo CC src/hardware/korad-kaxxxxp/protocol.lo CC src/hardware/korad-kaxxxxp/api.lo CC src/hardware/lascar-el-usb/protocol.lo CC src/hardware/lascar-el-usb/api.lo CC src/hardware/lecroy-logicstudio/protocol.lo CC src/hardware/lecroy-logicstudio/api.lo CC src/hardware/lecroy-xstream/protocol.lo CC src/hardware/lecroy-xstream/api.lo CC src/hardware/manson-hcs-3xxx/protocol.lo CC src/hardware/manson-hcs-3xxx/api.lo CC src/hardware/mastech-ms6514/protocol.lo CC src/hardware/mastech-ms6514/api.lo CC src/hardware/maynuo-m97/protocol.lo CC src/hardware/maynuo-m97/api.lo CC src/hardware/microchip-pickit2/protocol.lo CC src/hardware/microchip-pickit2/api.lo CC src/hardware/mic-985xx/protocol.lo CC src/hardware/mic-985xx/api.lo CC src/hardware/motech-lps-30x/protocol.lo src/hardware/ftdi-la/api.c: In function 'dev_open': src/hardware/ftdi-la/api.c:274:9: warning: 'ftdi_usb_purge_buffers' is deprecated [-Wdeprecated-declarations] 274 | ret = ftdi_usb_purge_buffers(devc->ftdic); | ^~~ In file included from src/hardware/ftdi-la/api.c:21: /usr/include/libftdi1/ftdi.h:566:20: note: declared here 566 | int DEPRECATED(ftdi_usb_purge_buffers(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ CC src/hardware/motech-lps-30x/api.lo CC src/hardware/norma-dmm/protocol.lo CC src/hardware/norma-dmm/api.lo CC src/hardware/openbench-logic-sniffer/protocol.lo CC src/hardware/openbench-logic-sniffer/api.lo src/hardware/ikalogic-scanaplus/api.c: In function 'dev_open': src/hardware/ikalogic-scanaplus/api.c:144:9: warning: 'ftdi_usb_purge_buffers' is deprecated [-Wdeprecated-declarations] 144 | if ((ret = ftdi_usb_purge_buffers(devc->ftdic)) < 0) { | ^~ In file included from src/hardware/ikalogic-scanaplus/protocol.h:26, from src/hardware/ikalogic-scanaplus/api.c:21: /usr/include/libftdi1/ftdi.h:566:20: note: declared here 566 | int DEPRECATED(ftdi_usb_purge_buffers(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ CC src/hardware/pce-322a/protocol.lo CC src/hardware/pce-322a/api.lo CC src/hardware/pipistrello-ols/protocol.lo CC src/hardware/pipistrello-ols/api.lo CC src/hardware/rdtech-dps/protocol.lo CC src/hardware/rdtech-dps/api.lo CC src/hardware/rigol-ds/protocol.lo CC src/hardware/rigol-ds/api.lo CC src/hardware/rohde-schwarz-sme-0x/protocol.lo CC src/hardware/rohde-schwarz-sme-0x/api.lo CC src/hardware/saleae-logic16/protocol.lo CC src/hardware/saleae-logic16/api.lo CC src/hardware/saleae-logic-pro/protocol.lo CC src/hardware/saleae-logic-pro/api.lo CC src/hardware/scpi-dmm/protocol.lo CC src/hardware/scpi-dmm/api.lo CC src/hardware/scpi-pps/protocol.lo CC src/hardware/scpi-pps/profiles.lo CC src/hardware/scpi-pps/api.lo CC src/hardware/serial-dmm/protocol.lo CC src/hardware/serial-dmm/api.lo CC src/hardware/serial-lcr/protocol.lo CC src/hardware/serial-lcr/api.lo CC src/hardware/siglent-sds/protocol.lo CC src/hardware/siglent-sds/api.lo CC src/hardware/sysclk-lwla/lwla.lo CC src/hardware/sysclk-lwla/lwla1016.lo CC src/hardware/sysclk-lwla/lwla1034.lo CC src/hardware/sysclk-lwla/protocol.lo CC src/hardware/sysclk-lwla/api.lo CC src/hardware/sysclk-sla5032/protocol.lo CC src/hardware/sysclk-sla5032/api.lo CC src/hardware/teleinfo/protocol.lo CC src/hardware/teleinfo/api.lo CC src/hardware/testo/protocol.lo CC src/hardware/testo/api.lo CC src/hardware/tondaj-sl-814/protocol.lo CC src/hardware/tondaj-sl-814/api.lo CC src/hardware/uni-t-dmm/protocol.lo CC src/hardware/uni-t-dmm/api.lo CC src/hardware/uni-t-ut32x/protocol.lo In file included from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from src/hardware/openbench-logic-sniffer/protocol.h:25, from src/hardware/openbench-logic-sniffer/protocol.c:21: src/hardware/openbench-logic-sniffer/protocol.c: In function 'get_metadata': /usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/hardware/openbench-logic-sniffer/protocol.c:312:9: note: in expansion of macro 'g_string_free' 312 | g_string_free(devname, FALSE); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/hardware/openbench-logic-sniffer/protocol.c:313:9: note: in expansion of macro 'g_string_free' 313 | g_string_free(version, FALSE); | ^~~~~~~~~~~~~ CC src/hardware/uni-t-ut32x/api.lo CC src/hardware/yokogawa-dlm/protocol.lo CC src/hardware/yokogawa-dlm/protocol_wrappers.lo CC src/hardware/yokogawa-dlm/api.lo src/hardware/pipistrello-ols/protocol.c: In function 'p_ols_open': src/hardware/pipistrello-ols/protocol.c:93:9: warning: 'ftdi_usb_purge_buffers' is deprecated [-Wdeprecated-declarations] 93 | if ((ret = ftdi_usb_purge_buffers(devc->ftdic)) < 0) { | ^~ In file included from src/hardware/pipistrello-ols/protocol.h:26, from src/hardware/pipistrello-ols/protocol.c:21: /usr/include/libftdi1/ftdi.h:566:20: note: declared here 566 | int DEPRECATED(ftdi_usb_purge_buffers(struct ftdi_context *ftdi)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED' 247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func | ^~~~ CC src/hardware/zeroplus-logic-cube/analyzer.lo CC src/hardware/zeroplus-logic-cube/gl_usb.lo In file included from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from src/hardware/pipistrello-ols/protocol.h:25: src/hardware/pipistrello-ols/protocol.c: In function 'p_ols_get_metadata': /usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/hardware/pipistrello-ols/protocol.c:330:9: note: in expansion of macro 'g_string_free' 330 | g_string_free(devname, FALSE); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/hardware/pipistrello-ols/protocol.c:331:9: note: in expansion of macro 'g_string_free' 331 | g_string_free(version, FALSE); | ^~~~~~~~~~~~~ CC src/hardware/zeroplus-logic-cube/protocol.lo CC src/hardware/zeroplus-logic-cube/api.lo CC src/hardware/zketech-ebd-usb/protocol.lo CC src/hardware/zketech-ebd-usb/api.lo CCLD src/libdrivers_head.la CCLD src/libdrivers_tail.la ar: `u' modifier ignored since `D' is the default (see `U') ar: `u' modifier ignored since `D' is the default (see `U') src/hardware/yokogawa-dlm/api.c: In function 'config_list': src/hardware/yokogawa-dlm/api.c:429:33: warning: 'std_gvar_array_u32' reading 4 bytes from a region of size 0 [-Wstringop-overread] 429 | *data = std_gvar_array_u32(ARRAY_AND_SIZE(devopts_cg_digital)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/hardware/yokogawa-dlm/api.c:429:33: note: referencing argument 1 of type 'const uint32_t[0]' {aka 'const unsigned int[]'} In file included from ./src/scpi.h:30, from src/hardware/yokogawa-dlm/api.c:23: ./src/libsigrok-internal.h:1071:19: note: in a call to function 'std_gvar_array_u32' 1071 | SR_PRIV GVariant *std_gvar_array_u32(const uint32_t a[], unsigned int n); | ^~~~~~~~~~~~~~~~~~ CCLD src/libdrivers.la copying selected object files to avoid basename conflicts... GEN bindings/cxx/enums.timestamp CXX bindings/cxx/classes.lo ar: `u' modifier ignored since `D' is the default (see `U') CCLD src/libdrivers.o GEN src/libdrivers.lo CCLD libsigrok.la CXXLD bindings/cxx/libsigrokcxx.la >>> libsigrok: Entering fakeroot... autostuff/install-sh -c -d '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/include/libsigrokcxx' autostuff/install-sh -c -d '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/include/libsigrok' autostuff/install-sh -c -d '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/share/mime/packages' autostuff/install-sh -c -d '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/share/icons/hicolor/48x48/mimetypes' autostuff/install-sh -c -d '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/share/icons/hicolor/scalable/mimetypes' autostuff/install-sh -c -d '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/include/libsigrokcxx' autostuff/install-sh -c -d '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/include/libsigrok' autostuff/install-sh -c -d '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/lib/pkgconfig' autostuff/install-sh -c -d '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/lib' /usr/bin/install -c -m 644 bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/include/libsigrokcxx' /usr/bin/install -c -m 644 include/libsigrok/libsigrok.h include/libsigrok/proto.h '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/include/libsigrok' /usr/bin/install -c -m 644 contrib/vnd.sigrok.session.xml '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/share/mime/packages' /usr/bin/install -c -m 644 contrib/libsigrok.png '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/share/icons/hicolor/48x48/mimetypes' /usr/bin/install -c -m 644 contrib/libsigrok.svg '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/share/icons/hicolor/scalable/mimetypes' /usr/bin/install -c -m 644 bindings/cxx/include/libsigrokcxx/enums.hpp '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/include/libsigrokcxx' /usr/bin/install -c -m 644 include/libsigrok/version.h '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/include/libsigrok' /usr/bin/install -c -m 644 libsigrok.pc bindings/cxx/libsigrokcxx.pc '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/lib/pkgconfig' /bin/sh ./libtool --silent --mode=install /usr/bin/install -c libsigrok.la bindings/cxx/libsigrokcxx.la '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/lib' libtool: warning: relinking 'bindings/cxx/libsigrokcxx.la' libtool: warning: remember to run 'libtool --finish /usr/lib' >>> libsigrok-dev*: Running split function dev... >>> libsigrok-dev*: Preparing subpackage libsigrok-dev... >>> libsigrok-dev*: Stripping binaries >>> libsigrok-dev*: Running postcheck for libsigrok-dev >>> libsigrok*: Running postcheck for libsigrok >>> libsigrok*: Preparing package libsigrok... >>> libsigrok*: Stripping binaries >>> libsigrok-dev*: Scanning shared objects >>> libsigrok*: Scanning shared objects >>> libsigrok-dev*: Tracing dependencies... libsigrok=0.5.2-r3 pc:gio-2.0>=2.24.0 pc:glib-2.0 pc:glibmm-2.4 pc:libftdi1>=1.0 pc:libserialport>=0.1.1 pc:libusb-1.0>=1.0.16 pc:libzip>=0.10 pkgconfig >>> libsigrok-dev*: Package size: 160.0 KB >>> libsigrok-dev*: Compressing data... >>> libsigrok-dev*: Create checksum... >>> libsigrok-dev*: Create libsigrok-dev-0.5.2-r3.apk >>> libsigrok*: Tracing dependencies... so:libc.musl-riscv64.so.1 so:libftdi1.so.2 so:libgcc_s.so.1 so:libglib-2.0.so.0 so:libglibmm-2.4.so.1 so:libserialport.so.0 so:libstdc++.so.6 so:libusb-1.0.so.0 so:libzip.so.5 >>> libsigrok*: Package size: 1.3 MB >>> libsigrok*: Compressing data... >>> libsigrok*: Create checksum... >>> libsigrok*: Create libsigrok-0.5.2-r3.apk >>> libsigrok: Build complete at Mon, 30 Sep 2024 12:36:06 +0000 elapsed time 0h 1m 45s >>> libsigrok: Cleaning up srcdir >>> libsigrok: Cleaning up pkgdir >>> libsigrok: Uninstalling dependencies... (1/104) Purging .makedepends-libsigrok (20240930.123425) (2/104) Purging libzip-dev (1.11.1-r0) (3/104) Purging libzip-tools (1.11.1-r0) (4/104) Purging xz-dev (5.6.2-r0) (5/104) Purging zstd-dev (1.5.6-r1) (6/104) Purging zstd (1.5.6-r1) (7/104) Purging libzip (1.11.1-r0) (8/104) Purging libserialport-dev (0.1.1-r1) (9/104) Purging libserialport (0.1.1-r1) (10/104) Purging libftdi1-dev (1.5-r4) (11/104) Purging libftdi1 (1.5-r4) (12/104) Purging glibmm-dev (2.66.7-r0) (13/104) Purging glibmm (2.66.7-r0) (14/104) Purging check-dev (0.15.2-r5) (15/104) Purging check (0.15.2-r5) (16/104) Purging doxygen (1.12.0-r0) (17/104) Purging agetty-openrc (0.55.1-r0) (18/104) Purging agetty (2.40.2-r3) (19/104) Purging blkid (2.40.2-r3) (20/104) Purging cfdisk (2.40.2-r3) (21/104) Purging confuse (3.3-r4) (22/104) Purging dmesg (2.40.2-r3) (23/104) Purging findmnt (2.40.2-r3) (24/104) Purging flock (2.40.2-r3) (25/104) Purging fstrim (2.40.2-r3) (26/104) Purging glib-dev (2.82.1-r0) (27/104) Purging bzip2-dev (1.0.8-r6) (28/104) Purging docbook-xsl (1.79.2-r9) Executing docbook-xsl-1.79.2-r9.pre-deinstall (29/104) Purging docbook-xml (4.5-r9) Executing docbook-xml-4.5-r9.pre-deinstall (30/104) Purging gettext-dev (0.22.5-r0) (31/104) Purging xz (5.6.2-r0) (32/104) Purging gettext-asprintf (0.22.5-r0) (33/104) Purging gettext (0.22.5-r0) (34/104) Purging gettext-envsubst (0.22.5-r0) (35/104) Purging libxml2-utils (2.12.8-r0) (36/104) Purging libxslt (1.1.39-r1) (37/104) Purging py3-packaging-pyc (24.1-r0) (38/104) Purging py3-packaging (24.1-r0) (39/104) Purging py3-parsing-pyc (3.1.4-r0) (40/104) Purging py3-parsing (3.1.4-r0) (41/104) Purging python3-pyc (3.12.6-r0) (42/104) Purging python3-pycache-pyc0 (3.12.6-r0) (43/104) Purging pyc (3.12.6-r0) (44/104) Purging python3 (3.12.6-r0) (45/104) Purging hexdump (2.40.2-r3) (46/104) Purging libbz2 (1.0.8-r6) (47/104) Purging libffi-dev (3.4.6-r0) (48/104) Purging linux-headers (6.6-r0) (49/104) Purging libgcrypt (1.10.3-r0) (50/104) Purging libgpg-error (1.50-r0) (51/104) Purging libsigc++-dev (2.12.1-r0) (52/104) Purging libsigc++ (2.12.1-r0) (53/104) Purging libusb-dev (1.0.27-r0) (54/104) Purging libusb (1.0.27-r0) (55/104) Purging libxml2 (2.12.8-r0) (56/104) Purging logger (2.40.2-r3) (57/104) Purging losetup (2.40.2-r3) (58/104) Purging lsblk (2.40.2-r3) (59/104) Purging lscpu (2.40.2-r3) (60/104) Purging mcookie (2.40.2-r3) (61/104) Purging mount (2.40.2-r3) (62/104) Purging mpdecimal (4.0.0-r0) (63/104) Purging partx (2.40.2-r3) (64/104) Purging pcre2-dev (10.43-r0) (65/104) Purging libedit-dev (20240808.3.1-r0) (66/104) Purging bsd-compat-headers (0.7.2-r6) (67/104) Purging ncurses-dev (6.5_p20240601-r1) (68/104) Purging libncurses++ (6.5_p20240601-r1) (69/104) Purging libpanelw (6.5_p20240601-r1) (70/104) Purging zlib-dev (1.3.1-r2) (71/104) Purging libpcre2-16 (10.43-r0) (72/104) Purging libpcre2-32 (10.43-r0) (73/104) Purging runuser (2.40.2-r3) (74/104) Purging setpriv (2.40.2-r3) (75/104) Purging sfdisk (2.40.2-r3) (76/104) Purging umount (2.40.2-r3) (77/104) Purging util-linux-dev (2.40.2-r3) (78/104) Purging util-linux-misc (2.40.2-r3) (79/104) Purging setarch (2.40.2-r3) (80/104) Purging util-linux-openrc (2.40.2-r3) (81/104) Purging uuidgen (2.40.2-r3) (82/104) Purging wipefs (2.40.2-r3) (83/104) Purging xz-libs (5.6.2-r0) (84/104) Purging gdbm (1.24-r0) (85/104) Purging gettext-libs (0.22.5-r0) (86/104) Purging glib (2.82.1-r0) (87/104) Purging libfdisk (2.40.2-r3) (88/104) Purging libmount (2.40.2-r3) (89/104) Purging libblkid (2.40.2-r3) (90/104) Purging libcap-ng (0.8.5-r0) (91/104) Purging libeconf (0.6.3-r0) (92/104) Purging libffi (3.4.6-r0) (93/104) Purging libformw (6.5_p20240601-r1) (94/104) Purging libintl (0.22.5-r0) (95/104) Purging libmenuw (6.5_p20240601-r1) (96/104) Purging libsmartcols (2.40.2-r3) (97/104) Purging libuuid (2.40.2-r3) (98/104) Purging linux-pam (1.6.1-r1) (99/104) Purging utmps-libs (0.1.2.2-r3) (100/104) Purging skalibs (2.14.2.0-r2) (101/104) Purging sqlite-dev (3.46.1-r0) (102/104) Purging sqlite (3.46.1-r0) (103/104) Purging util-linux (2.40.2-r3) (104/104) Purging sqlite-libs (3.46.1-r0) Executing busybox-1.36.1-r32.trigger OK: 341 MiB in 102 packages >>> libsigrok: Updating the testing/riscv64 repository index... >>> libsigrok: Signing the index...