Bug#873715: includes -R (-rpath) in libidn2.pc file

2017-08-30 Thread Andreas Metzler
On 2017-08-30 Dmitry Eremin-Solenikov  wrote:
> 2017-08-30 18:35 GMT+03:00 Tim Rühsen :
[...]
>> How does the -R come into your .pc file ?

> Probably from LTLIBUNISTRING. See:

> $ cat /usr/lib/x86_64-linux-gnu/pkgconfig/libidn2.pc
> prefix=/usr
> exec_prefix=${prefix}
> includedir=${prefix}/include
> libdir=${prefix}/lib/x86_64-linux-gnu

> Name: libidn2
> Description: Library implementing IDNA2008 and TR46
> Version: 2.0.2
> Cflags: -I${includedir}
> Libs: -L${libdir} -lidn2
> Libs.private:  -L/usr/lib/x86_64-linux-gnu -lunistring
> -R/usr/lib/x86_64-linux-gnu

./configure --disable-rpath
will probably help.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



Bug#873715: includes -R (-rpath) in libidn2.pc file

2017-08-30 Thread Dmitry Eremin-Solenikov
2017-08-30 18:35 GMT+03:00 Tim Rühsen :
> On 08/30/2017 01:55 PM, Dmitry Eremin-Solenikov wrote:
>> Package: libidn2-dev
>> Version: 2.0.2-3
>> Severity: normal
>>
>> Hi,
>>
>> libidn2.pc includes -R option in Libs.private section of the file. It
>> does not make sense, especially because this option points to the
>> standard libaries dir (/usr/lib/x86_64-linux-gnu/ in my case). Could you
>> please strip that option?
>>
>
> I can't remember that we recently changed libidn2.pc.in.
>
> The current libidn2.pc.in looks like:
>
> prefix=@prefix@
> exec_prefix=@exec_prefix@
> includedir=@includedir@
> libdir=@libdir@
>
> Name: libidn2
> Description: Library implementing IDNA2008 and TR46
> Version: @PACKAGE_VERSION@
> Cflags: -I${includedir}
> Libs: -L${libdir} -lidn2
> Libs.private: @LTLIBICONV@ @LTLIBUNISTRING@
>
>
> How does the -R come into your .pc file ?

Probably from LTLIBUNISTRING. See:

$ cat /usr/lib/x86_64-linux-gnu/pkgconfig/libidn2.pc
prefix=/usr
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${prefix}/lib/x86_64-linux-gnu

Name: libidn2
Description: Library implementing IDNA2008 and TR46
Version: 2.0.2
Cflags: -I${includedir}
Libs: -L${libdir} -lidn2
Libs.private:  -L/usr/lib/x86_64-linux-gnu -lunistring
-R/usr/lib/x86_64-linux-gnu

-- 
With best wishes
Dmitry



Bug#873715: includes -R (-rpath) in libidn2.pc file

2017-08-30 Thread Tim Rühsen
On 08/30/2017 01:55 PM, Dmitry Eremin-Solenikov wrote:
> Package: libidn2-dev
> Version: 2.0.2-3
> Severity: normal
> 
> Hi,
> 
> libidn2.pc includes -R option in Libs.private section of the file. It
> does not make sense, especially because this option points to the
> standard libaries dir (/usr/lib/x86_64-linux-gnu/ in my case). Could you
> please strip that option?
> 

I can't remember that we recently changed libidn2.pc.in.

The current libidn2.pc.in looks like:

prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
libdir=@libdir@

Name: libidn2
Description: Library implementing IDNA2008 and TR46
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lidn2
Libs.private: @LTLIBICONV@ @LTLIBUNISTRING@


How does the -R come into your .pc file ?

Regards, Tim



signature.asc
Description: OpenPGP digital signature


Bug#873715: includes -R (-rpath) in libidn2.pc file

2017-08-30 Thread Dmitry Eremin-Solenikov
Package: libidn2-dev
Version: 2.0.2-3
Severity: normal

Hi,

libidn2.pc includes -R option in Libs.private section of the file. It
does not make sense, especially because this option points to the
standard libaries dir (/usr/lib/x86_64-linux-gnu/ in my case). Could you
please strip that option?

-- 
With best wishes
Dmitry

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libidn2-dev depends on:
ii  libidn2-0  2.0.2-3

libidn2-dev recommends no packages.

libidn2-dev suggests no packages.

-- no debconf information