<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font size="2"><span style="font-size:10pt;">Package: flint<br>
Version: 2.5.2-5<br>
Severity: normal<br>
Tags: sid + patch<br>
Justification: FTBFS<br>
User: debian-mips@lists.debian.org<br>
Usertags: mips-patch<br>
<br>
Hello,<br>
<br>
Package flint_2.5.2-5 FTBFS on mips64el with following error:<br>
<br>
> In file included from printf.c:32:0:<br>
> gmpcompat.h: In function 'flint_mpf_fits_slong_p':<br>
> flint.h:113:18: error: 'LLONG_MAX' undeclared (first use in this function)<br>
> #define WORD_MAX LLONG_MAX<br>
<br>
> flint.h:114:18: error: 'LLONG_MIN' undeclared (first use in this function)<br>
> #define WORD_MIN LLONG_MIN<br>
<br>
build log:<br>
<a href="https://buildd.debian.org/status/fetch.php?pkg=flint&arch=mips64el&ver=2.5.2-5&stamp=1463208762" target="_blank">https://buildd.debian.org/status/fetch.php?pkg=flint&arch=mips64el&ver=2.5.2-5&stamp=1463208762</a><br>
<br>
The problem occurs because of the use -ansi flag.<br>
When this flag is used on mips64, LLONG_MAX and LLONG_MIN will not be defined.<br>
<br>
> ifdef __USE_ISOC99<br>
> /* Minimum and maximum values a `signed long long int' can hold. */<br>
><br>
>    define LLONG_MAX 9223372036854775807LL<br>
>    define LLONG_MIN (-LLONG_MAX - 1LL)<br>
<br>
I have created and attached a patch which removes -ansi flag.<br>
With this patch package was build successfully for mips64el, mipsel, i386, amd64<br>
<br>
Thank you!<br>
<br>
Regards,<br>
Radovan</span></font></div>
</body>
</html>