Bug#1037637: e2guardian: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:23:37 BST 2023
Package: src:e2guardian
Version: 5.3.5-4
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/e2guardian_5.3.5-4_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-13/porting_to.html
[...]
ListContainer.cpp:1879:39: error: ‘const struct ipl_subnetstruct’ has no member named ‘maskedaddr’
1879 | String ret = hIPtoChar(i->maskedaddr);
| ^~~~~~~~~~
ListContainer.cpp:1881:33: error: ‘const struct ipl_subnetstruct’ has no member named ‘mask’
1881 | ret += hIPtoChar(i->mask);
| ^~~~
ListContainer.cpp: At global scope:
ListContainer.cpp:1894:13: error: no declaration matches ‘const char* ListContainer::hIPtoChar(uint32_t)’
1894 | const char *ListContainer::hIPtoChar(uint32_t ip) {
| ^~~~~~~~~~~~~
ListContainer.hpp:192:17: note: candidate is: ‘const char* ListContainer::hIPtoChar(int)’
192 | const char *hIPtoChar(uint32_t ip);
| ^~~~~~~~~
ListContainer.hpp:45:7: note: ‘class ListContainer’ defined here
45 | class ListContainer
| ^~~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/e2guardian/e2guardian.conf"' -D__LOGLOCATION='"/var/log/e2guardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"e2guardian"' -D__PROXYGROUP='"e2guardian"' -D__CONFDIR='"/etc/e2guardian"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security --std=c++11 -DFD_SETSIZE=65535 -c -o e2guardian-StoryBoard.o `test -f 'StoryBoard.cpp' || echo './'`StoryBoard.cpp
make[3]: *** [Makefile:966: e2guardian-ListContainer.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ListContainer.hpp:19,
from ListMeta.cpp:15:
IPList.hpp:16:5: error: ‘uint32_t’ does not name a type
16 | uint32_t maskedaddr;
| ^~~~~~~~
IPList.hpp:1:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
+++ |+#include <cstdint>
1 | // For all support, instructions and copyright go to:
IPList.hpp:17:5: error: ‘uint32_t’ does not name a type
17 | uint32_t mask;
| ^~~~~~~~
IPList.hpp:17:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
IPList.hpp:21:5: error: ‘uint32_t’ does not name a type
21 | uint32_t startaddr;
| ^~~~~~~~
IPList.hpp:21:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
IPList.hpp:22:5: error: ‘uint32_t’ does not name a type
22 | uint32_t endaddr;
| ^~~~~~~~
IPList.hpp:22:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
IPList.hpp:35:17: error: ‘uint32_t’ was not declared in this scope
35 | std::vector<uint32_t> iplist;
| ^~~~~~~~
IPList.hpp:35:17: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
IPList.hpp:35:25: error: template argument 1 is invalid
35 | std::vector<uint32_t> iplist;
| ^
IPList.hpp:35:25: error: template argument 2 is invalid
ListContainer.hpp:165:17: error: ‘uint32_t’ was not declared in this scope
165 | std::vector<uint32_t> iplist;
| ^~~~~~~~
ListContainer.hpp:20:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
19 | #include "IPList.hpp"
+++ |+#include <cstdint>
20 |
ListContainer.hpp:165:25: error: template argument 1 is invalid
165 | std::vector<uint32_t> iplist;
| ^
ListContainer.hpp:165:25: error: template argument 2 is invalid
ListContainer.hpp:192:27: error: ‘uint32_t’ has not been declared
192 | const char *hIPtoChar(uint32_t ip);
| ^~~~~~~~
make[3]: *** [Makefile:980: e2guardian-ListMeta.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:402: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:343: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-edu-pkg-team
mailing list