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

Bug#778127: soundmodem: ftbfs with GCC-5



Package: src:soundmodem
Version: 0.18-1
Severity: normal
Tags: sid stretch
User: debian-gcc@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/soundmodem_0.18-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

[...]
  float max1, max2, t, at, f1, f2;
                               ^
modemeq.c:387:23: warning: unused variable 'at' [-Wunused-variable]
  float max1, max2, t, at, f1, f2;
                       ^
modemeq.c: At top level:
modemeq.c:143:16: warning: 'equalizer' defined but not used [-Wunused-function]
 static int16_t equalizer(struct demodstate *s, int16_t s1, int16_t s2)
                ^
rm -f libfsk.a
ar cru libfsk.a fskic.o modem.o modempsp.o modemeq.o 
ranlib libfsk.a
gcc -DHAVE_CONFIG_H -I. -I.. -I../soundcard -I../matlib -I../libmisc -I.  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -c genpsptbl.c
gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2  -Wl,-z,relro -o genpsptbl genpsptbl.o ../matlib/libmat.a -lhamlib -lasound -lm -lpthread -lm
g++ -DHAVE_CONFIG_H -I. -I.. -I../soundcard -I../matlib -I../libmisc -I.  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -c -o gendf9icfilt.o gendf9icfilt.cc
g++  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2  -Wl,-z,relro -o gendf9icfilt gendf9icfilt.o ../matlib/libmat.a ../libmisc/libmisc.a -lhamlib -lasound -lm -lpthread -lm
make[3]: Leaving directory '/«PKGBUILDDIR»/fsk'
Making all in pammodem
make[3]: Entering directory '/«PKGBUILDDIR»/pammodem'
gcc -DHAVE_CONFIG_H -I. -I.. -I../soundcard -I../libmisc -I../matlib  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -c pammodem.c
rm -f libpam.a
ar cru libpam.a pammodem.o 
ranlib libpam.a
gcc -DHAVE_CONFIG_H -I. -I.. -I../soundcard -I../libmisc -I../matlib  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -c meas.c
gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2  -Wl,-z,relro -o meas meas.o ../libmisc/libmisc.a ../matlib/libmat.a -lhamlib -lasound -lm -lpthread -lm
gcc -DHAVE_CONFIG_H -I. -I.. -I../soundcard -I../libmisc -I../matlib  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -c genpamtbl.c
genpamtbl.c: In function 'genrxfilt':
genpamtbl.c:303:19: warning: unused variable 't' [-Wunused-variable]
  double tmul, at, t, f1, f2;
                   ^
genpamtbl.c:303:15: warning: unused variable 'at' [-Wunused-variable]
  double tmul, at, t, f1, f2;
               ^
gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2  -Wl,-z,relro -o genpamtbl genpamtbl.o ../matlib/libmat.a -lhamlib -lasound -lm -lpthread -lm
genpamtbl.o: In function `logcheck':
/«PKGBUILDDIR»/pammodem/../soundcard/modem.h:108: undefined reference to `log_verblevel'
collect2: error: ld returned 1 exit status
make[3]: *** [genpamtbl] Error 1
Makefile:315: recipe for target 'genpamtbl' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/pammodem'
make[2]: *** [all-recursive] Error 1
Makefile:348: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:288: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:13: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: