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

Bug#833817: kido: FTBFS on non-x86 architectures due to hard-wired compiler flags

Source: kido
Version: 0.1.0+dfsg-1
Severity: important


Your package fails to build from source on all non-x86 architectures because the
build system hard-wires the compiler flags to use x86-specific flags like "-msse2":

[  0%] Building CXX object kido/CMakeFiles/kido.dir/common/Console.cpp.o
cd /<<BUILDDIR>>/kido-0.1.0+dfsg/build/kido && /usr/bin/c++   -DBOOST_TEST_DYN_LINK -DHAVE_BULLET_COLLISION -Dkido_EXPORTS -I/<<BUILDDIR>>/kido-0.1.0+dfsg -isystem /usr/include/eigen3 -isystem /usr/include/bullet -I/<<BUILDDIR>>/kido-0.1.0+dfsg/build  -Wall -msse2 -fPIC -std=c++11 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/kido-0.1.0+dfsg=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   -I/usr/include/bullet -o CMakeFiles/kido.dir/common/Console.cpp.o -c /<<BUILDDIR>>/kido-0.1.0+dfsg/kido/common/Console.cpp
c++: error: unrecognized command line option '-msse2'
kido/CMakeFiles/kido.dir/build.make:65: recipe for target 'kido/CMakeFiles/kido.dir/common/Console.cpp.o' failed
make[4]: *** [kido/CMakeFiles/kido.dir/common/Console.cpp.o] Error 1

Please modify the CFLAGS used to make your package build on all architectures!

Full build log available in [1].


> [1] https://buildd.debian.org/status/fetch.php?pkg=kido&arch=sparc64&ver=0.1.0%2Bdfsg-1&stamp=1470693049

 .''`.  John Paul Adrian Glaubitz
 : :' :  Debian Developer - glaubitz@debian.org
 `. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply to: