Bug 204293 - www/apache24: does not compile in poudriere with HTTP2 enabled
Summary: www/apache24: does not compile in poudriere with HTTP2 enabled
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 mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-04 18:10 UTC by Matthias Fechner
Modified: 2015-11-04 18:39 UTC (History)
1 user (show)

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


Attachments
Fixes build problem with option HTTP2 enabled (309 bytes, patch)
2015-11-04 18:10 UTC, Matthias Fechner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fechner freebsd_committer 2015-11-04 18:10:11 UTC
Created attachment 162784 [details]
Fixes build problem with option HTTP2 enabled

Compiling apache24 version 2.4.17 fail with option HTTP2 enabled in poudriere.
The error message found is:
configure:18238: checking for user-provided nghttp2 base directory
configure:18251: result: none
configure:18589: checking for nghttp2 version >= 1.0.0
configure:18608: cc -c -O2 -pipe  -I/usr/include -fstack-protector -fno-strict-aliasing   conftest.c >&5
conftest.c:42:10: fatal error: 'nghttp2/nghttp2ver.h' file not found
#include <nghttp2/nghttp2ver.h>
         ^
1 error generated.

The attached patch fixes the problem.
Comment 1 Olli Hauer freebsd_committer 2015-11-04 18:34:46 UTC
Oh, this was lost in the last update.
Thanks for the report, update is on the way!
Comment 2 commit-hook freebsd_committer 2015-11-04 18:39:23 UTC
A commit references this bug:

Author: ohauer
Date: Wed Nov  4 18:38:59 UTC 2015
New revision: 400752
URL: https://svnweb.freebsd.org/changeset/ports/400752

Log:
  - fix build with nghttp2

  no version bump as OPTION is off by default

  PR:		204293
  Submitted by:	<idefix_at_fechner.net>

Changes:
  head/www/apache24/Makefile
Comment 3 Olli Hauer freebsd_committer 2015-11-04 18:39:54 UTC
Fix committed,
 Thanks!