← Back to team overview

ffc team mailing list archive

Re: FFC uses wrong version of SWIG

 

On 05/05/2011 06:20 PM, Johan Hake wrote:
This is fixed now, but we need to regenerate the references.

I spent 10 minutes trying to figure outhow to do that. I was not able to
figure it out. Could someone(TM) please add a howto, preferably in a README
file in the test/regression folder?



On way.

--
Marie

Johan

On Thursday May 5 2011 03:22:14 Johannes Ring wrote:
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/jitc
ompiler.py", line 59, in jit
     return jit_form(object, parameters, common_cell)
   File
"/home/buildbot/buildbots/main/fenics/lib/python2.6/site-packages/ffc/jitc
ompiler.py", line 119, in jit_form
     cache_dir = cache_dir)
   File
"/home/buildbot/buildbots/main/fenics/lib/python2.6/site-packages/ufc_util
s/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_util
s/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

_______________________________________________
Mailing list: https://launchpad.net/~ffc
Post to     : ffc@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~ffc
Post to     : ffc@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ffc
More help   : https://help.launchpad.net/ListHelp




References