Applying /builder/shared-workdir/build/sdk/feeds/packages/net/quassel-irssi/patches/001-respect-cflags.patch using plaintext: patching file core/Makefile Applying /builder/shared-workdir/build/sdk/feeds/packages/net/quassel-irssi/patches/002-use-cc-var.patch using plaintext: patching file core/Makefile Applying /builder/shared-workdir/build/sdk/feeds/packages/net/quassel-irssi/patches/003-use-pkgconfig-ldflags-quasselc.patch using plaintext: patching file core/Makefile Applying /builder/shared-workdir/build/sdk/feeds/packages/net/quassel-irssi/patches/010-Get-compatible-with-potential-irssi-abi-8-and-drop-p.patch using plaintext: patching file core/Makefile patching file core/quassel-net.c make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/quassel-irssi-079be662dde374a383646256108a4974c2bc7796/core' riscv64-openwrt-linux-musl-gcc -Os -pipe -mabi=lp64d -march=rv64imafdc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/quassel-irssi-079be662dde374a383646256108a4974c2bc7796=quassel-irssi-079be662dde374a383646256108a4974c2bc7796 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include/fortify -std=gnu11 -Wall -Wextra -g -Os -pipe -mabi=lp64d -march=rv64imafdc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/quassel-irssi-079be662dde374a383646256108a4974c2bc7796=quassel-irssi-079be662dde374a383646256108a4974c2bc7796 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/core/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/fe-common/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/fe-common/core/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/fe-text/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/glib-2.0 -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/lib/glib-2.0/include -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include -DUOFF_T_LONG -fPIC -DHAVE_OPENSSL -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/quasselc -Wmissing-prototypes -Wmissing-declarations -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include -c -o quasselc-connector.o quasselc-connector.c cc1: note: someone does not honour COPTS correctly, passed 2 times riscv64-openwrt-linux-musl-gcc -Os -pipe -mabi=lp64d -march=rv64imafdc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/quassel-irssi-079be662dde374a383646256108a4974c2bc7796=quassel-irssi-079be662dde374a383646256108a4974c2bc7796 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include/fortify -std=gnu11 -Wall -Wextra -g -Os -pipe -mabi=lp64d -march=rv64imafdc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/quassel-irssi-079be662dde374a383646256108a4974c2bc7796=quassel-irssi-079be662dde374a383646256108a4974c2bc7796 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/core/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/fe-common/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/fe-common/core/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/fe-text/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/glib-2.0 -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/lib/glib-2.0/include -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include -DUOFF_T_LONG -fPIC -DHAVE_OPENSSL -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/quasselc -Wmissing-prototypes -Wmissing-declarations -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include -c -o quassel-core.o quassel-core.c cc1: note: someone does not honour COPTS correctly, passed 2 times riscv64-openwrt-linux-musl-gcc -Os -pipe -mabi=lp64d -march=rv64imafdc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/quassel-irssi-079be662dde374a383646256108a4974c2bc7796=quassel-irssi-079be662dde374a383646256108a4974c2bc7796 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include/fortify -std=gnu11 -Wall -Wextra -g -Os -pipe -mabi=lp64d -march=rv64imafdc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/quassel-irssi-079be662dde374a383646256108a4974c2bc7796=quassel-irssi-079be662dde374a383646256108a4974c2bc7796 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/core/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/fe-common/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/fe-common/core/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/fe-text/ -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/glib-2.0 -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/lib/glib-2.0/include -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include -DUOFF_T_LONG -fPIC -DHAVE_OPENSSL -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/quasselc -Wmissing-prototypes -Wmissing-declarations -I/builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include -c -o quassel-net.o quassel-net.c cc1: note: someone does not honour COPTS correctly, passed 2 times quassel-net.c: In function 'sig_connected': quassel-net.c:108:17: warning: implicit declaration of function 'g_input_add'; did you mean 'i_input_add'? [-Wimplicit-function-declaration] 108 | g_input_add(net_sendbuffer_handle(r->handle), | ^~~~~~~~~~~ | i_input_add quassel-net.c:109:29: error: 'G_INPUT_READ' undeclared (first use in this function); did you mean 'I_INPUT_READ'? 109 | G_INPUT_READ, | ^~~~~~~~~~~~ | I_INPUT_READ quassel-net.c:109:29: note: each undeclared identifier is reported only once for each function it appears in quassel-net.c:110:29: warning: cast between incompatible function types from 'void (*)(Quassel_SERVER_REC *)' {aka 'void (*)(struct Quassel_SERVER_REC_s *)'} to 'void (*)(void *, GIOChannel *, int)' [-Wcast-function-type] 110 | (GInputFunction) quassel_parse_incoming, r); | ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/include/irssi/src/core/commands.h:4, from quassel-net.c:25: quassel-net.c: In function 'quassel_net_init': quassel-net.c:161:46: warning: cast between incompatible function types from 'void (*)(Quassel_SERVER_REC *)' {aka 'void (*)(struct Quassel_SERVER_REC_s *)'} to 'void (*)(const void *, const void *, const void *, const void *, const void *, const void *)' [-Wcast-function-type] 161 | signal_add_first("server connected", (SIGNAL_FUNC) sig_connected); | ^ quassel-net.c: In function 'quassel_net_final_setup': quassel-net.c:170:29: error: 'G_INPUT_READ' undeclared (first use in this function); did you mean 'I_INPUT_READ'? 170 | G_INPUT_READ, | ^~~~~~~~~~~~ | I_INPUT_READ quassel-net.c:171:29: warning: cast between incompatible function types from 'void (*)(Quassel_SERVER_REC *)' {aka 'void (*)(struct Quassel_SERVER_REC_s *)'} to 'void (*)(void *, GIOChannel *, int)' [-Wcast-function-type] 171 | (GInputFunction) quassel_parse_incoming, server); | ^ quassel-net.c: In function 'quassel_net_ssl_callback': quassel-net.c:188:72: error: 'G_INPUT_READ' undeclared (first use in this function); did you mean 'I_INPUT_READ'? 188 | server->connect_tag = g_input_add(handle, error == 1 ? G_INPUT_READ : G_INPUT_WRITE, | ^~~~~~~~~~~~ | I_INPUT_READ quassel-net.c:188:87: error: 'G_INPUT_WRITE' undeclared (first use in this function); did you mean 'I_INPUT_WRITE'? 188 | server->connect_tag = g_input_add(handle, error == 1 ? G_INPUT_READ : G_INPUT_WRITE, | ^~~~~~~~~~~~~ | I_INPUT_WRITE quassel-net.c:189:51: warning: cast between incompatible function types from 'void (*)(SERVER_REC *, GIOChannel *)' to 'void (*)(void *, GIOChannel *, int)' [-Wcast-function-type] 189 | (GInputFunction) | ^ make[4]: *** [: quassel-net.o] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/quassel-irssi-079be662dde374a383646256108a4974c2bc7796/core' make[3]: *** [Makefile:54: /builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/quassel-irssi-079be662dde374a383646256108a4974c2bc7796/.built] Error 2 time: package/feeds/packages/quassel-irssi/compile#1.52#0.46#2.34