[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/filtermail_1.05.00-1_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
[...]
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -x c++-header stringcase.ih
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -x c++-header specstring.ih
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -x c++-header rulepattern.ih
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -x c++-header cidr.ih
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -x c++-header specbase.ih
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -x c++-header uinput.ih
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -x c++-header parser.ih
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -x c++-header scanner.ih
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -x c++-header main.ih
mkdir -p tmp/o
chdir inspector
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22skipthrureceived.o inspector/skipthrureceived.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22run.o inspector/run.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22receivedheaders.o inspector/receivedheaders.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22range.o inspector/range.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22privateip6.o inspector/privateip6.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22privateip4.o inspector/privateip4.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22ip17216.o inspector/ip17216.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22inspector1.o inspector/inspector1.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22findwhois.o inspector/findwhois.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22findip.o inspector/findip.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22findcidr.o inspector/findcidr.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/22data.o inspector/data.cc
chdir inspectcidr
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/21inspectcidr1.o inspectcidr/inspectcidr1.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/21insert.o inspectcidr/insert.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/21getmask.o inspectcidr/getmask.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/21binary.o inspectcidr/binary.cc
chdir expire
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/20write.o expire/write.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/20rulefile.o expire/rulefile.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/20processrules.o expire/processrules.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/20processcurrent.o expire/processcurrent.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/20expired.o expire/expired.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/20expire1.o expire/expire1.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/20entry.o expire/entry.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/20checkfiles.o expire/checkfiles.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/20check.o expire/check.cc
chdir filter
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/19startif.o filter/startif.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/19setheader.o filter/setheader.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/19rulesfile.o filter/rulesfile.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/19matchrule.o filter/matchrule.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/19filter1.o filter/filter1.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/19done.o filter/done.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/19accept.o filter/accept.cc
chdir current
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/18rulefile.o current/rulefile.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/18reset.o current/reset.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/18matchedrule.o current/matchedrule.cc
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/18log.o current/log.cc
current/log.cc: In member function ‘void Current::log(eAction)’:
current/log.cc:33:12: error: ‘endl’ was not declared in this scope
33 | log << endl;
| ^~~~
current/log.cc:2: note: ‘std::endl’ is defined in header ‘<ostream>’; this is probably fixable by adding ‘#include <ostream>’
2 | #include "current.ih"
system `g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection --std=c++23 -Wall -Werror -g -O2 -ffile-prefix-map=/build/reproducible-path/filtermail-1.05.00=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tmp/o/18log.o current/log.cc' failed. Exit value = 1
system `icmbuild program' failed. Exit value = 1
make[1]: *** [debian/rules:25: override_dh_auto_build] Error 1
make[1]: Leaving directory '/build/reproducible-path/filtermail-1.05.00'
make: *** [debian/rules:22: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2