Applying ./patches/001-fix-disabling-pam.patch using plaintext: 
patching file configure.ac
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/share/aclocal -I m4 -I . --force -I m4
configure.ac:20: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/share/aclocal/ax_pthread.m4:93: AX_PTHREAD is expanded from...
configure.ac:20: the top level
configure.ac:20: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/share/aclocal/ax_pthread.m4:93: AX_PTHREAD is expanded from...
configure.ac:20: the top level
autoreconf: configure.ac: tracing
configure.ac:20: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
aclocal.m4:1305: AX_PTHREAD is expanded from...
configure.ac:20: the top level
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force
OpenWrt-libtoolize: putting auxiliary files in `.'.
OpenWrt-libtoolize: linking file `./config.guess'
OpenWrt-libtoolize: linking file `./config.sub'
OpenWrt-libtoolize: linking file `./install-sh'
OpenWrt-libtoolize: linking file `./ltmain.sh'
OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
OpenWrt-libtoolize: linking file `m4/libtool.m4'
OpenWrt-libtoolize: You should add the contents of `m4/libtool.m4' to `aclocal.m4'.
OpenWrt-libtoolize: linking file `m4/ltoptions.m4'
OpenWrt-libtoolize: You should add the contents of `m4/ltoptions.m4' to `aclocal.m4'.
OpenWrt-libtoolize: linking file `m4/ltsugar.m4'
OpenWrt-libtoolize: You should add the contents of `m4/ltsugar.m4' to `aclocal.m4'.
OpenWrt-libtoolize: linking file `m4/ltversion.m4'
OpenWrt-libtoolize: linking file `m4/lt~obsolete.m4'
OpenWrt-libtoolize: You should add the contents of `m4/lt~obsolete.m4' to `aclocal.m4'.
configure.ac:20: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/share/aclocal/ax_pthread.m4:93: AX_PTHREAD is expanded from...
configure.ac:20: the top level
configure.ac:20: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/share/aclocal/ax_pthread.m4:93: AX_PTHREAD is expanded from...
configure.ac:20: the top level
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force
configure.ac:20: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
aclocal.m4:1305: AX_PTHREAD is expanded from...
configure.ac:20: the top level
autoreconf: configure.ac: not using Autoheader
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --force-missing
configure.ac:20: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
aclocal.m4:1305: AX_PTHREAD is expanded from...
configure.ac:20: the top level
tests/Makefile.am:4: warning: shell readlink -f $(top_builddir: non-POSIX variable name
tests/Makefile.am:4: (probably a GNU make extension)
tests/Makefile.am:5: warning: shell readlink -f $(top_srcdir: non-POSIX variable name
tests/Makefile.am:5: (probably a GNU make extension)
autoreconf: Leaving directory `.'
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /builder/shared-workdir/build/sdk/include/site/arc
checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c
checking whether build environment is sane... yes
checking for arc-openwrt-linux-strip... arc-openwrt-linux-gnu-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arc-openwrt-linux-gcc... arc-openwrt-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arc-openwrt-linux-gnu-gcc accepts -g... yes
checking for arc-openwrt-linux-gnu-gcc option to accept ISO C89... none needed
checking whether arc-openwrt-linux-gnu-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of arc-openwrt-linux-gnu-gcc... gcc3
checking for arc-openwrt-linux-ar... arc-openwrt-linux-gnu-gcc-ar
checking the archiver (arc-openwrt-linux-gnu-gcc-ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... arc-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed
checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep
checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E
checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F
checking for ld used by arc-openwrt-linux-gnu-gcc... arc-openwrt-linux-gnu-ld
checking if the linker (arc-openwrt-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arc-openwrt-linux-gnu-gcc-nm
checking the name lister (arc-openwrt-linux-gnu-gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to arc-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for arc-openwrt-linux-gnu-ld option to reload object files... -r
checking for arc-openwrt-linux-objdump... arc-openwrt-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for arc-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arc-openwrt-linux-ar... (cached) arc-openwrt-linux-gnu-gcc-ar
checking for archiver @FILE support... @
checking for arc-openwrt-linux-strip... (cached) arc-openwrt-linux-gnu-strip
checking for arc-openwrt-linux-ranlib... arc-openwrt-linux-gnu-gcc-ranlib
checking command to parse arc-openwrt-linux-gnu-gcc-nm output from arc-openwrt-linux-gnu-gcc object... ok
checking for sysroot... no
checking for arc-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... arc-openwrt-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arc-openwrt-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for arc-openwrt-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if arc-openwrt-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if arc-openwrt-linux-gnu-gcc static flag -static works... no
checking if arc-openwrt-linux-gnu-gcc supports -c -o file.o... yes
checking if arc-openwrt-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the arc-openwrt-linux-gnu-gcc linker (arc-openwrt-linux-gnu-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking target system type... arc-openwrt-linux-gnu
checking whether arc-openwrt-linux-gnu-gcc is Clang... no
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking whether make supports nested variables... (cached) yes
checking for ANSI C header files... (cached) yes
checking for main in -lnsl... no
checking wordexp.h usability... yes
checking wordexp.h presence... yes
checking for wordexp.h... yes
checking for wordexp... yes
checking pkg-config is at least version 0.9.0... yes
checking for libgensio... no
checking gensio/gensio.h usability... no
checking gensio/gensio.h presence... no
checking for gensio/gensio.h... no
configure: error: gensio.h not found, please install gensio dev package
make[3]: *** [Makefile:68: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/ser2net-4.3.6/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
time: package/feeds/packages/ser2net/compile#16.53#1.84#24.53