[Debian-ha-maintainers] Bug#777806: booth: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:30:26 UTC 2015


Package: src:booth
Version: 0.1.0-1.1
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/booth_0.1.0-1.1_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

[...]
booth build info:
  Library SONAME           = 
  Default debug options    = 
  Extra compiler warnings  = 
  Env. defined CFLAG       = -g -O2
  Env. defined CPPFLAGS    =  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
  Env. defined LDFLAGS     = 
  OS   defined CFLAGS      = 
  OS   defined CPPFLAGS    = -D_GNU_SOURCE
  OS   defined LDFLAGS     = 
  OS   defined LDL         = -ldl
  OS   defined DYFLAGS     = -rdynamic
  ANSI defined CPPFLAGS    = 
  Coverage     CFLAGS      = 
  Coverage     LDFLAGS     = 
  Fatal War.   CFLAGS      = 
  Final        CFLAGS      = -g -O2 -O3 -ggdb3  	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing  
  Final        CPPFLAGS    =  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -D_GNU_SOURCE
  Final        LDFLAGS     =   
   dh_auto_build -a
	make -j1
make[1]: Entering directory '/«PKGBUILDDIR»'
Making all in src
make[2]: Entering directory '/«PKGBUILDDIR»/src'
make  all-am
make[3]: Entering directory '/«PKGBUILDDIR»/src'
gcc -DHAVE_CONFIG_H -I. -I../include  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -D_GNU_SOURCE -fPIC -Werror -g -O2 -O3 -ggdb3  	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing   -c -o config.o config.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -D_GNU_SOURCE -fPIC -Werror -g -O2 -O3 -ggdb3  	  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing   -c -o main.o main.c
In file included from main.c:41:0:
main.c: In function 'setup_transport':
main.c:431:13: error: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned int' [-Werror=format=]
   log_error("failed to init booth_transport[%d]", proto);
             ^
log.h:29:50: note: in definition of macro 'log_error'
 #define log_error(fmt, args...)  cl_log(LOG_ERR, fmt, ##args)
                                                  ^
cc1: all warnings being treated as errors
make[3]: *** [main.o] Error 1
Makefile:439: recipe for target 'main.o' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/src'
make[2]: *** [all] Error 2
Makefile:315: recipe for target 'all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/src'
make[1]: *** [all-recursive] Error 1
Makefile:725: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:10: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Debian-ha-maintainers mailing list