Bug#902363: fix build with ld --as-needed

2018-07-04 Thread Alberto Bertogli

On Mon, Jul 02, 2018 at 10:05:53AM +0100, Chris Lamb wrote:

Hi Alberto,


>FYI I needed to clone the repo to get the "real" patch; does git-arr
>support getting the .diff directly?

Not yet. If you'd find this feature useful, it would be quite easy to
implement, so please let me know.


Please do so; I'm now a bit spoiled using it from $platform from doing
security updates where I don't particularly want to litter my harddrive
with countless repositories when I just want to pull a single patch out
of it...


Sure, I'll add this and let you know (off bug to avoid adding more noise).



>Oh, and git://blitiri.com.ar/libfiu
>failed for me… ;)

This is intentional, I disabled git:// a few months ago  [..] I
think I've updated all references in the documentation but please let
me know if something slipped.


The primary homepage, perhaps? eg. https://blitiri.com.ar/p/libfiu/  :)


Crap, thanks for letting me know :S

Fixed!

Alberto



Bug#902363: fix build with ld --as-needed

2018-07-02 Thread Chris Lamb
Hi Alberto,

> >FYI I needed to clone the repo to get the "real" patch; does git-arr
> >support getting the .diff directly?
> 
> Not yet. If you'd find this feature useful, it would be quite easy to 
> implement, so please let me know.

Please do so; I'm now a bit spoiled using it from $platform from doing
security updates where I don't particularly want to litter my harddrive
with countless repositories when I just want to pull a single patch out
of it...

> >Oh, and git://blitiri.com.ar/libfiu
> >failed for me… ;)
> 
> This is intentional, I disabled git:// a few months ago  [..] I
> think I've updated all references in the documentation but please let 
> me know if something slipped.

The primary homepage, perhaps? eg. https://blitiri.com.ar/p/libfiu/  :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#902363: fix build with ld --as-needed

2018-07-01 Thread Alberto Bertogli

On Sat, Jun 30, 2018 at 08:58:08PM +0100, Chris Lamb wrote:

tags 902363 + pending
thanks

Dear Alberto,


https://blitiri.com.ar/git/r/libfiu/c/633bd2ae5d89850fecf71161bc74f21c04904c5b/

Would you mind giving it a try?


Sure thing - uploaded!


Thanks!



FYI I needed to clone the repo to get the "real" patch; does git-arr
support getting the .diff directly?


Not yet. If you'd find this feature useful, it would be quite easy to 
implement, so please let me know.




Oh, and git://blitiri.com.ar/libfiu
failed for me… ;)


This is intentional, I disabled git:// a few months ago as it was almost 
never used and significantly less secure than the https transport.
I think I've updated all references in the documentation but please let 
me know if something slipped.


Thanks again,
Alberto



Bug#902363: fix build with ld --as-needed

2018-06-30 Thread Chris Lamb
tags 902363 + pending
thanks

Dear Alberto,
 
> https://blitiri.com.ar/git/r/libfiu/c/633bd2ae5d89850fecf71161bc74f21c04904c5b/
> 
> Would you mind giving it a try?

Sure thing - uploaded!

FYI I needed to clone the repo to get the "real" patch; does git-arr
support getting the .diff directly? Oh, and git://blitiri.com.ar/libfiu
failed for me… ;)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#902363: fix build with ld --as-needed

2018-06-30 Thread Alberto Bertogli

On Sat, Jun 30, 2018 at 08:39:47AM +0100, Chris Lamb wrote:

Chris Lamb wrote:


Hi Matthias & Alberto,

> Fix the build with ld --as-needed.
>
> patch at
> http://launchpadlibrarian.net/375907137/libfiu_0.96-3_0.96-3ubuntu1.diff.gz

Alberto, any thoughts on this? :)


Interesting!


Indeed, in my amd64 laptop running debian testing:

$ gcc -Wl,--as-needed -x c /dev/null -lc -shared -o build-libccheck.so
$ ldd build-libccheck.so
   statically linked

This breaks the ability to build the posix preloader, as we cannot find 
the libc soname from this (libc is not linked in, despite the -lc).


clang does not exhibit this behaviour, but that might be a matter of 
time.



I've submitted a different fix in the "next" branch, which makes the 
dummy library actually use a libc function, so it has to be linked in.

This _should_ make the build a bit more robust in a more generic way.

https://blitiri.com.ar/git/r/libfiu/c/633bd2ae5d89850fecf71161bc74f21c04904c5b/

Would you mind giving it a try?



Gentle ping? :)


Sorry for the delay, I was away on holidays and just came back!

Thanks!
Alberto



Bug#902363: fix build with ld --as-needed

2018-06-30 Thread Chris Lamb
Chris Lamb wrote:

> Hi Matthias & Alberto,
>  
> > Fix the build with ld --as-needed.
> > 
> > patch at
> > http://launchpadlibrarian.net/375907137/libfiu_0.96-3_0.96-3ubuntu1.diff.gz
> 
> Alberto, any thoughts on this? :)

Gentle ping? :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#902363: fix build with ld --as-needed

2018-06-25 Thread Chris Lamb
Hi Matthias & Alberto,
 
> Fix the build with ld --as-needed.
> 
> patch at
> http://launchpadlibrarian.net/375907137/libfiu_0.96-3_0.96-3ubuntu1.diff.gz

Alberto, any thoughts on this? :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#902363: fix build with ld --as-needed

2018-06-25 Thread Matthias Klose

Package: src:libfiu
Version: 0.96-3
Severity: important
Tags: patch sid buster

Fix the build with ld --as-needed.

patch at
http://launchpadlibrarian.net/375907137/libfiu_0.96-3_0.96-3ubuntu1.diff.gz