>>> libsigrok: Building testing/libsigrok 0.5.2-r3 (using abuild 3.13.0-r5) started Mon, 30 Sep 2024 11:19:41 +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/102) Installing libzip (1.11.1-r0) (2/102) Installing libzip-tools (1.11.1-r0) (3/102) Installing bzip2-dev (1.0.8-r6) (4/102) Installing xz (5.6.2-r0) (5/102) Installing xz-dev (5.6.2-r0) (6/102) Installing zlib-dev (1.3.1-r2) (7/102) Installing zstd (1.5.6-r1) (8/102) Installing zstd-dev (1.5.6-r1) (9/102) Installing libzip-dev (1.11.1-r0) (10/102) Installing libxml2 (2.12.8-r0) (11/102) Installing libxml2-utils (2.12.8-r0) (12/102) Installing docbook-xml (4.5-r9) Executing docbook-xml-4.5-r9.post-install (13/102) Installing libgpg-error (1.50-r0) (14/102) Installing libgcrypt (1.10.3-r0) (15/102) Installing libxslt (1.1.39-r1) (16/102) Installing docbook-xsl (1.79.2-r9) Executing docbook-xsl-1.79.2-r9.post-install (17/102) Installing gettext-asprintf (0.22.5-r0) (18/102) Installing libintl (0.22.5-r0) (19/102) Installing gettext-libs (0.22.5-r0) (20/102) Installing gettext-envsubst (0.22.5-r0) (21/102) Installing gettext (0.22.5-r0) (22/102) Installing gettext-dev (0.22.5-r0) (23/102) Installing libffi (3.4.6-r0) (24/102) Installing gdbm (1.24-r0) (25/102) Installing mpdecimal (4.0.0-r0) (26/102) Installing libpanelw (6.5_p20240601-r1) (27/102) Installing sqlite-libs (3.46.1-r0) (28/102) Installing python3 (3.12.6-r0) (29/102) Installing python3-pycache-pyc0 (3.12.6-r0) (30/102) Installing pyc (3.12.6-r0) (31/102) Installing python3-pyc (3.12.6-r0) (32/102) Installing py3-parsing (3.1.4-r0) (33/102) Installing py3-parsing-pyc (3.1.4-r0) (34/102) Installing py3-packaging (24.1-r0) (35/102) Installing py3-packaging-pyc (24.1-r0) (36/102) Installing libeconf (0.6.3-r0) (37/102) Installing libblkid (2.40.2-r3) (38/102) Installing libmount (2.40.2-r3) (39/102) Installing glib (2.82.1-r0) (40/102) Installing linux-headers (6.6-r0) (41/102) Installing libffi-dev (3.4.6-r0) (42/102) Installing bsd-compat-headers (0.7.2-r6) (43/102) Installing libformw (6.5_p20240601-r1) (44/102) Installing libmenuw (6.5_p20240601-r1) (45/102) Installing libncurses++ (6.5_p20240601-r1) (46/102) Installing ncurses-dev (6.5_p20240601-r1) (47/102) Installing libedit-dev (20240808.3.1-r0) (48/102) Installing libpcre2-16 (10.43-r0) (49/102) Installing libpcre2-32 (10.43-r0) (50/102) Installing pcre2-dev (10.43-r0) (51/102) Installing libuuid (2.40.2-r3) (52/102) Installing libfdisk (2.40.2-r3) (53/102) Installing libsmartcols (2.40.2-r3) (54/102) Installing sqlite (3.46.1-r0) (55/102) Installing sqlite-dev (3.46.1-r0) (56/102) Installing util-linux (2.40.2-r3) (57/102) Installing dmesg (2.40.2-r3) (58/102) Installing setarch (2.40.2-r3) (59/102) Installing skalibs (2.14.2.0-r2) (60/102) Installing utmps-libs (0.1.2.2-r3) (61/102) Installing util-linux-misc (2.40.2-r3) (62/102) Installing linux-pam (1.6.1-r1) (63/102) Installing runuser (2.40.2-r3) (64/102) Installing mount (2.40.2-r3) (65/102) Installing losetup (2.40.2-r3) (66/102) Installing hexdump (2.40.2-r3) (67/102) Installing uuidgen (2.40.2-r3) (68/102) Installing blkid (2.40.2-r3) (69/102) Installing sfdisk (2.40.2-r3) (70/102) Installing mcookie (2.40.2-r3) (71/102) Installing agetty (2.40.2-r3) (72/102) Installing wipefs (2.40.2-r3) (73/102) Installing cfdisk (2.40.2-r3) (74/102) Installing umount (2.40.2-r3) (75/102) Installing flock (2.40.2-r3) (76/102) Installing lsblk (2.40.2-r3) (77/102) Installing libcap-ng (0.8.5-r0) (78/102) Installing setpriv (2.40.2-r3) (79/102) Installing lscpu (2.40.2-r3) (80/102) Installing logger (2.40.2-r3) (81/102) Installing partx (2.40.2-r3) (82/102) Installing fstrim (2.40.2-r3) (83/102) Installing findmnt (2.40.2-r3) (84/102) Installing util-linux-dev (2.40.2-r3) (85/102) Installing glib-dev (2.82.1-r0) (86/102) Installing libserialport (0.1.1-r1) (87/102) Installing libserialport-dev (0.1.1-r1) (88/102) Installing libusb (1.0.27-r0) (89/102) Installing libusb-dev (1.0.27-r0) (90/102) Installing confuse (3.3-r4) (91/102) Installing libftdi1 (1.5-r4) Executing libftdi1-1.5-r4.pre-install (92/102) Installing libftdi1-dev (1.5-r4) (93/102) Installing libsigc++ (2.12.1-r0) (94/102) Installing glibmm (2.66.7-r0) (95/102) Installing libsigc++-dev (2.12.1-r0) (96/102) Installing glibmm-dev (2.66.7-r0) (97/102) Installing check (0.15.2-r5) (98/102) Installing check-dev (0.15.2-r5) (99/102) Installing doxygen (1.12.0-r0) (100/102) Installing .makedepends-libsigrok (20240930.111943) (101/102) Installing util-linux-openrc (2.40.2-r3) (102/102) 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: removed existing output file. OK: 546 MiB in 219 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 8061k 0 --:--:-- --:--:-- --:--:-- 8082k >>> 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... i686-pc-linux-musl checking host system type... i686-pc-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/i586-alpine-linux-musl/bin/ld checking if the linker (/usr/i586-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 i686-pc-linux-musl file names to i686-pc-linux-musl format... func_convert_file_noop checking how to convert i686-pc-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/i586-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/i586-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/i586-alpine-linux-musl/bin/ld checking if the linker (/usr/i586-alpine-linux-musl/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i586-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/i586-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... no checking for __uint128_t... no 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..................... i686-pc-linux-musl - Building for.................... i686-pc-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 -Wl,-z,pack-relative-relocs 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 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); | ^ CC src/output/binary.lo CC src/output/csv.lo CC src/output/chronovu_la8.lo 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/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 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) | ^ 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); | ^ CC src/output/null.lo 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))); | ^~~~~~~~ CC src/transform/transform.lo 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, | ^~~~~~~~ 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, | ^~~~~~~~ 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/transform/nop.lo CC src/transform/scale.lo CC src/transform/invert.lo CC src/scpi/scpi.lo CC src/scpi/scpi_tcp.lo CC src/bt/bt_bluez.lo CC src/modbus/modbus.lo CC src/modbus/modbus_serial_rtu.lo CC src/dmm/asycii.lo 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 CC src/dmm/m2110.lo CC src/dmm/metex14.lo CC src/dmm/ms2115b.lo CC src/dmm/ms8250d.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/rs9lcd.lo CC src/dmm/ut372.lo CC src/dmm/ut71x.lo CC src/dmm/vc870.lo CC src/dmm/vc96.lo 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 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 | ^~~~ 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/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 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 | ^~~~~~~ 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 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/gmc-mh-1x-2x/protocol.lo CC src/hardware/gmc-mh-1x-2x/api.lo CC src/hardware/gwinstek-gds-800/protocol.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/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 CC src/hardware/hameg-hmo/api.lo CC src/hardware/hantek-4032l/api.lo CC src/hardware/hantek-4032l/protocol.lo CC src/hardware/hantek-6xxx/protocol.lo CC src/hardware/hantek-6xxx/api.lo CC src/hardware/hantek-dso/protocol.lo 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-scanaplus/protocol.lo CC src/hardware/ikalogic-scanalogic2/api.lo CC src/hardware/ikalogic-scanaplus/api.lo CC src/hardware/ipdbg-la/protocol.lo 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 | ^~~~ 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 | ^~~~ 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 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/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 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/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 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 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 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/sysclk-sla5032/protocol.lo CC src/hardware/sysclk-sla5032/api.lo CC src/hardware/teleinfo/api.lo CC src/hardware/teleinfo/protocol.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/testo/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/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/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 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 CC src/hardware/zeroplus-logic-cube/analyzer.lo CC src/hardware/zeroplus-logic-cube/gl_usb.lo CC src/hardware/zeroplus-logic-cube/protocol.lo CC src/hardware/zeroplus-logic-cube/api.lo CC src/hardware/zketech-ebd-usb/protocol.lo src/hardware/siglent-sds/protocol.c: In function 'siglent_sds_get_digital': src/hardware/siglent-sds/protocol.c:382:84: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'long int' [-Wsign-compare] 382 | if (data_low_channels->len <= samples_index) { | ^~ CC src/hardware/zketech-ebd-usb/api.lo src/hardware/siglent-sds/protocol.c:391:85: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'long int' [-Wsign-compare] 391 | if (data_high_channels->len <= samples_index) { | ^~ src/hardware/siglent-sds/protocol.c:417:60: warning: comparison of integer expressions of different signedness: 'long int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] 417 | for (long index = 0; index < tmp_samplebuf->len; index++) { | ^ CCLD src/libdrivers_head.la In file included from src/hardware/siglent-sds/protocol.c:37: src/hardware/siglent-sds/protocol.c: In function 'siglent_sds_receive': src/hardware/siglent-sds/protocol.h:28:20: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 28 | #define LOG_PREFIX "siglent-sds" | ^~~~~~~~~~~~~ ./src/libsigrok-internal.h:821:45: note: in expansion of macro 'LOG_PREFIX' 821 | #define sr_dbg(...) sr_log(SR_LOG_DBG, LOG_PREFIX ": " __VA_ARGS__) | ^~~~~~~~~~ src/hardware/siglent-sds/protocol.c:566:41: note: in expansion of macro 'sr_dbg' 566 | sr_dbg("Requesting: %li bytes.", devc->num_samples - devc->num_block_bytes); | ^~~~~~ src/hardware/siglent-sds/protocol.c: In function 'siglent_sds_get_dev_cfg_horizontal': src/hardware/siglent-sds/protocol.h:28:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 28 | #define LOG_PREFIX "siglent-sds" | ^~~~~~~~~~~~~ ./src/libsigrok-internal.h:821:45: note: in expansion of macro 'LOG_PREFIX' 821 | #define sr_dbg(...) sr_log(SR_LOG_DBG, LOG_PREFIX ": " __VA_ARGS__) | ^~~~~~~~~~ src/hardware/siglent-sds/protocol.c:942:9: note: in expansion of macro 'sr_dbg' 942 | sr_dbg("Current memory depth: %lu.", devc->memory_depth_analog); | ^~~~~~ 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); | ^~~~~~~~~~~~~~~~~~ GEN bindings/cxx/enums.timestamp CXX bindings/cxx/classes.lo CCLD src/libdrivers.la copying selected object files to avoid basename conflicts... 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 include/libsigrok/version.h '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/include/libsigrok' /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 contrib/libsigrok.svg '/home/buildozer/aports/testing/libsigrok/pkg/libsigrok/usr/share/icons/hicolor/scalable/mimetypes' /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-x86.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.2 MB >>> libsigrok*: Compressing data... >>> libsigrok*: Create checksum... >>> libsigrok*: Create libsigrok-0.5.2-r3.apk >>> libsigrok: Build complete at Mon, 30 Sep 2024 11:20:06 +0000 elapsed time 0h 0m 25s >>> libsigrok: Cleaning up srcdir >>> libsigrok: Cleaning up pkgdir >>> libsigrok: Uninstalling dependencies... (1/102) Purging .makedepends-libsigrok (20240930.111943) (2/102) Purging libzip-dev (1.11.1-r0) (3/102) Purging libzip-tools (1.11.1-r0) (4/102) Purging xz-dev (5.6.2-r0) (5/102) Purging zstd-dev (1.5.6-r1) (6/102) Purging zstd (1.5.6-r1) (7/102) Purging libzip (1.11.1-r0) (8/102) Purging libserialport-dev (0.1.1-r1) (9/102) Purging libserialport (0.1.1-r1) (10/102) Purging libftdi1-dev (1.5-r4) (11/102) Purging libftdi1 (1.5-r4) (12/102) Purging glibmm-dev (2.66.7-r0) (13/102) Purging glibmm (2.66.7-r0) (14/102) Purging check-dev (0.15.2-r5) (15/102) Purging check (0.15.2-r5) (16/102) Purging doxygen (1.12.0-r0) (17/102) Purging agetty-openrc (0.55.1-r0) (18/102) Purging agetty (2.40.2-r3) (19/102) Purging blkid (2.40.2-r3) (20/102) Purging cfdisk (2.40.2-r3) (21/102) Purging confuse (3.3-r4) (22/102) Purging dmesg (2.40.2-r3) (23/102) Purging findmnt (2.40.2-r3) (24/102) Purging flock (2.40.2-r3) (25/102) Purging fstrim (2.40.2-r3) (26/102) Purging glib-dev (2.82.1-r0) (27/102) Purging bzip2-dev (1.0.8-r6) (28/102) Purging docbook-xsl (1.79.2-r9) Executing docbook-xsl-1.79.2-r9.pre-deinstall (29/102) Purging docbook-xml (4.5-r9) Executing docbook-xml-4.5-r9.pre-deinstall (30/102) Purging gettext-dev (0.22.5-r0) (31/102) Purging xz (5.6.2-r0) (32/102) Purging gettext-asprintf (0.22.5-r0) (33/102) Purging gettext (0.22.5-r0) (34/102) Purging gettext-envsubst (0.22.5-r0) (35/102) Purging libxml2-utils (2.12.8-r0) (36/102) Purging libxslt (1.1.39-r1) (37/102) Purging py3-packaging-pyc (24.1-r0) (38/102) Purging py3-packaging (24.1-r0) (39/102) Purging py3-parsing-pyc (3.1.4-r0) (40/102) Purging py3-parsing (3.1.4-r0) (41/102) Purging python3-pyc (3.12.6-r0) (42/102) Purging python3-pycache-pyc0 (3.12.6-r0) (43/102) Purging pyc (3.12.6-r0) (44/102) Purging python3 (3.12.6-r0) (45/102) Purging hexdump (2.40.2-r3) (46/102) Purging libffi-dev (3.4.6-r0) (47/102) Purging linux-headers (6.6-r0) (48/102) Purging libgcrypt (1.10.3-r0) (49/102) Purging libgpg-error (1.50-r0) (50/102) Purging libsigc++-dev (2.12.1-r0) (51/102) Purging libsigc++ (2.12.1-r0) (52/102) Purging libusb-dev (1.0.27-r0) (53/102) Purging libusb (1.0.27-r0) (54/102) Purging libxml2 (2.12.8-r0) (55/102) Purging logger (2.40.2-r3) (56/102) Purging losetup (2.40.2-r3) (57/102) Purging lsblk (2.40.2-r3) (58/102) Purging lscpu (2.40.2-r3) (59/102) Purging mcookie (2.40.2-r3) (60/102) Purging mount (2.40.2-r3) (61/102) Purging mpdecimal (4.0.0-r0) (62/102) Purging partx (2.40.2-r3) (63/102) Purging pcre2-dev (10.43-r0) (64/102) Purging libedit-dev (20240808.3.1-r0) (65/102) Purging bsd-compat-headers (0.7.2-r6) (66/102) Purging ncurses-dev (6.5_p20240601-r1) (67/102) Purging libncurses++ (6.5_p20240601-r1) (68/102) Purging libpanelw (6.5_p20240601-r1) (69/102) Purging zlib-dev (1.3.1-r2) (70/102) Purging libpcre2-16 (10.43-r0) (71/102) Purging libpcre2-32 (10.43-r0) (72/102) Purging runuser (2.40.2-r3) (73/102) Purging setpriv (2.40.2-r3) (74/102) Purging sfdisk (2.40.2-r3) (75/102) Purging umount (2.40.2-r3) (76/102) Purging util-linux-dev (2.40.2-r3) (77/102) Purging util-linux-misc (2.40.2-r3) (78/102) Purging setarch (2.40.2-r3) (79/102) Purging util-linux-openrc (2.40.2-r3) (80/102) Purging uuidgen (2.40.2-r3) (81/102) Purging wipefs (2.40.2-r3) (82/102) Purging gdbm (1.24-r0) (83/102) Purging gettext-libs (0.22.5-r0) (84/102) Purging glib (2.82.1-r0) (85/102) Purging libfdisk (2.40.2-r3) (86/102) Purging libmount (2.40.2-r3) (87/102) Purging libblkid (2.40.2-r3) (88/102) Purging libcap-ng (0.8.5-r0) (89/102) Purging libeconf (0.6.3-r0) (90/102) Purging libffi (3.4.6-r0) (91/102) Purging libformw (6.5_p20240601-r1) (92/102) Purging libintl (0.22.5-r0) (93/102) Purging libmenuw (6.5_p20240601-r1) (94/102) Purging libsmartcols (2.40.2-r3) (95/102) Purging libuuid (2.40.2-r3) (96/102) Purging linux-pam (1.6.1-r1) (97/102) Purging utmps-libs (0.1.2.2-r3) (98/102) Purging skalibs (2.14.2.0-r2) (99/102) Purging sqlite-dev (3.46.1-r0) (100/102) Purging sqlite (3.46.1-r0) (101/102) Purging util-linux (2.40.2-r3) (102/102) Purging sqlite-libs (3.46.1-r0) Executing busybox-1.36.1-r32.trigger OK: 412 MiB in 117 packages >>> libsigrok: Updating the testing/x86 repository index... >>> libsigrok: Signing the index...