Bug#613187: xs/SceneQuery.xs:28: error: cannot convert [..]

Jonathan Yu jonathan.i.yu at gmail.com
Sun Feb 13 13:51:23 UTC 2011


Dominic,

It looks like the dependencies might've changed recently...
who-uploads for both libogre-dev and libgtk2.0-dev give me nothing,
however:

 libgtk2.0-dev | 2.20.1-2         | squeeze         | amd64, armel,
i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc,
s390, sparc
 libgtk2.0-dev | 2.20.1-2         | wheezy          | amd64, armel,
i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc,
s390, sparc
 libgtk2.0-dev | 2.20.1-2         | sid             | alpha, amd64,
armel, hppa, hurd-i386, i386, ia64, kfreebsd-amd64, kfreebsd-i386,
mips, mipsel, powerpc, s390, sparc

All versions are the same across the suites.

 libogre-dev | 1.6.4.dfsg1-1 | squeeze | amd64, armel, i386, ia64,
kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc
 libogre-dev | 1.6.4.dfsg1-1 | wheezy  | amd64, armel, i386, ia64,
kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc
 libogre-dev | 1.6.4.dfsg1-1 | sid     | armel, mips
 libogre-dev | 1.7.1-1       | sid     | alpha, amd64, hppa,
hurd-i386, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mipsel, powerpc,
s390, sparc

It looks like libogre-dev was upgraded recently enough to not have
migrated to testing yet.

The upstream changelog for libogre-perl (new version is 0.50) has:

0.50 2010-12-14 | support Ogre >= 1.7.2
- dropping support for versions of Ogre before 1.7.2 (released 2010-11-03)
- removed Readonly (optional) dependence (for one example)
- ported to 1.7.2

So perhaps this fix also makes Ogre work with libogre-dev >= 1.7.1?

At this point, it looks like Ogre may not support 1.7.1, and the new
version doesn't support the existing libogre-dev (not tested by me yet
though, just based on the changelog entry). A bit of a tricky
situation indeed.

Cheers,

Jonathan

On Sun, Feb 13, 2011 at 8:18 AM, Dominic Hargreaves <dom at earth.li> wrote:
> Package: libogre-perl
> Version: 0.40-1
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
>
> This package failed to build on sid i386 today:
>
> g++ -c  -pthread -I/usr/include/OGRE   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm   -Wno-write-strings -O2 -g   -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" -fPIC "-I/usr/lib/perl/5.10/CORE"  -DPERLOGRE_HAS_GTK2 Ogre.c
> xs/SceneQuery.xs: In function 'void XS_Ogre__SceneQuery_getSupportedWorldFragmentTypes(PerlInterpreter*, CV*)':
> xs/SceneQuery.xs:28: error: cannot convert 'const std::set<Ogre::SceneQuery::WorldFragmentType, std::less<Ogre::SceneQuery::WorldFragmentType>, Ogre::STLAllocator<Ogre::SceneQuery::WorldFragmentType, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0u> > >*' to 'const std::set<Ogre::SceneQuery::WorldFragmentType, std::less<Ogre::SceneQuery::WorldFragmentType>, std::allocator<Ogre::SceneQuery::WorldFragmentType> >*' in initialization
> Ogre.c: In function 'void XS_Ogre__Root__setCurrentSceneManager(PerlInterpreter*, CV*)':
> Ogre.c:14683: error: 'class Ogre::Root' has no member named '_setCurrentSceneManager'
> xs/ResourceGroupManager.xs: In function 'void XS_Ogre__ResourceGroupManager_DEFAULT_RESOURCE_GROUP_NAME(PerlInterpreter*, CV*)':
> xs/ResourceGroupManager.xs:28: error: 'BOOTSTRAP_RESOURCE_GROUP_NAME' is not a member of 'Ogre::ResourceGroupManager'
> xs/RenderSystem.xs: In function 'void XS_Ogre__RenderSystem_bindGpuProgramParameters(PerlInterpreter*, CV*)':
> xs/RenderSystem.xs:123: error: no matching function for call to 'Ogre::RenderSystem::bindGpuProgramParameters(Ogre::GpuProgramType, Ogre::GpuProgramParametersSharedPtr&)'
> /usr/include/OGRE/OgreRenderSystem.h:1103: note: candidates are: virtual void Ogre::RenderSystem::bindGpuProgramParameters(Ogre::GpuProgramType, Ogre::GpuProgramParametersSharedPtr, Ogre::uint16)
> xs/Node.xs: In function 'void XS_Ogre__Node_getMaterial(PerlInterpreter*, CV*)':
> xs/Node.xs:320: error: 'class Ogre::Node' has no member named 'getMaterial'
> Ogre.c: In function 'void XS_Ogre__Node_getRenderOperation(PerlInterpreter*, CV*)':
> Ogre.c:30052: error: 'class Ogre::Node' has no member named 'getRenderOperation'
> Ogre.c: In function 'void XS_Ogre__MovableObject_detatchFromParent(PerlInterpreter*, CV*)':
> Ogre.c:30567: error: 'class Ogre::MovableObject' has no member named 'detatchFromParent'
> Ogre.c: In function 'void XS_Ogre__Mesh_getLodIndexSquaredDepth(PerlInterpreter*, CV*)':
> Ogre.c:32217: error: 'class Ogre::Mesh' has no member named 'getLodIndexSquaredDepth'
> Ogre.c: In function 'void XS_Ogre__Material_getLodIndexSquaredDepth(PerlInterpreter*, CV*)':
> Ogre.c:35427: error: 'class Ogre::Material' has no member named 'getLodIndexSquaredDepth'
> Ogre.c: In function 'void XS_Ogre__GpuProgram_setSurfaceAndPassLightStates(PerlInterpreter*, CV*)':
> Ogre.c:38177: error: 'class Ogre::GpuProgram' has no member named 'setSurfaceAndPassLightStates'
> Ogre.c: In function 'void XS_Ogre__ControllerManager_createGpuProgramTimerParam(PerlInterpreter*, CV*)':
> Ogre.c:40250: error: no matching function for call to 'Ogre::ControllerManager::createGpuProgramTimerParam(Ogre::GpuProgramParameters*&, size_t&, Ogre::Real&)'
> /usr/include/OGRE/OgreControllerManager.h:199: note: candidates are: Ogre::Controller<float>* Ogre::ControllerManager::createGpuProgramTimerParam(Ogre::GpuProgramParametersSharedPtr, size_t, Ogre::Real)
> make[1]: *** [Ogre.o] Error 1
>
> Note that it also failed on hurd-i386:
>
> https://buildd.debian.org/fetch.cgi?&pkg=libogre-perl&ver=0.40-1&arch=hurd-i386&stamp=1297238314&file=log
>
>
>
> _______________________________________________
> pkg-perl-maintainers mailing list
> pkg-perl-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-perl-maintainers
>





More information about the pkg-perl-maintainers mailing list