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

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Mon Aug 8 22:14:48 UTC 2016


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

Hello!

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].

Thanks!
Adrian

> [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 at debian.org
 `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the debian-science-maintainers mailing list