From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 20 01:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 918961065673 for ; Wed, 20 May 2009 01:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6B41E8FC0A for ; Wed, 20 May 2009 01:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4K1o1Ao067402 for ; Wed, 20 May 2009 01:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4K1o1ik067401; Wed, 20 May 2009 01:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 20 May 2009 01:50:01 GMT Resent-Message-Id: <200905200150.n4K1o1ik067401@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Iwasa Kazmi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A055106566B for ; Wed, 20 May 2009 01:48:07 +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 3D9A08FC12 for ; Wed, 20 May 2009 01:48:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4K1m7mY001684 for ; Wed, 20 May 2009 01:48:07 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n4K1m67x001682; Wed, 20 May 2009 01:48:06 GMT (envelope-from nobody) Message-Id: <200905200148.n4K1m67x001682@www.freebsd.org> Date: Wed, 20 May 2009 01:48:06 GMT From: Iwasa Kazmi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/134734: Package py25-ldap2 in 7.2-RELEASE fails to install X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 01:50:02 -0000 >Number: 134734 >Category: ports >Synopsis: Package py25-ldap2 in 7.2-RELEASE fails to install >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 20 01:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Iwasa Kazmi >Release: 7.2-RELEASE >Organization: >Environment: FreeBSD wms.localdomain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: "py25-ldap2-2.3.5_2.tbz" couldn't install with pkg_add. --------------- > pkg_add py25-ldap2-2.3.5_2.tbz No local packages or download links found for python-ldap==2.3.5 error: Could not find suitable distribution for Requirement.parse('python-ldap==2.3.5') pkg_add: command '/usr/bin/env PYTHONPATH=/usr/local/lib/python2.5/site-packages /usr/local/bin/easy_install-2.5 -q -N -S /usr/local/lib/python2.5/site-packages -d /usr/local/lib/python2.5/site-packages -s /usr/local/bin python-ldap==2.3.5' failed --------------- I'm using 7.2-RELEASE, so I obtained "py25-ldap2-2.3.5_2.tbz" from: ftp://ftp3.jp.freebsd.org/pub/FreeBSD/releases/i386/7.2-RELEASE/packages/ Pkg_add extracts files in: /usr/local/lib/python2.5/site-packages/python_ldap-2.3.5-py2.5-freebsd-7.2-PRERELEASE-i386.egg Then executes easy_install: /usr/bin/env PYTHONPATH=/usr/local/lib/python2.5/site-packages /usr/local/bin/easy_install-2.5 -q -N -S /usr/local/lib/python2.5/site-packages -d /usr/local/lib/python2.5/site-packages -s /usr/local/bin python-ldap==2.3.5 But it fails to find appropriate egg package because "platform" field in egg's name doesn't match with current environment. My "platform" is: ------------------- > python -c 'import distutils.util; print distutils.util.get_platform()' freebsd-7.2-RELEASE-i386 ------------------- In -RELEASE distribution, py25-ldap2.tbz *should* be packed so that the files will be extracted in: python_ldap-2.3.5-py2.5-freebsd-7.2-RELEASE-i386.egg >How-To-Repeat: >Fix: Change name of the destination directory from python_ldap-2.3.5-py2.5-freebsd-7.2-PRERELEASE-i386.egg to python_ldap-2.3.5-py2.5-freebsd-7.2-RELEASE-i386.egg or ommit platform field. >Release-Note: >Audit-Trail: >Unformatted: