+ curl -f --connect-timeout 20 --retry 5 --location http://www.cpan.org/authors/id/S/SZ/SZBALINT/WWW-Curl-4.17.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 50917 100 50917 0 0 1035k 0 --:--:-- --:--:-- --:--:-- 1035k Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/perl-www-curl/patches/100-perl-www-curl_disable_curl-config_hack.patch using plaintext: patching file Makefile.PL Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/perl-www-curl/patches/101-skip-preprocessor-symbol.path using plaintext: patching file Makefile.PL Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/perl-www-curl/patches/200-fix_default_lflags.patch using plaintext: patching file Makefile.PL Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/perl-www-curl/patches/210-curl_7.66_compat.patch using plaintext: patching file Curl.xs Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/perl-www-curl/patches/220-curl_7.69_compat.patch using plaintext: patching file Makefile.PL Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/perl-www-curl/patches/230-curl_7.88_compat.patch using plaintext: patching file Makefile.PL Found curl.h in /builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include/curl/curl.h Building curlopt-constants.c for your libcurl version Building Easy.pm constants for your libcurl version Building Share.pm constants for your libcurl version Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for WWW::Curl Writing MYMETA.yml and MYMETA.json make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/perl/WWW-Curl-4.17' cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm Running Mkbootstrap for Curl () chmod 644 "Curl.bs" "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/bin/perl5.40.0" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644 "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/bin/perl5.40.0" "-Iinc" "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/lib/perl5/5.40.0/ExtUtils/xsubpp" -typemap '/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/lib/perl5/5.40.0/ExtUtils/typemap' -typemap '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/perl/WWW-Curl-4.17/typemap' Curl.xs > Curl.xsc mv Curl.xsc Curl.c loongarch64-openwrt-linux-gcc -c -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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/perl/WWW-Curl-4.17=WWW-Curl-4.17 -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 -D_LARGEFILE64_SOURCE -O2 -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -fPIC "-I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib/perl5/5.40/CORE/" Curl.c Curl.xs:13:10: fatal error: EXTERN.h: No such file or directory 13 | #include "EXTERN.h" | ^~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:350: Curl.o] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/perl/WWW-Curl-4.17' make[3]: *** [Makefile:52: /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/perl/WWW-Curl-4.17/.built] Error 2 time: package/feeds/packages/perl-www-curl/compile#0.51#1.17#2.56