Bug#790781: FTBFS with GCC 5: error: mp.h: No such file or directory

Martin Michlmayr tbm at hp.com
Wed Jul 1 17:01:34 UTC 2015


Package: netrek-client-cow
Version: 3.3.0-3
Severity: serious
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

netrek-client-cow fails to build with GCC 5.  Even though the
configure script finds gmp.h, HAVE_GMP2_H is not set, therefore mp.h
is used instead of gmp.h.

> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c4n1.hlinux.usa.hp.com
...
> checking X11/xpm.h presence... no
> checking for X11/xpm.h... no
> checking for gmp.h... yes
> 	RSA utilities for COW build found.
> checking for main in -lXbsd... no
...
> make -f system.mk KEYDEF=sample_key.def netrek-client-cow
> make[2]: Entering directory '/«PKGBUILDDIR»'
> gcc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -fPIE  -fstack-protector-strong  -D_FORTIFY_SOURCE=2  -Wformat -Wformat-security -Werror=format-security  -DRSA -Iyes/include  -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed  -fPIE -pie  -Wl,-z,relro  -Wl,-z,now   -Iyes/include  -o mkkey mkkey.c  -Lyes/lib -lgmp -lX11 -lnsl -lm   -L/usr/lib/aarch64-linux-gnu -lSDL -lSDL_mixer -lXxf86vm -L/usr/lib/aarch64-linux-gnu -lImlib2
> mkkey.c:81:16: fatal error: mp.h: No such file or directory
> compilation terminated.
> system.mk:147: recipe for target 'mkkey' failed
> make[2]: *** [mkkey] Error 1
> make[2]: Leaving directory '/«PKGBUILDDIR»'

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard



More information about the Pkg-games-devel mailing list