Bug#864309: Bug: #864309: pgloader: crashes on startup if libssl1.0.2 is not installed

2017-06-07 Thread Adrian Bunk
On Tue, Jun 06, 2017 at 08:28:42PM +0200, Michael Banck wrote:
> On Tue, Jun 06, 2017 at 07:54:41PM +0200, Michael Banck wrote:
> > If I install libssl1.0.2, it no longer crashes.  
> [...]
> > Maybe a band-aid for stretch would be to manually add the libssl1.0.2
> > Depends?
> 
> Probably still the best idea.
> 
> > Just rebuilding the package does not help, as libssl1.0.2 get dragged
> > in via Build-Depends.  I tried to rebuild cl-plus-ssl as well, but
> > that does not help either.
> 
> If I patch cl-plus-ssl's src/reload.lisp to also try libssl1.1 and
> rebuild pgloader against that, it no longer crashes.  Though I just
> smoke-tested it, no idea whether SSL support would actually work then...

Note that this won't fix the missing dependency, both libssl1.0.2 
and libssl1.1 might not be installed on a stretch system.

> Michael 

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#864309: Bug: #864309: pgloader: crashes on startup if libssl1.0.2 is not installed

2017-06-06 Thread Michael Banck
On Tue, Jun 06, 2017 at 07:54:41PM +0200, Michael Banck wrote:
> If I install libssl1.0.2, it no longer crashes.  
[...]
> Maybe a band-aid for stretch would be to manually add the libssl1.0.2
> Depends?

Probably still the best idea.

> Just rebuilding the package does not help, as libssl1.0.2 get dragged
> in via Build-Depends.  I tried to rebuild cl-plus-ssl as well, but
> that does not help either.

If I patch cl-plus-ssl's src/reload.lisp to also try libssl1.1 and
rebuild pgloader against that, it no longer crashes.  Though I just
smoke-tested it, no idea whether SSL support would actually work then...


Michael