Bug#778120: sipsak: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:36:53 UTC 2015


Package: src:sipsak
Version: 0.9.6-2.2
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

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-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/sipsak_0.9.6-2.2_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[...]
make[1]: Entering directory '/«PKGBUILDDIR»'
/usr/bin/make  all-am
make[2]: Entering directory '/«PKGBUILDDIR»'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include -MT auth.o -MD -MP -MF .deps/auth.Tpo -c -o auth.o auth.c
mv -f .deps/auth.Tpo .deps/auth.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include -MT header_f.o -MD -MP -MF .deps/header_f.Tpo -c -o header_f.o header_f.c
mv -f .deps/header_f.Tpo .deps/header_f.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include -MT helper.o -MD -MP -MF .deps/helper.Tpo -c -o helper.o helper.c
mv -f .deps/helper.Tpo .deps/helper.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
mv -f .deps/md5.Tpo .deps/md5.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include -MT request.o -MD -MP -MF .deps/request.Tpo -c -o request.o request.c
In file included from request.c:29:0:
header_f.h:64:14: warning: inline function 'get_body' declared but never defined
 inline char* get_body(char *mes);
              ^
mv -f .deps/request.Tpo .deps/request.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include -MT shoot.o -MD -MP -MF .deps/shoot.Tpo -c -o shoot.o shoot.c
In file included from shoot.c:46:0:
header_f.h:64:14: warning: inline function 'get_body' declared but never defined
 inline char* get_body(char *mes);
              ^
mv -f .deps/shoot.Tpo .deps/shoot.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include -MT sipsak.o -MD -MP -MF .deps/sipsak.Tpo -c -o sipsak.o sipsak.c
In file included from sipsak.c:59:0:
header_f.h:64:14: warning: inline function 'get_body' declared but never defined
 inline char* get_body(char *mes);
              ^
mv -f .deps/sipsak.Tpo .deps/sipsak.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include -MT exit_code.o -MD -MP -MF .deps/exit_code.Tpo -c -o exit_code.o exit_code.c
mv -f .deps/exit_code.Tpo .deps/exit_code.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include -MT transport.o -MD -MP -MF .deps/transport.Tpo -c -o transport.o transport.c
In file included from transport.c:67:0:
header_f.h:64:14: warning: inline function 'get_body' declared but never defined
 inline char* get_body(char *mes);
              ^
mv -f .deps/transport.Tpo .deps/transport.Po
x86_64-linux-gnu-gcc  -Wall -g -O2 -Wall -fstack-protector -I/usr/include/p11-kit-1  -I/usr/include   -o sipsak auth.o header_f.o helper.o md5.o request.o shoot.o sipsak.o exit_code.o transport.o  -lgnutls  -lgnutls-openssl -L/usr/lib -lruli
transport.o: In function `complete_mes':
/«PKGBUILDDIR»/transport.c:367: undefined reference to `get_body'
collect2: error: ld returned 1 exit status
make[2]: *** [sipsak] Error 1
Makefile:305: recipe for target 'sipsak' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:212: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
debian/rules:38: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-voip-maintainers mailing list