Applying ./patches/100-fix-compilation.patch using plaintext: patching file src/Makefile make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0' --------------------- ** Build for Linux ** --------------------- make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0/src' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0/src' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0/src/luasocket' aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0=luasec-1.2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I. -DWITH_LUASOCKET -I. -DWITH_LUASOCKET -DLUASOCKET_DEBUG -c -o io.o io.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0=luasec-1.2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I. -DWITH_LUASOCKET -I. -DWITH_LUASOCKET -DLUASOCKET_DEBUG -c -o buffer.o buffer.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0=luasec-1.2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I. -DWITH_LUASOCKET -I. -DWITH_LUASOCKET -DLUASOCKET_DEBUG -c -o timeout.o timeout.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0=luasec-1.2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I. -DWITH_LUASOCKET -I. -DWITH_LUASOCKET -DLUASOCKET_DEBUG -c -o usocket.o usocket.c In file included from usocket.h:35, from socket.h:20, from usocket.c:12: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ aarch64-openwrt-linux-musl-gcc-ar rcu libluasocket.a io.o buffer.o timeout.o usocket.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/12.2.0/../../../../aarch64-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') aarch64-openwrt-linux-musl-gcc-ranlib libluasocket.a make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0/src/luasocket' aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0=luasec-1.2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I. -DWITH_LUASOCKET -c -o options.o options.c options.c:8:10: fatal error: openssl/ssl.h: No such file or directory 8 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[6]: *** [: options.o] Error 1 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0/src' make[5]: *** [Makefile:43: linux] Error 2 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0/src' make[4]: *** [Makefile:41: linux] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0' make[3]: *** [Makefile:68: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/luasec-1.2.0/.built] Error 2 time: package/feeds/packages/luasec/compile#1.07#0.32#2.26