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

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <147069448890.27803.7574424438094207284.reportbug__20175.153835635$1470694721$gmane$org@ikarus>
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 - [email protected]
 `. `'   Freie Universitaet Berlin - [email protected]
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.