Hi,
as it seems the temp variable pyver is not determined when building the package
sympy
eb sympy-1.0-foss-2016a-Python-2.7.11.eb -r -f
== temporary log file in case of crash /tmp/eb-41nKpO/easybuild-lPtiyz.log
ERROR: Failed to process easyconfig
/sw-new/apps/easybuild/software/Core/EasyBuild/2.8.0/lib/python2.6/site-packages/easybuild_easyconfigs-2.8.0-py2.6.egg/easybuild/easyconfigs/s/sympy/sympy-1.0-foss-2016a-Python-2.7.11.eb:
Failed to find easyconfig file 'mpmath-0.19-foss-2016a-Python-%(pyver)s.eb'
when determining module name for: {'external_module_metadata': {},
'full_mod_name': None, 'build_only': False, 'versionsuffix':
'-Python-%(pyver)s', 'external_module': False, 'dummy': False, 'toolchain':
{'version': '2016a', 'name': 'foss'}, 'name': 'mpmath', 'short_mod_name': None,
'version': '0.19', 'hidden': False}
However, the config mpmath-0.19-foss-2016a-Python-2.7.11.eb exists and builds
without problem.
Here is part of a debug log if that is helpful:
........
== 2016-06-15 18:33:00,317 types.py:200 DEBUG No type specified for easyconfig
parameter 'versionsuffix', so skipping type check.
== 2016-06-15 18:33:00,317 types.py:208 DEBUG Value type check passed for
versionsuffix parameter value: -Python-%(pyver)s
== 2016-06-15 18:33:00,317 types.py:208 DEBUG Value type check passed for
version parameter value: 1.0
== 2016-06-15 18:33:00,317 types.py:154 DEBUG Parent type of value [('Python',
'2.7.11'), ('mpmath', '0.19', '-Python-%(pyver)s')] matches <type 'list'>,
going in...
== 2016-06-15 18:33:00,317 types.py:179 DEBUG Parent type of value ('Python', '2.7.11')
doesn't match <type 'dict'>: <type 'tuple'>
== 2016-06-15 18:33:00,317 types.py:179 DEBUG Parent type of value ('mpmath', '0.19',
'-Python-%(pyver)s') doesn't match <type 'dict'>: <type 'tuple'>
== 2016-06-15 18:33:00,317 types.py:171 DEBUG Check for elem_types requirement (((<type 'dict'>, (('elem_types',
(('full_mod_name', (<type 'str'>,)), ('name', (<type 'str'>,)), ('short_mod_name', (<type 'str'>,)),
('toolchain', ((<type 'dict'>, (('elem_types', (<type 'str'>,)), ('opt_keys', ()), ('req_keys', ('name',
'version')))),)), ('version', (<type 'str'>,)), ('versionsuffix', (<type 'str'>,)))), ('opt_keys',
('full_mod_name', 'short_mod_name', 'toolchain', 'versionsuffix')), ('req_keys', ('name', 'version')))),)) FAILED for
[('Python', '2.7.11'), ('mpmath', '0.19', '-Python-%(pyver)s')]
== 2016-06-15 18:33:00,318 types.py:176 DEBUG Non-trivial value type checking
of easyconfig value '[('Python', '2.7.11'), ('mpmath', '0.19',
'-Python-%(pyver)s')]': FAILED
== 2016-06-15 18:33:00,318 types.py:212 DEBUG Value type check for dependencies parameter value failed, going to try to automatically
convert to (<type 'list'>, (('elem_types', ((<type 'dict'>, (('elem_types', (('full_mod_name', (<type 'str'>,)),
('name', (<type 'str'>,)), ('short_mod_name', (<type 'str'>,)), ('toolchain', ((<type 'dict'>, (('elem_types',
(<type 'str'>,)), ('opt_keys', ()), ('req_keys', ('name', 'version')))),)), ('version', (<type 'str'>,)),
('versionsuffix', (<type 'str'>,)))), ('opt_keys', ('full_mod_name', 'short_mod_name', 'toolchain', 'versionsuffix')),
('req_keys', ('name', 'version')))),)),))
== 2016-06-15 18:33:00,318 types.py:154 DEBUG Parent type of value [('Python',
'2.7.11'), ('mpmath', '0.19', '-Python-%(pyver)s')] matches <type 'list'>,
going in...
== 2016-06-15 18:33:00,318 types.py:179 DEBUG Parent type of value ('Python', '2.7.11')
doesn't match <type 'dict'>: <type 'tuple'>
== 2016-06-15 18:33:00,318 types.py:179 DEBUG Parent type of value ('mpmath', '0.19',
'-Python-%(pyver)s') doesn't match <type 'dict'>: <type 'tuple'>
== 2016-06-15 18:33:00,319 types.py:171 DEBUG Check for elem_types requirement (((<type 'dict'>, (('elem_types',
(('full_mod_name', (<type 'str'>,)), ('name', (<type 'str'>,)), ('short_mod_name', (<type 'str'>,)),
('toolchain', ((<type 'dict'>, (('elem_types', (<type 'str'>,)), ('opt_keys', ()), ('req_keys', ('name',
'version')))),)), ('version', (<type 'str'>,)), ('versionsuffix', (<type 'str'>,)))), ('opt_keys',
('full_mod_name', 'short_mod_name', 'toolchain', 'versionsuffix')), ('req_keys', ('name', 'version')))),)) FAILED for
[('Python', '2.7.11'), ('mpmath', '0.19', '-Python-%(pyver)s')]
== 2016-06-15 18:33:00,319 types.py:176 DEBUG Non-trivial value type checking
of easyconfig value '[('Python', '2.7.11'), ('mpmath', '0.19',
'-Python-%(pyver)s')]': FAILED
== 2016-06-15 18:33:00,319 types.py:241 DEBUG Trying to convert value [('Python', '2.7.11'), ('mpmath', '0.19', '-Python-%(pyver)s')] (type:
<type 'list'>) to (<type 'list'>, (('elem_types', ((<type 'dict'>, (('elem_types', (('full_mod_name', (<type 'str'>,)),
('name', (<type 'str'>,)), ('short_mod_name', (<type 'str'>,)), ('toolchain', ((<type 'dict'>, (('elem_types', (<type
'str'>,)), ('opt_keys', ()), ('req_keys', ('name', 'version')))),)), ('version', (<type 'str'>,)), ('versionsuffix', (<type
'str'>,)))), ('opt_keys', ('full_mod_name', 'short_mod_name', 'toolchain', 'versionsuffix')), ('req_keys', ('name', 'version')))),)),)) using
<function to_dependencies at 0x14c1aa0>
== 2016-06-15 18:33:00,319 types.py:345 DEBUG Passing down dependency value of type
<type 'tuple'> without touching it: ('Python', '2.7.11')
== 2016-06-15 18:33:00,319 types.py:345 DEBUG Passing down dependency value of type
<type 'tuple'> without touching it: ('mpmath', '0.19', '-Python-%(pyver)s')
......
What I am doing wrong here?