From ohauer@gmx.de  Thu Jun 11 20:47:00 2009
Return-Path: <ohauer@gmx.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1EA6C106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Jun 2009 20:47:00 +0000 (UTC)
	(envelope-from ohauer@gmx.de)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by mx1.freebsd.org (Postfix) with SMTP id 683528FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Jun 2009 20:46:59 +0000 (UTC)
	(envelope-from ohauer@gmx.de)
Received: (qmail invoked by alias); 11 Jun 2009 20:46:57 -0000
Received: from u18-124.dsl.vianetworks.de (EHLO u18-124.dsl.vianetworks.de) [194.231.39.124]
  by mail.gmx.net (mp010) with SMTP; 11 Jun 2009 22:46:57 +0200
Received: by u18-124.dsl.vianetworks.de (Postfix, from userid 1100)
	id C0BFF2613F; Thu, 11 Jun 2009 22:46:54 +0200 (CEST)
Message-Id: <20090611204654.C0BFF2613F@u18-124.dsl.vianetworks.de>
Date: Thu, 11 Jun 2009 22:46:54 +0200 (CEST)
From: olli hauer <ohauer@gmx.de>
Reply-To: olli hauer <ohauer@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ohauer@gmx.de
Subject: port lang/python and python26 build failed
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         135484
>Category:       ports
>Synopsis:       port lang/python and python26 build failed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 11 20:50:00 UTC 2009
>Closed-Date:    Fri Aug 14 13:54:15 UTC 2009
>Last-Modified:  Fri Aug 14 13:54:15 UTC 2009
>Originator:     ohauer
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:


>Description:
The port lang/python does not build really, even after setting the parameter
 PYTHON_DEFAULT_VERSION= python2.5
in /etc/make.conf 

This is everyting the port does.

# make
===>  Extracting for python-2.6,2
===>  Patching for python-2.6,2
===>  Configuring for python-2.6,2
#


The build of lang/python26 faild at three different machines with the same error

Failed to find the necessary bits to build these modules:
_tkinter           linuxaudiodev      spwd
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

NO success even extend the line in files/patch-setup.py to 
+disabled_module_list = ["_bsddb", "_sqlite3", "_tkinter", "linuxaudiodev", "gdbm", "mpz", "spwd", "sunaudiodev"]


>How-To-Repeat:
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jun 11 20:50:14 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135484 
Responsible-Changed-From-To: python->freebsd-python 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jun 12 13:49:05 UTC 2009 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135484 
State-Changed-From-To: open->feedback 
State-Changed-By: lwhsu 
State-Changed-When: Tue Jun 30 16:13:43 UTC 2009 
State-Changed-Why:  
I cannot reproduce here.  Could you update your ports tree and try 
again.  If it still fails, please list your /etc/make.conf and the 
installed packages. 

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

From: olli hauer <ohauer@gmx.de>
To: bug-followup@FreeBSD.org, ohauer@gmx.de
Cc:  
Subject: Re: ports/135484: port lang/python and python26 build failed
Date: Wed, 1 Jul 2009 23:25:04 +0200

 hmm, I tried the build a view times after reporting and always it doesn't
 build the package in lang/python (with or without this line
 #PYTHON_DEFAULT_VERSION?= python2.6 in etc/make.conf)
 
 Test case was always to deinstall all ports that use python and make
 sure there is nothing left like /usr/local/lib/python*.
 Then delete directories lang/python lang/python2(5|6) remove the line in
 ports/.portsnap.INDEX fetch and update.
 
 I don't know what happened but port python26 could build at a given time
 where lang/python does noting except extract with the following command
 $> make package DEPENDS_TARGET=package clean
 
 One thing I remember a day after report the port lang/python tried to build 
 python25 instead python26. 
 
 It even hasn't work after removing this lines in make.conf
  WRKDIRPREFIX?=  /build/work
  DISTDIR?=       /data/distfiles
  PACKAGES?=      /data/packages
 
 After your feedback I tried today building package with both ports and
 it works as expected for both.
 
 A side note: most of the ports use 
  PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
 except the following they use
  PKGNAMEPREFIX= py-
 
 py-libmpdclient-0.10.0
 py-MySQL-1.4
 py-SQLDict-1.0.0
 py-Ice-3.3.1
 py-kqueue-1.4_2
 py-subversion-1.6.3
 py-tconfpy-2.112
 py-thrift-20070917
 py-gnuplot-1.8
 py-mp-random-1.0_4
 py-punjab-0.12
 py-HyperText-1.0.1
 py-gnome-1.4.4_9
 py-gtk-0.6.11_6
 py-gtkscintilla-0.8.2_6
 
 Maybe it is a good idea to make this consistent?
 
 For me the port is working now, please close the PR
 
 Regards,
 olli
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Aug 14 13:54:15 UTC 2009 
State-Changed-Why:  
close by submitter request. 

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