ports/189844: dependent packages fail to build when python is built with both PTH and THREADS

Boris Pasko pasko.boris at gmail.com
Thu May 15 22:40:00 UTC 2014


>Number:         189844
>Category:       ports
>Synopsis:       dependent packages fail to build when python is built with both PTH and THREADS
>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:   Thu May 15 22:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Boris Pasko
>Release:        FreeBSD 10.0
>Organization:
N/A
>Environment:
FreeBSD serv6.home 10.0-RELEASE FreeBSD 10.0-RELEASE #4 r262530: Fri Feb 28 15:28:03 EST 2014 root at serv6.home:/usr/obj/usr/src/sys/SERV6.10 amd64
>Description:
When python is built with both options, seems like it excludes PTH support, but dependent packages (talloc as an example) THINK pthreads are available and fail to build:

http://www.freebsd.org/cgi/query-pr.cgi?pr=187979


>How-To-Repeat:
See http://www.freebsd.org/cgi/query-pr.cgi?pr=187979
>Fix:
Python.h:

#ifdef HAVE_PTH
/* GNU pth user-space thread support */
-#include <pth.h>
+#include <pth/pth.h>            # GWM
#endif

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list