Bug#810972: libcegui-mk2-0.8.4 Python bindings cannot be used to run CEED (mismatching boost python symbols)

2016-01-16 Thread Muammar El Khatib
Source: cegui-mk2
Followup-For: Bug #810972

Hi,

I can confirm this problem, and I am trying to solve it. I checked the CEGUI's
wiki about CEED¹, and I fail to see what's missing for the moments. Indeed,
trying to import PyCEGUI fails.

Python 2.7.11 (default, Jan 11 2016, 21:04:40)
[GCC 5.3.1 20160101] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyCEGUI.so
>>> Traceback (most recent call last):
>>>   File "", line 1, in 
>>>   ImportError: ./PyCEGUI.so: undefined symbol:
>>>   _ZTIN5boost6python15instance_holderE

I am doing some tests, and apparently the problem is related to linking. In
fact, I changed it for PyCEGUI.so and now the error is the following:

Following problems found:
PyCEGUI was found but PyCEGUIOpenGLRenderer is missing! CEED can't render
embedded CEGUI without it. (exception:
/usr/lib/python2.7/dist-packages/cegui-0.8/PyCEGUIOpenGLRenderer.so: undefined
symbol: _ZN5CEGUI18OpenGLRenderTargetINS_12RenderTargetEED2Ev)
Your environment doesn't meet critical prerequisites! Can't start!

Let me finish patching everything what is needed to upload a new revision soon.

Regards,

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-rc8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

1. http://cegui.org.uk/wiki/CEED#Complete_Install_Notes_for_Ubuntu

--
Muammar El Khatib.
http://muammar.me | http://proyectociencia.org



Bug#810972: libcegui-mk2-0.8.4 Python bindings cannot be used to run CEED (mismatching boost python symbols)

2016-01-14 Thread Yohann FERREIRA
Package: libcegui-mk2-0.8.4 
Version: 0.8.4+dfsg-4
 

Hi,

Using the new libcegui-mk2-0.8.4 Python bindings, I used the CEED (Cegui 
unified Editor) version (0.8.0), which can be found here:
https://bitbucket.org/cegui/ceed/src/b1589c21bf24a9beee832bfe1cd20e66cb99dfaf/?at=v0-8

I also created a custom repository with the same code and debian files prepared 
for packaging here:
https://github.com/Bertram25/ceed

Unfortunately, once installing CEED on the Debian system, using the debian 
package built out of the above repository, I end up with the following error:

PyCEGUI package is missing! PyCEGUI provides Python bindings for CEGUI, the 
library this editor edits assets for, see cegui.org.uk. (exception: 
/usr/lib/python2.7/dist-packages/cegui-0.8/PyCEGUI.so: undefined symbol: 
_ZTIN5boost6python15instance_holderE)
Your environment doesn't meet critical prerequisites! Can't start!

It seems according to the error that the boost python symbols used to create 
the PyCEGUI.so file (CEgui Python Bindings) is mismatching between my system 
(Which is a Debian unstable up-to-date at the time of writing) and the binary 
boost version. 

Could you help me on that issue so we can eventually package Ceed for Debian?

Thanks a lot!

Yohann