Bug#871096: twpsk: FTBFS: twpskCB.C:994:72: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Source: twpsk
Version: 4.2-1
Severity: serious
Tags: buster sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DPKG_DATA_DIR=\"/usr/share/twpsk\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o twpskCB.o twpskCB.C
> twpskCB.C: In function 'void rxTextCB(Widget, XtPointer, XtPointer)':
> twpskCB.C:994:72: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
> if ((strncmp (str, save, MAXCALL) == 0) || (calls->outCall == '\0'))
> ^~~~
> Makefile:495: recipe for target 'twpskCB.o' failed
> make[3]: *** [twpskCB.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/08/05/twpsk_4.2-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Reply to: