[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#853673: swish++: ftbfs with GCC-7



Package: src:swish++
Version: 6.1.5-4
Severity: normal
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/swish++_6.1.5-4_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html

[...]
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -I. -DCHARSET_utf7 -DCHARSET_utf8 -DCHARSET_utf16 -DENCODING_base64 -DENCODING_quoted_printable -DIMPLEMENT_DECODING -DMOD_html -DMOD_id3 -DMOD_latex -DMOD_mail -DMOD_man -DMOD_rtf -DFEATURE_word_pos -DSEARCH_DAEMON -DMULTI_THREADED -D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -fomit-frame-pointer -D_BSD_SOURCE -fno-exceptions    -c -o init_modules.o init_modules.c
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/os_defines.h:39:0,
                 from /usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h:513,
                 from /usr/include/c++/7/iostream:38,
                 from indexer.h:26,
                 from init_modules.c:28:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -I. -DCHARSET_utf7 -DCHARSET_utf8 -DCHARSET_utf16 -DENCODING_base64 -DENCODING_quoted_printable -DIMPLEMENT_DECODING -DMOD_html -DMOD_id3 -DMOD_latex -DMOD_mail -DMOD_man -DMOD_rtf -DFEATURE_word_pos -DSEARCH_DAEMON -DMULTI_THREADED -D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -fomit-frame-pointer -D_BSD_SOURCE -fno-exceptions    -c -o init_mod_vars.o init_mod_vars.c
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/os_defines.h:39:0,
                 from /usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h:513,
                 from /usr/include/c++/7/iostream:38,
                 from conf_var.h:26,
                 from init_mod_vars.c:28:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -I. -DCHARSET_utf7 -DCHARSET_utf8 -DCHARSET_utf16 -DENCODING_base64 -DENCODING_quoted_printable -DIMPLEMENT_DECODING -DMOD_html -DMOD_id3 -DMOD_latex -DMOD_mail -DMOD_man -DMOD_rtf -DFEATURE_word_pos -DSEARCH_DAEMON -DMULTI_THREADED -D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -fomit-frame-pointer -D_BSD_SOURCE -fno-exceptions    -c -o iso8859-1.o iso8859-1.c
g++ -I. -DCHARSET_utf7 -DCHARSET_utf8 -DCHARSET_utf16 -DENCODING_base64 -DENCODING_quoted_printable -DIMPLEMENT_DECODING -DMOD_html -DMOD_id3 -DMOD_latex -DMOD_mail -DMOD_man -DMOD_rtf -DFEATURE_word_pos -DSEARCH_DAEMON -DMULTI_THREADED -D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -fomit-frame-pointer -D_BSD_SOURCE -fno-exceptions    -c -o itoa.o itoa.c
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/os_defines.h:39:0,
                 from /usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h:513,
                 from /usr/include/c++/7/cctype:41,
                 from util.h:26,
                 from itoa.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
g++ -I. -DCHARSET_utf7 -DCHARSET_utf8 -DCHARSET_utf16 -DENCODING_base64 -DENCODING_quoted_printable -DIMPLEMENT_DECODING -DMOD_html -DMOD_id3 -DMOD_latex -DMOD_mail -DMOD_man -DMOD_rtf -DFEATURE_word_pos -DSEARCH_DAEMON -DMULTI_THREADED -D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -fomit-frame-pointer -D_BSD_SOURCE -fno-exceptions    -c -o option_stream.o option_stream.c
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/os_defines.h:39:0,
                 from /usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h:513,
                 from /usr/include/c++/7/utility:68,
                 from /usr/include/c++/7/algorithm:60,
                 from option_stream.c:23:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
option_stream.c: In function 'PJL::option_stream& PJL::operator>>(PJL::option_stream&, PJL::option_stream::option&)':
option_stream.c:272:14: error: invalid conversion from 'char' to 'char*' [-fpermissive]
     o.arg_ = '\0';
              ^~~~
<builtin>: recipe for target 'option_stream.o' failed
make[1]: *** [option_stream.o] Error 1
make[1]: Leaving directory '/build/swish++-PTj2j0/swish++-6.1.5'
debian/rules:44: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Reply to: