From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 18 01:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B1A4ED8A for ; Fri, 18 Jan 2013 01:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 98B82206 for ; Fri, 18 Jan 2013 01:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0I1U09L000532 for ; Fri, 18 Jan 2013 01:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0I1U0fv000531; Fri, 18 Jan 2013 01:30:00 GMT (envelope-from gnats) Resent-Date: Fri, 18 Jan 2013 01:30:00 GMT Resent-Message-Id: <201301180130.r0I1U0fv000531@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Coursey Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A6A36C88 for ; Fri, 18 Jan 2013 01:28:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 985EA1E8 for ; Fri, 18 Jan 2013 01:28:26 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0I1SQDr068238 for ; Fri, 18 Jan 2013 01:28:26 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0I1SQfW068237; Fri, 18 Jan 2013 01:28:26 GMT (envelope-from nobody) Message-Id: <201301180128.r0I1SQfW068237@red.freebsd.org> Date: Fri, 18 Jan 2013 01:28:26 GMT From: David Coursey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175390: ntop port fails if python27 is configured with PTH X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2013 01:30:00 -0000 >Number: 175390 >Category: ports >Synopsis: ntop port fails if python27 is configured with PTH >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jan 18 01:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: David Coursey >Release: 9.1-RELEASE >Organization: Root Security >Environment: FreeBSD fw 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: Installed a very minimal system to act as a bridging firewall. After the bridge and pf were working tried to install ntop-5.0.1. Installing the ntop port failed with the errors outlined below. The full install log is here: http://pastebin.com/4Vgvk9yj My forum post that was solved is here: http://forums.freebsd.org/showthread.php?t=37024 Here are the last few lines of the error: /usr/local/include/pth/pth.h:577:1: warning: "sendto" redefined In file included from ntop.h:254, from globals-core.c:26: /usr/local/include/pth/pthread.h:535:1: warning: this is the location of the previous definition In file included from /usr/local/include/python2.7/Python.h:166, from ntop.h:485, from globals-core.c:26: /usr/local/include/pth/pth.h:578:1: warning: "pread" redefined In file included from ntop.h:254, from globals-core.c:26: /usr/local/include/pth/pthread.h:536:1: warning: this is the location of the previous definition In file included from /usr/local/include/python2.7/Python.h:166, from ntop.h:485, from globals-core.c:26: /usr/local/include/pth/pth.h:579:1: warning: "pwrite" redefined In file included from ntop.h:254, from globals-core.c:26: /usr/local/include/pth/pthread.h:537:1: warning: this is the location of the previous definition In file included from ntop.h:523, from globals-core.c:26: globals-core.h:900:1: warning: "sleep" redefined In file included from /usr/local/include/python2.7/Python.h:166, from ntop.h:485, from globals-core.c:26: /usr/local/include/pth/pth.h:562:1: warning: this is the location of the previous definition gmake[2]: *** [globals-core.lo] Error 1 gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop-5.0.1' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop-5.0.1' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/net/ntop. *** [install] Error code 1 Stop in /usr/ports/net/ntop. root@fw:/usr/ports/net/ntop # >How-To-Repeat: 1. Install 9.1-RELEASE 2. Install ntop from ports 3. Receive error 4. Disable python27 PTH 5. Install ntop successfully >Fix: Compile Python 2.7 with PTH disabled. >Release-Note: >Audit-Trail: >Unformatted: