>>> libesmtp 1.1.0 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-7/output-1/build/.libesmtp-1.1.0.tar.gz.sKKeAg/output' 'https://github.com/libesmtp/libESMTP/archive/v1.1.0/libesmtp-1.1.0.tar.gz' --2021-08-06 02:32:50-- https://github.com/libesmtp/libESMTP/archive/v1.1.0/libesmtp-1.1.0.tar.gz Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/libesmtp/libESMTP/tar.gz/v1.1.0 [following] --2021-08-06 02:32:50-- https://codeload.github.com/libesmtp/libESMTP/tar.gz/v1.1.0 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/tmp/instance-7/output-1/build/.libesmtp-1.1.0.tar.gz.sKKeAg/output' 0K .......... .......... .......... .......... .......... 2.69M 50K .......... .......... .......... .......... .......... 147K 100K .......... .......... .......... .......... .......... 5.76M 150K .......... ..... 112M=0.4s 2021-08-06 02:32:51 (450 KB/s) - '/tmp/instance-7/output-1/build/.libesmtp-1.1.0.tar.gz.sKKeAg/output' saved [169134] libesmtp-1.1.0.tar.gz: OK (sha256: 32bc3614ca12d21c7d933f32d43410e8744b6f91fdca7732da9877a385e4e6c3) >>> libesmtp 1.1.0 Extracting gzip -d -c /tmp/instance-7/dl/libesmtp/libesmtp-1.1.0.tar.gz | tar --strip-components=1 -C /tmp/instance-7/output-1/build/libesmtp-1.1.0 -xf - >>> libesmtp 1.1.0 Patching >>> libesmtp 1.1.0 Configuring rm -rf /tmp/instance-7/output-1/build/libesmtp-1.1.0//build mkdir -p /tmp/instance-7/output-1/build/libesmtp-1.1.0//build sed -e 's%@TARGET_CROSS@%/tmp/instance-7/output-1/host/bin/mipsel-linux-%g' -e 's%@TARGET_ARCH@%mips%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'%g" -e 's%@HOST_DIR@%/tmp/instance-7/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-7/output-1/host/mipsel-buildroot-linux-uclibc/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-7/output-1/build/libesmtp-1.1.0//build/cross-compilation.conf PATH="/tmp/instance-7/output-1/host/bin:/tmp/instance-7/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /tmp/instance-7/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-7/output-1/build/libesmtp-1.1.0//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-7/output-1/host/lib/pkgconfig -Dtls=enabled -Dpthreads=enabled /tmp/instance-7/output-1/build/libesmtp-1.1.0/ /tmp/instance-7/output-1/build/libesmtp-1.1.0//build The Meson build system Version: 0.58.2 Source dir: /tmp/instance-7/output-1/build/libesmtp-1.1.0 Build dir: /tmp/instance-7/output-1/build/libesmtp-1.1.0/build Build type: cross build Project name: libESMTP Project version: 1.1.0 C compiler for the host machine: /tmp/instance-7/output-1/host/bin/mipsel-linux-gcc (gcc 9.3.0 "mipsel-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 9.3.0") C linker for the host machine: /tmp/instance-7/output-1/host/bin/mipsel-linux-gcc ld.bfd 2.33.1 C compiler for the build machine: /usr/bin/gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: mips Host machine cpu: Target machine cpu family: mips Target machine cpu: Compiler for C supports arguments -D_POSIX_C_SOURCE=200809L: YES Library dl found: YES Found pkg-config: /tmp/instance-7/output-1/host/bin/pkgconf (1.6.3) Run-time dependency openssl found: YES 1.1.1k Run-time dependency threads found: YES Library lwres skipped: feature lwres disabled Checking for function "strlcpy" : YES Checking for function "strdup" : YES Checking for function "strncasecmp" : YES Checking for function "strcasecmp" : YES Header has symbol "memrchr" : NO Checking for size of "unsigned int" : 4 Checking for size of "unsigned long" : 4 Checking for size of "unsigned short" : 2 Configuring config.h using configuration Configuring libesmtp.spec using configuration Build targets in project: 6 libESMTP 1.1.0 current:revision:age: 8:0:2 so version : 6.2.0 prefix : /usr libdir : lib threads : True lwres : False AUTH modules : /usr/lib/esmtp-plugins-6.2.0 Legacy file layout : False STARTTLS : True CHUNKING : True ETRN : True XUSR : True Found ninja-1.10.2 at /tmp/instance-7/output-1/host/bin/ninja >>> libesmtp 1.1.0 Building PATH="/tmp/instance-7/output-1/host/bin:/tmp/instance-7/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-7/output-1/host/bin/ninja -j96 -C /tmp/instance-7/output-1/build/libesmtp-1.1.0//build ninja: Entering directory `/tmp/instance-7/output-1/build/libesmtp-1.1.0//build' [1/34] Compiling C object libesmtp.so.6.2.0.p/base64.c.o [2/34] Compiling C object libesmtp.so.6.2.0.p/concatenate.c.o [3/34] Compiling C object libesmtp.so.6.2.0.p/htable.c.o [4/34] Compiling C object libesmtp.so.6.2.0.p/message-callbacks.c.o [5/34] Compiling C object libesmtp.so.6.2.0.p/message-source.c.o [6/34] Compiling C object libesmtp.so.6.2.0.p/missing.c.o [7/34] Compiling C object libesmtp.so.6.2.0.p/rfc2822date.c.o [8/34] Compiling C object libesmtp.so.6.2.0.p/auth-client.c.o ../auth-client.c: In function 'auth_set_external_id': ../auth-client.c:350:30: warning: implicit declaration of function 'strdup'; did you mean 'strndup'? [-Wimplicit-function-declaration] 350 | context->external_id = strdup (identity); | ^~~~~~ | strndup ../auth-client.c:350:28: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 350 | context->external_id = strdup (identity); | ^ [9/34] Compiling C object libesmtp.so.6.2.0.p/errors.c.o [10/34] Compiling C object ntlm/sasl-ntlm.so.p/ntlmdes.c.o FAILED: ntlm/sasl-ntlm.so.p/ntlmdes.c.o /tmp/instance-7/output-1/host/bin/mipsel-linux-gcc -Intlm/sasl-ntlm.so.p -Intlm -I../ntlm -I. -I.. -I/tmp/instance-7/output-1/host/mipsel-buildroot-linux-uclibc/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=c11 -O3 -D_POSIX_C_SOURCE=200809L -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -MD -MQ ntlm/sasl-ntlm.so.p/ntlmdes.c.o -MF ntlm/sasl-ntlm.so.p/ntlmdes.c.o.d -o ntlm/sasl-ntlm.so.p/ntlmdes.c.o -c ../ntlm/ntlmdes.c ../ntlm/ntlmdes.c:33:27: error: unknown type name 'const_DES_cblock' 33 | lm_deshash (void *result, const_DES_cblock *iv, const void *secret) | ^~~~~~~~~~~~~~~~ ../ntlm/ntlmdes.c: In function 'lm_hash_password': ../ntlm/ntlmdes.c:88:10: error: unknown type name 'const_DES_cblock' 88 | static const_DES_cblock iv = { 0x4B, 0x47, 0x53, 0x21, | ^~~~~~~~~~~~~~~~ ../ntlm/ntlmdes.c:88:40: warning: excess elements in scalar initializer 88 | static const_DES_cblock iv = { 0x4B, 0x47, 0x53, 0x21, | ^~~~ ../ntlm/ntlmdes.c:88:40: note: (near initialization for 'iv') ../ntlm/ntlmdes.c:88:46: warning: excess elements in scalar initializer 88 | static const_DES_cblock iv = { 0x4B, 0x47, 0x53, 0x21, | ^~~~ ../ntlm/ntlmdes.c:88:46: note: (near initialization for 'iv') ../ntlm/ntlmdes.c:88:52: warning: excess elements in scalar initializer 88 | static const_DES_cblock iv = { 0x4B, 0x47, 0x53, 0x21, | ^~~~ ../ntlm/ntlmdes.c:88:52: note: (near initialization for 'iv') ../ntlm/ntlmdes.c:89:6: warning: excess elements in scalar initializer 89 | 0x40, 0x23, 0x24, 0x25 }; | ^~~~ ../ntlm/ntlmdes.c:89:6: note: (near initialization for 'iv') ../ntlm/ntlmdes.c:89:12: warning: excess elements in scalar initializer 89 | 0x40, 0x23, 0x24, 0x25 }; | ^~~~ ../ntlm/ntlmdes.c:89:12: note: (near initialization for 'iv') ../ntlm/ntlmdes.c:89:18: warning: excess elements in scalar initializer 89 | 0x40, 0x23, 0x24, 0x25 }; | ^~~~ ../ntlm/ntlmdes.c:89:18: note: (near initialization for 'iv') ../ntlm/ntlmdes.c:89:24: warning: excess elements in scalar initializer 89 | 0x40, 0x23, 0x24, 0x25 }; | ^~~~ ../ntlm/ntlmdes.c:89:24: note: (near initialization for 'iv') ../ntlm/ntlmdes.c:93:3: warning: implicit declaration of function 'lm_deshash' [-Wimplicit-function-declaration] 93 | lm_deshash (hash, &iv, lmpass); | ^~~~~~~~~~ ../ntlm/ntlmdes.c: In function 'ntlm_responses': ../ntlm/ntlmdes.c:143:3: error: unknown type name 'DES_cblock' 143 | DES_cblock nonce; | ^~~~~~~~~~ [11/34] Compiling C object libesmtp.so.6.2.0.p/tlsutils.c.o [12/34] Compiling C object ntlm/sasl-ntlm.so.p/client-ntlm.c.o [13/34] Compiling C object libesmtp.so.6.2.0.p/tokens.c.o [14/34] Compiling C object plain/sasl-plain.so.p/client-plain.c.o [15/34] Compiling C object login/sasl-login.so.p/client-login.c.o ../login/client-login.c: In function 'login_response': ../login/client-login.c:116:21: warning: implicit declaration of function 'strdup'; did you mean 'strndup'? [-Wimplicit-function-declaration] 116 | login->user = strdup (result[0]); | ^~~~~~ | strndup ../login/client-login.c:116:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 116 | login->user = strdup (result[0]); | ^ ../login/client-login.c:118:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 118 | login->pass = strdup (result[1]); | ^ [16/34] Compiling C object crammd5/sasl-crammd5.so.p/hmacmd5.c.o [17/34] Compiling C object crammd5/sasl-crammd5.so.p/client-crammd5.c.o [18/34] Compiling C object libesmtp.so.6.2.0.p/smtp-etrn.c.o ../smtp-etrn.c: In function 'smtp_etrn_add_node': ../smtp-etrn.c:92:21: warning: implicit declaration of function 'strdup'; did you mean 'strndup'? [-Wimplicit-function-declaration] 92 | if ((dup_domain = strdup (domain)) == NULL) | ^~~~~~ | strndup ../smtp-etrn.c:92:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 92 | if ((dup_domain = strdup (domain)) == NULL) | ^ [19/34] Compiling C object libesmtp.so.6.2.0.p/smtp-bdat.c.o [20/34] Compiling C object libesmtp.so.6.2.0.p/smtp-auth.c.o ../smtp-auth.c: In function 'set_auth_mechanisms': ../smtp-auth.c:132:20: warning: implicit declaration of function 'strdup'; did you mean 'strndup'? [-Wimplicit-function-declaration] 132 | mech->name = strdup (buf); | ^~~~~~ | strndup ../smtp-auth.c:132:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 132 | mech->name = strdup (buf); | ^ [21/34] Compiling C object libesmtp.so.6.2.0.p/smtp-api.c.o ../smtp-api.c: In function 'smtp_set_server': ../smtp-api.c:115:15: warning: implicit declaration of function 'strdup'; did you mean 'strndup'? [-Wimplicit-function-declaration] 115 | if ((host = strdup (hostport)) == NULL) | ^~~~~~ | strndup ../smtp-api.c:115:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 115 | if ((host = strdup (hostport)) == NULL) | ^ ../smtp-api.c: In function 'smtp_set_hostname': ../smtp-api.c:180:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 180 | session->localhost = strdup (hostname); | ^ ../smtp-api.c: In function 'smtp_set_reverse_path': ../smtp-api.c:296:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 296 | else if ((message->reverse_path_mailbox = strdup (mailbox)) == NULL) | ^ ../smtp-api.c: In function 'smtp_add_recipient': ../smtp-api.c:381:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 381 | recipient->mailbox = strdup (mailbox); | ^ ../smtp-api.c: In function 'smtp_dsn_set_envid': ../smtp-api.c:529:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 529 | message->dsn_envid = strdup (envid); | ^ ../smtp-api.c: In function 'smtp_dsn_set_orcpt': ../smtp-api.c:582:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 582 | recipient->dsn_addrtype = strdup (address_type); | ^ ../smtp-api.c:588:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 588 | recipient->dsn_orcpt = strdup (address); | ^ ../smtp-api.c: In function 'smtp_version': ../smtp-api.c:1183:7: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 1183 | if (strlcpy (buf, v, len) > len) | ^~~~~~~ | strncpy [22/34] Compiling C object ntlm/sasl-ntlm.so.p/ntlmstruct.c.o [23/34] Compiling C object libesmtp.so.6.2.0.p/siobuf.c.o [24/34] Compiling C object libesmtp.so.6.2.0.p/smtp-tls.c.o ../smtp-tls.c: In function 'check_acceptable_security': ../smtp-tls.c:580:7: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 580 | strlcpy (buf, ia5str, sizeof buf); | ^~~~~~~ | strncpy [25/34] Compiling C object libesmtp.so.6.2.0.p/headers.c.o ../headers.c: In function 'set_string': ../headers.c:115:19: warning: implicit declaration of function 'strdup'; did you mean 'strndup'? [-Wimplicit-function-declaration] 115 | header->value = strdup (value); | ^~~~~~ | strndup ../headers.c:115:17: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 115 | header->value = strdup (value); | ^ ../headers.c: In function 'set_string_null': ../headers.c:132:17: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 132 | header->value = strdup (value); | ^ ../headers.c: In function 'set_from': ../headers.c:270:53: warning: pointer/integer type mismatch in conditional expression 270 | mbox->phrase = (phrase != NULL) ? strdup (phrase) : NULL; | ^ ../headers.c:271:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 271 | mbox->mailbox = strdup (mailbox); | ^ ../headers.c: In function 'set_sender': ../headers.c:335:53: warning: pointer/integer type mismatch in conditional expression 335 | mbox->phrase = (phrase != NULL) ? strdup (phrase) : NULL; | ^ ../headers.c:336:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 336 | mbox->mailbox = strdup (mailbox); | ^ ../headers.c: In function 'set_to': ../headers.c:386:57: warning: pointer/integer type mismatch in conditional expression 386 | mbox->phrase = (phrase != NULL) ? strdup (phrase) : NULL; | ^ ../headers.c:387:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 387 | mbox->mailbox = strdup (mailbox); | ^ ../headers.c: In function 'set_cc': ../headers.c:411:53: warning: pointer/integer type mismatch in conditional expression 411 | mbox->phrase = (phrase != NULL) ? strdup (phrase) : NULL; | ^ ../headers.c:412:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 412 | mbox->mailbox = strdup (mailbox); | ^ ../headers.c: In function 'create_header': ../headers.c:644:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 644 | hdr->header = strdup (header); | ^ [26/34] Compiling C object examples/mail-file.p/mail-file.c.o [27/34] Compiling C object libesmtp.so.6.2.0.p/protocol.c.o ../protocol.c: In function 'do_session': ../protocol.c:148:28: warning: implicit declaration of function 'strdup'; did you mean 'strndup'? [-Wimplicit-function-declaration] 148 | session->localhost = strdup (name.nodename); | ^~~~~~ | strndup ../protocol.c:148:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 148 | session->localhost = strdup (name.nodename); | ^ ../protocol.c:216:75: warning: pointer/integer type mismatch in conditional expression 216 | session->canon = res->ai_canonname != NULL ? strdup (res->ai_canonname) : NULL; | ^ ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:270: /tmp/instance-7/output-1/build/libesmtp-1.1.0/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-7/buildroot'