Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 18:16:45 GMT
From:      Tom Prince <tom.prince@hybridcluster.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183795: pypy fails to work in a virtualenv
Message-ID:  <201311081816.rA8IGjuu082405@oldred.freebsd.org>
Resent-Message-ID: <201311081820.rA8IK2Bl035389@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <module>
    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 <module>
    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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311081816.rA8IGjuu082405>