Please backport swig2.0 (2.0.7-2ubuntu1) from quantal

Bug #1010452 reported by Karl Wette
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Precise Backports
Opinion
Undecided
Unassigned

Bug Description

Please consider backporting swig2.0, swig2.0-doc, and swig2.0-examples (2.0.7-2ubuntu1) from quantal. There have been a number of improvements to SWIG since the version currently in precise (2.0.4, released ~1 year ago), and it would be very useful to have these features available in a LTS release. Release notes for SWIG 2.0.7 can be found here:
http://www.swig.org/Release/RELEASENOTES

Thanks in advance!
Cheers,
Karl

Revision history for this message
Karl Wette (kwwette) wrote :

Some further information:

* The swig2.0 packages in quantal can be backported to precise without modification, i.e.
$ backportpackage -b -w /tmp http://archive.ubuntu.com/ubuntu/pool/main/s/swig2.0/swig2.0_2.0.7-2ubuntu1.dsc
produces packages without errors.

* The packages produced by backportpackage install correctly.

* The swig binary installed by these packages runs, and from testing appears to be working correctly.

* swig2.0 has the following reverse dependencies (aside from other swig packages): python-instant, python-dolfin, libsyfi1.0-dev. Unfortunately, it looks like python-dolfin will not work with the backported version, since it requires the version of swig it was compiled with (v2.0.4). I get the following error, after installing dolfin-doc and trying to run a demo code in /usr/share/dolfin/demo/la/eigenvalue/python:

$ python ./demo_eigenvalue.py Traceback (most recent call last):
  File "./demo_eigenvalue.py", line 44, in <module>
    V = FunctionSpace(mesh, "CG", 1)
  File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 353, in __init__
    FunctionSpaceBase.__init__(self, mesh, element)
  File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 77, in __init__
    ufc_element, ufc_dofmap = jit(self._ufl_element)
  File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 66, in mpi_jit
    return local_jit(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 114, in jit
    """%cpp.__swigversion__
OSError: PyDOLFIN was not compiled with the present version of swig.
Install swig version 2.0.4 or recompiled PyDOLFIN with present swig

I'm guessing this is a fatal problem?

Changed in precise-backports:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.