https://bugzilla.novell.com/show_bug.cgi?id=874885 https://bugzilla.novell.com/show_bug.cgi?id=874885#c0 Summary: devel:languages:python/cmake: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: speilicke@suse.com ReportedBy: ramiro@willmersdorf.net QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: Other Blocker: No Created an attachment (id=587446) --> (http://bugzilla.novell.com/attachment.cgi?id=587446) Shows where the problem is, and my fix. I think there is a mistake in the file: /usr/share/cmake/Modules/UseSWIG.cmake It's not prepending "_" to the generated python module, and when the module is loaded, it cannot find an init function, The problem is this: elseif ("${swig_lowercase_language}" STREQUAL "python") # this is only needed for the python case where a _modulename.so is generated set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "") I really think there should be an underscore there, as the comments imply, otherwise all hell breaks loose for python users of swig. Thanks for the attention and please forgive me if I've done anything stupid. Ramiro. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.