Date: Tue, 26 Feb 2013 03:03:31 GMT From: Han Hwei Woo <han+freebsd@astutehosting.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/176434: devel/commoncpp fails to compile Message-ID: <201302260303.r1Q33VFn061002@red.freebsd.org> Resent-Message-ID: <201302260310.r1Q3A07j004591@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 176434 >Category: ports >Synopsis: devel/commoncpp fails to compile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 26 03:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Han Hwei Woo >Release: 9.1-RELEASE >Organization: Astute Hosting Incorporated >Environment: FreeBSD packages 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: devel/commoncpp fails to compile due to missing IFNAMSIZ being undefined, with the following error: libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I/usr/local/include -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE -D_GNU_SOURCE -I/usr/local/include -I../inc -O2 -pipe -fno-strict-aliasing -MT nat.lo -MD -MP -MF .deps/nat.Tpo -c nat.cpp -fPIC -DPIC -o .libs/nat.o In file included from /usr/include/netinet/ip_compat.h:929, from nat.cpp:88: /usr/include/net/if_var.h:125: error: 'IFNAMSIZ' was not declared in this scope /usr/include/net/if_var.h:151: error: field 'if_data' has incomplete type /usr/include/net/if_var.h:718: error: field 'if_data' has incomplete type gmake[2]: *** [nat.lo] Error 1 gmake[2]: Leaving directory `/var/ports/basejail/usr/ports/devel/commoncpp/work/commoncpp2-1.8.1/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/ports/basejail/usr/ports/devel/commoncpp/work/commoncpp2-1.8.1' gmake: *** [all] Error 2 *** Error code 1 Stop in /basejail/usr/ports/devel/commoncpp. >How-To-Repeat: Try to compile devel/commoncpp currently in ports. # New ports collection makefile for: CommonC++ # Date created: 25 July 2000 # Whom: David Sugar <dyfet@gnu.org> # # $FreeBSD: ports/devel/commoncpp/Makefile,v 1.43 2013/02/14 10:22:06 svnexp Exp $ # PORTNAME= commoncpp PORTVERSION= 1.8.1 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= GNU DISTNAME= ${PORTNAME:S/$/2/}-${PORTVERSION} >Fix: --- nat.cpp 2010-10-31 17:19:55.000000000 -0700 +++ nat.cpp.new 2013-02-25 18:49:26.603131885 -0800 @@ -42,6 +42,7 @@ **/ #include <cc++/config.h> +#include <net/if.h> #include "nat.h" #ifdef CCXX_NAT >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302260303.r1Q33VFn061002>