What version of easybuild is this? I think we fixed this in the newest version.
On Fri, Mar 24, 2017 at 4:43 PM Siddiqui, Shahzeb < [email protected]> wrote: > [hpcswadm@amrndhl1157 M4]$ eb M4-1.4.17.eb --rebuild --package > > == temporary log file in case of crash /tmp/eb-FXPNlB/easybuild-jyizZs.log > > == processing EasyBuild easyconfig /hpc/hpcswadm/easybuild/M4/M4-1.4.17.eb > > == building and installing Core/M4/1.4.17... > > == fetching files... > > == creating build dir, resetting environment... > > == unpacking... > > == patching... > > == preparing... > > == configuring... > > == building... > > == testing... > > == installing... > > == taking care of extensions... > > == postprocessing... > > == sanity checking... > > == cleaning up... > > == creating module... > > == permissions... > > == packaging... > > == FAILED: Installation ended unsuccessfully (build directory: > /dev/shm/easybuild/build/M4/1.4.17/dummy-dummy): build failed (first 300 > chars): cmd "['/usr/bin/env', 'fpm', '--workdir', > '/tmp/eb-FXPNlB/eb-pkgs-rqkJ_q', '--name', 'M4-1.4.17', '--provides', > 'M4-1.4.17', '-t', 'rpm', '-s', 'dir', '--version', 'eb-3.1.1', > '--iteration', '2', '--description', 'GNU M4 is an implementation of the > traditional Unix macro processor.\n It is mostly SV > > == Results of the build can be found in the log file(s) > /tmp/eb-FXPNlB/easybuild-M4-1.4.17-20170324.163735.zMGVv.log > > ERROR: Build of /hpc/hpcswadm/easybuild/M4/M4-1.4.17.eb failed (err: > 'build failed (first 300 chars): cmd "[\'/usr/bin/env\', \'fpm\', > \'--workdir\', \'/tmp/eb-FXPNlB/eb-pkgs-rqkJ_q\', \'--name\', > \'M4-1.4.17\', \'--provides\', \'M4-1.4.17\', \'-t\', \'rpm\', \'-s\', > \'dir\', \'--version\', \'eb-3.1.1\', \'--iteration\', \'2\', > \'--description\', \'GNU M4 is an implementation of the traditional Unix > macro processor.\\n It is mostly SV') > > [hpcswadm@amrndhl1157 M4]$ gem env > > RubyGems Environment: > > - RUBYGEMS VERSION: 2.0.14 > > - RUBY VERSION: 2.0.0 (2014-11-13 patchlevel 598) [x86_64-linux] > > - INSTALLATION DIRECTORY: /hpc/hpcswadm/.gem/ruby > > - RUBY EXECUTABLE: /usr/bin/ruby > > - EXECUTABLE DIRECTORY: /hpc/hpcswadm/bin > > - RUBYGEMS PLATFORMS: > > - ruby > > - x86_64-linux > > - GEM PATHS: > > - /hpc/hpcswadm/.gem/ruby > > - /usr/share/gems > > - /usr/local/share/gems > > - GEM CONFIGURATION: > > - :update_sources => true > > - :verbose => true > > - :backtrace => false > > - :bulk_threshold => 1000 > > - REMOTE SOURCES: > > - https://rubygems.org/ > > > > *From:* Siddiqui, Shahzeb > *Sent:* Friday, March 24, 2017 4:12 PM > *To:* [email protected] > *Subject:* FPM issue > > > > Hello, > > > > I can’t seem to figure out this issue. Help would be appreciated. This was > working before now on a different system it is not. Previously I was using > FPM 1.7.0. The error now happens with 1.8.1. I am not familiar with ruby so > I am having trouble finding a solution > > > > > > > > == 2017-03-24 16:08:01,031 utilities.py:84 INFO Will be creating rpm > package(s) in /tmp/eb-AVQd2M/eb-pkgs-xYRkaK > > == 2017-03-24 16:08:01,033 run.py:159 INFO running cmd: ['/usr/bin/env', > 'fpm', '--workdir', '/tmp/eb-AVQd2M/eb-pkgs-xYRkaK', '--name', 'M4-1.4.17', > '--provides', 'M4-1.4.17', '-t', 'rpm', '-s', 'dir', '--version', > 'eb-3.1.1', '--iteration', '2', '--description', 'GNU M4 is an > implementation of the traditional Unix macro processor.\n It is mostly SVR4 > compatible although it has some extensions \n (for example, handling more > than 9 positional parameters to macros).\n GNU M4 also has built-in > functions for including files, running shell commands, doing arithmetic, > etc.\n', '--url', 'http://www.gnu.org/software/m4/m4.html', '--exclude', > 'nfs/grid/software/testing/RHEL7/easybuild/software/Core/M4/1.4.17/easybuild/*.log', > '--exclude', > 'nfs/grid/software/testing/RHEL7/easybuild/software/Core/M4/1.4.17/easybuild/*.md', > '/nfs/grid/software/testing/RHEL7/easybuild/software/Core/M4/1.4.17', > '/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core/M4/1.4.17.lua'] > > == 2017-03-24 16:08:01,080 build_log.py:147 ERROR EasyBuild crashed with > an error (at > easybuild/software/EasyBuild/3.1.1/lib/python2.7/site-packages/vsc_base-2.5.7-py2.7.egg/vsc/utils/exceptions.py:124 > in __init__): cmd "['/usr/bin/env', 'fpm', '--workdir', > '/tmp/eb-AVQd2M/eb-pkgs-xYRkaK', '--name', 'M4-1.4.17', '--provides', > 'M4-1.4.17', '-t', 'rpm', '-s', 'dir', '--version', 'eb-3.1.1', > '--iteration', '2', '--description', 'GNU M4 is an implementation of the > traditional Unix macro processor.\n It is mostly SVR4 compatible although > it has some extensions \n (for example, handling more than 9 positional > parameters to macros).\n GNU M4 also has built-in functions for including > files, running shell commands, doing arithmetic, etc.\n', '--url', ' > http://www.gnu.org/software/m4/m4.html', '--exclude', > 'nfs/grid/software/testing/RHEL7/easybuild/software/Core/M4/1.4.17/easybuild/*.log', > '--exclude', > 'nfs/grid/software/testing/RHEL7/easybuild/software/Core/M4/1.4.17/easybuild/*.md', > '/nfs/grid/software/testing/RHEL7/easybuild/software/Core/M4/1.4.17', > '/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core/M4/1.4.17.lua']" > exited with exitcode 2 and output: > > /usr/local/bin/fpm: line 9: require: command not found > > /usr/local/bin/fpm: line 11: version: command not found > > /usr/local/bin/fpm: fpm: line 15: syntax error near unexpected token `(' > > /usr/local/bin/fpm: fpm: line 15: ` str = > str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding' > > (at > easybuild/software/EasyBuild/3.1.1/lib/python2.7/site-packages/easybuild_framework-3.1.1-py2.7.egg/easybuild/tools/run.py:446 > in parse_cmd_output) > > == 2017-03-24 16:08:01,080 easyblock.py:2520 WARNING build failed (first > 300 chars): cmd "['/usr/bin/env', 'fpm', '--workdir', > '/tmp/eb-AVQd2M/eb-pkgs-xYRkaK', '--name', 'M4-1.4.17', '--provides', > 'M4-1.4.17', '-t', 'rpm', '-s', 'dir', '--version', 'eb-3.1.1', > '--iteration', '2', '--description', 'GNU M4 is an implementation of the > traditional Unix macro processor.\n It is mostly SV > > == 2017-03-24 16:08:01,080 easyblock.py:276 INFO Closing log for > application name M4 version 1.4.17 > > > > > > *** LOCAL GEMS *** > > > > abrt (0.0.6) > > archive-tar-minitar (0.5.2) > > arr-pm (0.0.10) > > backports (3.6.8) > > bigdecimal (1.2.0) > > bundler (1.7.8) > > cabin (0.9.0) > > childprocess (0.6.2) > > clamp (1.0.1) > > dotenv (2.2.0) > > ffi (1.9.18) > > fpm (1.8.1) > > insist (1.0.0) > > io-console (0.4.2) > > io-like (0.3.0) > > json (1.7.7) > > mustache (0.99.8) > > net-http-persistent (2.8) > > pleaserun (0.0.28) > > psych (2.0.0) > > rdoc (4.0.0) > > ruby-xz (0.2.3) > > stud (0.0.22) > > thor (0.19.1) > > > > hpcswadm@hpcv18$ruby --version > > ruby 2.0.0p598 (2014-11-13) [x86_64-linux] > > > > Shahzeb Siddiqui > > HPC Linux Engineer > > B2220-447.2 > > Groton, CT > > >

