+++ This bug was initially created as a clone of Bug #704527 +++ For the full history, please refer to bug #704527. Swig generates wrappers for guile using deprecated symbols. This seems to cause failures in gnucash unit tests. Check https://bugzilla.gnome.org/show_bug.cgi?id=655901#c12 and below for details on the errors. Petr Gadjos created a patch that fixes the wrappers found in the gnucash tarball (which means after swig generation), eliminating the use of SCM_STRING_CHARS (see the above bugs). This is unfortunately only a workaround and can't be applied to the gnucash source in svn/git, because it will each time regenerate the guile wrappers. To really fix this, the guile generation code in swig has to be updated. Note that there is an old bugreport on the swig bugtracker for this, but nothing has been done with it: https://sourceforge.net/tracker/?func=detail&aid=1511038&group_id=1645&atid=301645 The argument over there is that swig (at least in 2007) wanted to maintain compatibility with guile 1.6. I have added a comment over there as well regarding this issue.
Proposed patch is ready but it won't be applied before guile2 gets into distribution. Check https://bugzilla.redhat.com/show_bug.cgi?id=704527#c16 for more info.
Is there a relatively easy way to install guile 2.0 on Fedora 16 ? If so, I can experiment with it to see if I can patch GnuCash to work around the swig issues.
F16 builds of guile-2.0.3 are available here: http://mlichvar.fedorapeople.org/tmp/guile/
Created attachment 663869 [details] Fix deprecated symbols in swig 2.0.8 Bug 704527 contains a patch that will make swig work with guile 2, but not with guile 1.8. This patch was also sent upstream, but there is no reaction so far. It is unlikely to get accepted, because the last comments even wanted guile 1.6 compatibility. So I have created an improved patch for swig 2.0.8. With this patch swig can work with guile 1.6, 1.8 and 2.0. It removes all deprecated warnings that were generated with guile 2.0 and fixes the blocking issue for which the patch in bug 704527 was written originally. I have successfully used it to build gnucash (development branch) with guile 2. I will also send this patch upstream. Hopefully it will be accepted.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
I have worked with upstream swig developers to get the guile 2 support merged in. As of yesterday, all fixes required for swig to generate proper guile 2 compatible wrappers have been merged in master. The next swig version (2.0.10) will have proper guile 2 support. I have no idea of their release plans though.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
swig-2.0.10-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/swig-2.0.10-1.fc19
Package swig-2.0.10-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing swig-2.0.10-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-10185/swig-2.0.10-1.fc19 then log in and leave karma (feedback).
swig-2.0.10-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.