
Applying ./patches/001-fix-musl-build.patch using plaintext: 
patching file mtab.c
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /home/bastian/mybuildbot/source/include/site/mips
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... mips-openwrt-linux-musl-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 mips-openwrt-linux-gcc... mips-openwrt-linux-musl-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 mips-openwrt-linux-musl-gcc accepts -g... yes
checking for mips-openwrt-linux-musl-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mips-openwrt-linux-musl-gcc... gcc3
checking how to run the C preprocessor... mips-openwrt-linux-musl-gcc -E
checking for grep that handles long lines and -e... /home/bastian/mybuildbot/source/staging_dir/host/bin/grep
checking for egrep... /home/bastian/mybuildbot/source/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 whether mips-openwrt-linux-musl-gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /home/bastian/mybuildbot/source/staging_dir/host/bin/sed
checking for stdbool.h that conforms to C99... yes
checking for _Bool... 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 for ptrdiff_t... yes
checking for ssize_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for library containing getmntent... none required
checking whether lstat correctly handles trailing slash... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking for working strnlen... yes
checking for alarm... yes
checking for atexit... yes
checking for endpwent... yes
checking for getmntent... (cached) yes
checking for getpass... yes
checking for gettimeofday... (cached) yes
checking for inet_ntop... yes
checking for memset... yes
checking for realpath... yes
checking for setenv... yes
checking for strchr... yes
checking for strcmp... yes
checking for strdup... yes
checking for strerror... (cached) yes
checking for strncasecmp... yes
checking for strndup... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for tolower... yes
checking for uname... yes
checking for clock_gettime... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdbool.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.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 for unistd.h... (cached) yes
checking sys/fsuid.h usability... yes
checking sys/fsuid.h presence... yes
checking for sys/fsuid.h... yes
checking for setfsuid... yes
checking krb5.h usability... no
checking krb5.h presence... no
checking for krb5.h... no
checking krb5/krb5.h usability... no
checking krb5/krb5.h presence... no
checking for krb5/krb5.h... no
configure: WARNING: krb5.h not found, consider installing krb5-devel or krb5-libs-devel. Disabling cifs.upcall.
checking keyutils.h usability... no
checking keyutils.h presence... no
checking for keyutils.h... no
configure: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.upcall.
configure: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.idmap.
checking pkg-config is at least version 0.9.0... yes
checking for WBCLIENT... no
configure: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifs.idmap.
configure: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifsacl.
checking whether WBC_ID_TYPE_BOTH enum value is defined... no
checking for keyutils.h... (cached) no
configure: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifscreds and cifscreds PAM module.
checking whether krb5_auth_con_set_req_cksumtype is declared... no
checking whether to use libcap-ng... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/request-key.d/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-nls
make[4]: Entering directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4'
make  all-recursive
make[5]: Entering directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4'
Making all in contrib
make[6]: Entering directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4/contrib'
Making all in request-key.d
make[7]: Entering directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4/contrib/request-key.d'
/home/bastian/mybuildbot/source/staging_dir/host/bin/sed 's,[@]sbindir@,/usr/sbin,' ./cifs.idmap.conf.in > cifs.idmap.conf-t && mv cifs.idmap.conf-t cifs.idmap.conf
/home/bastian/mybuildbot/source/staging_dir/host/bin/sed 's,[@]sbindir@,/usr/sbin,' ./cifs.spnego.conf.in > cifs.spnego.conf-t && mv cifs.spnego.conf-t cifs.spnego.conf
make[7]: Leaving directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4/contrib/request-key.d'
make[7]: Entering directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4/contrib'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4/contrib'
make[6]: Leaving directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4/contrib'
make[6]: Entering directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4'
mips-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I.   -I/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/usr/include -I/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/include -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/include -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include  -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -pie -Wl,-z,relro,-z,now -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4:cifs-utils-6.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-error  -MT mount.cifs.o -MD -MP -MF .deps/mount.cifs.Tpo -c -o mount.cifs.o mount.cifs.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<command-line>:0:0: note: this is the location of the previous definition
mv -f .deps/mount.cifs.Tpo .deps/mount.cifs.Po
mips-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I.   -I/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/usr/include -I/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/include -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/include -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include  -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -pie -Wl,-z,relro,-z,now -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4:cifs-utils-6.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-error  -MT mtab.o -MD -MP -MF .deps/mtab.Tpo -c -o mtab.o mtab.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<command-line>:0:0: note: this is the location of the previous definition
mv -f .deps/mtab.Tpo .deps/mtab.Po
mips-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I.   -I/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/usr/include -I/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/include -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/include -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include  -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -pie -Wl,-z,relro,-z,now -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4:cifs-utils-6.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-error  -MT resolve_host.o -MD -MP -MF .deps/resolve_host.Tpo -c -o resolve_host.o resolve_host.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<command-line>:0:0: note: this is the location of the previous definition
mv -f .deps/resolve_host.Tpo .deps/resolve_host.Po
mips-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I.   -I/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/usr/include -I/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/include -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/include -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify -I/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include  -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -pie -Wl,-z,relro,-z,now -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4:cifs-utils-6.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-error  -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<command-line>:0:0: note: this is the location of the previous definition
mv -f .deps/util.Tpo .deps/util.Po
mips-openwrt-linux-musl-gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -pie -Wl,-z,relro,-z,now -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4:cifs-utils-6.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-error   -L/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/usr/lib -L/home/bastian/mybuildbot/source/staging_dir/target-mips_24kc_musl/lib -L/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/lib -L/home/bastian/mybuildbot/source/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/lib -znow -zrelro  -o mount.cifs mount.cifs.o mtab.o resolve_host.o util.o    
make[6]: Leaving directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4'
make[5]: Leaving directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4'
make[4]: Leaving directory '/home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4'
rstrip.sh: /home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4/ipkg-mips_24kc/cifsmount/usr/sbin/mount.cifs: shared object
Packaged contents of /home/bastian/mybuildbot/source/build_dir/target-mips_24kc_musl/cifs-utils-6.4/ipkg-mips_24kc/cifsmount into /home/bastian/mybuildbot/source/bin/packages/mips_24kc/packages/cifsmount_6.4-2_mips_24kc.ipk
