>>> libesmtp 1.1.0 Extracting gzip -d -c /workdir/instance-0/dl/libesmtp/libesmtp-1.1.0.tar.gz | tar --strip-components=1 -C /workdir/instance-0/output-1/build/libesmtp-1.1.0 -xf - >>> libesmtp 1.1.0 Patching >>> libesmtp 1.1.0 Configuring rm -rf /workdir/instance-0/output-1/build/libesmtp-1.1.0//build mkdir -p /workdir/instance-0/output-1/build/libesmtp-1.1.0//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/workdir/instance-0/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/workdir/instance-0/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%riscv32%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O3', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O3', '-g0'%g" -e "s%@BR2_CMAKE@%/usr/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/workdir/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/workdir/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /workdir/instance-0/buildroot/support/misc/cross-compilation.conf.in > /workdir/instance-0/output-1/build/libesmtp-1.1.0//build/cross-compilation.conf PATH="/workdir/instance-0/output-1/host/bin:/workdir/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 /workdir/instance-0/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=both --buildtype=release --cross-file=/workdir/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=/workdir/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/workdir/instance-0/output-1/host/lib/cmake -Dtls=enabled -Dpthreads=enabled /workdir/instance-0/output-1/build/libesmtp-1.1.0/ /workdir/instance-0/output-1/build/libesmtp-1.1.0//build The Meson build system Version: 1.3.1 Source dir: /workdir/instance-0/output-1/build/libesmtp-1.1.0 Build dir: /workdir/instance-0/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: /workdir/instance-0/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc (gcc 14.2.0 "riscv32-buildroot-linux-uclibc-gcc.br_real (Buildroot 2024.08.1-3-g00a9042f4d) 14.2.0") C linker for the host machine: /workdir/instance-0/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc ld.bfd 2.41 C compiler for the build machine: /usr/bin/gcc (gcc 14.2.1 "gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)") C linker for the build machine: /usr/bin/gcc ld.bfd 2.41-37 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: riscv32 Host machine cpu: Target machine cpu family: riscv32 Target machine cpu: Compiler for C supports arguments -D_POSIX_C_SOURCE=200809L: YES Library dl found: YES Found pkg-config: YES (/workdir/instance-0/output-1/host/bin/pkgconf) 1.6.3 Run-time dependency openssl found: YES 3.3.2 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: 7 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 : /workdir/instance-0/output-1/build/libesmtp-1.1.0//build/cross-compilation.conf build.cmake_prefix_path: /workdir/instance-0/output-1/host/lib/cmake build.pkg_config_path : /workdir/instance-0/output-1/host/lib/pkgconfig buildtype : release default_library : both libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true pthreads : enabled tls : enabled Found ninja-1.11.1.git.kitware.jobserver-1 at /workdir/instance-0/output-1/host/bin/ninja >>> libesmtp 1.1.0 Building GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /workdir/instance-0/output-1/host/bin/ninja -C /workdir/instance-0/output-1/build/libesmtp-1.1.0//build ninja: Entering directory `/workdir/instance-0/output-1/build/libesmtp-1.1.0//build' [1/35] Compiling C object libesmtp.so.6.2.0.p/rfc2822date.c.o [2/35] Compiling C object libesmtp.so.6.2.0.p/missing.c.o [3/35] Compiling C object libesmtp.so.6.2.0.p/message-callbacks.c.o [4/35] Compiling C object libesmtp.so.6.2.0.p/message-source.c.o [5/35] Compiling C object libesmtp.so.6.2.0.p/concatenate.c.o [6/35] Compiling C object libesmtp.so.6.2.0.p/base64.c.o [7/35] Compiling C object libesmtp.so.6.2.0.p/htable.c.o [8/35] Compiling C object libesmtp.so.6.2.0.p/smtp-api.c.o FAILED: libesmtp.so.6.2.0.p/smtp-api.c.o /workdir/instance-0/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -Ilibesmtp.so.6.2.0.p -I. -I.. -I/workdir/instance-0/output-1/host/riscv32-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 -O3 -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 [9/35] Compiling C object libesmtp.so.6.2.0.p/tlsutils.c.o [10/35] Compiling C object plain/sasl-plain.so.p/client-plain.c.o [11/35] Compiling C object login/sasl-login.so.p/client-login.c.o [12/35] Compiling C object libesmtp.so.6.2.0.p/smtp-tls.c.o FAILED: libesmtp.so.6.2.0.p/smtp-tls.c.o /workdir/instance-0/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -Ilibesmtp.so.6.2.0.p -I. -I.. -I/workdir/instance-0/output-1/host/riscv32-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 -O3 -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 [13/35] Compiling C object libesmtp.so.6.2.0.p/tokens.c.o [14/35] Compiling C object libesmtp.so.6.2.0.p/errors.c.o [15/35] Compiling C object libesmtp.so.6.2.0.p/auth-client.c.o [16/35] Compiling C object crammd5/sasl-crammd5.so.p/client-crammd5.c.o [17/35] 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: /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~ [18/35] Compiling C object libesmtp.so.6.2.0.p/smtp-bdat.c.o [19/35] Compiling C object ntlm/sasl-ntlm.so.p/client-ntlm.c.o [20/35] 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: /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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: /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~ /workdir/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/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); | ^~~~~~~~~ [21/35] Compiling C object libesmtp.so.6.2.0.p/smtp-etrn.c.o [22/35] Compiling C object libesmtp.so.6.2.0.p/smtp-auth.c.o [23/35] Compiling C object libesmtp.so.6.2.0.p/siobuf.c.o [24/35] 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; | ^ [25/35] Compiling C object libesmtp.so.6.2.0.p/protocol.c.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:289: /workdir/instance-0/output-1/build/libesmtp-1.1.0/.stamp_built] Error 1 make: Leaving directory '/workdir/instance-0/buildroot'