[DRE-maint] Bug#701349: ruby-ffi: ftbfs with GCC-4.8
Matthias Klose
doko at debian.org
Sat Feb 23 11:21:53 UTC 2013
Package: src:ruby-ffi
Version: 1.0.11debian-5
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8
The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.
libtest/Benchmark.c:27:22: error: unused parameter 'arg' [-Werror=unused-parameter]
The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/ruby-ffi_1.0.11debian-5_unstable_gcc48.log
The last lines of the build log are at the end of this report.
To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev
The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.
[...]
^
libtest/Benchmark.c:66:1: note: in expansion of macro 'BrV'
BrV(P);
^
libtest/Benchmark.c:52:95: error: unused parameter 'a3' [-Werror=unused-parameter]
#define B6(R, T1, T2, T3, T4, T5, T6) R bench_##T1##T2##T3##T4##T5##T6##_##R(T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) {}
^
libtest/Benchmark.c:58:96: note: in expansion of macro 'B6'
#define BrV(T) B1(v, T); B2(v, T, T); B3(v, T, T, T); B4(v, T, T, T, T); B5(v, T, T, T, T, T); B6(v, T, T, T, T, T, T);
^
libtest/Benchmark.c:66:1: note: in expansion of macro 'BrV'
BrV(P);
^
libtest/Benchmark.c:52:102: error: unused parameter 'a4' [-Werror=unused-parameter]
#define B6(R, T1, T2, T3, T4, T5, T6) R bench_##T1##T2##T3##T4##T5##T6##_##R(T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) {}
^
libtest/Benchmark.c:58:96: note: in expansion of macro 'B6'
#define BrV(T) B1(v, T); B2(v, T, T); B3(v, T, T, T); B4(v, T, T, T, T); B5(v, T, T, T, T, T); B6(v, T, T, T, T, T, T);
^
libtest/Benchmark.c:66:1: note: in expansion of macro 'BrV'
BrV(P);
^
libtest/Benchmark.c:52:109: error: unused parameter 'a5' [-Werror=unused-parameter]
#define B6(R, T1, T2, T3, T4, T5, T6) R bench_##T1##T2##T3##T4##T5##T6##_##R(T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) {}
^
libtest/Benchmark.c:58:96: note: in expansion of macro 'B6'
#define BrV(T) B1(v, T); B2(v, T, T); B3(v, T, T, T); B4(v, T, T, T, T); B5(v, T, T, T, T, T); B6(v, T, T, T, T, T, T);
^
libtest/Benchmark.c:66:1: note: in expansion of macro 'BrV'
BrV(P);
^
libtest/Benchmark.c:52:116: error: unused parameter 'a6' [-Werror=unused-parameter]
#define B6(R, T1, T2, T3, T4, T5, T6) R bench_##T1##T2##T3##T4##T5##T6##_##R(T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) {}
^
libtest/Benchmark.c:58:96: note: in expansion of macro 'B6'
#define BrV(T) B1(v, T); B2(v, T, T); B3(v, T, T, T); B4(v, T, T, T, T); B5(v, T, T, T, T, T); B6(v, T, T, T, T, T, T);
^
libtest/Benchmark.c:66:1: note: in expansion of macro 'BrV'
BrV(P);
^
cc1: all warnings being treated as errors
make[2]: *** [build/libtest/Benchmark.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
debian/ruby-tests.rb:2: Failed to build test library (RuntimeError)
ERROR: Test "ruby1.8" failed. Exiting.
dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/tmp returned exit code 1
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2
More information about the Pkg-ruby-extras-maintainers
mailing list