cournape/Bento — Issue #80: Failure to build scipy with Bento
Author: scottza
Created: 2012-01-17 05:58:16+00:00
State: open

I've tried to build a recent checkout of scipy master using Bento (current master) with waf 1.6.10 on an Ubuntu machine. The build process fails (see build output below). I have no trouble building numpy with Bento on the same machine. I'm building inside a virtualenv, but see the same issue when building outside of that environment.

```$ $BENTO_ROOT/bentomaker build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for program python : ['/home/scott/.virtualenvs/scipy-sandbox/bin/python']
python executable '['/home/scott/.virtualenvs/scipy-sandbox/bin/python']' different from sys.executable '/home/scott/.virtualenvs/scipy-sandbox/bin/python'
Checking for python version : (2, 7, 1, 'final', 0)
Checking for library python2.7 in LIBDIR : yes
Checking for program python2.7-config,python-config-2.7,python2.7m-config : /usr/bin/python2.7-config
Checking for 'gfortran' (fortran compiler) : /usr/bin/gfortran
Checking for program f2py : /home/scott/.local/bin/f2py
fortran link verbose flag : -v
Getting fortran runtime link flags : ok (-Lrelro -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1 -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../.. -lgfortran -lm -lquadmath -lm)
Detecting whether we need a dummy main : yes main
Getting fortran mangling scheme : ok ('_', '', 'lower-case')
Checking for library ['f77blas', 'cblas', 'atlas'] : yes
Checking for library ['cblas', 'atlas'] : yes
Checking for library ['lapack', 'f77blas', 'cblas', 'atlas'] : yes
Checking for library ['lapack', 'f77blas', 'cblas', 'atlas'] : yes
UMFPACK DISABLED
File "/home/scott/external_repos/Bento/bentomakerlib/bentomaker.py", line 452, in noexc_main
ret = main(argv)
File "/home/scott/external_repos/Bento/bentomakerlib/bentomaker.py", line 242, in main
return _wrapped_main(global_context, popts, run_node, top_node, build_node)
File "/home/scott/external_repos/Bento/bentomakerlib/bentomaker.py", line 288, in _wrapped_main
return _main(global_context, popts, run_node, top_node, build_node)
File "/home/scott/external_repos/Bento/bentomakerlib/bentomaker.py", line 361, in _main
run_cmd(global_context, cmd_name, cmd_opts, run_node, top_node, build_node)
File "/home/scott/external_repos/Bento/bentomakerlib/bentomaker.py", line 436, in run_cmd
run_node, top_node, pkg, package_options)
File "/home/scott/external_repos/Bento/bento/commands/wrapper_utils.py", line 54, in run_cmd_in_context
cmd_func(context)
File "/home/scott/external_repos/Bento/bento/commands/build.py", line 53, in run
ctx.compile()
File "/home/scott/external_repos/Bento/bento/commands/extras/waf.py", line 336, in compile
self.waf_context.compile()
File "/home/scott/Data/scripts/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/Build.py", line 182, in compile
self.producer.start()
File "/home/scott/Data/scripts/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/Runner.py", line 148, in start
self.refill_task_list()
File "/home/scott/Data/scripts/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/Runner.py", line 98, in refill_task_list
self.outstanding.extend(self.biter.next())
File "/home/scott/Data/scripts/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/Build.py", line 396, in get_build_iterator
self.post_group()
File "/home/scott/Data/scripts/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/Build.py", line 380, in post_group
f()
File "/home/scott/Data/scripts/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/TaskGen.py", line 110, in post
v()
File "/home/scott/Data/scripts/.waf-1.6.10-84fbc87adc22fe809febcc192afd90b1/waflib/TaskGen.py", line 229, in process_source
self.get_hook(node)(self,node)
File "/home/scott/external_repos/scipy/bscript", line 60, in c_template
raise ValueError("FTemplateTask without feature 'fc' ?")
bentomaker: Error: bentomaker crashed (uncaught exception : FTemplateTask without feature 'fc' ?).
Please report this on bento issue tracker:
http://github.com/cournape/bento/issues```