Bug 220761 - www/apache24 With option HTTP2=on build failure needs PROXY_BALANCER
Summary: www/apache24 With option HTTP2=on build failure needs PROXY_BALANCER
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-16 11:51 UTC by dewayne
Modified: 2017-10-10 06:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dewayne 2017-07-16 11:51:33 UTC
During apache24 (2.4.27) build, the error log reads
# cat port_log-79948-apache24.ZEkVl0gt
===>  apache24-2.4.27 PROXY_HTTP2 needs PROXY_BALANCER.
*** Error code 1

Proxying is not enabled.  As 
# make -C /usr/ports/www/apache24 showconfig | grep =on | grep -iE "http2|proxy|balanc"
     HTTP2=on: HTTP/2 (RFC 7540) support
#
shows.

Platforms: portmaster on both i386 and amd64 FreeBSD 11.1-PRERELEASE #0 r320703M: Thu Jul  6  i386 1101501 1101501.
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2017-10-08 10:52:26 UTC
Hi Dewayne,

Can you check if you still have this error when you update to 2.4.28 (patch in https://bugs.freebsd.org/222814)?

I've just built 2.4.28 will all proxy modules disabled (same one line with the showconfig output) and I'm not experiencing the error.

Cheers,

Bernard.
Comment 2 dewayne 2017-10-09 23:15:14 UTC
(In reply to Bernard Spil from comment #1)
Thank-you Bernard.  

I performed the following on i386 & amd64:
# curl -ko /tmp/apache248.diff https://bz-attachments.freebsd.org/'attachment.cgi?id=186940'
# cd /usr/ports
# patch < /tmp/apache248.diff
# make -C /usr/ports/www/apache24 package
Installed the package, tested, put into production on very lightly used i386. All fine.  :)
(Of course I ran a few more tests than portrayed)

The relevant options are:
# make -C /usr/ports/www/apache24 showconfig | grep -iE "HTTP2|PROXY_BAL"
     HTTP2=on: HTTP/2 (RFC 7540) support
     PROXY_BALANCER=off: mod_proxy extension for load balancing
     PROXY_HTTP2=off: Experimental http2 proxy module for h2 and h2c
actually all setting PROXY_* are off.

And
# httpd -t -D DUMP_MODULES|grep http2
 http2_module (shared)

I appreciate the effort.
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2017-10-10 06:51:07 UTC
Good to hear that this is solved in the new version.

Thanks for reporting.