Bug 220938 - www/mod_backtrace does not build in 11.0-RELEASE
Summary: www/mod_backtrace does not build in 11.0-RELEASE
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-23 09:23 UTC by P. Chevalier
Modified: 2017-07-23 12:51 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (freebsd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description P. Chevalier 2017-07-23 09:23:52 UTC
Trying to debug an apache 2.4 crash, I wanted to install mod_backtrace. No dice :

portmaster www/mod_backtrace

===>>> Port directory: /usr/ports/www/mod_backtrace

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for www/mod_backtrace in background
===>>> Gathering dependency list for www/mod_backtrace from ports
===>>> Initial dependency check complete for www/mod_backtrace


===>>> Starting build for www/mod_backtrace <<<===

===>>> All dependencies are up to date

===>  Cleaning for ap24-mod_backtrace-1.0_2
*********************** PLEASE NOTE! ***********************
Apache httpd must be built with the --enable-exception-hook
configure option and mod_so enabled.
*********************** PLEASE NOTE! ***********************
===>  License APACHE20 accepted by the user
===>   ap24-mod_backtrace-1.0_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by ap24-mod_backtrace-1.0_2 for building
===>  Extracting for ap24-mod_backtrace-1.0_2
=> SHA256 Checksum OK for mod_backtrace.c.
cp -f /usr/ports/distfiles//mod_backtrace.c /usr/ports/www/mod_backtrace/work
===>  Patching for ap24-mod_backtrace-1.0_2
===>   ap24-mod_backtrace-1.0_2 depends on file: /usr/local/sbin/apxs - found
===>  Configuring for ap24-mod_backtrace-1.0_2
===>  Building for ap24-mod_backtrace-1.0_2
===>  Generating apache plist
(cd /usr/ports/www/mod_backtrace/work && /usr/local/sbin/apxs -c -lexecinfo -L /usr/local/lib -o mod_backtrace.la mod_backtrace.c)
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing    -I/usr/local/include/apache24  -I/usr/local/include/apr-1   -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/usr/local/include/db5  -c -o mod_backtrace.lo mod_backtrace.c && touch mod_backtrace.slo
mod_backtrace.c:82:30: error: unknown type name 'ap_exception_info_t'
static int bt_exception_hook(ap_exception_info_t *ei)
                             ^
mod_backtrace.c:159:5: warning: implicit declaration of function 'ap_hook_fatal_exception' is invalid in C99 [-Wimplicit-function-declaration]
    ap_hook_fatal_exception(bt_exception_hook, NULL, NULL,
    ^
1 warning and 1 error generated.
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/mod_backtrace

===>>> make build failed for www/mod_backtrace
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> www/mod_backtrace

This command has been saved to /tmp/portmasterfail.txt
Comment 1 P. Chevalier 2017-07-23 09:48:56 UTC
Duh. I should have read the note more carefully. 

It builds once apache has been rebuilt WITH_DEBUG="YES"

Closing.