Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How long can the path be? - Problem with virtualenv

26 views
Skip to first unread message

florian...@googlemail.com

unread,
May 8, 2013, 11:14:54 AM5/8/13
to
I'm trying to build Thunderbird by following this (https://developer.mozilla.org/en-US/docs/Simple_Thunderbird_build) guide.

I ran into problems with virtualenv though. I'm not sure if my path is already too deep. The guide says, that this is the source for some problems, without saying how deep my path is actually allowed to be. I'm building in /home/flo/Dokumente/projekte/comm-central. Is that too deep?

The error message is the following:

Installing setuptools...................................
Complete output from command /home/flo/Dokumente/...irtualenv/bin/python -c "#!python
\"\"\"Bootstra...sys.argv[1:])






" /home/flo/Dokumente/...ols-0.6c11-py2.7.egg:
Traceback (most recent call last):
File "<string>", line 279, in <module>
File "<string>", line 240, in main
File "/home/flo/Dokumente/projekte/comm-central/obj-x86_64-unknown-linux-gnu/mozilla/_tests/mozmill/resources/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1712, in main
File "/home/flo/Dokumente/projekte/comm-central/obj-x86_64-unknown-linux-gnu/mozilla/_tests/mozmill/resources/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage
File "/home/flo/Dokumente/projekte/comm-central/obj-x86_64-unknown-linux-gnu/mozilla/_tests/mozmill/resources/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1716, in <lambda>
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 971, in run_command
cmd_obj.ensure_finalized()
File "/usr/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "/home/flo/Dokumente/projekte/comm-central/obj-x86_64-unknown-linux-gnu/mozilla/_tests/mozmill/resources/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 125, in finalize_options
File "/home/flo/Dokumente/projekte/comm-central/obj-x86_64-unknown-linux-gnu/mozilla/_tests/mozmill/resources/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1121, in _expand
File "/usr/lib/python2.7/distutils/cmd.py", line 312, in get_finalized_command
cmd_obj.ensure_finalized()
File "/usr/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "/home/flo/Dokumente/projekte/comm-central/obj-x86_64-unknown-linux-gnu/mozilla/_tests/mozmill/resources/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py", line 32, in finalize_options
File "/usr/lib/python2.7/distutils/command/install.py", line 321, in finalize_options
(prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
File "/home/flo/Dokumente/projekte/comm-central/obj-x86_64-unknown-linux-gnu/mozilla/_tests/mozmill-virtualenv/lib/python2.7/distutils/__init__.py", line 88, in sysconfig_get_config_vars
real_vars = old_get_config_vars(*args)
File "/usr/lib/python2.7/distutils/sysconfig.py", line 489, in get_config_vars
func()
File "/usr/lib/python2.7/distutils/sysconfig.py", line 433, in _init_posix
from _sysconfigdata import build_time_vars
File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in <module>
from _sysconfigdata_nd import *
ImportError: No module named _sysconfigdata_nd
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
File "virtualenv/virtualenv.py", line 2098, in <module>
main()
File "virtualenv/virtualenv.py", line 928, in main
never_download=options.never_download)
File "virtualenv/virtualenv.py", line 1040, in create_environment
search_dirs=search_dirs, never_download=never_download)
File "virtualenv/virtualenv.py", line 593, in install_setuptools
search_dirs=search_dirs, never_download=never_download)
File "virtualenv/virtualenv.py", line 567, in _install_req
cwd=cwd)
File "virtualenv/virtualenv.py", line 1006, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/flo/Dokumente/...irtualenv/bin/python -c "#!python
\"\"\"Bootstra...sys.argv[1:])


" /home/flo/Dokumente/...ols-0.6c11-py2.7.egg failed with error code 1
Failure to install virtualenv

I'm building on Ubuntu 13.04, 64bit, if that helps.

Thanks
Flo

Gregory Szorc

unread,
May 8, 2013, 12:50:18 PM5/8/13
to florian...@googlemail.com, dev-b...@lists.mozilla.org
This is https://bugzilla.mozilla.org/show_bug.cgi?id=869609. We fixed it
in mozilla-central a few months back in
https://bugzilla.mozilla.org/show_bug.cgi?id=837631. Since a few people
are experiencing broken comm-central builds, I expect this will be
addressed shortly. If not, the recipe for fixing it should be in that
2nd bug.
> _______________________________________________
> dev-builds mailing list
> dev-b...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-builds

0 new messages