Bug#723259: cln link with -L/usr/lib

2013-09-18 Thread Richard B. Kreckel
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: wzss...@gmail.com
 
 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
 : :' :  krec...@debian.org
 `. `'   krec...@ginac.de
   `-http://www.ginac.de/~kreckel/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#723259: cln link with -L/usr/lib

2013-09-17 Thread YunQiang Su
Package: cln
Version: 1.3.3-1
X-Debbugs-CC: wzss...@gmail.com

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.

On mips* systems, /usr/lib is defined as place to hold O32
libraries, and /usr/lib32 for N32, and /usr/lib64 is for N64.

Beside the way, on the multiarch system like Debian, user may install
libraries under /usr/lib by hand.

Please use the default search path if you can, and please consider fix
this.

I will try to fix this bug, while if you can help to fix it, 
It will be very appreciative.

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


cln_1.3.3-1_mips64el.build.xz
Description: Binary data