[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: easybuild@lists.ugent.be
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: