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

Re: Issues building the g-i on PowerPC



Frans Pop wrote:
On Friday 16 November 2007, Attilio Fiandrotti wrote:
Frans Pop wrote:
On Friday 16 November 2007, Attilio Fiandrotti wrote:
1) When i make the build_powerpc_netboot-gtk target (other targets
untested), i get the following error by mklibs
That looks like it could be #433874, but that is supposed to be
solved...

The only thing that can tell exactly what happens is the full output of
mklibs with three times the '-v' option ("-v -v -v").
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
A full gzipped log (900KB) can be found here [1].

That log does _not_ contain the additional mklibs debugging output.
You need to add the additional -v options in the Makefile.

my fault: i was adding the -v -v -v options to the MKLIBS variable in cfg/common file, not to the Makefile.

Now i patched properly the Makefile

Index: Makefile
===================================================================
--- Makefile    (revision 50159)
+++ Makefile    (working copy)
@@ -436,7 +436,7 @@
        -cp -a `find $(EXTRAUDEBSDIR)/lib -name '*.so.*'` $(TEMP)/udeblibs
        -cp -a `find $(TREE)/lib -name '*.so.*'` $(TEMP)/udeblibs
        mkdir -p $(TREE)/lib
- $(MKLIBS) -L $(TREE)/usr/lib -L $(TEMP)/udeblibs -v -d $(TREE)/lib --root=$(TREE) \ + $(MKLIBS) -L $(TREE)/usr/lib -L $(TEMP)/udeblibs -v -v -v -d $(TREE)/lib --root=$(TREE) \
                -L $(TREE)/usr/lib/cdebconf/frontend \
$(addprefix -l,$(notdir $(wildcard $(TREE)/usr/lib/cdebconf/frontend/*.so))) \ `find $(TEMP) -type f -a \( -perm +0111 -o -name '*.so' -o -name '*.so.*' \) | grep -v udeblibs`

and updated the gzipped logfile [1], but at my inexerienced eyes it looks like the previous.

2) I have rebuilt some udebs (gtk+, cairo, pango, cdebconf) against
dfb 1.0
Change $debug=0 to 1 in installer/build/util/pkg-list to see what's
pulling it in.
done, but didn't work, so excluded manually the udeb from list of those
used for building the image

It was not supposed to _fix_ the issue, but to _show why/how_ the old udeb is getting pulled in. Please do not work around this, but check the debugging output with that option enabled!

i patched the pkg-list perl script as

attilio@macswell:~/svn/installer/build$ svn diff util/pkg-list
Index: util/pkg-list
===================================================================
--- util/pkg-list       (revision 50159)
+++ util/pkg-list       (working copy)
@@ -36,7 +36,7 @@
        print STDERR "** warning: @_\n";
 }

-my $debug=0;
+my $debug=1;
 my $debugindent=0;

 sub debug {

and removed the old hack, but still i cannot get any valuable information (or i'm not able to recognize it) from the output i get [2].

3) At the end of the building process i get this error
but still i'm getting the same error, pherhaps because it's related to
chrp and not prep ?

OK. In that case I cannot help with this. You could try asking Colin Watson.
My commits to disable prep were still correct though.

ok, tank you anyway, i hope Colin can have a look at that, although it's not a critical issue atm.

sincerely

Attilio

[1] https://debian.polito.it/downloads/build_powerpc_netboot-gtk.log.gz
[2] https://debian.polito.it/downloads/build_pkg-list.log.gz



Reply to: