#1133468 esstra: ftbfs with GCC-16

Package:
src:esstra
Source:
src:esstra
Submitter:
Emanuele Rocca
Date:
2026-08-01 19:49:02 UTC
Severity:
normal
Tags:
#1133468#5
Date:
2026-04-13 13:03:14 UTC
From:
To:
Hi,

esstra fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/esstra_arm64.build.xz

The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]



Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_GB.UTF-8
LC_ALL=C.UTF-8
LOGNAME=sbuild
OLDPWD=/work/ema/archive-rebuild
PARALLEL_JOBSLOT0=2
PARALLEL_JOBSLOT=3
PARALLEL_PID=1532054
PARALLEL_REMOTE_TMPDIR=/tmp
PARALLEL_RSYNC_OPTS=-rlDzR
PARALLEL_SEQ=5625
PARALLEL_SSHHOST=:
PARALLEL_SSHLOGIN=:
PARALLEL_TMP=/tmp/parFCuPB
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
SSHPASS=
USER=sbuild
XDG_SESSION_CLASS=user

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package esstra
dpkg-buildpackage: info: source version 0.3.0-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Hideki Yamane <henrich@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_auto_clean
	make -j128 clean
make[1]: Entering directory '/build/reproducible-path/esstra-0.3.0'
make[2]: Entering directory '/build/reproducible-path/esstra-0.3.0/core'
rm -f *.so
make[2]: Leaving directory '/build/reproducible-path/esstra-0.3.0/core'
make[2]: Entering directory '/build/reproducible-path/esstra-0.3.0/util'
do nothing for target: clean
make[2]: Leaving directory '/build/reproducible-path/esstra-0.3.0/util'
make[1]: Leaving directory '/build/reproducible-path/esstra-0.3.0'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j128 INSTALL="install --strip-program=true"
make[1]: Entering directory '/build/reproducible-path/esstra-0.3.0'
make[2]: Entering directory '/build/reproducible-path/esstra-0.3.0/core'
g++ -shared -g -O2 -ffile-prefix-map=/build/reproducible-path/esstra-0.3.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -I/usr/lib/gcc/aarch64-linux-gnu/16/plugin/include -fPIC -fno-rtti -O2 -std=c++17 -I ../third-party/WjCryptLib/lib -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed esstracore.cpp ../third-party/WjCryptLib/lib/WjCryptLib_Md5.c ../third-party/WjCryptLib/lib/WjCryptLib_Sha1.c ../third-party/WjCryptLib/lib/WjCryptLib_Sha256.c -o esstracore.so
esstracore.cpp:33:10: fatal error: gcc-plugin.h: No such file or directory
   33 | #include "gcc-plugin.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:38: esstracore.so] Error 1
make[2]: Leaving directory '/build/reproducible-path/esstra-0.3.0/core'
make[1]: *** [Makefile:10: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/esstra-0.3.0'
dh_auto_build: error: make -j128 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

#1133468#10
Date:
2026-04-21 17:54:49 UTC
From:
To:
tags 1133468 + patch
user debian-release@lists.debian.org
usertags 1133468 + bsp-2026-04-br-campinas
thanks

Hi,

This is just a regular B-D bump that needs to be done once GCC 16 is set
as the default compiler.  The following patch fixes the issue.

Thanks,