Bug#778003: meterbridge: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:34:23 UTC 2015


Package: src:meterbridge
Version: 0.9.2-11
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/meterbridge_0.9.2-11_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

[...]
             ^
gcc -DHAVE_CONFIG_H -I.     -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c -o ppm_meters.o ppm_meters.c
In file included from ppm_meters.c:7:0:
linedraw.h:4:13: warning: inline function 'set_rgba' declared but never defined
 inline void set_rgba(SDL_Surface *surface, Uint32 x, Uint32 y, Uint32 col);
             ^
gcc -DHAVE_CONFIG_H -I.     -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c -o dpm_meters.o dpm_meters.c
gcc -DHAVE_CONFIG_H -I.     -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c -o jf_meters.o jf_meters.c
jf_meters.c: In function 'gfx_thread_jf':
jf_meters.c:69:23: warning: variable 'ym1' set but not used [-Wunused-but-set-variable]
    int x=0, y=0, xm1, ym1;
                       ^
jf_meters.c:69:18: warning: variable 'xm1' set but not used [-Wunused-but-set-variable]
    int x=0, y=0, xm1, ym1;
                  ^
In file included from jf_meters.c:7:0:
jf_meters.c: At top level:
linedraw.h:4:13: warning: inline function 'set_rgba' declared but never defined
 inline void set_rgba(SDL_Surface *surface, Uint32 x, Uint32 y, Uint32 col);
             ^
gcc -DHAVE_CONFIG_H -I.     -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c -o scope.o scope.c
In file included from scope.c:7:0:
linedraw.h:4:13: warning: inline function 'set_rgba' declared but never defined
 inline void set_rgba(SDL_Surface *surface, Uint32 x, Uint32 y, Uint32 col);
             ^
gcc -DHAVE_CONFIG_H -I.     -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c -o envelopes.o envelopes.c
gcc -DHAVE_CONFIG_H -I.     -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c -o find_image.o find_image.c
gcc  -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DPKG_DATA_DIR=\"/usr/share/meterbridge\"   -o meterbridge main.o linedraw.o vu_meters.o ppm_meters.o dpm_meters.o jf_meters.o scope.o envelopes.o find_image.o -lm -ljack -lpthread  -L/usr/lib/x86_64-linux-gnu -lSDL -lSDL_image -lm -lpthread 
linedraw.o: In function `draw_line':
/«PKGBUILDDIR»/src/linedraw.c:64: undefined reference to `set_rgba'
linedraw.o: In function `draw_ptr':
/«PKGBUILDDIR»/src/linedraw.c:131: undefined reference to `set_rgba'
/«PKGBUILDDIR»/src/linedraw.c:137: undefined reference to `set_rgba'
/«PKGBUILDDIR»/src/linedraw.c:139: undefined reference to `set_rgba'
jf_meters.o: In function `gfx_thread_jf':
/«PKGBUILDDIR»/src/jf_meters.c:105: undefined reference to `set_rgba'
collect2: error: ld returned 1 exit status
make[3]: *** [meterbridge] Error 1
Makefile:351: recipe for target 'meterbridge' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/src'
make[2]: *** [all] Error 2
Makefile:258: recipe for target 'all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/src'
make[1]: *** [all-recursive] Error 1
Makefile:333: 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:6: 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