Bug#777943: libdvbpsi: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:33:13 UTC 2015


Package: src:libdvbpsi
Version: 1.2.0-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/libdvbpsi_1.2.0-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

[...]
   BOZO_end_boolean(b_still_picture)
   ^
test_dr.h:102:39: error: comparison of constant '12' with boolean expression is always true [-Werror=bool-compare]
     } while(!i_err && (s_decoded.name <= 12));                          \
                                       ^
test_dr.c:203:3: note: in expansion of macro 'BOZO_end_boolean'
   BOZO_end_boolean(b_frame_rate_extension)
   ^
test_dr.c: In function 'main_astream_':
test_dr.h:102:39: error: comparison of constant '12' with boolean expression is always true [-Werror=bool-compare]
     } while(!i_err && (s_decoded.name <= 12));                          \
                                       ^
test_dr.c:226:3: note: in expansion of macro 'BOZO_end_boolean'
   BOZO_end_boolean(b_free_format)
   ^
test_dr.c: In function 'main_system_clock_':
test_dr.h:102:39: error: comparison of constant '12' with boolean expression is always true [-Werror=bool-compare]
     } while(!i_err && (s_decoded.name <= 12));                          \
                                       ^
test_dr.c:488:3: note: in expansion of macro 'BOZO_end_boolean'
   BOZO_end_boolean(b_external_clock_ref)
   ^
test_dr.c: In function 'main_mx_buff_utilization_':
test_dr.h:102:39: error: comparison of constant '12' with boolean expression is always true [-Werror=bool-compare]
     } while(!i_err && (s_decoded.name <= 12));                          \
                                       ^
test_dr.c:531:3: note: in expansion of macro 'BOZO_end_boolean'
   BOZO_end_boolean(b_mdv_valid)
   ^
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare  -Wl,-z,relro -o gen_crc gen_crc.o  
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -L../src -ldvbpsi -Wl,-z,relro -o gen_pat gen_pat-gen_pat.o  
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -L../src -ldvbpsi -Wl,-z,relro -o gen_pmt gen_pmt-gen_pmt.o  
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wl,-z -Wl,relro -o gen_crc gen_crc.o 
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wl,-z -Wl,relro -o .libs/gen_pmt gen_pmt-gen_pmt.o  -L../src /«PKGBUILDDIR»/src/.libs/libdvbpsi.so
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wl,-z -Wl,relro -o .libs/gen_pat gen_pat-gen_pat.o  -L../src /«PKGBUILDDIR»/src/.libs/libdvbpsi.so
cc1: all warnings being treated as errors
make[3]: *** [test_dr-test_dr.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Makefile:445: recipe for target 'test_dr-test_dr.o' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/misc'
make[2]: *** [all-recursive] Error 1
Makefile:454: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:360: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:8: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list