--- Begin Message ---
Package: src:kismet
Version: 2016.07.R1-1
Severity: normal
Tags: sid bullseye
User: [email protected]
Usertags: ftbfs-gcc-10
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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/kismet_2016.07.R1-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html
[...]
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int Iwconfig_Get_Levels(const char*, char*, int*, int*)’ at
iwcontrol.cc:462:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int Iwconfig_Get_Levels(const char*, char*, int*, int*)’ at
iwcontrol.cc:477:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int Iwconfig_Get_Channel(const char*, char*)’ at
iwcontrol.cc:513:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int Iwconfig_Set_Channel(const char*, int, char*)’ at
iwcontrol.cc:539:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int Iwconfig_Get_Mode(const char*, char*, int*)’ at
iwcontrol.cc:583:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int Iwconfig_Set_Mode(const char*, char*, int)’ at
iwcontrol.cc:609:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int Iwconfig_Get_Chanlist(const char*, char*,
std::vector<unsigned int>*)’ at iwcontrol.cc:706:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/ncurses
-I/usr/include/libnl3 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -c
madwifing_control.cc -o madwifing_control.o
In file included from /usr/include/string.h:495,
from madwifing_control.cc:33:
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int madwifing_destroy_vap(const char*, char*)’ at
madwifing_control.cc:111:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘int madwifing_build_vap(const char*, char*, const char*,
char*, int, int)’ at madwifing_control.cc:158:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char*
__builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16
equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/ncurses
-I/usr/include/libnl3 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -c nl80211_control.cc
-o nl80211_control.o
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/ncurses
-I/usr/include/libnl3 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -c psutils.cc -o
psutils.o
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/ncurses
-I/usr/include/libnl3 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -c ipc_remote.cc -o
ipc_remote.o
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:33,
from ipc_remote.h:61,
from ipc_remote.cc:34:
/usr/include/x86_64-linux-gnu/bits/socket.h:285:33: error: flexible array
member ‘cmsghdr::__cmsg_data’ not at end of ‘struct<unnamed>’
285 | __extension__ unsigned char __cmsg_data __flexarr; /* Ancillary
data. */
| ^~~~~~~~~~~
ipc_remote.cc:945:17: note: next member ‘int <unnamed struct>::fd’ declared here
945 | int fd;
| ^~
ipc_remote.cc:943:16: note: in the definition of ‘struct<unnamed>’
943 | typedef struct {
| ^
make[1]: *** [Makefile:317: ipc_remote.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build]
Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---