Bug#732725: #732725: libogre-perl: Please upgrade OGRE dependency to 1.9 when upstream ready

Damyan Ivanov dmn at debian.org
Thu Mar 20 20:08:31 UTC 2014


Control: tag -1 upstream
Control: forwarded -1 https://rt.cpan.org/Ticket/Display.html?id=94066

I tried to port libogre-perl to ogre-1.9-dev, and after some monkey 
patching, I reached a point where my lack of C++ foo shows.

Help is needed for fixing the following two errors:

---------------------------------------------------------------
g++ -c  -pthread -I/usr/include/OGRE   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz   -Wno-write-strings -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -DVERSION=\"0.60\" -DXS_VERSION=\"0.60\" -fPIC "-I/usr/lib/perl/5.18/CORE"  -DPERLOGRE_HAS_GTK2 Ogre.c
In file included from /usr/include/OGRE/OgreAnimable.h:37:0,
                 from /usr/include/OGRE/OgreAnimation.h:35,
                 from /usr/include/OGRE/Ogre.h:33,
                 from Ogre.xs:1:
/usr/include/OGRE/OgreSharedPtr.h: In instantiation of 'Ogre::SharedPtr<T>::SharedPtr(const Ogre::SharedPtr<Y>&) [with Y = Ogre::Resource; T = Ogre::Skeleton]':
./xs/SkeletonManager.xs:11:64:   required from here
/usr/include/OGRE/OgreSharedPtr.h:202:28: error: invalid conversion from 'Ogre::Resource*' to 'Ogre::Skeleton*' [-fpermissive]
             , pInfo(r.pInfo)
                            ^
/usr/include/OGRE/OgreSharedPtr.h: In instantiation of 'Ogre::SharedPtr<T>::SharedPtr(const Ogre::SharedPtr<Y>&) [with Y = Ogre::Resource; T = Ogre::Material]':
./xs/MaterialManager.xs:11:63:   required from here
/usr/include/OGRE/OgreSharedPtr.h:202:28: error: invalid conversion from 'Ogre::Resource*' to 'Ogre::Material*' [-fpermissive]
make[1]: *** [Ogre.o] Error 1
---------------------------------------------------------------

The current patch is in Git <http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libogre-perl.git;a=blob;f=debian/patches/ogre-1.9.patch>

Please help!


-- dam



More information about the pkg-perl-maintainers mailing list