[tahoe-dev] First time building Tahoe on Debian Lenny amd64

Luke Scharf luke.scharf at clusterbee.net
Wed Feb 4 21:19:07 UTC 2009


I'm attempting to build the Tahoe filesystem on Debian Lenny on amd64.

I've installed as many of the dependencies as I can, using the standard 
Debian repositories. 

When I run "python setup.py build", though, the build barfs as follows:

    Installed /root/download/allmydata-tahoe-1.2.0-r3524/support/lib/python2.5/site-packages/pyutil-1.3.30-py2.5.egg
    Searching for argparse>=0.8
    Reading http://pypi.python.org/simple/argparse/
    Reading http://argparse.python-hosting.com/
    Page at http://pypi.python.org/simple/argparse/ links to .py file(s) without version info; an index scan is required.
    Scanning index of all packages (this may take a while)
    Reading http://pypi.python.org/simple/
    Reading http://argparse.python-hosting.com/file/trunk/argparse.py?rev=6&format=raw
    Best match: argparse 0.8.0
    Downloading http://cheeseshop.python.org/packages/source/a/argparse/argparse-0.8.0.zip
    Processing argparse-0.8.0.zip
    Running argparse-0.8.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-mjB9WF/argparse-0.8.0/egg-dist-tmp-elShZb
    Traceback (most recent call last):
      File "setup.py", line 360, in <module>
        zip_safe=False, # We prefer unzipped for easier access.
      File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/develop.py", line 27, in run
        self.install_for_development()
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/develop.py", line 102, in install_for_development
        self.process_distribution(None, self.dist, not self.no_deps)
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/easy_install.py", line 527, in process_distribution
        [requirement], self.local_index, self.easy_install
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/pkg_resources.py", line 522, in resolve
        dist = best[req.key] = env.best_match(req, self, installer)
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/pkg_resources.py", line 758, in best_match
        return self.obtain(req, installer) # try and download/install
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/pkg_resources.py", line 770, in obtain
        return installer(requirement)
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/easy_install.py", line 454, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/easy_install.py", line 484, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/easy_install.py", line 663, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/easy_install.py", line 938, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/easy_install.py", line 927, in run_setup
        run_setup(setup_script, args)
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/sandbox.py", line 24, in run_setup
        lambda: execfile(
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/sandbox.py", line 63, in run
        return func()
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/sandbox.py", line 26, in <lambda>
        {'__file__':setup_script, '__name__':'__main__'}
      File "setup.py", line 37, in <module>
        #             # workaround for tahoe #229 / setuptools #17, on debian
      File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/bdist_egg.py", line 167, in run
        self.run_command("egg_info")
      File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/egg_info.py", line 177, in run
        self.find_sources()
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/egg_info.py", line 252, in find_sources
        mm.run()
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/egg_info.py", line 306, in run
        self.add_defaults()
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/egg_info.py", line 333, in add_defaults
        rcfiles = list(walk_revctrl())
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/setuptools/command/sdist.py", line 45, in walk_revctrl
        for item in ep.load()(dirname):
      File "/usr/lib/python2.5/site-packages/setuptools-0.6c11dev.egg/pkg_resources.py", line 1831, in load
        entry = __import__(self.module_name, globals(),globals(), ['__name__'])
    ImportError: No module named setuptools_darcs.setuptools_darcs
      


Am I missing an obvious dependency?

Thanks,
-Luke




More information about the tahoe-dev mailing list