[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Issues building the g-i on PowerPC



Hi

I recently started doing some work with DirectFB 1.0 on PowerPC ( many thanks go to Rick Thomas who provided me remote access to a development PowerPC box), and i run into the following issues i wasn't able to solve myself, but pehrhaps some of you can

1) When i make the build_powerpc_netboot-gtk target (other targets untested), i get the following error by mklibs

2865 symbols, 56 unresolved
Traceback (most recent call last):
  File "/usr/bin/mklibs", line 432, in ?
    raise "Unresolvable symbol %s" % name
Unresolvable symbol SLsmg_write_string@SLANG2
make[2]: *** [stamps/tree-powerpc_netboot-gtk-stamp] Error 1
make[1]: *** [_build] Error 2
make: *** [build_powerpc_netboot-gtk] Error 2

the problem is that mklibs strips away that symbol from the shared library which provides it during reduction

attilio@macswell:~/svn/installer/build$ objdump -x ./tmp/powerpc_netboot-gtk/tree/lib/libslang.so.2-so-stripped | grep SLsmg_write_string
< no results >
attilio@macswell:~/svn/installer/build$ objdump -x ./tmp/powerpc_netboot-gtk/tree/lib/libslang.so.2-so | grep SLsmg_write_string
0002ef90 g     F .text  00000050              SLsmg_write_string

anyway, this problem can be workarounded by replacing mklibs with mklibs-copy in config/common.cfg

2) I have rebuilt some udebs (gtk+, cairo, pango, cdebconf) against dfb 1.0

attilio@macswell:~/svn/installer/build$ ls localudebs/*udeb
localudebs/cdebconf-gtk-udeb_0.125_powerpc.udeb
localudebs/cdebconf-newt-udeb_0.125_powerpc.udeb
localudebs/cdebconf-priority_0.125_all.udeb
localudebs/cdebconf-text-udeb_0.125_powerpc.udeb
localudebs/cdebconf-udeb_0.125_powerpc.udeb
localudebs/libcairo-directfb2-udeb_1.4.10-1_powerpc.udeb
localudebs/libdebconfclient0-udeb_0.125_powerpc.udeb
localudebs/libdirectfb-1.0-0-udeb_1.0.1-2_powerpc.udeb
localudebs/libdirectfb-bin-udeb_1.0.1-2_powerpc.udeb
localudebs/libgtk-directfb-2.0-0-udeb_2.12.1-1_powerpc.udeb
localudebs/libpango1.0-udeb_1.18.3-1_powerpc.udeb
localudebs/rootskel-gtk_1.08_powerpc.udeb


but, no matter i have no dfb 0.9.25 dependencies anymore, i still get the dfb 0.9.25 udeb unpacked into the cd tree aside dfb 1.0

aattilio@macswell:~/svn/installer/build$ ls tmp/powerpc_netboot-gtk/tree/usr/lib/ |grep directfb
directfb-0.9.25
directfb-1.0-0
libdirectfb-0.9.so.25
libdirectfb-0.9.so.25.0.0
libdirectfb-1.0.so.0
libdirectfb-1.0.so.0.1.0
libgdk-directfb-2.0.so.0
libgdk-directfb-2.0.so.0.1200.1
libgtk-directfb-2.0.so.0
libgtk-directfb-2.0.so.0.1200.1

attilio@macswell:~/svn/installer/build$ find -iname '*udeb'|grep libdirectfb
./apt.udeb/cache/archives/libdirectfb-1.0-0-udeb_1.0.1-2_powerpc.udeb
./apt.udeb/cache/archives/libdirectfb-0.9-25-udeb_0.9.25.1-6_powerpc.udeb
./localudebs/libdirectfb-1.0-0-udeb_1.0.1-2_powerpc.udeb
./localudebs/libdirectfb-bin-udeb_1.0.1-2_powerpc.udeb

how is this possible, since all the udebs which depended upon dfb 0.9.25 were rebuilt to depend from dfb 1.0 ?


3) At the end of the building process i get this error

=== Moving bootable kernel image file to ./dest/powerpc/netboot-gtk/vmlinuz-chrp.initrd... /usr/sbin/mkvmlinuz: line 451: ./dest/powerpc/netboot-gtk/vmlinuz-chrp.initrd: No such file or directory
=== Cleaning up...

Any help would be realy apreciated.

thanks

Attilio



Reply to: