--- Begin Message ---
Package: src:crashmail
Version: 1.7-1
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
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/crashmail_1.7-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
[...]
In file included from /usr/include/stdio.h:867,
from crashmail/crashmail.h:2,
from crashmail/areafix.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
‘__builtin___sprintf_chk’ output between 45 and 124 bytes into a destination of
size 100
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crashmail/areafix.c: In function ‘afSendMessage’:
crashmail/areafix.c:1506:31: warning: ‘ (part ’ directive writing 7 bytes into
a region of size between 1 and 72 [-Wformat-overflow=]
1506 | sprintf(afr->mm->Subject,"%s (part %d)",afr->subject,afr->part);
| ^~~~~~~
crashmail/areafix.c:1506:28: note: using the range [-2147483648, 2147483647]
for directive argument
1506 | sprintf(afr->mm->Subject,"%s (part %d)",afr->subject,afr->part);
| ^~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from crashmail/crashmail.h:2,
from crashmail/areafix.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
‘__builtin___sprintf_chk’ output between 10 and 91 bytes into a destination of
size 72
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crashmail/areafix.c: In function ‘afAddLine’:
crashmail/areafix.c:1478:35: warning: ‘ (part ’ directive writing 7 bytes into
a region of size between 1 and 72 [-Wformat-overflow=]
1478 | sprintf(afr->mm->Subject,"%s (part %d)",afr->subject,afr->part);
| ^~~~~~~
crashmail/areafix.c:1478:32: note: using the range [-2147483648, 2147483647]
for directive argument
1478 | sprintf(afr->mm->Subject,"%s (part %d)",afr->subject,afr->part);
| ^~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from crashmail/crashmail.h:2,
from crashmail/areafix.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
‘__builtin___sprintf_chk’ output between 10 and 91 bytes into a destination of
size 72
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
shared/jblist.c -o obj/jblist.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
shared/jbstrcpy.c -o obj/jbstrcpy.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
shared/mystrncpy.c -o obj/mystrncpy.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
shared/parseargs.c -o obj/parseargs.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
shared/node4d.c -o obj/node4d.o
shared/node4d.c: In function ‘Parse4DTemplate’:
shared/node4d.c:42:31: warning: ‘val’ may be used uninitialized in this
function [-Wmaybe-uninitialized]
42 | if(GotVal) node->Node=val;
| ~~~~~~~~~~^~~~
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
shared/expr.c -o obj/expr.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
shared/path.c -o obj/path.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
crashmail/nl_v7p.c -o obj/nl_v7p.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
crashmail/nl_cmnl.c -o obj/nl_cmnl.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
crashmail/mb_msg.c -o obj/mb_msg.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -c
crashmail/mb_jam.c -o obj/mb_jam.o
crashmail/mb_jam.c: In function ‘jam_importfunc’:
crashmail/mb_jam.c:466:38: warning: ‘msgtext’ may be used uninitialized in this
function [-Wmaybe-uninitialized]
466 | if(linelen>=5 &&
strncmp(&msgtext[linebegin],"\x01""PID:",5)==0)
| ^~~~~~~~~~~~~~~~~~~
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPLATFORM_LINUX -DMSGBASE_MSG -DMSGBASE_JAM
-DNODELIST_CMNL -DNODELIST_V7P -Wl,-z,relro -Wl,-z,now -I ./ -Wall -o
../bin/crashmail obj/crashmail.o obj/logwrite.o obj/dupe.o obj/stats.o
obj/misc.o obj/safedel.o obj/toss.o obj/pkt.o obj/mb.o obj/nl.o obj/handle.o
obj/node4dpat.o obj/config.o obj/memmessage.o obj/scan.o obj/outbound.o
obj/filter.o obj/areafix.o obj/jblist.o obj/jbstrcpy.o obj/mystrncpy.o
obj/parseargs.o obj/node4d.o obj/expr.o obj/path.o obj/nl_v7p.o obj/nl_cmnl.o
cmnllib/cmnllib.a obj/mb_msg.o obj/mb_jam.o jamlib/jamlib.a oslib_linux/oslib.a
/usr/bin/ld: obj/handle.o:./src/crashmail/handle.c:97: multiple definition of
`lastt'; obj/pkt.o:./src/crashmail/pkt.c:554: first defined here
/usr/bin/ld: obj/filter.o: in function `Filter_Execute':
./src/crashmail/filter.c:636: warning: the use of `tmpnam' is dangerous, better
use `mkstemp'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile.linux:81: ../bin/crashmail] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:19: linux] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---