Dominic Hargreaves <d...@earth.li> writes: > This package FTBFS on the powerpc buildd, although it succeeds on > the porter box pescetti.debian.org: > > <https://buildd.debian.org/status/fetch.php?pkg=libogre-perl&arch=powerpc&ver=0.50-2&stamp=1313952565> > > # Failed test 'use Ogre;' > # at t/000_use.t line 8. > # Tried to use 'Ogre'. > # Error: Can't load > '/build/buildd-libogre-perl_0.50-2-powerpc-l7_S5f/libogre-perl-0.50/blib/arch/auto/Ogre/Ogre.so' > for module Ogre: > /build/buildd-libogre-perl_0.50-2-powerpc-l7_S5f/libogre-perl-0.50/blib/arch/auto/Ogre/Ogre.so: > undefined symbol: gdk_drawable_get_type at /usr/lib/perl/5.12/DynaLoader.pm > line 192.
I had a similar problem with libdevice-usb-perl: it was built successfully on all architectures except powerpc where it fails with the following message: --8<---------------cut here---------------start------------->8--- # Failed test 'use Device::USB;' # at t/00-load.t line 8. # Tried to use 'Device::USB'. # Error: Had problems bootstrapping Inline module 'Device::USB' # # Can't load '/build/buildd-libdevice-usb-perl_0.35-2-powerpc-sXvMqR/libdevice-usb-perl-0.35/blib/arch/auto/Device/USB/USB.so' for module Device::USB: /build/buildd-libdevice-usb-perl_0.35-2-powerpc-sXvMqR/libdevice-usb-perl-0.35/blib/arch/auto/Device/USB/USB.so: undefined symbol: usb_busses at /usr/lib/perl/5.12/DynaLoader.pm line 192, <DATA> line 1. # at /usr/share/perl5/Inline.pm line 534 --8<---------------cut here---------------end--------------->8--- <https://buildd.debian.org/status/fetch.php?pkg=libdevice-usb-perl&arch=powerpc&ver=0.35-2&stamp=1314619822> I noticed that the shared object is not linked against libusb on powerpc: cc -shared -O2 -g -L/usr/local/lib -fstack-protector USB.o -o blib/arch/auto/Device/USB/USB.so On all other architectures a -lusb is included. The same also happened for libogre-perl: powerpc: g++ -shared -O2 -g -L/usr/local/lib -fstack-protector Ogre.o PerlOGRECallback.o PerlOGRECallbackManager.o PerlOGREControllerFunction.o PerlOGREControllerValue.o PerlOGREFrameListener.o PerlOGREWindowEventListener.o perlOGREGUI.o -o blib/arch/auto/Ogre/Ogre.so \ -lOgreMain -lgio-2.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 \ amd64: g++ -shared -O2 -g -L/usr/local/lib -fstack-protector Ogre.o PerlOGRECallback.o PerlOGRECallbackManager.o PerlOGREControllerFunction.o PerlOGREControllerValue.o PerlOGREFrameListener.o PerlOGREWindowEventListener.o perlOGREGUI.o -o blib/arch/auto/Ogre/Ogre.so \ -lOgreMain -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 \ Several libraries linked on amd64 and others are not linked on powerpc. At a first glance these seem to be multiarch libraries (I only checked libusb and libfreetype; ogre (linked on both amd64 and powerpc) is not multiarch-enabled). Regards, Ansgar -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87k49w1ei1....@deep-thought.43-1.org