Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 22:37:40 GMT
From:      Boris Pasko <pasko.boris@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189844: dependent packages fail to build when python is built with both PTH and THREADS
Message-ID:  <201405152237.s4FMbeDP075929@cgiserv.freebsd.org>
Resent-Message-ID: <201405152240.s4FMe05A021953@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405152237.s4FMbeDP075929>