Applying ./patches/010-xml-parser-expat-use-ppport.h using plaintext: patching file Expat/Expat.xs patching file Expat/ppport.h Applying ./patches/020-xml-parser-expat-lib-inc-path-anchor.patch using plaintext: patching file Expat/Makefile.PL Expat must be installed prior to building XML::Parser and I can't find it in the standard library directories. Install 'expat-devel' (or 'libexpat1-dev') package with your OS package manager. See 'README'. Or you can download expat from: http://sourceforge.net/projects/expat/ If expat is installed, but in a non-standard directory, then use the following options to Makefile.PL: EXPATLIBPATH=... To set the directory in which to find libexpat EXPATINCPATH=... To set the directory in which to find expat.h For example: perl Makefile.PL EXPATLIBPATH=/home/me/lib EXPATINCPATH=/home/me/include Note that if you build against a shareable library in a non-standard location you may (on some platforms) also have to set your LD_LIBRARY_PATH environment variable at run time for perl to find the library. Warning: prerequisite LWP::UserAgent 0 not found. Checking if your kit is complete... Looks good Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for XML::Parser Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for XML::Parser::Expat Writing MYMETA.yml and MYMETA.json make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/perl/XML-Parser-2.44' cp Parser/Encodings/iso-8859-9.enc blib/lib/XML/Parser/Encodings/iso-8859-9.enc cp Parser/Style/Tree.pm blib/lib/XML/Parser/Style/Tree.pm cp Parser/Encodings/Japanese_Encodings.msg blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg cp Parser/Encodings/windows-1255.enc blib/lib/XML/Parser/Encodings/windows-1255.enc cp Parser/Style/Debug.pm blib/lib/XML/Parser/Style/Debug.pm cp Parser.pm blib/lib/XML/Parser.pm cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README cp Parser/Style/Objects.pm blib/lib/XML/Parser/Style/Objects.pm cp Parser/Encodings/iso-8859-2.enc blib/lib/XML/Parser/Encodings/iso-8859-2.enc cp Parser/Encodings/x-euc-jp-jisx0221.enc blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc cp Parser/Encodings/iso-8859-8.enc blib/lib/XML/Parser/Encodings/iso-8859-8.enc cp Parser/Encodings/x-euc-jp-unicode.enc blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc cp Parser/Encodings/windows-1252.enc blib/lib/XML/Parser/Encodings/windows-1252.enc cp Parser/Encodings/windows-1250.enc blib/lib/XML/Parser/Encodings/windows-1250.enc cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl cp Parser/Encodings/iso-8859-7.enc blib/lib/XML/Parser/Encodings/iso-8859-7.enc cp Parser/Style/Subs.pm blib/lib/XML/Parser/Style/Subs.pm cp Parser/Encodings/koi8-r.enc blib/lib/XML/Parser/Encodings/koi8-r.enc cp Parser/Encodings/x-sjis-unicode.enc blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc cp Parser/Encodings/ibm866.enc blib/lib/XML/Parser/Encodings/ibm866.enc cp Parser/Encodings/iso-8859-3.enc blib/lib/XML/Parser/Encodings/iso-8859-3.enc cp Parser/Encodings/x-sjis-jdk117.enc blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-kr.enc cp Parser/Encodings/windows-1251.enc blib/lib/XML/Parser/Encodings/windows-1251.enc cp Parser/Encodings/x-sjis-jisx0221.enc blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc cp Parser/Encodings/x-sjis-cp932.enc blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc cp Parser/Style/Stream.pm blib/lib/XML/Parser/Style/Stream.pm cp Parser/Encodings/iso-8859-4.enc blib/lib/XML/Parser/Encodings/iso-8859-4.enc make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/perl/XML-Parser-2.44/Expat' cp Expat.pm blib/lib/XML/Parser/Expat.pm Running Mkbootstrap for Expat () chmod 644 "Expat.bs" "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/bin/perl5.28.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Expat.bs blib/arch/auto/XML/Parser/Expat/Expat.bs 644 "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/bin/perl5.28.0" "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/lib/perl5/5.28.0/ExtUtils/xsubpp" -noprototypes -typemap '/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/lib/perl5/5.28.0/ExtUtils/typemap' -typemap '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/perl/XML-Parser-2.44/Expat/typemap' Expat.xs > Expat.xsc mv Expat.xsc Expat.c arc-openwrt-linux-gcc -c -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/perl/XML-Parser-2.44:XML-Parser-2.44 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/include -O2 -DVERSION=\"2.44\" -DXS_VERSION=\"2.44\" -fPIC "-I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/lib/perl5/5.28/CORE/" Expat.c Expat.xs:14:10: fatal error: EXTERN.h: No such file or directory #include "EXTERN.h" ^~~~~~~~~~ compilation terminated. Makefile:339: recipe for target 'Expat.o' failed make[5]: *** [Expat.o] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/perl/XML-Parser-2.44/Expat' Makefile:537: recipe for target 'subdirs' failed make[4]: *** [subdirs] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/perl/XML-Parser-2.44' Makefile:85: recipe for target '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/perl/XML-Parser-2.44/.built' failed make[3]: *** [/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/perl/XML-Parser-2.44/.built] Error 2 time: package/feeds/packages/perl-xml-parser/compile#1.80#0.36#5.37