← Back to team overview

ffc team mailing list archive

FFC uses wrong version of SWIG

 

Hi,

Martin made me aware of the following error on the buildbot:

Traceback (most recent call last):
  File "/home/buildbot/buildbots/main/fenics-src/ffc/test/unit/misc/test.py",
line 275, in testPoisson
    jit(a0, options)
  File "/home/buildbot/buildbots/main/fenics/lib/python2.6/site-packages/ffc/jitcompiler.py",
line 59, in jit
    return jit_form(object, parameters, common_cell)
  File "/home/buildbot/buildbots/main/fenics/lib/python2.6/site-packages/ffc/jitcompiler.py",
line 119, in jit_form
    cache_dir = cache_dir)
  File "/home/buildbot/buildbots/main/fenics/lib/python2.6/site-packages/ufc_utils/build.py",
line 60, in build_ufc_module
    (cpp_path, swig_include_dirs) = configure_instant(swig_binary, swig_path)
  File "/home/buildbot/buildbots/main/fenics/lib/python2.6/site-packages/ufc_utils/build.py",
line 105, in configure_instant
    """ % ufc.__swigversion__
OSError: The python extension module of UFC was not compiled with the
present version of swig.
Install swig version 2.0.1 or recompiled UFC with present swig

The problem seems to be that UFC was built with /usr/bin/swig2.0,
while FFC tries to use /usr/bin/swig. I'm not sure if the bug is in
UFC, Instant or FFC.

Full log on buildbot:

http://fenicsproject.org:8080/builders/ffc-lucid-amd64/builds/348/steps/ffc%20check/logs/stdio

Johannes



Follow ups