>>> libesmtp 1.1.0 Extracting gzip -d -c /home/buildroot/instance-0/dl/libesmtp/libesmtp-1.1.0.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0 -xf - >>> libesmtp 1.1.0 Patching >>> libesmtp 1.1.0 Configuring rm -rf /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0//build mkdir -p /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-gnu-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%or1k%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O1', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O1', '-g0'%g" -e "s%@BR2_CMAKE@%/home/buildroot/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0//build/cross-compilation.conf PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/instance-0/output-1/build/libesmtp-1.1.0//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/instance-0/output-1/host/lib/cmake -Dtls=enabled -Dpthreads=enabled /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0/ /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0//build WARNING: Unknown CPU family or1k, please report this at https://github.com/mesonbuild/meson/issues/new The Meson build system Version: 1.6.0 Source dir: /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0 Build dir: /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0/build Build type: cross build ../output-1/build/libesmtp-1.1.0/meson_options.txt:3: WARNING: Project does not target a minimum version but uses feature deprecated since '1.1.0': "boolean option" keyword argument "value" of type str. use a boolean, not a string ../output-1/build/libesmtp-1.1.0/meson_options.txt:5: WARNING: Project does not target a minimum version but uses feature deprecated since '1.1.0': "boolean option" keyword argument "value" of type str. use a boolean, not a string ../output-1/build/libesmtp-1.1.0/meson_options.txt:6: WARNING: Project does not target a minimum version but uses feature deprecated since '1.1.0': "boolean option" keyword argument "value" of type str. use a boolean, not a string ../output-1/build/libesmtp-1.1.0/meson_options.txt:7: WARNING: Project does not target a minimum version but uses feature deprecated since '1.1.0': "boolean option" keyword argument "value" of type str. use a boolean, not a string Project name: libESMTP Project version: 1.1.0 C compiler for the host machine: /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-gnu-gcc (gcc 14.2.0 "or1k-buildroot-linux-gnu-gcc.br_real (Buildroot 2024.08-1505-g66f66bbdb5) 14.2.0") C linker for the host machine: /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-gnu-gcc ld.bfd 2.42 C compiler for the build machine: /usr/bin/gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: /usr/bin/gcc ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: or1k Host machine cpu: Target machine cpu family: or1k Target machine cpu: Compiler for C supports arguments -D_POSIX_C_SOURCE=200809L: YES Library dl found: YES Found pkg-config: YES (/home/buildroot/instance-0/output-1/host/bin/pkgconf) 2.3.0 Run-time dependency openssl found: YES 3.4.0 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 "string.h" 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 WARNING: Deprecated features used: * 1.1.0: {'"boolean option" keyword argument "value" of type str'} 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 User defined options Cross files : /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/instance-0/output-1/host/lib/pkgconfig b_pie : false b_staticpic : true buildtype : release default_library : shared libdir : lib prefix : /usr pthreads : enabled strip : false tls : enabled Found ninja-1.11.1.git.kitware.jobserver-1 at /home/buildroot/instance-0/output-1/host/bin/ninja >>> libesmtp 1.1.0 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/ninja -C /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0//build ninja: Entering directory `/home/buildroot/instance-0/output-1/build/libesmtp-1.1.0//build' [1/34] Compiling C object libesmtp.so.6.2.0.p/message-callbacks.c.o [2/34] Compiling C object libesmtp.so.6.2.0.p/missing.c.o [3/34] Compiling C object libesmtp.so.6.2.0.p/rfc2822date.c.o [4/34] Compiling C object libesmtp.so.6.2.0.p/base64.c.o [5/34] Compiling C object libesmtp.so.6.2.0.p/htable.c.o [6/34] Compiling C object libesmtp.so.6.2.0.p/tlsutils.c.o [7/34] Compiling C object libesmtp.so.6.2.0.p/concatenate.c.o [8/34] Compiling C object libesmtp.so.6.2.0.p/message-source.c.o [9/34] Compiling C object plain/sasl-plain.so.p/client-plain.c.o [10/34] Compiling C object libesmtp.so.6.2.0.p/tokens.c.o [11/34] Compiling C object crammd5/sasl-crammd5.so.p/hmacmd5.c.o ../crammd5/hmacmd5.c: In function 'hmac_md5_pre': ../crammd5/hmacmd5.c:58:7: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | MD5_Init (&tctx); | ^~~~~~~~ In file included from ../crammd5/hmacmd5.h:27, from ../crammd5/hmacmd5.c:26: /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ ../crammd5/hmacmd5.c:59:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | MD5_Update (&tctx, secret, secret_len); | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ../crammd5/hmacmd5.c:60:7: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | MD5_Final (tk, &tctx); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ ../crammd5/hmacmd5.c:81:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 81 | MD5_Init (inner); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ ../crammd5/hmacmd5.c:82:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | MD5_Update (inner, ipad, sizeof ipad); | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ../crammd5/hmacmd5.c:85:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | MD5_Init (outer); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ ../crammd5/hmacmd5.c:86:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | MD5_Update (outer, opad, sizeof opad); | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ../crammd5/hmacmd5.c: In function 'hmac_md5_post': ../crammd5/hmacmd5.c:98:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | MD5_Update (inner, challenge, challenge_len); | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ../crammd5/hmacmd5.c:99:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 99 | MD5_Final (id, inner); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ ../crammd5/hmacmd5.c:102:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 102 | MD5_Update (outer, id, sizeof id); | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ../crammd5/hmacmd5.c:103:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | MD5_Final (digest, outer); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ [12/34] Compiling C object login/sasl-login.so.p/client-login.c.o [13/34] Compiling C object crammd5/sasl-crammd5.so.p/client-crammd5.c.o [14/34] Compiling C object libesmtp.so.6.2.0.p/auth-client.c.o [15/34] Linking target plain/sasl-plain.so [16/34] Compiling C object ntlm/sasl-ntlm.so.p/client-ntlm.c.o [17/34] Linking target login/sasl-login.so [18/34] Compiling C object ntlm/sasl-ntlm.so.p/ntlmdes.c.o ../ntlm/ntlmdes.c: In function 'lm_deshash': ../ntlm/ntlmdes.c:58:3: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | DES_set_odd_parity (&key); | ^~~~~~~~~~~~~~~~~~ In file included from ../ntlm/ntlmdes.c:27: /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ ../ntlm/ntlmdes.c:59:3: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | DES_set_key (&key, &ks); | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ ../ntlm/ntlmdes.c:60:3: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | DES_ecb_encrypt (iv, result, &ks, DES_ENCRYPT); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ ../ntlm/ntlmdes.c: In function 'nt_hash_password': ../ntlm/ntlmdes.c:128:3: warning: 'MD4_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 128 | MD4_Init (&context); | ^~~~~~~~ In file included from ../ntlm/ntlmdes.c:28: /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md4.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); | ^~~~~~~~ ../ntlm/ntlmdes.c:129:3: warning: 'MD4_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 129 | MD4_Update (&context, nt_pw, 2 * len); | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md4.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ../ntlm/ntlmdes.c:130:3: warning: 'MD4_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | MD4_Final (hash, &context); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/sysroot/usr/include/openssl/md4.h:52:27: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); | ^~~~~~~~~ [19/34] Compiling C object libesmtp.so.6.2.0.p/smtp-api.c.o FAILED: libesmtp.so.6.2.0.p/smtp-api.c.o /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-gnu-gcc -Ilibesmtp.so.6.2.0.p -I. -I.. -I/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/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 -O1 -g0 -fPIC -pthread -MD -MQ libesmtp.so.6.2.0.p/smtp-api.c.o -MF libesmtp.so.6.2.0.p/smtp-api.c.o.d -o libesmtp.so.6.2.0.p/smtp-api.c.o -c ../smtp-api.c ../smtp-api.c: In function 'smtp_version': ../smtp-api.c:1183:7: error: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 1183 | if (strlcpy (buf, v, len) > len) | ^~~~~~~ | strncpy [20/34] Compiling C object ntlm/sasl-ntlm.so.p/ntlmstruct.c.o [21/34] Linking target crammd5/sasl-crammd5.so [22/34] Compiling C object libesmtp.so.6.2.0.p/smtp-etrn.c.o [23/34] Compiling C object libesmtp.so.6.2.0.p/errors.c.o [24/34] Compiling C object libesmtp.so.6.2.0.p/smtp-bdat.c.o [25/34] Compiling C object libesmtp.so.6.2.0.p/smtp-auth.c.o [26/34] Compiling C object libesmtp.so.6.2.0.p/smtp-tls.c.o FAILED: libesmtp.so.6.2.0.p/smtp-tls.c.o /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-gnu-gcc -Ilibesmtp.so.6.2.0.p -I. -I.. -I/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-gnu/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 -O1 -g0 -fPIC -pthread -MD -MQ libesmtp.so.6.2.0.p/smtp-tls.c.o -MF libesmtp.so.6.2.0.p/smtp-tls.c.o.d -o libesmtp.so.6.2.0.p/smtp-tls.c.o -c ../smtp-tls.c ../smtp-tls.c: In function 'check_acceptable_security': ../smtp-tls.c:580:21: error: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 580 | strlcpy (buf, ia5str, sizeof buf); | ^~~~~~~ | strncpy [27/34] Compiling C object libesmtp.so.6.2.0.p/siobuf.c.o [28/34] Compiling C object libesmtp.so.6.2.0.p/headers.c.o ../headers.c: In function 'print_message_id': ../headers.c:173:39: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__time_t' {aka 'long long int'} [-Wformat=] 173 | snprintf (buf, sizeof buf, "%ld.%ld.%d@%s", tv.tv_sec, tv.tv_usec, | ~~^ ~~~~~~~~~ | | | | long int __time_t {aka long long int} | %lld ../headers.c:173:43: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__suseconds_t' {aka 'long long int'} [-Wformat=] 173 | snprintf (buf, sizeof buf, "%ld.%ld.%d@%s", tv.tv_sec, tv.tv_usec, | ~~^ ~~~~~~~~~~ | | | | long int __suseconds_t {aka long long int} | %lld ../headers.c:177:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 177 | snprintf (buf, sizeof buf, "%ld.%d@%s", time (NULL), | ~~^ ~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld ../headers.c: In function 'set_date': ../headers.c:196:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 196 | if ((time_t) header->value != (time_t) 0) /* Already set */ | ^ ../headers.c:200:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 200 | header->value = (void *) *value; | ^ ../headers.c: In function 'print_date': ../headers.c:213:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 213 | when = (time_t) header->value; | ^ [29/34] Compiling C object examples/mail-file.p/mail-file.c.o [30/34] Compiling C object libesmtp.so.6.2.0.p/protocol.c.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/libesmtp-1.1.0/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/instance-0/buildroot'