From owner-freebsd-python@FreeBSD.ORG  Tue Sep 15 08:20:04 2009
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7F8E7106566B
	for <python@freebsd.org>; Tue, 15 Sep 2009 08:20:04 +0000 (UTC)
	(envelope-from david@vizion2000.net)
Received: from dns1.vizion2000.net
	(77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42])
	by mx1.freebsd.org (Postfix) with ESMTP id EB1DE8FC21
	for <python@freebsd.org>; Tue, 15 Sep 2009 08:20:03 +0000 (UTC)
Received: by dns1.vizion2000.net (Postfix, from userid 1001)
	id CE42434D465; Tue, 15 Sep 2009 09:11:35 +0100 (BST)
From: David Southwell <david@vizion2000.net>
Organization: Voice & Vision
To: freebsd-ports@freebsd.org
Date: Tue, 15 Sep 2009 09:11:35 +0100
User-Agent: KMail/1.12.1 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.1; amd64; ; )
References: <a951c2910909142348p28435ab6jcddf08d8335ffb22@mail.gmail.com>
	<200909150909.05644.david@vizion2000.net>
In-Reply-To: <200909150909.05644.david@vizion2000.net>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200909150911.35772.david@vizion2000.net>
Cc: James Chang <james.technew@gmail.com>, python@freebsd.org,
	perky@freebsd.org
Subject: Re: python26 (python26-2.6.2_3) build ERROR in FreeBSD ports tree
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, 
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 08:20:04 -0000

> > Der Sir,
> >
> >       When I build python26 from FreeBSD ports, it shown me the
> > following ERROR messages:
> >
> > ====================================================================
> > <-root->make depend all
> > ===>  Vulnerability check disabled, database not found
> > ===>  Found saved configuration for python26-2.6.2_3
> > ===>  Extracting for python26-2.6.2_3
> > => MD5 Checksum OK for python/Python-2.6.2.tgz.
> > => SHA256 Checksum OK for python/Python-2.6.2.tgz.
> > ===>  Patching for python26-2.6.2_3
> > /bin/cp -r /usr/ports/lang/python26/work/Python-2.6.2/Lib/plat-freebsd8
> >  /usr/ports/lang/python26/work/Python-2.6.2/Lib/plat-freebsd9
> > /bin/mkdir -p /usr/ports/lang/python26/work/Python-2.6.2/portbld.static
> > /usr/ports/lang/python26/work/Python-2.6.2/portbld.shared/Modules
> > /bin/ln /usr/ports/lang/python26/work/Python-2.6.2/Lib/smtpd.py
> > /usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/
> > /usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'
> > /usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/2to3  >
> > /usr/ports/lang/python26/work/`echo 2to3 | /usr/bin/sed -E -e
> > 's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e
> > 's,(idle|pydoc|python-shared|python),\12.6,'`
> > /usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'
> > /usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/idle  >
> > /usr/ports/lang/python26/work/`echo idle | /usr/bin/sed -E -e
> > 's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e
> > 's,(idle|pydoc|python-shared|python),\12.6,'`
> > /usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'
> > /usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/pydoc  >
> > /usr/ports/lang/python26/work/`echo pydoc | /usr/bin/sed -E -e
> > 's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e
> > 's,(idle|pydoc|python-shared|python),\12.6,'`
> > /usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'
> > /usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/smtpd.py  >
> > /usr/ports/lang/python26/work/`echo smtpd.py | /usr/bin/sed -E -e
> > 's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e
> > 's,(idle|pydoc|python-shared|python),\12.6,'`
> > /usr/bin/sed -i.bak -e
> > 's,/usr/doc/python-docs-,/usr/local/share/doc/python,g'
> > /usr/ports/lang/python26/work/Python-2.6.2/Lib/pydoc.py
> > /usr/bin/sed -i.bak -e  's|^\( *prefixes = .*\)\]$|\1,
> > "/usr/local"]|g'
> > /usr/ports/lang/python26/work/Python-2.6.2/Lib/site.py
> > /usr/bin/sed -i.bak -e  's|^    \(..ASDLGEN.*\)$|       true|g'
> > /usr/ports/lang/python26/work/Python-2.6.2/Makefile.pre.in
> > /usr/bin/sed -i.bak -e  's|*\(..INSTALL_SCRIPT.*\)python-config$|#port
> > \1|'  /usr/ports/lang/python26/work/Python-2.6.2/Makefile.pre.in
> > /usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python2.6|'
> > /usr/ports/lang/python26/work/Python-2.6.2/Misc/python-config.in >
> > /usr/ports/lang/python26/work/python2.6-config
> > /usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python-shared2.6|'
> > /usr/ports/lang/python26/work/Python-2.6.2/Misc/python-config.in >
> > /usr/ports/lang/python26/work/python-shared2.6-config
> > ===>  Applying extra patch
> >  /usr/ports/lang/python26/files/extra-patch-setup.py ===>  Applying extra
> >  patch
> > /usr/ports/lang/python26/files/extra-patch-configure-pth
> > ===>  Applying FreeBSD patches for python26-2.6.2_3
> > 1 out of 11 hunks failed--saving rejects to setup.py.rej
> > => Patch patch-setup.py failed to apply cleanly.
> > => Patch(es) patch-Lib_test_test_threading.py
> > patch-Modules-_ctypes-libffi-configure patch-Python2.6-Lib_local.py
> > patch-Python_thread__pthread.h applied cleanly.
> > *** Error code 1
> >
> > Stop in /usr/ports/lang/python26.
> > *** Error code 1
> >
> > Stop in /usr/ports/lang/python26.
> >
> >
> > Best Regards!
> 
> This is the same error I have been getting and reporting here for almost a
> week. I have just submitted a PR but do not yet have a number. I will post
>  it here as soon as I receive the PR acknowledgement.
> 
> David
PS Can you please post output from uname -a? 

Thanks
>