ports/175390: ntop port fails if python27 is configured with PTH

David Coursey dcoursey at gmail.com
Fri Jan 18 01:30:00 UTC 2013


>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 at 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 at 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:


More information about the freebsd-ports-bugs mailing list