Applying /builder/shared-workdir/build/sdk/feeds/packages/net/krb5/patches/0001-do-not-set-root-as-owner.patch using plaintext: patching file src/config/pre.in configure: WARNING: unrecognized options: --disable-dependency-tracking, --without-tcl configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm 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 the compiler supports GNU C... yes checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes checking for arm-openwrt-linux-muslgnueabi-gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether arm-openwrt-linux-muslgnueabi-g++ accepts -g... yes checking for arm-openwrt-linux-muslgnueabi-g++ option to enable C++11 features... none needed checking if C compiler supports -Werror=unknown-warning-option... no checking how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-gcc -E checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-pc-linux-gnu checking host system type... arm-openwrt-linux-gnu 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 GNU linker... yes configure: adding extra warning flags for gcc configure: skipping pedantic warnings on Linux configure: adding extra warning flags for g++ checking if C compiler supports -Wno-format-zero-length... yes checking if C compiler supports -Woverflow... yes checking if C compiler supports -Wstrict-overflow... yes checking if C compiler supports -Wmissing-format-attribute... yes checking if C compiler supports -Wmissing-prototypes... yes checking if C compiler supports -Wreturn-type... yes checking if C compiler supports -Wmissing-braces... yes checking if C compiler supports -Wparentheses... yes checking if C compiler supports -Wswitch... yes checking if C compiler supports -Wunused-function... yes checking if C compiler supports -Wunused-label... yes checking if C compiler supports -Wunused-variable... yes checking if C compiler supports -Wunused-value... yes checking if C compiler supports -Wunknown-pragmas... yes checking if C compiler supports -Wsign-compare... yes checking if C compiler supports -Wnewline-eof... no checking if C compiler supports -Werror=uninitialized... yes checking if C compiler supports -Wno-maybe-uninitialized... yes checking if C compiler supports -Werror=pointer-arith... yes checking if C compiler supports -Werror=int-conversion... yes checking if C compiler supports -Werror=incompatible-pointer-types... yes checking if C compiler supports -Werror=discarded-qualifiers... yes checking if C compiler supports -Werror=implicit-int... yes checking if C compiler supports -Werror=strict-prototypes... yes checking if C compiler supports -Werror=declaration-after-statement... yes checking if C compiler supports -Werror-implicit-function-declaration... yes checking which version of com_err to use... system checking for com_err... yes checking for add_error_table in -lcom_err... yes checking for remove_error_table in -lcom_err... yes checking for compile_et... compile_et checking whether compile_et is useful... yes checking whether compile_et supports --textdomain... no checking which version of subsystem package to use... system checking whether system ss package works... assumed checking if ss_execute_command needs a prototype provided... yes checking for an ANSI C-conforming const... yes checking for gethostbyname... yes checking for socket... yes checking for main in -lresolv... yes checking for res_ninit... no checking for res_nclose... no checking for res_ndestroy... no checking for res_nsearch... no checking for ns_initparse... yes checking for ns_name_uncompress... yes checking for dn_skipname... yes checking for res_search... yes checking whether pragma weak references are supported... yes checking for constructor/destructor attribute support... (cached) yes,yes configure: enabling thread support checking whether arm-openwrt-linux-muslgnueabi-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 configure: PTHREAD_CC = arm-openwrt-linux-muslgnueabi-gcc configure: PTHREAD_CFLAGS = -pthread configure: PTHREAD_LIBS = -lpthread checking for pthread_once... yes checking for pthread_rwlock_init... yes configure: rechecking with PTHREAD_... options checking for pthread_rwlock_init in -lc... yes checking for library containing dlopen... none required checking pkg-config is at least version 0.9.0... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdint.h... (cached) yes checking whether integers are two's complement... yes checking whether CHAR_BIT is 8... yes checking if va_copy is available... yes checking if va_list objects can be copied by assignment... yes configure: using shared libraries checking whether ln -s works... yes checking for arm-openwrt-linux-ranlib... arm-openwrt-linux-muslgnueabi-gcc-ranlib checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/ginstall -c checking for arm-openwrt-linux-ar... arm-openwrt-linux-muslgnueabi-gcc-ar checking for perl... perl checking for mode_t... yes checking if daemon needs a prototype provided... no checking if getsockname() takes arguments struct sockaddr * and size_t *... yes checking for main in -lutil... yes checking for sys/sockio.h... no checking for ifaddrs.h... yes checking for unistd.h... (cached) yes checking for fnmatch.h... yes checking for vsprintf... yes checking for vasprintf... yes checking for vsnprintf... (cached) yes checking for strlcpy... yes checking for fnmatch... yes checking for secure_getenv... yes checking for strlcpy... (cached) yes checking for getopt... yes checking for getopt_long... yes checking for fnmatch... (cached) yes checking for vasprintf... (cached) yes checking if vasprintf needs a prototype provided... no checking if swab needs a prototype provided... no checking for secure_getenv... (cached) yes checking for gawk... gawk checking for struct sockaddr.sa_len... no checking for sys/types.h... (cached) yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for netdb.h... yes checking for inet_ntop... yes checking for inet_pton... yes checking for getnameinfo... yes checking for getaddrinfo... (cached) yes checking for IPv6 compile-time support without -DINET6... yes checking for struct sockaddr.sa_len... (cached) no checking for sigprocmask... yes checking for sigset_t and POSIX_SIGNALS... yes configure: k5crypto will use 'builtin' configure: building without TLS support checking for keyutils.h... (cached) no checking for EC_POINT_new in -lcrypto... no checking for an ANSI C-conforming const... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for arm-openwrt-linux-muslgnueabi-gcc options needed to detect all undeclared functions... none needed checking whether strerror_r is declared... yes checking whether strerror_r returns char *... no checking for strdup... yes checking for setvbuf... yes checking for seteuid... yes checking for setresuid... (cached) yes checking for setreuid... yes checking for setegid... yes checking for setresgid... yes checking for setregid... yes checking for setsid... yes checking for flock... yes checking for fchmod... (cached) yes checking for chmod... yes checking for strptime... yes checking for geteuid... yes checking for setenv... yes checking for unsetenv... yes checking for getenv... yes checking for gmtime_r... yes checking for localtime_r... yes checking for bswap16... no checking for bswap64... no checking for mkstemp... yes checking for getusershell... yes checking for access... yes checking for getcwd... (cached) yes checking for srand48... yes checking for srand... yes checking for srandom... yes checking for stat... yes checking for strchr... yes checking for strerror... (cached) yes checking for timegm... yes checking for explicit_bzero... yes checking for explicit_memset... no checking for getresuid... yes checking for getresgid... yes checking for getentropy... yes checking for mkstemp... (cached) yes checking for gettimeofday... (cached) yes checking for sys_errlist declaration... no checking for sys_errlist in libc... no configure: WARNING: sys_errlist is neither in errno.h nor in libc checking for unistd.h... (cached) yes checking for paths.h... yes checking for fcntl.h... yes checking for memory.h... yes checking for ifaddrs.h... (cached) yes checking for sys/filio.h... no checking for byteswap.h... yes checking for machine/endian.h... no checking for machine/byte_order.h... no checking for sys/bswap.h... no checking for endian.h... yes checking for pwd.h... yes checking for arpa/inet.h... yes checking for alloca.h... yes checking for dlfcn.h... yes checking for limits.h... yes checking for sys/random.h... yes checking for struct stat.st_mtimensec... no checking for struct stat.st_mtimespec.tv_nsec... no checking for struct stat.st_mtim.tv_nsec... yes checking for off_t... yes checking for perror declaration... no checking if strptime needs a prototype provided... no checking if argument to wait is int *... no checking for use of sigprocmask... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for sigsetjmp... yes checking for sigjmp_buf... yes checking return type of setrpcent... void checking return type of endrpcent... void checking for bswap_16... yes checking for bswap_64... yes checking for gethostbyname_r... yes checking if gethostbyname_r returns an int... yes checking if gethostbyname_r returns a pointer... no checking for gethostbyaddr_r... yes checking for getpwnam_r... yes checking for getpwuid_r... (cached) yes checking return type of getpwnam_r... int checking number of arguments to getpwnam_r... 5 checking whether gmtime_r returns int... no checking for getservbyname_r... yes checking if getservbyname_r returns an int... yes checking if getservbyname_r returns a pointer... no checking for getservbyport_r... yes checking for dirent.h... yes checking for uid_t in sys/types.h... (cached) yes checking for termios.h... yes checking for tcsetattr... yes checking for poll.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for stddef.h... yes checking for sys/types.h... (cached) yes checking for sys/file.h... yes checking for sys/param.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... yes checking for netinet/in.h... (cached) yes checking for sys/uio.h... yes checking for sys/filio.h... (cached) no checking for sys/select.h... yes checking for time.h... yes checking for paths.h... (cached) yes checking for errno.h... yes checking for in6addr_any definition in library... yes checking for time_t... yes checking size of time_t... 8 checking for replay cache directory... (cached) /tmp checking for socklen_t... yes checking for struct lifconf... no checking for struct if_laddrconf... no checking for h_errno in netdb.h... yes checking for inline... inline checking for struct cmsghdr... yes checking for struct in_pktinfo... yes checking for struct in6_pktinfo... yes checking for struct sockaddr_storage... yes checking for struct rt_msghdr... no checking size of size_t... (cached) 4 checking for __int128_t... no checking for __uint128_t... no checking for ssize_t... yes checking for u_char... yes checking for u_int... yes checking for u_long... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for sh... /bin/sh checking for sh5... false checking for bash... /bin/bash checking if /bin/sh supports functions... yes checking for POSIX printf positional specification support... (cached) yes checking for dig... false checking for nslookup... false checking for bison... bison -y checking whether to use priocntl hack... no checking for perl... (cached) perl checking for xom.h... no checking where struct rpcent is declared... nowhere checking for sys/select.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for MAXHOSTNAMELEN in sys/param.h... yes checking for MAXHOSTNAMELEN in netdb.h... no checking for BSD type aliases... yes checking return type of setrpcent... (cached) void checking return type of endrpcent... (cached) void configure: Disabling PKINIT support. checking for daemon... yes checking for python3... python3 checking for cmocka.h... no checking for _cmocka_run_group_tests in -lcmocka... no checking for SD_Init in -laceclnt... no checking for mdb_env_create in -llmdb... yes Not using any readline support configure: Using built-in libverto checking for groff... no configure: Default ccache name: FILE:/tmp/krb5cc_%{uid} configure: Default keytab name: FILE:/etc/krb5.keytab configure: Default client keytab name: FILE:/etc/krb5/user/%{euid}/client.keytab configure: Default PKCS11 module name: opensc-pkcs11.so configure: creating ./config.status config.status: creating include/gssrpc/types.h config.status: creating plugins/kdb/lmdb/Makefile config.status: creating build-tools/krb5-config config.status: creating build-tools/kadm-server.pc config.status: creating build-tools/kadm-client.pc config.status: creating build-tools/kdb.pc config.status: creating build-tools/krb5.pc config.status: creating build-tools/krb5-gssapi.pc config.status: creating build-tools/mit-krb5.pc config.status: creating build-tools/mit-krb5-gssapi.pc config.status: creating build-tools/gssrpc.pc config.status: creating ./Makefile config.status: creating util/Makefile config.status: creating util/support/Makefile config.status: creating util/profile/Makefile config.status: creating util/profile/testmod/Makefile config.status: creating util/verto/Makefile config.status: creating lib/Makefile config.status: creating lib/kdb/Makefile config.status: creating lib/crypto/Makefile config.status: creating lib/crypto/krb/Makefile config.status: creating lib/crypto/crypto_tests/Makefile config.status: creating lib/crypto/builtin/Makefile config.status: creating lib/crypto/builtin/des/Makefile config.status: creating lib/crypto/builtin/aes/Makefile config.status: creating lib/crypto/builtin/camellia/Makefile config.status: creating lib/crypto/builtin/md4/Makefile config.status: creating lib/crypto/builtin/md5/Makefile config.status: creating lib/crypto/builtin/sha1/Makefile config.status: creating lib/crypto/builtin/sha2/Makefile config.status: creating lib/crypto/builtin/enc_provider/Makefile config.status: creating lib/crypto/builtin/hash_provider/Makefile config.status: creating lib/crypto/openssl/Makefile config.status: creating lib/crypto/openssl/des/Makefile config.status: creating lib/crypto/openssl/enc_provider/Makefile config.status: creating lib/crypto/openssl/hash_provider/Makefile config.status: creating lib/krb5/Makefile config.status: creating lib/krb5/error_tables/Makefile config.status: creating lib/krb5/asn.1/Makefile config.status: creating lib/krb5/ccache/Makefile config.status: creating lib/krb5/keytab/Makefile config.status: creating lib/krb5/krb/Makefile config.status: creating lib/krb5/rcache/Makefile config.status: creating lib/krb5/os/Makefile config.status: creating lib/krb5/unicode/Makefile config.status: creating lib/gssapi/Makefile config.status: creating lib/gssapi/generic/Makefile config.status: creating lib/gssapi/krb5/Makefile config.status: creating lib/gssapi/spnego/Makefile config.status: creating lib/gssapi/mechglue/Makefile config.status: creating lib/rpc/Makefile config.status: creating lib/rpc/unit-test/Makefile config.status: creating lib/kadm5/Makefile config.status: creating lib/kadm5/clnt/Makefile config.status: creating lib/kadm5/srv/Makefile config.status: creating lib/krad/Makefile config.status: creating lib/apputils/Makefile config.status: creating kdc/Makefile config.status: creating kprop/Makefile config.status: creating config-files/Makefile config.status: creating build-tools/Makefile config.status: creating man/Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating plugins/certauth/test/Makefile config.status: creating plugins/gssapi/negoextest/Makefile config.status: creating plugins/hostrealm/test/Makefile config.status: creating plugins/localauth/test/Makefile config.status: creating plugins/kadm5_hook/test/Makefile config.status: creating plugins/kadm5_auth/test/Makefile config.status: creating plugins/pwqual/test/Makefile config.status: creating plugins/audit/Makefile config.status: creating plugins/audit/test/Makefile config.status: creating plugins/kdb/db2/Makefile config.status: creating plugins/kdb/db2/libdb2/Makefile config.status: creating plugins/kdb/db2/libdb2/hash/Makefile config.status: creating plugins/kdb/db2/libdb2/btree/Makefile config.status: creating plugins/kdb/db2/libdb2/db/Makefile config.status: creating plugins/kdb/db2/libdb2/mpool/Makefile config.status: creating plugins/kdb/db2/libdb2/recno/Makefile config.status: creating plugins/kdb/db2/libdb2/test/Makefile config.status: creating plugins/kdb/test/Makefile config.status: creating plugins/kdcpolicy/test/Makefile config.status: creating plugins/preauth/otp/Makefile config.status: creating plugins/preauth/spake/Makefile config.status: creating plugins/preauth/test/Makefile config.status: creating plugins/authdata/greet_client/Makefile config.status: creating plugins/authdata/greet_server/Makefile config.status: creating plugins/tls/k5tls/Makefile config.status: creating clients/Makefile config.status: creating clients/klist/Makefile config.status: creating clients/kinit/Makefile config.status: creating clients/kvno/Makefile config.status: creating clients/kdestroy/Makefile config.status: creating clients/kpasswd/Makefile config.status: creating clients/ksu/Makefile config.status: creating clients/kswitch/Makefile config.status: creating kadmin/Makefile config.status: creating kadmin/cli/Makefile config.status: creating kadmin/dbutil/Makefile config.status: creating kadmin/ktutil/Makefile config.status: creating kadmin/server/Makefile config.status: creating appl/Makefile config.status: creating appl/sample/Makefile config.status: creating appl/sample/sclient/Makefile config.status: creating appl/sample/sserver/Makefile config.status: creating appl/simple/Makefile config.status: creating appl/simple/client/Makefile config.status: creating appl/simple/server/Makefile config.status: creating appl/gss-sample/Makefile config.status: creating appl/user_user/Makefile config.status: creating tests/Makefile config.status: creating tests/asn.1/Makefile config.status: creating tests/create/Makefile config.status: creating tests/hammer/Makefile config.status: creating tests/verify/Makefile config.status: creating tests/gssapi/Makefile config.status: creating tests/threads/Makefile config.status: creating tests/shlib/Makefile config.status: creating tests/gss-threads/Makefile config.status: creating tests/misc/Makefile config.status: creating include/autoconf.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --without-tcl make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1/src' (cd include && make autoconf.h osconf.h) make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1/src/include' make[5]: Nothing to be done for 'autoconf.h'. cat ./osconf.hin | sed -e "s\"@KRB5RCTMPDIR\"/tmp\"" -e "s\"@PREFIX\"/usr\"" -e "s\"@EXEC_PREFIX\"/usr\"" -e "s\"@BINDIR\"/usr/bin\"" -e "s\"@LIBDIR\"/usr/lib\"" -e "s\"@SBINDIR\"/usr/sbin\"" -e "s\"@MODULEDIR\"/usr/lib/krb5/plugins\"" -e "s\"@GSSMODULEDIR\"/usr/lib/gss\"" -e "s\"@LOCALSTATEDIR\"/etc\"" -e "s\"@RUNSTATEDIR\"/etc/run\"" -e "s\"@SYSCONFDIR\"/etc\"" -e "s\"@DYNOBJEXT\".so\"" -e "s\"@SYSCONFCONF\"\"" > osconf.new ../config/move-if-changed osconf.new osconf.h make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1/src/include' making all in util... make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1/src/util' making all in util/support... make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1/src/util/support' arm-openwrt-linux-muslgnueabi-gcc -fPIC -DSHARED -DHAVE_CONFIG_H -I../../include -I../../include -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1=krb5-1.22.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wcast-align -Wshadow -Wmissing-prototypes -Wno-format-zero-length -Woverflow -Wstrict-overflow -Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas -Wsign-compare -Werror=uninitialized -Wno-maybe-uninitialized -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=implicit-int -Werror=strict-prototypes -Werror=declaration-after-statement -Werror-implicit-function-declaration -pthread -c threads.c -o threads.so.o && mv -f threads.so.o threads.so In file included from ../../include/k5-platform.h:57, from threads.c:28: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'mempcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:343:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] 343 | __fh_size_t __bd = __fh_bos(__d, 0); | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[6]: *** [Makefile:1069: threads.so] Error 1 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1/src/util/support' make[5]: *** [Makefile:855: all-recurse] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1/src/util' make[4]: *** [Makefile:1537: all-recurse] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1/src' make[3]: *** [Makefile:158: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/krb5-1.22.1/.built] Error 2 time: package/feeds/packages/krb5/compile#26.80#10.09#155.16