On 08/03/15 22:53, Timothy Brown wrote:
On Mar 8, 2015, at 12:46 PM, Ward Poelmans <[email protected]> wrote:

On Sun, Mar 8, 2015 at 5:20 PM, Timothy Brown
<[email protected]> wrote:

== 2015-03-08 10:08:53,646 bootstrap_eb.run ERROR EasyBuild crashed with an error (at 
easybuild/tools/run.py:384 in parse_cmd_output): cmd " python setup.py install 
--prefix=/curc/tools/x86_64/rh6/software/EasyBuild/2.0.0 " exited with exitcode 1 
and output:
Traceback (most recent call last):
  File "setup.py", line 39, in <module>
    import vsc.install.shared_setup as shared_setup
  File 
"/tmp/tmpPK2YGE/EasyBuild/2.0.0/dummy-dummy/vsc-base-2.0.3/lib/vsc/install/shared_setup.py",
 line 112, in <module>
    from distutils.command.bdist_rpm import bdist_rpm, _bdist_rpm
ImportError: cannot import name _bdist_rpm

Thought I'd ask here before digging into the code.
I think you're hitting this: https://github.com/hpcugent/vsc-base/issues/129

This looks like it.

Well, it's close...

The fix for vsc-base issue #129 was implemented via https://github.com/hpcugent/vsc-base/pull/133, but is incomplete, i.e. the fallback mechanism in case setuptools isn't available is still broken. This is now fixed in vsc-base v2.0.4, see https://github.com/hpcugent/vsc-base/pull/159.

Note that this should never have happened in the first place, since the EasyBuild bootstrap script tries to make sure setuptools *is* available.

This should be fixed soon as a part of https://github.com/hpcugent/easybuild-framework/pull/1212, but having vsc-base v2.0.4 available now should fix the bootstrap of v2.0.0 w.r.t. the _bdist_rpm import issue.

Timothy: please let us know whether this resolves the problem on your end.


regards,

Kenneth

Reply via email to