Hi I've run with that version of bootstrap.py and everything works properly
On Tue, Aug 8, 2017 at 13:46 Kenneth Hoste <[email protected]> wrote: > Hi all, > > The problem manifests itself only when both i) an old version of > setuptools is active, ii) the eb command is not available via $PATH > anywhere (which explains why this went undetected...). > > More details are available in > https://github.com/easybuilders/easybuild-framework/issues/2279#issuecomment-321053120 > . > > An update to the bootstrap script to fix the problem has just been merged > via https://github.com/easybuilders/easybuild-framework/pull/2281. > > Clyde: please download the latest version of the bootstrap script > (20170808.01), and verify that it works as expected now? > > > A companion fix to deal with the oversight that introduced the problem is > proposed at https://github.com/easybuilders/easybuild-framework/pull/2282, > but this will only take effect after the next EasyBuild release (if merged). > > > regards, > > Kenneth > > > On 08/08/2017 21:50, Carlos Fenoy wrote: > > Hi Kenneth, > > I was able to reproduce this running in a docker container (with shifter) > using the centos image. It seems to be an issue with the included > distribute package. > > Regards, > Carlos > > On Tue, 8 Aug 2017, 21:25 Clyde Jones, <[email protected]> wrote: > >> Hi >> I *think* it might have to do with the versions of vsc-install >> and vsc-base. I tried using the 3.3.0 sources and build failed until I >> deleted the vsc-install and vsc-base. >> >> On Tue, Aug 8, 2017 at 11:48 AM, Kenneth Hoste <[email protected]> >> wrote: >> >>> Dear Clyde, >>> >>> Others have reported this problem too, it seems like some change in >>> EasyBuild v3.3.1 is triggering this problem. >>> >>> We're still trying to figure out what is wrong exactly, follow-up in >>> https://github.com/easybuilders/easybuild-framework/issues/2279 . >>> >>> In the mean time, I'd suggest to try and install EasyBuild v3.3.1 using >>> "eb --install-latest-eb-release" instead. >>> >>> >>> regards, >>> >>> Kenneth >>> >>> >>> On 22/07/2017 00:22, Clyde Jones wrote: >>> >>> Hi >>> I've been trying to install easybuild using the bootstrap script and I >>> am getting the following errors. It looks like there is a configuration >>> option that the script is expecting but is not getting set. This fails on >>> Centos7 (7.3) and Ubuntu 16.04 >>> >>> What should I be setting? This worked properly for 3.3.0 >>> >>> >>> $ env | sort >>> APPS_PREFIX=/gstore/apps >>> BASH_ENV=/gstore/apps/lmod/lmod/init/bash >>> BASH_FUNC_ml()=() { eval $($LMOD_DIR/ml_cmd "$@") >>> BASH_FUNC_module()=() { eval $($LMOD_CMD bash "$@") && eval >>> $(${LMOD_SETTARG_CMD:-:} -s sh) >>> EASYBUILD_PREFIX=/gstore/apps >>> EASYBUILD_ROBOT_PATHS=/home/gredsys/packages/ >>> HOME=/home/gredsys >>> HOSTNAME=704ff3bc58b2 >>> LESSOPEN=||/usr/bin/lesspipe.sh %s >>> LMOD_CMD=/gstore/apps/lmod/lmod/libexec/lmod >>> LMOD_DIR=/gstore/apps/lmod/lmod/libexec >>> LMOD_FULL_SETTARG_SUPPORT=no >>> LMOD_PKG=/gstore/apps/lmod/lmod >>> LMOD_SETTARG_CMD=: >>> LMOD_VERSION=7.5.15 >>> LMOD_sys=Linux >>> LUAROCKS_PREFIX=/gstore/apps/luarocks/2.4.2 >>> LUAROCKS_VER=2.4.2 >>> LUA_CPATH=/gstore/apps/luarocks/2.4.2/lib/lua/5.1/?.so;; >>> >>> LUA_PATH=/gstore/apps/luarocks/2.4.2/share/lua/5.1/?.lua;/gstore/apps/luarocks/2.4.2/share/lua/5.1/?/init.lua;; >>> LUA_VER=5.1.4 >>> MANPATH=/gstore/apps/lmod/lmod/share/man:: >>> >>> MODULEPATH=/gstore/apps/modules::/gstore/apps/modulefiles:/gstore/apps/modulefiles/all:/gstore/apps/lmod/lmod/modulefiles/Core >>> MODULEPATH_ROOT=/gstore/apps/modulefiles >>> MODULESHOME=/gstore/apps/lmod/lmod >>> >>> PATH=/tmp/tmpNM6MoY/bin:/tmp/tmpNM6MoY/lib:/tmp/tmpNM6MoY/lib64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/gstore/apps/luarocks/2.4.2/bin/:/gstore/apps/luarocks/2.4.2/lib/:/gstore/apps/luarocks/2.4.2/bin/:/gstore/apps/luarocks/2.4.2/lib/:/gstore/apps/luarocks/2.4.2/bin/:/gstore/apps/luarocks/2.4.2/lib/ >>> PWD=/tmp/tmpNM6MoY/eb_stage1/lib/python2.7/site-packages >>> >>> PYTHONPATH=/tmp/tmpNM6MoY/lib/python2.7/site-packages/:/tmp/tmpNM6MoY/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg: >>> SHLVL=1 >>> TERM=xterm >>> USER= >>> _=/usr/bin/env >>> >>> _ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPTcyMDAsWyJjX3Nob3J0VGltZSJdPTAuMDA4NjM5ODEyNDY5NDgyNCxkZXB0aFQ9e30sZmFtaWx5PXt9LG1UPXt9LG1wYXRoQT17Ii9nc3RvcmUvYXBwcy9tb2R1bGVzIiwiIiwiL2dzdG9yZS9hcHBzL21vZHVsZWZpbGVzIiwiL2dzdG9yZS9hcHBzL21vZHVsZWZpbGVzL2FsbCIsIi9nc3RvcmUvYXBwcy9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfSxbInN5c3RlbUJhc2VNUEFUSCJdPSIvZ3N0b3JlL2FwcHMvbW9kdWxlczo6L2dzdG9yZS9hcHBzL21vZHVsZWZpbGVzOi9nc3RvcmUvYXBwcy9tb2R1bGVmaWxlcy9hbGw6L2dzdG9yZS9hcHBzL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9D >>> _ModuleTable002_=b3JlIix9 >>> _ModuleTable_Sz_=2 >>> } >>> } >>> >>> >>> [gredsys@704ff3bc58b2 tmp]$ python bootstrap_eb.py $APPS_PREFIX >>> [[INFO]] EasyBuild bootstrap script (version 20170706.01, MD5: >>> e3595314c419ce935a5caaf70032801e) >>> [[INFO]] Found Python 2.7.5 (default, Nov 6 2016, 00:28:07) ; [GCC >>> 4.8.5 20150623 (Red Hat 4.8.5-11)] >>> >>> [[INFO]] Installation prefix /gstore/apps >>> [[INFO]] Found module command '/gstore/apps/lmod/lmod/libexec/lmod' via >>> $LMOD_CMD (Lmod), so using it. >>> [[INFO]] No suitable setuptools installation found, proceeding with >>> stage 0... >>> >>> >>> [[INFO]] +++ STAGE 0: installing distribute via included (patched) >>> distribute_setup.py... >>> >>> Downloading >>> https://easybuilders.github.io/easybuild/files/distribute-0.6.49-patched1.tar.gz >>> Extracting in /tmp/tmpoIozZ7 >>> Now working in /tmp/tmpoIozZ7/distribute-0.6.49 >>> Installing Distribute >>> [[INFO]] Installed setuptools version 0.6 >>> (/tmp/tmpNM6MoY/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/setuptools/__init__.pyc) >>> >>> >>> [[INFO]] +++ STAGE 1: installing EasyBuild in temporary dir with >>> easy_install... >>> >>> [[INFO]] installing EasyBuild with 'easy_install --quiet --upgrade >>> --prefix=/tmp/tmpNM6MoY/eb_stage1 easybuild' >>> [[INFO]] running post install command 'easy_install --upgrade >>> --prefix=/tmp/tmpNM6MoY/eb_stage1 vsc-base' >>> >>> >>> [[INFO]] +++ STAGE 2: installing EasyBuild in /gstore/apps with >>> EasyBuild from stage 1... >>> >>> Traceback (most recent call last): >>> File "bootstrap_eb.py", line 1014, in <module> >>> main() >>> File "bootstrap_eb.py", line 817, in main >>> stage2(tmpdir, templates, install_path, distribute_egg_dir, >>> sourcepath) >>> File "bootstrap_eb.py", line 687, in stage2 >>> easybuild_main() >>> File >>> "/tmp/tmpNM6MoY/eb_stage1/lib/python2.7/site-packages/easybuild_framework-3.3.1-py2.7.egg/easybuild/main.py", >>> line 189, in main >>> eb_go = eboptions.parse_options(args=args) >>> File >>> "/tmp/tmpNM6MoY/eb_stage1/lib/python2.7/site-packages/easybuild_framework-3.3.1-py2.7.egg/easybuild/tools/options.py", >>> line 1061, in parse_options >>> raise EasyBuildError("Failed to parse configuration options: %s" % >>> err) >>> easybuild.tools.build_log.EasyBuildError: "Failed to parse configuration >>> options: 'NoneType' object has no attribute 'startswith'" >>> >>> >>> -- >>> Clyde Jones >>> | gRED Sr IT Engineer >>> | 650-270-0968 <%28650%29%20270-0968> >>> >>> >>> >> >> >> -- >> Clyde Jones >> | gRED Sr IT Engineer >> | 650-270-0968 >> > > -- | Clyde Jones | Genentech Inc | gRED Sr IT Engineer | 650-270-0968 | [email protected]

