I'm new to EB . Today, I started with v2 on rhel71 .
eb fails to build GCC-4.4.7.1.eb on rhel71
and succeeds on centos66 . I have not tried prev
version 1.16.x  .

(GCC-4.8.2.eb  also fails on rhel71 ),.

I cut/paste some details - -

I'm interested in centos7,rhel71 - and especially in
toolchain for gmpolf or cgmpolf using gcc-4.4.7
because of some backward compat issues.

ideas/
-/Don

[none@petrol2]~% eb --modules-tool=Lmod  GCC-4.4.7.1.eb -r
== temporary log file in case of crash /tmp/eb-a29pbo/easybuild-1XtXXX.log
== resolving dependencies ...
== processing EasyBuild easyconfig
/opt/apps/easybuild/software/EasyBuild/2.0.0/lib/python2.7/site-packages/easybuild_easyconfigs-2.0.0-py2.7.egg/easybuild/easyconfigs/g/GMP/GMP-4.3.2.eb
== building and installing GMP/4.3.2...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== testing...
== FAILED: Installation ended unsuccessfully (build directory:
/opt/apps/.local/easybuild/build/GMP/4.3.2/dummy-dummy): build failed
(first 300 chars): EasyBuild crashed with an error (at
easybuild/software/EasyBuild/2.0.0/lib/python2.7/site-packages/easybuild_framework-2.0.0-py2.7.egg/easybuild/tools/run.py:384
in parse_cmd_output): cmd "make check" exited with exitcode 2 and output:
make  check-recursive
make[1]: Entering directory `/opt/apps/.lo
== Results of the build can be found in the log file
/tmp/eb-a29pbo/easybuild-GMP-4.3.2-20150308.163758.hGwTz.log
ERROR: EasyBuild crashed with an error (at
easybuild/software/EasyBuild/2.0.0/lib/python2.7/site-packages/easybuild_framework-2.0.0-py2.7.egg/easybuild/main.py:137
in build_and_install_software): Build of
/opt/apps/easybuild/software/EasyBuild/2.0.0/lib/python2.7/site-packages/easybuild_easyconfigs-2.0.0-py2.7.egg/easybuild/easyconfigs/g/GMP/GMP-4.3.2.eb
failed (err: 'build failed (first 300 chars): EasyBuild crashed with an
error (at
easybuild/software/EasyBuild/2.0.0/lib/python2.7/site-packages/easybuild_framework-2.0.0-py2.7.egg/easybuild/tools/run.py:384
in parse_cmd_output): cmd "make check" exited with exitcode 2 and
output:\nmake  check-recursive\nmake[1]: Entering directory `/opt/apps/.lo')
[none@petrol2]~% lsb_release -a
LSB Version:
:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:    RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 7.1 (Maipo)
Release:    7.1
Codename:    Maipo
[none@petrol2]~% rpm -q Lmod
Lmod-5.9.0.2-1.el7.centos.noarch
[none@petrol2]~% eb --version
This is EasyBuild 2.0.0 (framework: 2.0.0, easyblocks: 2.0.0) on host
petrol2.utdallas.edu.
[none@petrol2]~% type -f module
module () {
    eval $($LMOD_CMD bash "$@")
    [ $? = 0 ] && eval $(${LMOD_SETTARG_CMD:-:} -s sh)
}
[none@petrol2]~% module list

Currently Loaded Modules:
  1) lmod/5.9.0.2   2) EasyBuild/2.0.0
=============
[none@zmf8]~/misc% rpm -q gcc
gcc-4.4.7-11.el6.x86_64
[none@zmf8]~/misc% eb --modules-tool=Lmod GCC-4.4.7.eb -r
== temporary log file in case of crash /tmp/eb-g_OW7l/easybuild-3he2mm.log
== resolving dependencies ...
== processing EasyBuild easyconfig
/opt/apps/easybuild/software/EasyBuild/2.0.0/lib/python2.6/site-packages/easybuild_easyconfigs-2.0.0-py2.6.egg/easybuild/easyconfigs/g/GMP/GMP-4.3.2.eb
== building and installing GMP/4.3.2...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== testing...
== installing...
== taking care of extensions...
== packaging...
== postprocessing...
== sanity checking...
== cleaning up...
== creating module...
== COMPLETED: Installation ended successfully
== Results of the build can be found in the log file
/opt/apps/.local/easybuild/software/GMP/4.3.2/easybuild/easybuild-GMP-4.3.2-20150308.162558.log
== processing EasyBuild easyconfig
/opt/apps/easybuild/software/EasyBuild/2.0.0/lib/python2.6/site-packages/easybuild_easyconfigs-2.0.0-py2.6.egg/easybuild/easyconfigs/m/MPFR/MPFR-2.4.2.eb
== building and installing MPFR/2.4.2...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== testing...
== installing...
== taking care of extensions...
== packaging...
== postprocessing...
== sanity checking...
== cleaning up...
== creating module...
== COMPLETED: Installation ended successfully
== Results of the build can be found in the log file
/opt/apps/.local/easybuild/software/MPFR/2.4.2/easybuild/easybuild-MPFR-2.4.2-20150308.162715.log
== processing EasyBuild easyconfig
/opt/apps/easybuild/software/EasyBuild/2.0.0/lib/python2.6/site-packages/easybuild_easyconfigs-2.0.0-py2.6.egg/easybuild/easyconfigs/g/GCC/GCC-4.4.7.eb
== building and installing GCC/4.4.7...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== testing...
== installing...
== taking care of extensions...
== packaging...
== postprocessing...
== sanity checking...
== cleaning up...
== creating module...
== COMPLETED: Installation ended successfully
== Results of the build can be found in the log file
/opt/apps/.local/easybuild/software/GCC/4.4.7/easybuild/easybuild-GCC-4.4.7-20150308.163911.log
== Build succeeded for 3 out of 3
== temporary log file /tmp/eb-g_OW7l/easybuild-3he2mm.log has been removed.
== temporary directory /tmp/eb-g_OW7l has been removed.
[none@zmf8]~/misc%
[none@zmf8]~/misc% lsb_release -a
LSB Version:
:base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:    CentOS
Description:    CentOS release 6.6 (Final)
Release:    6.6
Codename:    Final
[none@zmf8]~/misc% rpm -q Lmod
Lmod-5.9.0.2-1.el6.noarch
[none@zmf8]~/misc% eb --version
This is EasyBuild 2.0.0 (framework: 2.0.0, easyblocks: 2.0.0) on host
zmf8.utdallas.edu.
[none@zmf8]~/misc%



On Sun, Mar 8, 2015 at 2:05 PM, Kenneth Hoste <[email protected]>
wrote:

> Hi Timothy,
>
> > On 08 Mar 2015, at 17:20, Timothy Brown <[email protected]>
> wrote:
> >
> > Hi,
> >
> > Just wondering if anybody else is seeing the following error when trying
> to bootstrap v2.0.0:
> >
> > == 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've seen this issue as well with testing the bootstrap post v2.0.0, but
> only on some systems.
>
> I've been playing around with possible solutions in the bootstrap script
> itself, but it seems like this will need to be tackled in vsc-base somehow.
>
> Can you provide some more details of the system you're seeing this on?
> Which OS, Python version, output of 'python -c "import sys; print sys.path"
> ', etc.
>
> regards,
>
> Kenneth

Reply via email to