Bug 254753 - www/php-extensions: Fails to compile DEBUG with Apache mpm_event
Summary: www/php-extensions: Fails to compile DEBUG with Apache mpm_event
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-03 22:21 UTC by Danny McGrath
Modified: 2021-04-03 22:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny McGrath 2021-04-03 22:21:50 UTC
Hi,

Perhaps I should start off by mentioning that this report is related to the following reports:

  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254752
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245034

So apologies in advance for the noise!

TL;DR: I am unable to compile PHP with DEBUG due to having ZTS forced. If I disable ZTS, then I get problems with XML and a half dozen other extensions:

===>   php73-pear-1.10.12 depends on file: /usr/local/lib/php/20180731-zts/xml.so - not found
*** Error code 1

I am using 2021Q1 on 11.4 atm, and need to get a DEBUG build going to look into some problems with mod_mpm_event:

* thread #19, name = 'httpd', stop reason = signal SIGHUP
  * frame #0: 0x0000000801cab0fa libc.so.7`__sys_thr_kill + 10
    frame #1: 0x00000008019cea0a libthr.so.3`_pthread_kill + 170
    frame #2: 0x00000008066f829c mod_mpm_event.so`___lldb_unnamed_symbol30$$mod_mpm_event.so + 284
    frame #3: 0x00000008066f9846 mod_mpm_event.so`___lldb_unnamed_symbol38$$mod_mpm_event.so + 310
    frame #4: 0x00000008019c608c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348


Any insight into this would be appreciated, thanks!