Package: src:libesmtp
Version: 1.1.0-3.1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8
meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1
The Meson build system
Version: 1.4.0
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: libESMTP
Project version: 1.1.0
C compiler for the host machine: cc (gcc 13.2.0 "cc (Debian 13.2.0-25) 13.2.0")
C linker for the host machine: cc ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -D_POSIX_C_SOURCE=200809L: YES
Library dl found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency openssl found: YES 3.2.2-dev
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" : 8
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/x86_64-linux-gnu
threads : true
lwres : false
AUTH modules : /usr/lib/x86_64-linux-gnu/esmtp-plugins-6.2.0
Legacy file layout : false
STARTTLS : true
CHUNKING : true
ETRN : true
XUSR : true
User defined options
buildtype : plain
libdir : lib/x86_64-linux-gnu
localstatedir : /var
prefix : /usr
sysconfdir : /etc
wrap_mode : nodownload
python.bytecompile : -1
Found ninja-1.12.1 at /usr/bin/ninja
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
[1/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/base64.c.o -MF libesmtp.so.6.2.0.p/base64.c.o.d -o
libesmtp.so.6.2.0.p/base64.c.o -c ../base64.c
[2/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/auth-client.c.o -MF libesmtp.so.6.2.0.p/auth-client.c.o.d -o
libesmtp.so.6.2.0.p/auth-client.c.o -c ../auth-client.c
[3/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/concatenate.c.o -MF libesmtp.so.6.2.0.p/concatenate.c.o.d -o
libesmtp.so.6.2.0.p/concatenate.c.o -c ../concatenate.c
[4/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/errors.c.o -MF libesmtp.so.6.2.0.p/errors.c.o.d -o
libesmtp.so.6.2.0.p/errors.c.o -c ../errors.c
[5/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/htable.c.o -MF libesmtp.so.6.2.0.p/htable.c.o.d -o
libesmtp.so.6.2.0.p/htable.c.o -c ../htable.c
[6/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/message-callbacks.c.o -MF libesmtp.so.6.2.0.p/message-callbacks.c.o.d
-o libesmtp.so.6.2.0.p/message-callbacks.c.o -c ../message-callbacks.c
[7/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/message-source.c.o -MF libesmtp.so.6.2.0.p/message-source.c.o.d -o
libesmtp.so.6.2.0.p/message-source.c.o -c ../message-source.c
[8/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/headers.c.o -MF libesmtp.so.6.2.0.p/headers.c.o.d -o
libesmtp.so.6.2.0.p/headers.c.o -c ../headers.c
[9/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/missing.c.o -MF libesmtp.so.6.2.0.p/missing.c.o.d -o
libesmtp.so.6.2.0.p/missing.c.o -c ../missing.c
[10/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/rfc2822date.c.o -MF libesmtp.so.6.2.0.p/rfc2822date.c.o.d -o
libesmtp.so.6.2.0.p/rfc2822date.c.o -c ../rfc2822date.c
[11/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/siobuf.c.o -MF libesmtp.so.6.2.0.p/siobuf.c.o.d -o
libesmtp.so.6.2.0.p/siobuf.c.o -c ../siobuf.c
[12/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/protocol.c.o -MF libesmtp.so.6.2.0.p/protocol.c.o.d -o
libesmtp.so.6.2.0.p/protocol.c.o -c ../protocol.c
[13/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -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
FAILED: libesmtp.so.6.2.0.p/smtp-api.c.o
cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall
-Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -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’? [-Werror=implicit-function-declaration]
1183 | if (strlcpy (buf, v, len) > len)
| ^~~~~~~
| strncpy
cc1: some warnings being treated as errors
[14/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
libesmtp.so.6.2.0.p/smtp-auth.c.o -MF libesmtp.so.6.2.0.p/smtp-auth.c.o.d -o
libesmtp.so.6.2.0.p/smtp-auth.c.o -c ../smtp-auth.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
returned exit code 1
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202405/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.