Package: src:sendmail
Version: 8.18.1-6
Severity: important
Tags: sid forky
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/sendmail_8.18.1-6_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
sm_recommends=''
sm_revision='-6'
sm_rmail_envdef=''
sm_rmail_libs=' -lldap -llber'
sm_sendmail_envdef=' -D_PATH_SENDMAILPID=\"/var/run/sendmail/mta/sendmail.pid\" 
-DIP_SRCROUTE=1 -DMILTER -DLDAP_REFERRALS -DLDAP_DEPRECATED  -DTCPWRAPPERS 
-DSASL -I/usr/include/sasl -DSTARTTLS -DDANE=1  -D_FFR_QUEUE_SCHED_DBG 
-D_FFR_REJECT_NUL_BYTE -D_FFR_SKIP_DOMAINS -D_FFR_NO_PIPE -D_FFR_SHM_STATUS 
-D_FFR_RHS -D_FFR_MAIL_MACRO -D_FFR_BADRCPT_SHUTDOWN -D_FFR_TLS_ALTNAMES 
-D_FFR_MTA_STS -D_FFR_RESET_MACRO_GLOBALS -D_FFR_TLS_EC'
sm_sendmail_libs=' -ldb -lnsl -ltirpc  -lldap -llber -lresolv -lwrap -lsasl2 
-lcrypto -lssl'
sm_smrsh_envdef=' -DCMDDIR=\"/etc/mail/smrsh\" -DPATH=\"/usr/bin:/bin\"'
sm_smrsh_libs=' -lldap -llber'
sm_suggests=', sasl2-bin, libsasl2-modules, openssl'
sm_time='18:25:02'
sm_utc='+0200'
sm_vacation_envdef=''
sm_vacation_libs=' -ldb -lldap -llber'
sm_version='8.18.1'
sm_version_beta=''
sm_version_major='8.18'
sm_version_math='528897'
sm_version_minor='1'
sm_version_r='18'
sm_version_v='8'
sysconfdir='/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "Sendmail"
#define PACKAGE_TARNAME "sendmail"
#define PACKAGE_VERSION "8.17.1"
#define PACKAGE_STRING "Sendmail 8.17.1"
#define PACKAGE_BUGREPORT "bug/reportbug or sendm...@packages.debian.org"
#define PACKAGE_URL ""
#define PACKAGE "sendmail"
#define VERSION "8.17.1"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_REGEX_H 1
#define HAVE_DB_H 1
#define HAVE_DB_185_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_LDAP_H 1
#define HAVE_RESOLV_H 1
#define HAVE_TCPD_H 1
#define HAVE_NETINET_IP6_H 1
#define HAVE_GETHOSTBYNAME2 1
#define HAVE_MAILLOCK_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_OPENSSL_SSL_H 1

configure: exit 1
dh_auto_configure: error: cd debian && ./configure --build=x86_64-linux-gnu 
--prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking 
--libexecdir=\${prefix}/libexec/sendmail --docdir=\${datarootdir}/doc 
--enable-regex=yes --enable-ndbm=no --enable-newdb=yes --enable-nis=auto 
--enable-nisplus=auto --enable-ldap=yes --enable-hesiod=no --enable-tcpd=yes 
--enable-bind=no --enable-ipv6=auto --enable-maillock=yes --enable-milter=yes 
--enable-sfio=no --enable-auth=yes --enable-tls=yes --enable-shm=yes 
--with-revision=-6 returned exit code 1
make[1]: *** [debian/rules:126: override_dh_auto_configure] Error 25
make[1]: Leaving directory '/build/reproducible-path/sendmail-8.18.1'
make: *** [debian/rules:115: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Reply via email to