Applying ./patches/010-allow-json-dynamic-lookup.patch using plaintext: patching file src/drtables.c Applying ./patches/030-openssl-deprecated.patch using plaintext: patching file src/dane-openssl.c patching file src/pdkim/signing.c patching file src/tls-openssl.c patching file src/tlscert-openssl.c Applying ./patches/100-localscan_dlopen.patch using plaintext: patching file src/EDITME patching file src/config.h.defaults patching file src/globals.c patching file src/globals.h patching file src/local_scan.c patching file src/local_scan.h patching file src/readconf.c patching file src/string.c Applying ./patches/200-fix-build.patch using plaintext: patching file src/drtables.c patching file src/exim.c patching file src/local_scan.h make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96' >>> Creating links to source files... >>> Creating lookups/Makefile for building dynamic modules >>> New Makefile & lookups/Makefile installed >>> Use "make makefile" if you need to force rebuilding of the makefile make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc' cc buildconfig.c /bin/sh ../scripts/Configure-config.h "make" make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc' make[5]: 'buildconfig' is up to date. make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc' Building configuration file config.h >>> config.h built cc -DMACRO_PREDEF macro_predef.c cc -DMACRO_PREDEF globals.c cc -DMACRO_PREDEF readconf.c cc -DMACRO_PREDEF route.c cc -DMACRO_PREDEF transport.c cc -DMACRO_PREDEF drtables.c cc -DMACRO_PREDEF acl.c cc -DMACRO_PREDEF tls.c cc -DMACRO_PREDEF transports/appendfile.c cc -DMACRO_PREDEF transports/autoreply.c cc -DMACRO_PREDEF transports/lmtp.c cc -DMACRO_PREDEF transports/pipe.c cc -DMACRO_PREDEF transports/queuefile.c cc -DMACRO_PREDEF transports/smtp.c cc -DMACRO_PREDEF routers/accept.c cc -DMACRO_PREDEF routers/dnslookup.c cc -DMACRO_PREDEF routers/ipliteral.c cc -DMACRO_PREDEF routers/iplookup.c cc -DMACRO_PREDEF routers/manualroute.c cc -DMACRO_PREDEF routers/queryprogram.c cc -DMACRO_PREDEF routers/redirect.c cc -DMACRO_PREDEF auths/auth-spa.c cc -DMACRO_PREDEF auths/cram_md5.c cc -DMACRO_PREDEF auths/cyrus_sasl.c cc -DMACRO_PREDEF auths/dovecot.c cc -DMACRO_PREDEF auths/gsasl_exim.c cc -DMACRO_PREDEF auths/heimdal_gssapi.c cc -DMACRO_PREDEF auths/plaintext.c cc -DMACRO_PREDEF auths/spa.c cc -DMACRO_PREDEF auths/tls.c cc -DMACRO_PREDEF auths/external.c cc -DMACRO_PREDEF dkim.c cc -DMACRO_PREDEF malware.c cc -DMACRO_PREDEF pdkim/signing.c cc -o macro_predef make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96' /bin/sh scripts/source_checks `Makefile' is up to date. make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc' /bin/sh ../scripts/Configure-os.c ./macro_predef > macro.c arc-openwrt-linux-gnu-gcc exim_dbmbuild.c arc-openwrt-linux-gnu-gcc -DEXIM_DUMPDB exim_dbutil.c arc-openwrt-linux-gnu-gcc -DCOMPILE_UTILITY os.c arc-openwrt-linux-gnu-gcc -DCOMPILE_UTILITY store.c arc-openwrt-linux-gnu-gcc -DEXIM_FIXDB exim_dbutil.c arc-openwrt-linux-gnu-gcc -DCOMPILE_UTILITY queue.c arc-openwrt-linux-gnu-gcc -DEXIM_TIDYDB exim_dbutil.c arc-openwrt-linux-gnu-gcc exim_lock.c arc-openwrt-linux-gnu-gcc -o exim_lock >>> exim_lock utility built arc-openwrt-linux-gnu-gcc acl.c arc-openwrt-linux-gnu-gcc base64.c arc-openwrt-linux-gnu-gcc child.c arc-openwrt-linux-gnu-gcc crypt16.c arc-openwrt-linux-gnu-gcc daemon.c arc-openwrt-linux-gnu-gcc dbfn.c dbfn.c: In function 'dbfn_open': dbfn.c:91:47: warning: '.lockfile' directive output may be truncated writing 9 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(CS filename, sizeof(filename), "%s/%s.lockfile", dirname, name); ^~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/stdio.h:866, from exim.h:75, from dbfn.c:10: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/bits/stdio2.h:71:10: note: '__builtin_snprintf' output 11 or more bytes (assuming 266) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ dbfn.c:147:47: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(CS filename, sizeof(filename), "%s/%s", dirname, name); ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/stdio.h:866, from exim.h:75, from dbfn.c:10: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/bits/stdio2.h:71:10: note: '__builtin_snprintf' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc debug.c arc-openwrt-linux-gnu-gcc deliver.c In file included from exim.h:541, from deliver.c:12: functions.h: In function 'string_timediff': functions.h:1124:35: warning: '%03u' directive output may be truncated writing between 3 and 7 bytes into a region of size between 0 and 5 [-Wformat-truncation=] snprintf(CS buf, sizeof(buf), "%u.%03us", (uint)diff->tv_sec, (uint)diff->tv_usec/1000); ^~~~ functions.h:1124:31: note: directive argument in the range [0, 4294967] snprintf(CS buf, sizeof(buf), "%u.%03us", (uint)diff->tv_sec, (uint)diff->tv_usec/1000); ^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/stdio.h:866, from exim.h:75, from deliver.c:12: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/bits/stdio2.h:71:10: note: '__builtin_snprintf' output between 7 and 20 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc directory.c arc-openwrt-linux-gnu-gcc dns.c arc-openwrt-linux-gnu-gcc drtables.c arc-openwrt-linux-gnu-gcc enq.c arc-openwrt-linux-gnu-gcc exim.c exim.c: In function 'exim_wait_tick': exim.c:563:20: warning: format '%ld' expects argument of type 'long int', but argument 2 has type '__time_t' {aka 'long long int'} [-Wformat=] debug_printf("tick check: " TIME_T_FMT ".%06lu " TIME_T_FMT ".%06lu\n", ^~~~~~~~~~~~~~ prev_tv->tv_sec, (long) prev_tv->tv_usec, ~~~~~~~~~~~~~~~ In file included from local_scan.h:32, from exim.h:533, from exim.c:14: config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld exim.c:563:20: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__time_t' {aka 'long long int'} [-Wformat=] debug_printf("tick check: " TIME_T_FMT ".%06lu " TIME_T_FMT ".%06lu\n", ^~~~~~~~~~~~~~ exim.c:565:9: now_tv.tv_sec, (long) now_tv.tv_usec); ~~~~~~~~~~~~~ In file included from local_scan.h:32, from exim.h:533, from exim.c:14: config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld exim.c:566:20: warning: format '%ld' expects argument of type 'long int', but argument 2 has type '__time_t' {aka 'long long int'} [-Wformat=] debug_printf("waiting " TIME_T_FMT ".%06lu sec\n", ^~~~~~~~~~ itval.it_value.tv_sec, (long) itval.it_value.tv_usec); ~~~~~~~~~~~~~~~~~~~~~ In file included from local_scan.h:32, from exim.h:533, from exim.c:14: config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld In file included from local_scan.h:33, from exim.h:533, from exim.c:14: exim.c: In function 'main': mytypes.h:99:28: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] #define Uchdir(s) chdir(CCS(s)) ^~~~~~~~~~~~~ exim.c:4386:10: note: in expansion of macro 'Uchdir' (void) Uchdir(spool_directory); ^~~~~~ exim.c: In function 'usr1_handler': exim.c:331:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(fd, process_info, process_info_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc expand.c arc-openwrt-linux-gnu-gcc filter.c arc-openwrt-linux-gnu-gcc filtertest.c arc-openwrt-linux-gnu-gcc globals.c arc-openwrt-linux-gnu-gcc dkim.c arc-openwrt-linux-gnu-gcc dkim_transport.c arc-openwrt-linux-gnu-gcc dnsbl.c arc-openwrt-linux-gnu-gcc hash.c arc-openwrt-linux-gnu-gcc header.c arc-openwrt-linux-gnu-gcc host.c arc-openwrt-linux-gnu-gcc ip.c arc-openwrt-linux-gnu-gcc log.c log.c: In function 'log_write': log.c:1262:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(paniclogfd, panic_save_buffer, Ustrlen(panic_save_buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc lss.c arc-openwrt-linux-gnu-gcc match.c arc-openwrt-linux-gnu-gcc md5.c arc-openwrt-linux-gnu-gcc moan.c arc-openwrt-linux-gnu-gcc os.c arc-openwrt-linux-gnu-gcc parse.c arc-openwrt-linux-gnu-gcc priv.c arc-openwrt-linux-gnu-gcc queue.c arc-openwrt-linux-gnu-gcc rda.c arc-openwrt-linux-gnu-gcc readconf.c arc-openwrt-linux-gnu-gcc receive.c In file included from exim.h:541, from receive.c:11: receive.c: In function 'receive_msg': functions.h:1124:35: warning: '%03u' directive output may be truncated writing between 3 and 7 bytes into a region of size between 0 and 5 [-Wformat-truncation=] snprintf(CS buf, sizeof(buf), "%u.%03us", (uint)diff->tv_sec, (uint)diff->tv_usec/1000); ^~~~ functions.h:1124:31: note: directive argument in the range [0, 4294967] snprintf(CS buf, sizeof(buf), "%u.%03us", (uint)diff->tv_sec, (uint)diff->tv_usec/1000); ^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/stdio.h:866, from exim.h:75, from receive.c:11: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/bits/stdio2.h:71:10: note: '__builtin_snprintf' output between 7 and 20 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc retry.c retry.c: In function 'retry_ultimate_address_timeout': retry.c:42:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] debug_printf(" now=" TIME_T_FMT " first_failed=" TIME_T_FMT ^~~~~~~~ retry.c:44:3: now, retry_record->first_failed, ~~~ In file included from local_scan.h:32, from exim.h:533, from retry.c:12: config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld retry.c:42:16: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] debug_printf(" now=" TIME_T_FMT " first_failed=" TIME_T_FMT ^~~~~~~~ retry.c:44:8: now, retry_record->first_failed, ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from local_scan.h:32, from exim.h:533, from retry.c:12: config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld retry.c:42:16: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] debug_printf(" now=" TIME_T_FMT " first_failed=" TIME_T_FMT ^~~~~~~~ retry.c:45:3: retry_record->next_try, retry_record->expired ? 'T' : 'F'); ~~~~~~~~~~~~~~~~~~~~~~ In file included from local_scan.h:32, from exim.h:533, from retry.c:12: config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld retry.c:56:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type '__time_t' {aka 'long long int'} [-Wformat=] debug_printf(" received_time=" TIME_T_FMT " diff=%d timeout=%d\n", ^~~~~~~~~~~~~~~~~~ received_time.tv_sec, (int)(now - received_time.tv_sec), last_rule->timeout); ~~~~~~~~~~~~~~~~~~~~ In file included from local_scan.h:32, from exim.h:533, from retry.c:12: config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld arc-openwrt-linux-gnu-gcc rewrite.c arc-openwrt-linux-gnu-gcc rfc2047.c arc-openwrt-linux-gnu-gcc route.c arc-openwrt-linux-gnu-gcc search.c arc-openwrt-linux-gnu-gcc sieve.c arc-openwrt-linux-gnu-gcc smtp_in.c In file included from exim.h:541, from smtp_in.c:12: functions.h: In function 'string_timesince.constprop': functions.h:1124:35: warning: '%03u' directive output may be truncated writing between 3 and 7 bytes into a region of size between 0 and 5 [-Wformat-truncation=] snprintf(CS buf, sizeof(buf), "%u.%03us", (uint)diff->tv_sec, (uint)diff->tv_usec/1000); ^~~~ functions.h:1124:31: note: directive argument in the range [0, 4294967] snprintf(CS buf, sizeof(buf), "%u.%03us", (uint)diff->tv_sec, (uint)diff->tv_usec/1000); ^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/stdio.h:866, from exim.h:75, from smtp_in.c:12: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/bits/stdio2.h:71:10: note: '__builtin_snprintf' output between 7 and 20 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc smtp_out.c arc-openwrt-linux-gnu-gcc spool_in.c In file included from local_scan.h:32, from exim.h:533, from spool_in.c:13: spool_in.c: In function 'spool_read_header': config.h:18:22: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type '__time_t *' {aka 'long long int *'} [-Wformat=] # define TIME_T_FMT "%ld" ^~~~~ spool_in.c:454:27: note: in expansion of macro 'TIME_T_FMT' if (sscanf(CS big_buffer, TIME_T_FMT " %d", &received_time.tv_sec, &warning_count) != 2) ^~~~~~~~~~ config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld config.h:18:22: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'time_t *' {aka 'long long int *'} [-Wformat=] # define TIME_T_FMT "%ld" ^~~~~ spool_in.c:616:28: note: in expansion of macro 'TIME_T_FMT' if (sscanf(CS var+6, TIME_T_FMT, &deliver_frozen_at) != 1) ^~~~~~~~~~ config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld arc-openwrt-linux-gnu-gcc spool_out.c spool_out.c: In function 'spool_write_header': spool_out.c:255:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] if (f.deliver_freeze) fprintf(fp, "-frozen " TIME_T_FMT "\n", deliver_frozen_at); ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ In file included from local_scan.h:32, from exim.h:533, from spool_out.c:12: config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld arc-openwrt-linux-gnu-gcc std-crypto.c arc-openwrt-linux-gnu-gcc store.c store.c: In function 'internal_store_malloc': store.c:1180:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] DEBUG(D_memory) debug_printf("--Malloc %6p %5lu bytes\t%-20s %4d\tpool %5d nonpool %5d\n", ~~~^ %5u yield, size, func, line, pool_malloc, nonpool_malloc); ~~~~ store.c: In function 'internal_store_free': store.c:1216:47: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] DEBUG(D_memory) debug_printf("----Free %6p %5ld bytes\t%-20s %4d\n", ~~~^ %5d block, *(size_t *)p, func, linenumber); ~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc string.c arc-openwrt-linux-gnu-gcc tls.c tls.c: In function 'tls_watch_discard_event': tls.c:296:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, big_buffer, big_buffer_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc tod.c In file included from local_scan.h:32, from exim.h:533, from tod.c:12: tod.c: In function 'tod_stamp': config.h:18:22: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__time_t' {aka 'long long int'} [-Wformat=] # define TIME_T_FMT "%ld" ^~~~~ tod.c:66:50: note: in expansion of macro 'TIME_T_FMT' (void) snprintf(CS timebuf, sizeof(timebuf), TIME_T_FMT, now.tv_sec); /* Unix epoch format */ ^~~~~~~~~~ config.h:18:22: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__time_t' {aka 'long long int'} [-Wformat=] # define TIME_T_FMT "%ld" ^~~~~ tod.c:71:50: note: in expansion of macro 'TIME_T_FMT' (void) snprintf(CS timebuf, sizeof(timebuf), TIME_T_FMT "%06ld", now.tv_sec, (long) now.tv_usec ); ^~~~~~~~~~ config.h:18:25: note: format string is defined here # define TIME_T_FMT "%ld" ~~^ %lld tod.c:192:44: warning: '%02d' directive output may be truncated writing between 2 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] "%04u-%02u-%02u %02u:%02u:%02u %+03d%02d", ^~~~ tod.c:192:8: note: directive argument in the range [0, 2147483647] "%04u-%02u-%02u %02u:%02u:%02u %+03d%02d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/stdio.h:866, from exim.h:75, from tod.c:12: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/bits/stdio2.h:71:10: note: '__builtin_snprintf' output between 26 and 86 bytes into a destination of size 36 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ tod.c:185:49: warning: '%02d' directive output may be truncated writing between 2 and 10 bytes into a region of size between 0 and 9 [-Wformat-truncation=] "%04u-%02u-%02u %02u:%02u:%02u.%03u %+03d%02d", ^~~~ tod.c:185:8: note: directive argument in the range [0, 2147483647] "%04u-%02u-%02u %02u:%02u:%02u.%03u %+03d%02d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/stdio.h:866, from exim.h:75, from tod.c:12: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/bits/stdio2.h:71:10: note: '__builtin_snprintf' output between 30 and 97 bytes into a destination of size 36 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc transport.c arc-openwrt-linux-gnu-gcc tree.c arc-openwrt-linux-gnu-gcc verify.c verify.c: In function 'verify_quota': verify.c:3418:1: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, msg, len); ^~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc environment.c arc-openwrt-linux-gnu-gcc macro.c arc-openwrt-linux-gnu-gcc malware.c arc-openwrt-linux-gnu-gcc mime.c arc-openwrt-linux-gnu-gcc regex.c arc-openwrt-linux-gnu-gcc spam.c arc-openwrt-linux-gnu-gcc spool_mbox.c arc-openwrt-linux-gnu-gcc arc.c arc-openwrt-linux-gnu-gcc bmi_spam.c arc-openwrt-linux-gnu-gcc dane.c arc-openwrt-linux-gnu-gcc dcc.c arc-openwrt-linux-gnu-gcc dmarc.c arc-openwrt-linux-gnu-gcc imap_utf7.c arc-openwrt-linux-gnu-gcc spf.c arc-openwrt-linux-gnu-gcc utf8.c >>> exicyclog script built >>> exinext script built >>> exiwhat script built >>> exigrep script built >>> eximstats script built >>> exipick script built >>> exiqgrep script built >>> exiqsumm script built >>> transport-filter.pl script built >>> convert4r3 script built >>> convert4r4 script built >>> exim_checkaccess script built arc-openwrt-linux-gnu-gcc -o exim_dbmbuild >>> exim_dbmbuild utility built arc-openwrt-linux-gnu-gcc -o exim_dumpdb >>> exim_dumpdb utility built arc-openwrt-linux-gnu-gcc -o exim_fixdb >>> exim_fixdb utility built arc-openwrt-linux-gnu-gcc -o exim_tidydb >>> exim_tidydb utility built make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/lookups' arc-openwrt-linux-gnu-gcc dsearch.c arc-openwrt-linux-gnu-gcc lsearch.c arc-openwrt-linux-gnu-gcc spf.c arc-openwrt-linux-gnu-gcc readsock.c arc-openwrt-linux-gnu-gcc lf_quote.c arc-openwrt-linux-gnu-gcc lf_check_file.c arc-openwrt-linux-gnu-gcc lf_sqlperform.c arc-openwrt-linux-gnu-gcc -shared cdb.c arc-openwrt-linux-gnu-gcc -shared dbmdb.c arc-openwrt-linux-gnu-gcc -shared dnsdb.c arc-openwrt-linux-gnu-gcc -shared json.c arc-openwrt-linux-gnu-gcc -shared mysql.c arc-openwrt-linux-gnu-gcc -shared passwd.c arc-openwrt-linux-gnu-gcc -shared pgsql.c arc-openwrt-linux-gnu-gcc -shared redis.c arc-openwrt-linux-gnu-gcc -shared sqlite.c arc-openwrt-linux-gnu-gcc-ar r lookups.a /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ar: creating lookups.a arc-openwrt-linux-gnu-gcc-ranlib lookups.a make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/lookups' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/auths' arc-openwrt-linux-gnu-gcc auth-spa.c arc-openwrt-linux-gnu-gcc call_pam.c arc-openwrt-linux-gnu-gcc call_pwcheck.c arc-openwrt-linux-gnu-gcc call_radius.c arc-openwrt-linux-gnu-gcc check_serv_cond.c arc-openwrt-linux-gnu-gcc cram_md5.c arc-openwrt-linux-gnu-gcc cyrus_sasl.c arc-openwrt-linux-gnu-gcc dovecot.c arc-openwrt-linux-gnu-gcc external.c arc-openwrt-linux-gnu-gcc get_data.c arc-openwrt-linux-gnu-gcc get_no64_data.c arc-openwrt-linux-gnu-gcc gsasl_exim.c arc-openwrt-linux-gnu-gcc heimdal_gssapi.c arc-openwrt-linux-gnu-gcc plaintext.c arc-openwrt-linux-gnu-gcc pwcheck.c arc-openwrt-linux-gnu-gcc spa.c arc-openwrt-linux-gnu-gcc tls.c arc-openwrt-linux-gnu-gcc xtextdecode.c arc-openwrt-linux-gnu-gcc xtextencode.c arc-openwrt-linux-gnu-gcc-ar r auths.a /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ar: creating auths.a arc-openwrt-linux-gnu-gcc-ranlib auths.a make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/auths' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/pdkim' arc-openwrt-linux-gnu-gcc pdkim.c arc-openwrt-linux-gnu-gcc signing.c arc-openwrt-linux-gnu-gcc-ar r pdkim.a /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ar: creating pdkim.a arc-openwrt-linux-gnu-gcc-ranlib pdkim.a make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/pdkim' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/routers' arc-openwrt-linux-gnu-gcc accept.c arc-openwrt-linux-gnu-gcc dnslookup.c arc-openwrt-linux-gnu-gcc ipliteral.c arc-openwrt-linux-gnu-gcc iplookup.c arc-openwrt-linux-gnu-gcc manualroute.c arc-openwrt-linux-gnu-gcc queryprogram.c arc-openwrt-linux-gnu-gcc redirect.c arc-openwrt-linux-gnu-gcc rf_change_domain.c arc-openwrt-linux-gnu-gcc rf_expand_data.c arc-openwrt-linux-gnu-gcc rf_get_errors_address.c arc-openwrt-linux-gnu-gcc rf_get_munge_headers.c arc-openwrt-linux-gnu-gcc rf_get_transport.c arc-openwrt-linux-gnu-gcc rf_get_ugid.c arc-openwrt-linux-gnu-gcc rf_lookup_hostlist.c arc-openwrt-linux-gnu-gcc rf_queue_add.c arc-openwrt-linux-gnu-gcc rf_self_action.c arc-openwrt-linux-gnu-gcc rf_set_ugid.c arc-openwrt-linux-gnu-gcc-ar r routers.a /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ar: creating routers.a arc-openwrt-linux-gnu-gcc-ranlib routers.a make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/routers' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/transports' arc-openwrt-linux-gnu-gcc appendfile.c arc-openwrt-linux-gnu-gcc autoreply.c arc-openwrt-linux-gnu-gcc lmtp.c arc-openwrt-linux-gnu-gcc pipe.c arc-openwrt-linux-gnu-gcc queuefile.c arc-openwrt-linux-gnu-gcc smtp.c smtp.c: In function 'smtp_setup_conn': smtp.c:2204:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(0, "QUIT\r\n", 6); ^~~~~~~~~~~~~~~~~~~~~~~ arc-openwrt-linux-gnu-gcc smtp_socks.c arc-openwrt-linux-gnu-gcc tf_maildir.c arc-openwrt-linux-gnu-gcc-ar r transports.a /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ar: creating transports.a arc-openwrt-linux-gnu-gcc-ranlib transports.a make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc/transports' arc-openwrt-linux-gnu-gcc lookups/lf_quote.c arc-openwrt-linux-gnu-gcc lookups/lf_check_file.c arc-openwrt-linux-gnu-gcc lookups/lf_sqlperform.c arc-openwrt-linux-gnu-gcc local_scan.c arc-openwrt-linux-gnu-gcc version.c arc-openwrt-linux-gnu-gcc -o exim /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.o: in function `init_lookup_list': drtables.c:(.text+0x416): undefined reference to `dlopen' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x416): undefined reference to `dlopen' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x422): undefined reference to `dlerror' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x422): undefined reference to `dlerror' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x44a): undefined reference to `dlerror' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x44a): undefined reference to `dlerror' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x456): undefined reference to `dlsym' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x456): undefined reference to `dlsym' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x45c): undefined reference to `dlerror' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x45c): undefined reference to `dlerror' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x48a): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: drtables.c:(.text+0x48a): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.o: in function `local_scan': local_scan.c:(.text+0x30): undefined reference to `dlopen' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x30): undefined reference to `dlopen' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x54): undefined reference to `dlsym' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x54): undefined reference to `dlsym' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x5a): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x5a): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x7a): undefined reference to `dlsym' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x7a): undefined reference to `dlsym' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x82): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x82): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x9a): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x9a): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0xb8): undefined reference to `dlerror' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0xb8): undefined reference to `dlerror' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0xf0): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0xf0): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x110): undefined reference to `dlsym' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x110): undefined reference to `dlsym' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x122): undefined reference to `dlclose' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: local_scan.c:(.text+0x122): undefined reference to `dlclose' collect2: error: ld returned 1 exit status make[5]: *** [Makefile:641: exim] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/build-Linux-arc' make[4]: *** [Makefile:36: all] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96' make[3]: *** [Makefile:302: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/exim-gnutls/exim-4.96/.built] Error 2 time: package/feeds/packages/exim/gnutls/compile#57.25#10.70#125.31