Thanks for your investigations and mails, that makes it a bit clearer
for me :)

Still, I'm not sure how to proceed:


On Mon, 11 Jul 2022 11:11:16 +0100, Niko Tyni wrote:

> apt-cacher is using $SIG{__DIE__}, which triggers even in eval blocks,
> and doing an exit(1) from there.
[…]
> I'd say this is not a bug in liburi-perl.


On Mon, 11 Jul 2022 12:15:12 +0200, Robert Luberda wrote:

> Yes, but it looks like apt-cacher seems to set its own SIG{__DIE__} handler.
[…]
> I've just checked that adding
>   local $SIG{__DIE__};
> here (i.e. before the require line) fixes the issue with apt-cacher for me.

Thanks!
 
> > But may as well move libregexp-ipv6-perl to Depends, I guess.
> Probably yes, but IMHO it would be better to restore default __DIE__
> handler.

Hm, ok …


So we have:
- do nothing
- patch URI to restart the default signal handler in the eval
- (reassign? and) do something in apt-cacher


Cheers,
gregor


-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital Signature

Reply via email to