Hi,

Thanks for submitting this bug report.

On 09/17/2013 12:30 PM, YunQiang Su wrote:
> Package: cln
> Version: 1.3.3-1
> X-Debbugs-CC: [email protected]
> 
> This package has one or more -L/usr/lib in its build system,
> which will make it ftbfs if there is libraries under /usr/lib,
> while is not the default architecture, mips* for example.

The only place I'm aware of is in m4/gmp.m4:119, but only if configure
is invoked with --with-gmp=/some/other/prefix, which is not the case for
the Debian package build.

The intent of that M4 macro is to make CLN's uintD match GMP's mp_limb_t
in size.

> The attachement is the buildlog of this package on mips64el platform.

Let's see: configure tests sizeof(mp_limb_t) and appears to find that it
is the same as sizeof(long), so it defines GMP_DEMANDS_UINTD_LONG.

Later, in the conversion error where it bails out, the compiler claims a
uintD* is an unsigned int*. Shouldn't include/cln/types.h:120 have
defined it as an unsigned long*?

I think that should be clarified first. Please try to find that out.
(Sorry, I don't see what it has to do with -L/usr/lib.)

Best
  -richy.
-- 
  .''`.  Richard B. Kreckel
 : :' :  <[email protected]>
 `. `'   <[email protected]>
   `-    <http://www.ginac.de/~kreckel/>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to