>>> libsigrokdecode: Checking sanity of /home/patrycja/aports/testing/libsigrokdecode/APKBUILD... >>> libsigrokdecode: Cleaning up srcdir >>> libsigrokdecode: Cleaning up pkgdir >>> libsigrokdecode: Cleaning up tmpdir >>> libsigrokdecode: Fetching http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-0.5.3.tar.gz >>> libsigrokdecode: Fetching http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-0.5.3.tar.gz >>> libsigrokdecode: Checking sha512sums... libsigrokdecode-0.5.3.tar.gz: OK version.patch: OK python-3.11.patch: OK >>> libsigrokdecode: Preparing build chroot... (1/157) Installing musl (1.2.5-r0) (2/157) Installing ca-certificates-bundle (20240226-r0) (3/157) Installing libcrypto3 (3.2.1-r2) (4/157) Installing libssl3 (3.2.1-r2) (5/157) Installing zlib (1.3.1-r0) (6/157) Installing apk-tools (2.14.3-r1) (7/157) Installing libattr (2.5.2-r0) (8/157) Installing attr (2.5.2-r0) (9/157) Installing libcap2 (2.69-r1) (10/157) Installing libcap-getcap (2.69-r1) (11/157) Installing fakeroot (1.33-r0) (12/157) Installing scanelf (1.3.7-r2) (13/157) Installing musl-utils (1.2.5-r0) (14/157) Installing libgcc (13.2.1_git20240309-r0) (15/157) Installing libstdc++ (13.2.1_git20240309-r0) (16/157) Installing lzip (1.24.1-r0) (17/157) Installing openssl (3.2.1-r2) (18/157) Installing patch (2.7.6-r10) (19/157) Installing pkgconf (2.2.0-r0) (20/157) Installing libacl (2.3.2-r0) (21/157) Installing tar (1.35-r2) (22/157) Installing busybox (1.36.1-r25) Executing busybox-1.36.1-r25.post-install (23/157) Installing ssl_client (1.36.1-r25) (24/157) Installing busybox-binsh (1.36.1-r25) (25/157) Installing abuild (3.12.0-r5) Executing abuild-3.12.0-r5.pre-install (26/157) Installing abuild-sudo (3.12.0-r5) (27/157) Installing alpine-baselayout-data (3.6.3-r0) (28/157) Installing alpine-baselayout (3.6.3-r0) Executing alpine-baselayout-3.6.3-r0.pre-install Executing alpine-baselayout-3.6.3-r0.post-install (29/157) Installing ifupdown-ng (0.12.1-r5) (30/157) Installing openrc (0.54-r1) Executing openrc-0.54-r1.post-install (31/157) Installing mdev-conf (4.6-r0) (32/157) Installing busybox-mdev-openrc (1.36.1-r25) (33/157) Installing alpine-conf (3.17.2-r0) (34/157) Installing alpine-keys (2.4-r1) (35/157) Installing alpine-release (3.20.0_alpha20240329-r0) (36/157) Installing busybox-openrc (1.36.1-r25) (37/157) Installing busybox-suid (1.36.1-r25) (38/157) Installing alpine-base (3.20.0_alpha20240329-r0) (39/157) Installing m4 (1.4.19-r3) (40/157) Installing libbz2 (1.0.8-r6) (41/157) Installing perl (5.38.2-r0) (42/157) Installing autoconf (2.72-r0) (43/157) Installing automake (1.16.5-r2) (44/157) Installing jansson (2.14-r4) (45/157) Installing zstd-libs (1.5.6-r0) (46/157) Installing binutils (2.42-r0) (47/157) Installing libmagic (5.45-r1) (48/157) Installing file (5.45-r1) (49/157) Installing libgomp (13.2.1_git20240309-r0) (50/157) Installing libatomic (13.2.1_git20240309-r0) (51/157) Installing gmp (6.3.0-r0) (52/157) Installing isl26 (0.26-r1) (53/157) Installing mpfr4 (4.2.1-r0) (54/157) Installing mpc1 (1.3.1-r1) (55/157) Installing gcc (13.2.1_git20240309-r0) (56/157) Installing libstdc++-dev (13.2.1_git20240309-r0) (57/157) Installing musl-dev (1.2.5-r0) (58/157) Installing g++ (13.2.1_git20240309-r0) (59/157) Installing make (4.4.1-r2) (60/157) Installing fortify-headers (1.1-r3) (61/157) Installing build-base (0.5-r3) (62/157) Installing hiredis (1.2.0-r0) (63/157) Installing libxxhash (0.8.2-r2) (64/157) Installing ccache (4.9.1-r0) (65/157) Installing check (0.15.2-r5) (66/157) Installing check-dev (0.15.2-r5) (67/157) Installing ca-certificates (20240226-r0) (68/157) Installing brotli-libs (1.1.0-r2) (69/157) Installing c-ares (1.28.1-r0) (70/157) Installing libunistring (1.2-r0) (71/157) Installing libidn2 (2.3.7-r0) (72/157) Installing nghttp2-libs (1.61.0-r0) (73/157) Installing libpsl (0.21.5-r1) (74/157) Installing libcurl (8.7.1-r0) (75/157) Installing libexpat (2.6.2-r0) (76/157) Installing pcre2 (10.43-r0) (77/157) Installing git (2.44.0-r2) (78/157) Installing git-init-template (2.44.0-r2) (79/157) Installing perl-error (0.17029-r2) (80/157) Installing perl-git (2.44.0-r2) (81/157) Installing git-perl (2.44.0-r2) (82/157) Installing bzip2-dev (1.0.8-r6) (83/157) Installing xz-libs (5.6.1-r2) (84/157) Installing libxml2 (2.12.6-r1) (85/157) Installing libxml2-utils (2.12.6-r1) (86/157) Installing docbook-xml (4.5-r9) Executing docbook-xml-4.5-r9.post-install (87/157) Installing libgpg-error (1.48-r0) (88/157) Installing libgcrypt (1.10.3-r0) (89/157) Installing libxslt (1.1.39-r1) (90/157) Installing docbook-xsl (1.79.2-r9) Executing docbook-xsl-1.79.2-r9.post-install (91/157) Installing libintl (0.22.5-r0) (92/157) Installing xz (5.6.1-r2) (93/157) Installing gettext-asprintf (0.22.5-r0) (94/157) Installing ncurses-terminfo-base (6.4_p20240330-r0) (95/157) Installing libncursesw (6.4_p20240330-r0) (96/157) Installing gettext-libs (0.22.5-r0) (97/157) Installing gettext-envsubst (0.22.5-r0) (98/157) Installing gettext (0.22.5-r0) (99/157) Installing gettext-dev (0.22.5-r0) (100/157) Installing libffi (3.4.6-r0) (101/157) Installing gdbm (1.23-r1) (102/157) Installing mpdecimal (4.0.0-r0) (103/157) Installing libpanelw (6.4_p20240330-r0) (104/157) Installing readline (8.2.10-r0) (105/157) Installing sqlite-libs (3.45.2-r0) (106/157) Installing python3 (3.12.2-r0) (107/157) Installing python3-pycache-pyc0 (3.12.2-r0) (108/157) Installing pyc (3.12.2-r0) (109/157) Installing python3-pyc (3.12.2-r0) (110/157) Installing py3-parsing (3.1.2-r1) (111/157) Installing py3-parsing-pyc (3.1.2-r1) (112/157) Installing py3-packaging (24.0-r1) (113/157) Installing py3-packaging-pyc (24.0-r1) (114/157) Installing libblkid (2.39.3-r2) (115/157) Installing libmount (2.39.3-r2) (116/157) Installing glib (2.80.0-r3) (117/157) Installing linux-headers (6.6-r0) (118/157) Installing libffi-dev (3.4.6-r0) (119/157) Installing bsd-compat-headers (0.7.2-r6) (120/157) Installing libformw (6.4_p20240330-r0) (121/157) Installing libmenuw (6.4_p20240330-r0) (122/157) Installing libncurses++ (6.4_p20240330-r0) (123/157) Installing ncurses-dev (6.4_p20240330-r0) (124/157) Installing libedit (20230828.3.1-r4) (125/157) Installing libedit-dev (20230828.3.1-r4) (126/157) Installing zlib-dev (1.3.1-r0) (127/157) Installing libpcre2-16 (10.43-r0) (128/157) Installing libpcre2-32 (10.43-r0) (129/157) Installing pcre2-dev (10.43-r0) (130/157) Installing libuuid (2.39.3-r2) (131/157) Installing libfdisk (2.39.3-r2) (132/157) Installing libsmartcols (2.39.3-r2) (133/157) Installing util-linux-dev (2.39.3-r2) (134/157) Installing glib-dev (2.80.0-r3) (135/157) Installing libsigc++ (2.12.1-r0) (136/157) Installing glibmm (2.66.6-r1) (137/157) Installing libsigc++-dev (2.12.1-r0) (138/157) Installing glibmm-dev (2.66.6-r1) (139/157) Installing confuse (3.3-r4) (140/157) Installing libusb (1.0.27-r0) (141/157) Installing libftdi1 (1.5-r2) Executing libftdi1-1.5-r2.pre-install (142/157) Installing libusb-dev (1.0.27-r0) (143/157) Installing libftdi1-dev (1.5-r2) (144/157) Installing libserialport (0.1.1-r1) (145/157) Installing libserialport-dev (0.1.1-r1) (146/157) Installing libzip (1.10.1-r0) (147/157) Installing libsigrok (0.5.2-r2) (148/157) Installing libzip-tools (1.10.1-r0) (149/157) Installing xz-dev (5.6.1-r2) (150/157) Installing zstd (1.5.6-r0) (151/157) Installing zstd-dev (1.5.6-r0) (152/157) Installing libzip-dev (1.10.1-r0) (153/157) Installing libsigrok-dev (0.5.2-r2) (154/157) Installing libltdl (2.4.7-r3) (155/157) Installing libtool (2.4.7-r3) (156/157) Installing python3-dev (3.12.2-r0) (157/157) Installing tini (0.19.0-r3) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger Executing glib-2.80.0-r3.trigger No schema files found: doing nothing. OK: 493 MiB in 157 packages >>> libsigrokdecode: Fetching http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-0.5.3.tar.gz >>> libsigrokdecode: Checking sha512sums... libsigrokdecode-0.5.3.tar.gz: OK version.patch: OK python-3.11.patch: OK >>> libsigrokdecode: Unpacking /var/cache/distfiles/libsigrokdecode-0.5.3.tar.gz... >>> libsigrokdecode: version.patch patching file m4/sigrok.m4 >>> libsigrokdecode: python-3.11.patch patching file configure.ac Hunk #1 succeeded at 93 (offset -7 lines). autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autostuff'. libtoolize: copying file 'autostuff/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:34: installing 'autostuff/compile' configure.ac:32: installing 'autostuff/missing' Makefile.am: installing 'autostuff/depcomp' autoreconf: 'autostuff/install-sh' is updated autoreconf: 'autostuff/config.sub' is updated autoreconf: 'autostuff/config.guess' is updated autoreconf: Leaving directory '.' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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... x86_64-pc-linux-musl checking host system type... x86_64-pc-linux-musl checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether ln -s works... 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/x86_64-alpine-linux-musl/bin/ld checking if the linker (/usr/x86_64-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 x86_64-pc-linux-musl file names to x86_64-pc-linux-musl format... func_convert_file_noop checking how to convert x86_64-pc-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r checking for file... file 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) 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... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.22... yes checking for python3.8... no checking for python3.7... no checking for python3.6... no checking for python3.5... no checking for python3.4... no checking for python3.3... no checking for python3.2... no checking for python3... python3 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 -Wshadow -Wformat=2 -Wno-format-nonliteral -Wfloat-equal checking for library containing pow... none required checking for gcc option to enable large file support... none needed checking whether byte ordering is bigendian... no checking for glib-2.0 >= 2.34 python3 >= 3.2... yes checking for check >= 0.9.4 glib-2.0 python3 >= 3.2... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libsigrokdecode.pc config.status: creating config.h config.status: creating version.h config.status: executing depfiles commands config.status: executing libtool commands libsigrokdecode configuration summary: - Package version................. 0.5.3 - Library ABI version............. 6:1:2 - Prefix.......................... /usr - Building on..................... x86_64-pc-linux-musl - Building for.................... x86_64-pc-linux-musl - Building shared / static........ yes / yes Compile configuration: - C compiler...................... gcc - C compiler version.............. gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309 - C compiler flags................ -Os -fomit-frame-pointer - Additional C compiler flags..... -std=c99 -fvisibility=hidden - C compiler warnings............. -Wall -Wextra -Wmissing-prototypes -Wshadow -Wformat=2 -Wno-format-nonliteral -Wfloat-equal - Linker flags.................... -Wl,--as-needed,-O1,--sort-common Detected libraries (required): - glib-2.0 >= 2.34................ 2.80.0 - python-3.11-embed............... no - python-3.8-embed................ no - python-3.8 >= 3.8............... no - python-3.7 >= 3.7............... no - python-3.6 >= 3.6............... no - python-3.5 >= 3.5............... no - python-3.4 >= 3.4............... no - python-3.3 >= 3.3............... no - python-3.2 >= 3.2............... no - python3 >= 3.2.................. 3.12 Detected libraries (optional): - check >= 0.9.4.................. 0.15.2 make all-am CC srd.lo CC session.lo CC decoder.lo CC instance.lo CC log.lo CC util.lo CC exception.lo CC module_sigrokdecode.lo CC type_decoder.lo CC error.lo CC version.lo In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from srd.c:22: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from srd.c:21: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | srd.c: In function 'srd_init': srd.c:281:9: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations] 281 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:95: /usr/include/python3.12/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from instance.c:22: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from instance.c:21: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from decoder.c:22: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from decoder.c:21: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from log.c:21: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from log.c:20: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from exception.c:21: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from exception.c:20: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from module_sigrokdecode.c:21: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from module_sigrokdecode.c:20: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from version.c:21: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from version.c:20: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from type_decoder.c:21: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from type_decoder.c:20: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | type_decoder.c:1040:23: warning: cast between incompatible function types from 'PyObject * (*)(PyObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *, struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Wcast-function-type] 1040 | { "register", (PyCFunction)Decoder_register, METH_VARARGS|METH_KEYWORDS, | ^ In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from util.c:22: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from util.c:21: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | In file included from /usr/include/python3.12/Python.h:12, from libsigrokdecode-internal.h:27, from session.c:22: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from session.c:21: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | CCLD libsigrokdecode.la make tests/main CC tests/main-main.o CC tests/main-core.o CC tests/main-decoder.o CC tests/main-inst.o CC tests/main-session.o In file included from tests/core.c:23: tests/core.c: In function 'test_init_exit_fn': tests/core.c:40:36: warning: too many arguments for format [-Wformat-extra-args] 40 | fail_unless(ret == SRD_OK, "srd_init() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c:42:36: warning: too many arguments for format [-Wformat-extra-args] 42 | fail_unless(ret == SRD_OK, "srd_exit() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c: In function 'test_init_exit_2_fn': tests/core.c:57:36: warning: too many arguments for format [-Wformat-extra-args] 57 | fail_unless(ret == SRD_OK, "srd_init() 1 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c:59:36: warning: too many arguments for format [-Wformat-extra-args] 59 | fail_unless(ret != SRD_OK, "srd_init() 2 didn't fail: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c:61:36: warning: too many arguments for format [-Wformat-extra-args] 61 | fail_unless(ret == SRD_OK, "srd_exit() 2 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c:63:36: warning: too many arguments for format [-Wformat-extra-args] 63 | fail_unless(ret == SRD_OK, "srd_exit() 1 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c: In function 'test_init_exit_3_fn': tests/core.c:75:36: warning: too many arguments for format [-Wformat-extra-args] 75 | fail_unless(ret == SRD_OK, "srd_init() 1 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c:77:36: warning: too many arguments for format [-Wformat-extra-args] 77 | fail_unless(ret != SRD_OK, "srd_init() 2 didn't fail: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c:79:36: warning: too many arguments for format [-Wformat-extra-args] 79 | fail_unless(ret != SRD_OK, "srd_init() 3 didn't fail: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c:81:36: warning: too many arguments for format [-Wformat-extra-args] 81 | fail_unless(ret == SRD_OK, "srd_exit() 3 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c:83:36: warning: too many arguments for format [-Wformat-extra-args] 83 | fail_unless(ret == SRD_OK, "srd_exit() 2 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/core.c:85:36: warning: too many arguments for format [-Wformat-extra-args] 85 | fail_unless(ret == SRD_OK, "srd_exit() 1 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tests/decoder.c:23: tests/decoder.c: In function 'test_load_all_fn': tests/decoder.c:36:36: warning: too many arguments for format [-Wformat-extra-args] 36 | fail_unless(ret == SRD_OK, "srd_decoder_load_all() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c: In function 'test_load_all_no_init_fn': tests/decoder.c:51:36: warning: too many arguments for format [-Wformat-extra-args] 51 | fail_unless(ret != SRD_OK, "srd_decoder_load_all() didn't fail properly."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c: In function 'test_load_fn': tests/decoder.c:65:36: warning: too many arguments for format [-Wformat-extra-args] 65 | fail_unless(ret == SRD_OK, "srd_decoder_load(uart) failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c:67:36: warning: too many arguments for format [-Wformat-extra-args] 67 | fail_unless(ret == SRD_OK, "srd_decoder_load(spi) failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c:69:36: warning: too many arguments for format [-Wformat-extra-args] 69 | fail_unless(ret == SRD_OK, "srd_decoder_load(usb_signalling) failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c: In function 'test_load_multiple_fn': tests/decoder.c:126:36: warning: too many arguments for format [-Wformat-extra-args] 126 | fail_unless(ret == SRD_OK, "Loading uart PD 1x failed: %d", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c:128:36: warning: too many arguments for format [-Wformat-extra-args] 128 | fail_unless(ret == SRD_OK, "Loading uart PD 2x failed: %d", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c:130:36: warning: too many arguments for format [-Wformat-extra-args] 130 | fail_unless(ret == SRD_OK, "Loading uart PD 3x failed: %d", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c: In function 'test_unload_all_fn': tests/decoder.c:161:36: warning: too many arguments for format [-Wformat-extra-args] 161 | fail_unless(ret == SRD_OK, "srd_decoder_load_all() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c:163:36: warning: too many arguments for format [-Wformat-extra-args] 163 | fail_unless(ret == SRD_OK, "srd_decoder_unload_all() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c: In function 'test_unload_all_no_init_fn': tests/decoder.c:177:36: warning: too many arguments for format [-Wformat-extra-args] 177 | fail_unless(ret == SRD_OK, "srd_decoder_unload_all() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c: In function 'test_unload_all_multiple_fn': tests/decoder.c:192:44: warning: too many arguments for format [-Wformat-extra-args] 192 | fail_unless(ret == SRD_OK, "srd_decoder_load_all() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c:194:44: warning: too many arguments for format [-Wformat-extra-args] 194 | fail_unless(ret == SRD_OK, "srd_decoder_unload_all() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c: In function 'test_unload_all_multiple_noload_fn': tests/decoder.c:211:44: warning: too many arguments for format [-Wformat-extra-args] 211 | fail_unless(ret == SRD_OK, "srd_decoder_unload_all() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c: In function 'test_unload_fn': tests/decoder.c:228:36: warning: too many arguments for format [-Wformat-extra-args] 228 | fail_unless(ret == SRD_OK, "srd_decoder_load(uart) failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/decoder.c:232:36: warning: too many arguments for format [-Wformat-extra-args] 232 | fail_unless(ret == SRD_OK, "srd_decoder_unload() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tests/inst.c:23: tests/inst.c: In function 'test_inst_new_fn': tests/inst.c:39:35: warning: too many arguments for format [-Wformat-extra-args] 39 | fail_unless(inst != NULL, "srd_inst_new() failed."); | ^~~~~~~~~~~~~~~~~~~~~~~~ tests/inst.c: In function 'test_inst_new_multiple_fn': tests/inst.c:61:36: warning: too many arguments for format [-Wformat-extra-args] 61 | fail_unless(inst1 != NULL, "srd_inst_new() 1 failed."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/inst.c:63:36: warning: too many arguments for format [-Wformat-extra-args] 63 | fail_unless(inst2 != NULL, "srd_inst_new() 2 failed."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/inst.c:65:36: warning: too many arguments for format [-Wformat-extra-args] 65 | fail_unless(inst3 != NULL, "srd_inst_new() 3 failed."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/inst.c: In function 'test_inst_option_set_empty_fn': tests/inst.c:99:36: warning: too many arguments for format [-Wformat-extra-args] 99 | fail_unless(ret == SRD_OK, "srd_inst_option_set() with empty options " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/inst.c: In function 'test_inst_option_set_bogus_fn': tests/inst.c:126:36: warning: too many arguments for format [-Wformat-extra-args] 126 | fail_unless(ret != SRD_OK, "srd_inst_option_set() with NULL " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/inst.c:131:36: warning: too many arguments for format [-Wformat-extra-args] 131 | fail_unless(ret != SRD_OK, "srd_inst_option_set() with NULL " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/inst.c:136:36: warning: too many arguments for format [-Wformat-extra-args] 136 | fail_unless(ret != SRD_OK, "srd_inst_option_set() with NULL " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:12, from ./libsigrokdecode-internal.h:27, from tests/session.c:21: /usr/include/python3.12/pyconfig.h:1875: warning: "_POSIX_C_SOURCE" redefined 1875 | #define _POSIX_C_SOURCE 200809L | In file included from tests/session.c:20: ./config.h:110: note: this is the location of the previous definition 110 | # define _POSIX_C_SOURCE 200112L | In file included from tests/session.c:25: tests/session.c: In function 'test_session_new_fn': tests/session.c:39:36: warning: too many arguments for format [-Wformat-extra-args] 39 | fail_unless(ret == SRD_OK, "srd_session_new() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c: In function 'test_session_new_bogus_fn': tests/session.c:54:36: warning: too many arguments for format [-Wformat-extra-args] 54 | fail_unless(ret != SRD_OK, "srd_session_new(NULL) worked."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c: In function 'test_session_new_multiple_fn': tests/session.c:74:36: warning: too many arguments for format [-Wformat-extra-args] 74 | fail_unless(ret == SRD_OK, "srd_session_new() 1 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:76:36: warning: too many arguments for format [-Wformat-extra-args] 76 | fail_unless(ret == SRD_OK, "srd_session_new() 2 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:78:36: warning: too many arguments for format [-Wformat-extra-args] 78 | fail_unless(ret == SRD_OK, "srd_session_new() 3 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:97:36: warning: too many arguments for format [-Wformat-extra-args] 97 | fail_unless(ret == SRD_OK, "srd_session_destroy() 1 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:99:36: warning: too many arguments for format [-Wformat-extra-args] 99 | fail_unless(ret == SRD_OK, "srd_session_destroy() 2 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:101:36: warning: too many arguments for format [-Wformat-extra-args] 101 | fail_unless(ret == SRD_OK, "srd_session_destroy() 3 failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c: In function 'test_session_destroy_fn': tests/session.c:119:36: warning: too many arguments for format [-Wformat-extra-args] 119 | fail_unless(ret == SRD_OK, "srd_session_destroy() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c: In function 'test_session_destroy_bogus_fn': tests/session.c:134:36: warning: too many arguments for format [-Wformat-extra-args] 134 | fail_unless(ret != SRD_OK, "srd_session_destroy() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c: In function 'conf_check_ok': tests/session.c:144:36: warning: too many arguments for format [-Wformat-extra-args] 144 | fail_unless(ret == SRD_OK, "srd_session_metadata_set(%p, %d, %" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c: In function 'conf_check_fail': tests/session.c:154:36: warning: too many arguments for format [-Wformat-extra-args] 154 | fail_unless(ret != SRD_OK, "srd_session_metadata_set(%p, %d, %" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c: In function 'conf_check_fail_null': tests/session.c:166:17: warning: too many arguments for format [-Wformat-extra-args] 166 | "srd_session_metadata_set(NULL) for key %d worked.", key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c: In function 'conf_check_fail_str': tests/session.c:175:36: warning: too many arguments for format [-Wformat-extra-args] 175 | fail_unless(ret != SRD_OK, "srd_session_metadata_set() for key %d " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c: In function 'test_session_reset_nodata_fn': tests/session.c:247:36: warning: too many arguments for format [-Wformat-extra-args] 247 | fail_unless(ret == SRD_OK, "srd_session_terminate_reset() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:249:36: warning: too many arguments for format [-Wformat-extra-args] 249 | fail_unless(ret == SRD_OK, "srd_session_start() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:251:36: warning: too many arguments for format [-Wformat-extra-args] 251 | fail_unless(ret == SRD_OK, "srd_session_terminate_reset() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:254:36: warning: too many arguments for format [-Wformat-extra-args] 254 | fail_unless(ret == SRD_OK, "srd_session_metadata_set() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:256:36: warning: too many arguments for format [-Wformat-extra-args] 256 | fail_unless(ret == SRD_OK, "srd_session_terminate_reset() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/session.c:258:36: warning: too many arguments for format [-Wformat-extra-args] 258 | fail_unless(ret == SRD_OK, "srd_session_destroy() failed: %d.", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD tests/main /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyTuple_New' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyFloat_Type' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyObject_CallObject' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyModule_AddObject' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyArg_ParseTuple' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyLong_Type' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyDict_GetItem' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyDict_New' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyEval_RestoreThread' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PySequence_Check' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyErr_Occurred' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyErr_Fetch' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyFloat_AsDouble' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyImport_GetModuleDict' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyCallable_Check' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyUnicode_FromString' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyLong_FromLong' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyModule_AddIntConstant' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyUnicode_AsUTF8String' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyFloat_FromDouble' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyDict_Next' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyLong_AsSize_t' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyUnicode_FromStringAndSize' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PySequence_GetItem' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyObject_GetAttrString' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `Py_InitializeEx' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyTuple_GetItem' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PySet_Pop' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `Py_DecRef' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyDict_GetItemString' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyErr_NormalizeException' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `Py_BuildValue' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyExc_TypeError' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `_Py_NoneStruct' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyObject_HasAttrString' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyObject_SetAttrString' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyBool_FromLong' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PySys_GetObject' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PySequence_Size' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyType_FromSpec' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyGILState_Ensure' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyObject_IsSubclass' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyType_GenericNew' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyBytes_AsString' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyType_IsSubtype' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyModule_Create2' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `Py_IsInitialized' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyLong_AsLong' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyList_New' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PySet_Add' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyErr_Clear' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `Py_Finalize' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyErr_Format' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `_Py_FalseStruct' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyDict_SetItemString' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyList_Insert' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `_Py_Dealloc' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyList_GetItem' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyObject_CallFunctionObjArgs' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyObject_CallMethod' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyLong_AsLongLong' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyObject_Str' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyObject_CallFunction' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PySet_New' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyExc_Exception' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `_Py_TrueStruct' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyEval_SaveThread' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyImport_Import' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyExc_IndexError' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyDict_Size' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyGILState_Release' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyTuple_SetItem' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyTuple_Size' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyList_SetItem' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyBytes_Size' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyErr_SetString' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyImport_AppendInittab' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyEval_InitThreads' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyBytes_AsStringAndSize' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyType_GetFlags' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./.libs/libsigrokdecode.so: undefined reference to `PyList_Size' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:752: tests/main] Error 1 make: *** [Makefile:1354: check-am] Error 2 >>> ERROR: libsigrokdecode: check failed >>> ERROR: libsigrokdecode: rootbld failed >>> libsigrokdecode: Cleaning up build chroot