Bug#805847: libnet-mac-vendor-perl: Apache/mod_perl silently does not start if Net::MAC::Vendor 1.25-1 is used (regression from 1.23-1)

gregor herrmann gregoa at debian.org
Sun Dec 13 15:05:23 UTC 2015


On Wed, 09 Dec 2015 19:02:54 +0200, Niko Tyni wrote:

> Thanks for the recipe. I looked into this a bit, and replacing 'use
> Net::MAC::Vendor' with 'use EV' triggers it too. Apache dies with SIGSEGV,
> backtrace below. It goes away if libev-perl is built with EV_NO_ATFORK
> defined, so it's the __register_atfork() call in EV.xs:541 or so that
> causes it somehow. Presumably the event loop hooking into fork() breaks
> when it's mod_perl2 doing the forking.

So maybe we should just set the EV_NO_ATFORK define? Works with a
simple

override_dh_auto_configure:
       EV_EXTRA_DEFS="-DEV_NO_ATFORK" dh_auto_configure


Pushing to git now but waiting for further comments ... 


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Van Morrison: My Brown-Eyed Girl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20151213/b1186b4c/attachment.sig>


More information about the pkg-perl-maintainers mailing list