Bug 214693

Summary: www/nghttp2: Fails to build after update to 1.16.1
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: mfechner, sunpoet, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
tobik: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://pkg.tobik.me/FreeBSD/nghttp2-1.16.1.log

Description Tobias Kortkamp freebsd_committer freebsd_triage 2016-11-20 14:17:33 UTC
In a Poudriere FreeBSD 10.3/amd64 jail:

libnghttpx.a(libnghttpx_a-shrpx_log_config.o): In function `shrpx::log_config()':
shrpx_log_config.cc:(.text+0x106): undefined reference to `__cxa_thread_atexit'

See the URL for the full build log.  Enabled options were APP, SPDY, HPACK.  Building with both APP and SPDY disabled works fine.
Comment 1 Walter Schwarzenfeld 2016-11-20 22:39:41 UTC
At least as workaround:
Add in the Makefile to CONFIGURE_ARGS
--disable-threads
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-11-21 11:59:06 UTC
Please update ports tree and try again. It should be fixed in r426639. Thanks!
Comment 3 Tobias Kortkamp freebsd_committer freebsd_triage 2016-11-21 15:13:43 UTC
(In reply to Sunpoet Po-Chuan Hsieh from comment #2)
Yes, it builds now. Thanks!