From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 8 18:20:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 99BCE3ED for ; Fri, 8 Nov 2013 18:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 798A5294B for ; Fri, 8 Nov 2013 18:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA8IK2rX035390 for ; Fri, 8 Nov 2013 18:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA8IK2Bl035389; Fri, 8 Nov 2013 18:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 8 Nov 2013 18:20:02 GMT Resent-Message-Id: <201311081820.rA8IK2Bl035389@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, Tom Prince Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B66852D9 for ; Fri, 8 Nov 2013 18:16:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A3E97292D for ; Fri, 8 Nov 2013 18:16:46 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA8IGj0i082433 for ; Fri, 8 Nov 2013 18:16:45 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA8IGjuu082405; Fri, 8 Nov 2013 18:16:45 GMT (envelope-from nobody) Message-Id: <201311081816.rA8IGjuu082405@oldred.freebsd.org> Date: Fri, 8 Nov 2013 18:16:45 GMT From: Tom Prince To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183795: pypy fails to work in a virtualenv X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2013 18:20:02 -0000 >Number: 183795 >Category: ports >Synopsis: pypy fails to work in a virtualenv >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: Fri Nov 08 18:20:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tom Prince >Release: >Organization: HybridLogic >Environment: FreeBSD jail-... 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254707+5afe1ee: Mon Oct 21 17:59:04 UTC 2013 root@...:/usr/obj/usr/src/sys/DTRACE amd64 >Description: Because the pypy port changes the library paths that pypy uses, it fails to work when used from a virtual env. (This is with pypy-2.1_1). >How-To-Repeat: $ pypy /app/buildslave/dependencies/virtualenv.py test New pypy executable in test/bin/pypy Installing Setuptools........ Complete output from command /tmp/test/bin/pypy setup.py install --single-version-externally-managed --record record: Traceback (most recent call last): File "app_main.py", line 72, in run_toplevel File "setup.py", line 5, in import textwrap ImportError: No module named textwrap ---------------------------------------- ..Installing Setuptools...done. Traceback (most recent call last): File "app_main.py", line 72, in run_toplevel File "/app/buildslave/dependencies/virtualenv.py", line 2308, in main() File "/app/buildslave/dependencies/virtualenv.py", line 821, in main symlink=options.symlink) File "/app/buildslave/dependencies/virtualenv.py", line 961, in create_environment install_sdist('Setuptools', 'setuptools-*.tar.gz', py_executable, search_dirs) File "/app/buildslave/dependencies/virtualenv.py", line 932, in install_sdist filter_stdout=filter_install_output) File "/app/buildslave/dependencies/virtualenv.py", line 899, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /tmp/test/bin/pypy setup.py install --single-version-externally-managed --record record failed with error code 1 >Fix: >Release-Note: >Audit-Trail: >Unformatted: