From nobody@FreeBSD.org  Sat Nov 28 13:14:37 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CBD36106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Nov 2009 13:14:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A187C8FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Nov 2009 13:14:37 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nASDEbS8047704
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Nov 2009 13:14:37 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nASDEaoN047703;
	Sat, 28 Nov 2009 13:14:36 GMT
	(envelope-from nobody)
Message-Id: <200911281314.nASDEaoN047703@www.freebsd.org>
Date: Sat, 28 Nov 2009 13:14:36 GMT
From: Kazuo Dohzono <dohzono@axion-software.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: x11-toolkits/py-tkinter(devel/pth): py26-tkinter-2.6.4_3 build error with pth.h
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         140968
>Category:       ports
>Synopsis:       x11-toolkits/py-tkinter(devel/pth): py26-tkinter-2.6.4_3 build error with pth.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 28 13:20:01 UTC 2009
>Closed-Date:    Sun Jul 22 09:47:26 UTC 2012
>Last-Modified:  Sun Jul 22 09:47:26 UTC 2012
>Originator:     Kazuo Dohzono
>Release:        FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD abacus3 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Nov 28 16:55:27 JST 2009    
dohzono@abacus3:/usr/local/tmp/obj/usr/src/sys/GENERIC  i386

>Description:
This may be related with ports/140882, and devel/pth. 

# cd /usr/ports/x11-toolskits/py-tkinter
# make clean all
===>  Cleaning for py26-tkinter-2.6.4_3
===>  Extracting for py26-tkinter-2.6.4_3
=> MD5 Checksum OK for python/Python-2.6.4.tgz.
=> SHA256 Checksum OK for python/Python-2.6.4.tgz.
===>  Patching for py26-tkinter-2.6.4_3
===>   py26-tkinter-2.6.4_3 depends on file: /usr/local/bin/python2.6 - found
===>   py26-tkinter-2.6.4_3 depends on shared library: tk84 - found
===>  Configuring for py26-tkinter-2.6.4_3
running config
===>  Building for py26-tkinter-2.6.4_3
running build
running build_ext
building '_tkinter' extension
creating build
creating build/temp.freebsd-8.0-STABLE-i386-2.6
cc -DNDEBUG -O2 -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000
-fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_APPINIT=1
-I/usr/local/include -I/usr/local/include/tcl8.4 -I/usr/local/include/tk8.4
-I/usr/local/include -I/usr/local/include/python2.6 -c _tkinter.c -o
build/temp.freebsd-8.0-STABLE-i386-2.6/_tkinter.o
In file included from _tkinter.c:25:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
error: command 'cc' failed with exit status 1
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-tkinter.
#

>How-To-Repeat:
1) configure python-2.6 as below:

> # This file is auto-generated by 'make config'.
> # No user-servicable parts inside!
> # Options for python26-2.6.2_2
> _OPTIONS_READ=python26-2.6.2_2
> WITH_THREADS=true
> WITHOUT_HUGE_STACK_SIZE=true
> WITHOUT_SEM=true
> WITH_PTH=true
> WITH_UCS4=true
> WITH_PYMALLOC=true
> WITH_IPV6=true
> WITHOUT_FPECTL=true

2) build x11-toolskits/py-tkinter

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->perky 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Nov 28 13:20:18 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140968 
Responsible-Changed-From-To: perky->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun May 23 21:29:10 UTC 2010 
Responsible-Changed-Why:  
Maintainer was reset. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140968 
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: lwhsu 
Responsible-Changed-When: Sun Aug 22 13:52:07 UTC 2010 
Responsible-Changed-Why:  
Canonicalize assignment. 

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

From: Eir Nym <eirnym@gmail.com>
To: bug-followup@freebsd.org, dohzono@axion-software.com
Cc:  
Subject: Re: ports/140968: x11-toolkits/py-tkinter(devel/pth):
 py26-tkinter-2.6.4_3 build error with pth.h
Date: Fri, 1 Apr 2011 11:29:43 +0400

 This is not specific only for py-tkinter. This problem exists with
 other python ports, which needed to be compilled by cc.
State-Changed-From-To: open->closed 
State-Changed-By: mva 
State-Changed-When: Sun Jul 22 09:47:25 UTC 2012 
State-Changed-Why:  
This should be fixed with ports/168767 now 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140968 
>Unformatted:
