Corrupt eggs in mailman-3.0.0a6.tar.gz

Bug #656946 reported by Phil King
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Barry Warsaw

Bug Description

Following up on this thread:

I can reproduce the problem:
[cp ~/local/src/mailman-3.0.0a6] ./bin/buildout
Traceback (most recent call last):
  File "./bin/buildout", line 17, in <module>
    import zc.buildout.buildout
ImportError: No module named zc.buildout.buildout

The eggs/zc-buildout* directory is missing the *.py files. Similarly, the z3c.recipe.sphinxdox and zc.recipe.egg.

In the end, I removed the eggs/ directory completely, and got much further down the road. (I am new to eggs, so I am not sure this is the best idea.)

Now, installation seems to fail at the logilab-common step.

Develop: '/home/phil/local/src/mailman-3.0.0a6/.'
Page at links to .py file(s) without version info; an index scan is required.
Uninstalling filetemplates.
Updating docs.
Generated script '/home/phil/local/src/mailman-3.0.0a6/bin/docs'.
Installing filetemplates.
Updating interpreter.
Installing pylint.
Getting distribution for 'logilab-common>=0.50.1'.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/phil/local/src/mailman-3.0.0a6/eggs/setuptools-0.6c12dev_r85190-py2.6.egg/setuptools/command/", line 1712, in main
  File "/home/phil/local/src/mailman-3.0.0a6/eggs/setuptools-0.6c12dev_r85190-py2.6.egg/setuptools/command/", line 1700, in with_ei_usage
    return f()
  File "/home/phil/local/src/mailman-3.0.0a6/eggs/setuptools-0.6c12dev_r85190-py2.6.egg/setuptools/command/", line 1716, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib/python2.6/distutils/", line 152, in setup
  File "/usr/lib/python2.6/distutils/", line 975, in run_commands
  File "/usr/lib/python2.6/distutils/", line 995, in run_command
  File "/home/phil/local/src/mailman-3.0.0a6/eggs/setuptools-0.6c12dev_r85190-py2.6.egg/setuptools/command/", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/home/phil/local/src/mailman-3.0.0a6/eggs/setuptools-0.6c12dev_r85190-py2.6.egg/setuptools/command/", line 427, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "/home/phil/local/src/mailman-3.0.0a6/eggs/setuptools-0.6c12dev_r85190-py2.6.egg/setuptools/command/", line 476, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/home/phil/local/src/mailman-3.0.0a6/eggs/setuptools-0.6c12dev_r85190-py2.6.egg/setuptools/command/", line 626, in install_eggs
    unpack_archive(dist_filename, tmpdir, self.unpack_progress)
  File "/home/phil/local/src/mailman-3.0.0a6/eggs/setuptools-0.6c12dev_r85190-py2.6.egg/setuptools/", line 67, in unpack_archive
    driver(filename, extract_dir, progress_filter)
  File "/home/phil/local/src/mailman-3.0.0a6/eggs/setuptools-0.6c12dev_r85190-py2.6.egg/setuptools/", line 188, in unpack_tarfile
    while member.islnk() or member.issym():
AttributeError: 'NoneType' object has no attribute 'islnk'
An error occurred when trying to install logilab-common 0.52.0. Look above this message for any errors that were output by easy_install.
  Installing pylint.
  Getting distribution for 'logilab-common>=0.50.1'.
Error: Couldn't install: logilab-common 0.52.0

Let me know what else I can send you in regards to my environment. I am running a fairly fresh Ubuntu-10.04.1 with Python 2.6.

Tags: mailman3

Related branches

Barry Warsaw (barry)
tags: added: mailman3
Revision history for this message
Barry Warsaw (barry) wrote :

The first problem (no module named zc.buildout.buildout) is due to a faulty that let the eggs/ and parts/ directories leak into the tarball. I've fixed this for alpha7 but you were exactly right that the workaround is just to delete those two directories and start over.

I can reproduce the AttributeError locally. I suspect this is a bug in setuptools-0.6c12dev. I'll see if pinning the version for that fixes the problem and make sure that it's reported upstream. I'll follow up when any workaround I find.

Changed in mailman:
status: New → Triaged
status: Triaged → In Progress
importance: Undecided → Critical
assignee: nobody → Barry Warsaw (barry)
milestone: none → 3.0.0a7
Revision history for this message
Barry Warsaw (barry) wrote :

The logilab problem was a bug in setuptools, which has since been fixed.

Changed in mailman:
status: In Progress → Fix Committed
Barry Warsaw (barry)
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.