Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hwinfo/patches/010-hardcoding-version.patch using plaintext: patching file Makefile Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hwinfo/patches/020-remove_libx8emu_dependency.patch using plaintext: patching file Makefile patching file src/hd/bios.c patching file src/hd/bios.h patching file src/hd/mdt.c Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hwinfo/patches/030-enable-hw-ids-and-disable-generation-of-tiny-hwinfo-headers.patch using plaintext: patching file src/ids/Makefile Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hwinfo/patches/040-assorted-Makefile-butchery.patch using plaintext: patching file Makefile patching file Makefile.common patching file src/Makefile patching file src/hd/Makefile patching file src/isdn/Makefile patching file src/smp/Makefile Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hwinfo/patches/050-arc.patch using plaintext: patching file src/hd/hd.c Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hwinfo/patches/060-glibc-2-36-includes-fsconfig-itself-make-linux-fs-h.patch using plaintext: patching file src/hd/hd.c Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hwinfo/patches/100_remove_malloc_h_headers_usage.patch using plaintext: patching file src/isdn/cdb/cdb_read.h patching file src/isdn/cdb/isdn_cdb.c patching file src/isdn/cdb/mk_isdnhwdb.c make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd' loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc bios.c loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc block.c loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc braille.c loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc cpu.c cpu.c: In function 'read_cpuinfo': cpu.c:89:15: warning: unused variable 'sl' [-Wunused-variable] 89 | str_list_t *sl; | ^~ cpu.c:88:15: warning: unused variable 'ct' [-Wunused-variable] 88 | cpu_info_t *ct; | ^~ cpu.c:87:12: warning: unused variable 'cpus' [-Wunused-variable] 87 | unsigned cpus = 0; | ^~~~ cpu.c:86:9: warning: unused variable 'hd' [-Wunused-variable] 86 | hd_t *hd; | ^~ loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc drm.c loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc dvd.c loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc edd.c loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc fb.c loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc floppy.c loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc hal.c loongarch64-openwrt-linux-musl-gcc -c -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71=hwinfo-21.71 -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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -Wall -Wno-pointer-sign -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd -Wall -Wno-pointer-sign -fPIC -I../src/hd -Wall -Wno-pointer-sign -fPIC -I../../src/hd -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Lsrc -Lsrc -Lsrc hd.c In file included from hd.c:61: hd.c: In function 'hd_scan': hd.c:1823:90: error: 'HD_ARCH' undeclared (first use in this function) 1823 | ADD2LOG("libhd version %s%s (%s) [%ld]\n", HD_VERSION_STRING, getuid() ? "u" : "", HD_ARCH, sizeof (hd_data_t)); | ^~~~~~~ hd_int.h:66:46: note: in definition of macro 'ADD2LOG' 66 | #define ADD2LOG(a...) hd_log_printf(hd_data, a) | ^ hd.c:1823:90: note: each undeclared identifier is reported only once for each function it appears in 1823 | ADD2LOG("libhd version %s%s (%s) [%ld]\n", HD_VERSION_STRING, getuid() ? "u" : "", HD_ARCH, sizeof (hd_data_t)); | ^~~~~~~ hd_int.h:66:46: note: in definition of macro 'ADD2LOG' 66 | #define ADD2LOG(a...) hd_log_printf(hd_data, a) | ^ make[6]: *** [../../Makefile.common:42: hd.o] Error 1 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src/hd' make[5]: *** [../Makefile.common:50: subdirs] Error 2 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/src' make[4]: *** [Makefile.common:50: subdirs] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71' make[3]: *** [Makefile:86: /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/hwinfo-21.71/.built] Error 2 time: package/feeds/packages/hwinfo/compile#2.46#1.16#3.67