Opde Issues Tracker

compile.36

build number: 36

re-implement command

docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/packages/exim/compile -j$(nproc) || make package/feeds/packages/exim/compile V=s

Compile.txt

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
make[4]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95'

>>> 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 '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95'
make[4]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95/build-Linux-mips'
cc buildconfig.c
/bin/sh ../scripts/Configure-config.h "make"
make[5]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95/build-Linux-mips'
make[5]: 'buildconfig' is up to date.
make[5]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95/build-Linux-mips'
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 '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95/build-Linux-mips'
make[4]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95'
/bin/sh scripts/source_checks
`Makefile' is up to date.
 
make[5]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95/build-Linux-mips'
/bin/sh ../scripts/Configure-os.c
./macro_predef > macro.c
ccache_cc exim_dbmbuild.c
ccache_cc -DEXIM_DUMPDB exim_dbutil.c
ccache_cc -DCOMPILE_UTILITY os.c
ccache_cc -DCOMPILE_UTILITY store.c
ccache_cc -DEXIM_FIXDB exim_dbutil.c
ccache_cc -DCOMPILE_UTILITY queue.c
ccache_cc -DEXIM_TIDYDB exim_dbutil.c
ccache_cc exim_lock.c
ccache_cc -o exim_lock
>>> exim_lock utility built
 
ccache_cc acl.c
ccache_cc base64.c
ccache_cc child.c
ccache_cc crypt16.c
ccache_cc daemon.c
ccache_cc dbfn.c
ccache_cc debug.c
ccache_cc deliver.c
ccache_cc directory.c
ccache_cc dns.c
ccache_cc drtables.c
ccache_cc enq.c
ccache_cc exim.c
exim.c: In function 'exim_wait_tick':
exim.c:489: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",
                    ^~~~~~~~~~~~~~
         tgt_tv->tv_sec, (long) tgt_tv->tv_usec,
         ~~~~~~~~~~~~~~
In file included from local_scan.h:31,
                 from exim.h:531,
                 from exim.c:14:
config.h:18:25: note: format string is defined here
 # define TIME_T_FMT  "%ld"
                       ~~^
                       %lld
exim.c:489: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:491:9:
         now_tv.tv_sec, (long) now_tv.tv_usec);
         ~~~~~~~~~~~~~
In file included from local_scan.h:31,
                 from exim.h:531,
                 from exim.c:14:
config.h:18:25: note: format string is defined here
 # define TIME_T_FMT  "%ld"
                       ~~^
                       %lld
exim.c:492: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:31,
                 from exim.h:531,
                 from exim.c:14:
config.h:18:25: note: format string is defined here
 # define TIME_T_FMT  "%ld"
                       ~~^
                       %lld
In file included from exim.h:538,
                 from exim.c:14:
exim.c: In function 'exim_nullstd':
exim.c:570:26: warning: too many arguments for format [-Wformat-extra-args]
       string_open_failed("/dev/null", NULL));
                          ^~~~~~~~~~~
functions.h:572:52: note: in definition of macro 'string_open_failed'
  string_open_failed_trc(US __FUNCTION__, __LINE__, fmt, __VA_ARGS__)
                                                    ^~~
ccache_cc expand.c
ccache_cc filter.c
filter.c: In function 'interpret_commands':
filter.c:2018:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  else headers_charset = s; /*XXX loses track of const */
                       ^
filter.c:2042:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
       fmsg = expargs[0];  /*XXX loses track of const */
            ^
filter.c:2129:40: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
    if (i != mailarg_index_text) for (p = s; *p != 0; p++)
                                        ^
filter.c:2179:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
    commands->args[i].u = s; /*XXX loses track of const */
                        ^
ccache_cc filtertest.c
ccache_cc globals.c
ccache_cc dkim.c
ccache_cc dkim_transport.c
ccache_cc dnsbl.c
ccache_cc hash.c
ccache_cc header.c
ccache_cc host.c
ccache_cc ip.c
ccache_cc log.c
ccache_cc lss.c
ccache_cc match.c
ccache_cc md5.c
ccache_cc moan.c
ccache_cc os.c
ccache_cc parse.c
ccache_cc priv.c
ccache_cc queue.c
ccache_cc rda.c
ccache_cc readconf.c
ccache_cc receive.c
ccache_cc 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:31,
                 from exim.h:531,
                 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:31,
                 from exim.h:531,
                 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:31,
                 from exim.h:531,
                 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:31,
                 from exim.h:531,
                 from retry.c:12:
config.h:18:25: note: format string is defined here
 # define TIME_T_FMT  "%ld"
                       ~~^
                       %lld
ccache_cc rewrite.c
ccache_cc rfc2047.c
ccache_cc route.c
ccache_cc search.c
ccache_cc sieve.c
ccache_cc smtp_in.c
ccache_cc smtp_out.c
ccache_cc spool_in.c
In file included from local_scan.h:31,
                 from exim.h:531,
                 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:451: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:591: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
ccache_cc spool_out.c
spool_out.c: In function 'spool_write_header':
spool_out.c:243: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:31,
                 from exim.h:531,
                 from spool_out.c:12:
config.h:18:25: note: format string is defined here
 # define TIME_T_FMT  "%ld"
                       ~~^
                       %lld
ccache_cc std-crypto.c
ccache_cc store.c
ccache_cc string.c
ccache_cc tls.c
ccache_cc tod.c
In file included from local_scan.h:31,
                 from exim.h:531,
                 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
ccache_cc transport.c
ccache_cc tree.c
ccache_cc verify.c
ccache_cc environment.c
ccache_cc macro.c
ccache_cc malware.c
ccache_cc mime.c
ccache_cc regex.c
ccache_cc spam.c
ccache_cc spool_mbox.c
ccache_cc arc.c
ccache_cc bmi_spam.c
ccache_cc dane.c
ccache_cc dcc.c
ccache_cc dmarc.c
ccache_cc imap_utf7.c
ccache_cc spf.c
ccache_cc srs.c
ccache_cc 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

ccache_cc -o exim_dbmbuild
>>> exim_dbmbuild utility built
 
ccache_cc -o exim_dumpdb
>>> exim_dumpdb utility built
 
ccache_cc -o exim_fixdb
>>> exim_fixdb utility built
 
ccache_cc -o exim_tidydb
>>> exim_tidydb utility built
 
make[6]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95/build-Linux-mips/lookups'
ccache_cc dsearch.c
ccache_cc lsearch.c
ccache_cc spf.c
ccache_cc readsock.c
ccache_cc lf_quote.c
ccache_cc lf_check_file.c
ccache_cc lf_sqlperform.c
ccache_cc -shared cdb.c
ccache_cc -shared dbmdb.c
ccache_cc -shared dnsdb.c
ccache_cc -shared json.c
ccache_cc -shared mysql.c
mysql.c:16:10: fatal error: mysql.h: No such file or directory
 #include <mysql.h>       /* The system header */
          ^~~~~~~~~
compilation terminated.
make[6]: *** [Makefile:54: mysql.so] Error 1
make[6]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95/build-Linux-mips/lookups'
make[5]: *** [Makefile:1028: buildlookups] Error 2
make[5]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95/build-Linux-mips'
make[4]: *** [Makefile:35: all] Error 2
make[4]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95'
make[3]: *** [Makefile:302: /openwrt/build_dir/target-mips_24kc_musl/exim-nossl/exim-4.95/.built] Error 2
Last updated on 27 Nov 2021
Published on 27 Nov 2021