Bug#701262: coin3: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:20:22 UTC 2013


Package: src:coin3
Version: 3.1.3-2.2
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.

  cstdlib:174:20: error: declaration of C function 'long long int std::abs(long long int)' conflicts with

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/coin3_3.1.3-2.2_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.

[...]
   abs(long long __x) { return __builtin_llabs (__x); }
   ^
/usr/include/c++/4.8/cstdlib:179:19: error: declaration of C function '__int128 std::abs(__int128)' conflicts with
   abs(__int128 __x) { return __x >= 0 ? __x : -__x; }
                   ^
/usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here
   abs(long __i) { return __builtin_labs(__i); }
   ^
freetype.cpp: At global scope:
freetype.cpp:456:1: warning: unused parameter 'key' [-Wunused-parameter]
 clean_fontmap_hash(uintptr_t key, void * val, void * closure)
 ^
 g++ -DHAVE_CONFIG_H -I../../include -I../../include -I../../src -I../../src -D_REENTRANT -DCOIN_DEBUG=1 -DCOIN_INTERNAL -g -O2 -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts -Wparentheses -c win32.cpp -o win32.o >/dev/null 2>&1
freetype.cpp:456:1: warning: unused parameter 'closure' [-Wunused-parameter]
freetype.cpp:872:1: warning: unused parameter 'font' [-Wunused-parameter]
 cc_flwft_done_glyph(void * font, int glyph)
 ^
freetype.cpp:872:1: warning: unused parameter 'glyph' [-Wunused-parameter]
freetype.cpp:1133:1: warning: unused parameter 'user' [-Wunused-parameter]
 flwft_moveToCallback(FT_Vector * to, void * user)
 ^
freetype.cpp:1156:1: warning: unused parameter 'user' [-Wunused-parameter]
 flwft_lineToCallback(FT_Vector * to, void * user)
 ^
freetype.cpp:1174:1: warning: unused parameter 'user' [-Wunused-parameter]
 flwft_conicToCallback(FT_Vector * control, FT_Vector * to, void * user)
 ^
freetype.cpp:1229:1: warning: unused parameter 'user' [-Wunused-parameter]
 flwft_cubicToCallback(FT_Vector * control1, FT_Vector * control2, FT_Vector * to, void * user)
 ^
freetype.cpp:1394:1: warning: unused parameter 'vertex_data' [-Wunused-parameter]
 flwft_combineCallback(GLdouble coords[3], GLvoid * vertex_data, GLfloat weight[4], int **dataOut)
 ^
freetype.cpp:1394:1: warning: unused parameter 'weight' [-Wunused-parameter]
make[5]: *** [freetype.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
 g++ -DHAVE_CONFIG_H -I../../include -I../../include -I../../src -I../../src -D_REENTRANT -DCOIN_DEBUG=1 -DCOIN_INTERNAL -g -O2 -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts -Wparentheses -c default2dfont.cpp -o default2dfont.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I../../include -I../../include -I../../src -I../../src -D_REENTRANT -DCOIN_DEBUG=1 -DCOIN_INTERNAL -g -O2 -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts -Wparentheses -c fontlib_wrapper.cpp -o fontlib_wrapper.o >/dev/null 2>&1
make[5]: Leaving directory `/«PKGBUILDDIR»/src/fonts'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dh_auto_build: make -j10 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the debian-science-maintainers mailing list