Applying ./patches/0001-build-always-use-lib-instead-of-lib64.patch using plaintext: 
patching file configure.ac
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: true --force
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/share/aclocal -I m4 -I . --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force
OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
OpenWrt-libtoolize: linking file 'build-aux/config.guess'
OpenWrt-libtoolize: linking file 'build-aux/config.sub'
OpenWrt-libtoolize: linking file 'build-aux/install-sh'
OpenWrt-libtoolize: linking file 'build-aux/ltmain.sh'
OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
OpenWrt-libtoolize: linking file 'm4/libtool.m4'
OpenWrt-libtoolize: linking file 'm4/ltoptions.m4'
OpenWrt-libtoolize: linking file 'm4/ltsugar.m4'
OpenWrt-libtoolize: linking file 'm4/ltversion.m4'
OpenWrt-libtoolize: linking file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/share/aclocal -I m4 -I . --force -I m4
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force
autom4te: error: /builder/shared-workdir/build/staging_dir/host/share/autoconf/autoconf/trailer.m4: no such file or directory
autoreconf: error: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf failed with exit status: 1
configure: WARNING: unrecognized options: --disable-cracklib
configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm
checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c
checking whether build environment is sane... yes
/bin/bash: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/Linux-PAM-1.5.2/build-aux/missing: No such file or directory
configure: WARNING: 'missing' script is too old or missing
checking for arm-openwrt-linux-strip... arm-openwrt-linux-muslgnueabi-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 build system type... x86_64-pc-linux-gnu
checking host system type... arm-openwrt-linux-gnu
checking whether make supports the include directive... yes (GNU style)
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-muslgnueabi-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 arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89... none needed
checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... yes
checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... none
checking how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-gcc -E
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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
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 fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F
checking for ld used by arm-openwrt-linux-muslgnueabi-gcc... arm-openwrt-linux-muslgnueabi-ld
checking if the linker (arm-openwrt-linux-muslgnueabi-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arm-openwrt-linux-muslgnueabi-gcc-nm
checking the name lister (arm-openwrt-linux-muslgnueabi-gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to arm-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 arm-openwrt-linux-muslgnueabi-ld option to reload object files... -r
checking for arm-openwrt-linux-objdump... arm-openwrt-linux-muslgnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-openwrt-linux-ar... arm-openwrt-linux-muslgnueabi-gcc-ar
checking for archiver @FILE support... @
checking for arm-openwrt-linux-strip... (cached) arm-openwrt-linux-muslgnueabi-strip
checking for arm-openwrt-linux-ranlib... arm-openwrt-linux-muslgnueabi-gcc-ranlib
checking command to parse arm-openwrt-linux-muslgnueabi-gcc-nm output from arm-openwrt-linux-muslgnueabi-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for arm-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-openwrt-linux-muslgnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-openwrt-linux-muslgnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-openwrt-linux-muslgnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-openwrt-linux-muslgnueabi-gcc static flag -static works... yes
checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o... yes
checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-openwrt-linux-muslgnueabi-gcc linker (arm-openwrt-linux-muslgnueabi-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 for arm-openwrt-linux-gcc... (cached) arm-openwrt-linux-muslgnueabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... (cached) yes
checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89... (cached) none needed
checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... (cached) yes
checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... (cached) none
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether ld supports --as-needed... yes
checking whether ld supports --no-undefined... yes
checking whether ld supports -O1... yes
checking whether ld supports "-z now"... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Werror -Wunknown-warning-option... no
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -W... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wall... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wbad-function-cast... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wcast-align... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wcast-align=strict... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wcast-qual... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wdeprecated... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Winline... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wmain... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wmissing-declarations... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wmissing-format-attribute... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wmissing-prototypes... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wp64... no
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wpointer-arith... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wreturn-type... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wshadow... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wstrict-prototypes... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wuninitialized... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc handles -Wwrite-strings... yes
checking for gcc... gcc
checking for CC_FOR_BUILD... gcc
checking for __attribute__((unused))... yes
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for -fpie/-pie support... yes
Defining $ISA to "../../lib/security"
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for library containing dlopen... none required
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking pkg-config is at least version 0.9.0... yes
checking for libcrypt... yes
checking for crypt_r... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking for unistd.h... (cached) yes
checking sys/fsuid.h usability... yes
checking sys/fsuid.h presence... yes
checking for sys/fsuid.h... yes
checking inittypes.h usability... no
checking inittypes.h presence... no
checking for inittypes.h... no
checking lastlog.h usability... yes
checking lastlog.h presence... yes
checking for lastlog.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking whether byte ordering is bigendian... (cached) no
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking type of array argument to getgroups... gid_t
checking whether arm-openwrt-linux-muslgnueabi-gcc needs -traditional... no
checking for working memcmp... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for fseeko... yes
checking for getdomainname... (cached) yes
checking for gethostname... yes
checking for gettimeofday... (cached) yes
checking for lckpwdf... yes
checking for mkdir... yes
checking for select... yes
checking for strcspn... yes
checking for strdup... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for uname... yes
checking for getutent_r... no
checking for getpwnam_r... yes
checking for getpwuid_r... (cached) yes
checking for getgrnam_r... yes
checking for getgrgid_r... yes
checking for getspnam_r... yes
checking for getmntent_r... yes
checking for getgrouplist... yes
checking for getline... yes
checking for getdelim... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for innetgr... no
checking for quotactl... yes
checking for unshare... yes
checking for ruserok_af... no
checking for ruserok... no
checking for logwtmp... no
checking for xsltproc... no
checking for xmllint... /bin/true
checking for XML catalog (/etc/xml/catalog)... not found
checking for xmlcatalog... no
checking for DocBook XML DTD V4.4 in XML catalog... not found
checking for DocBook XSL Stylesheets in XML catalog... not found
checking for w3m... no
checking for elinks... no
checking for fop... no
checking whether NLS is requested... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by arm-openwrt-linux-muslgnueabi-gcc... arm-openwrt-linux-muslgnueabi-ld
checking if the linker (arm-openwrt-linux-muslgnueabi-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether to use NLS... no
checking for dngettext... yes
checking whether __NR_keyctl is declared... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpam/Makefile
config.status: creating libpamc/Makefile
config.status: creating libpamc/test/Makefile
config.status: creating libpam_misc/Makefile
config.status: creating conf/Makefile
config.status: creating conf/pam_conv1/Makefile
config.status: creating libpam/pam.pc
config.status: creating libpam_misc/pam_misc.pc
config.status: creating libpamc/pamc.pc
config.status: creating po/Makefile.in
config.status: creating Make.xml.rules
config.status: creating modules/Makefile
config.status: creating modules/pam_access/Makefile
config.status: creating modules/pam_debug/Makefile
config.status: creating modules/pam_deny/Makefile
config.status: creating modules/pam_echo/Makefile
config.status: creating modules/pam_env/Makefile
config.status: creating modules/pam_faildelay/Makefile
config.status: creating modules/pam_faillock/Makefile
config.status: creating modules/pam_filter/Makefile
config.status: creating modules/pam_filter/upperLOWER/Makefile
config.status: creating modules/pam_ftp/Makefile
config.status: creating modules/pam_group/Makefile
config.status: creating modules/pam_issue/Makefile
config.status: creating modules/pam_keyinit/Makefile
config.status: creating modules/pam_lastlog/Makefile
config.status: creating modules/pam_limits/Makefile
config.status: creating modules/pam_listfile/Makefile
config.status: creating modules/pam_localuser/Makefile
config.status: creating modules/pam_loginuid/Makefile
config.status: creating modules/pam_mail/Makefile
config.status: creating modules/pam_mkhomedir/Makefile
config.status: creating modules/pam_motd/Makefile
config.status: creating modules/pam_namespace/Makefile
config.status: creating modules/pam_namespace/pam_namespace_helper
config.status: creating modules/pam_namespace/pam_namespace.service
config.status: creating modules/pam_nologin/Makefile
config.status: creating modules/pam_permit/Makefile
config.status: creating modules/pam_pwhistory/Makefile
config.status: creating modules/pam_rhosts/Makefile
config.status: creating modules/pam_rootok/Makefile
config.status: creating modules/pam_exec/Makefile
config.status: creating modules/pam_securetty/Makefile
config.status: creating modules/pam_selinux/Makefile
config.status: creating modules/pam_sepermit/Makefile
config.status: creating modules/pam_setquota/Makefile
config.status: creating modules/pam_shells/Makefile
config.status: creating modules/pam_stress/Makefile
config.status: creating modules/pam_succeed_if/Makefile
config.status: creating modules/pam_time/Makefile
config.status: creating modules/pam_timestamp/Makefile
config.status: creating modules/pam_tty_audit/Makefile
config.status: creating modules/pam_umask/Makefile
config.status: creating modules/pam_unix/Makefile
config.status: creating modules/pam_userdb/Makefile
config.status: creating modules/pam_usertype/Makefile
config.status: creating modules/pam_warn/Makefile
config.status: creating modules/pam_wheel/Makefile
config.status: creating modules/pam_xauth/Makefile
config.status: creating doc/Makefile
config.status: creating doc/specs/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/sag/Makefile
config.status: creating doc/adg/Makefile
config.status: creating doc/mwg/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating xtests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: WARNING: unrecognized options: --disable-cracklib
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/Linux-PAM-1.5.2'
 cd . && automake-1.16 --gnu
configure.ac:61: error: required file 'build-aux/compile' not found
configure.ac:61:   'automake --add-missing' can install 'compile'
configure.ac:5: error: required file 'build-aux/missing' not found
configure.ac:5:   'automake --add-missing' can install 'missing'
conf/pam_conv1/Makefile.am: error: required file 'build-aux/depcomp' not found
conf/pam_conv1/Makefile.am:   'automake --add-missing' can install 'depcomp'
doc/specs/Makefile.am:16: warning: 'CFLAGS' is a user variable, you should not override it;
doc/specs/Makefile.am:16: use 'AM_CFLAGS' instead
doc/specs/Makefile.am:15: warning: 'CPPFLAGS' is a user variable, you should not override it;
doc/specs/Makefile.am:15: use 'AM_CPPFLAGS' instead
doc/specs/Makefile.am:17: warning: 'LDFLAGS' is a user variable, you should not override it;
doc/specs/Makefile.am:17: use 'AM_LDFLAGS' instead
CDPATH="${ZSH_VERSION+.}:" && cd . && autoconf
autom4te: error: /builder/shared-workdir/build/staging_dir/host/share/autoconf/autoconf/trailer.m4: no such file or directory
make[4]: *** [Makefile:458: configure] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:432: Makefile.in] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/Linux-PAM-1.5.2'
make[3]: *** [Makefile:86: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/Linux-PAM-1.5.2/.built] Error 2
time: package/feeds/packages/libpam/compile#31.40#4.93#47.08