My prob appears to be related to the recent Pango 1.24.1 update...
make[7]: *** [gfxPangoFonts.o] Error 1 make[7]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu/gfx/thebes/src' make[6]: *** [libs] Error 2 make[6]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu/gfx/thebes' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu/gfx' make[4]: *** [libs_tier_gecko] Error 2 make[4]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu' make[3]: *** [tier_gecko] Error 2 make[3]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu' make[2]: *** [default] Error 2 make[2]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu' make[1]: *** [build] Error 2 make[1]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1' make: *** [profiledbuild] Error 2
Going to downgrade to 1.24.0 and give it another shot...
you need this patch
diff -up xulrunner-1.9.1/mozilla-central/gfx/thebes/src/gfxPangoFonts.cpp.old xulrunner-1.9.1/mozilla-central/gfx/thebes/src/gfxPangoFonts.cpp
--- mozilla-central/gfx/thebes/src/gfxPangoFonts.cpp.old 2009-02-27 16:19:07.000000000 +0100
+++ mozilla-central/gfx/thebes/src/gfxPangoFonts.cpp 2009-02-27 16:37:30.000000000 +0100
@@ -1299,12 +1299,11 @@ gfx_pango_font_map_context_substitute(Pa
static PangoFcFont *
gfx_pango_font_map_create_font(PangoFcFontMap *fontmap,
- PangoContext *context,
- const PangoFontDescription *desc,
- FcPattern *pattern)
+ PangoFcFontKey *fontkey)
{
+ const FcPattern *p_pattern = pango_fc_font_key_get_pattern(fontkey);
return PANGO_FC_FONT(g_object_new(GFX_TYPE_PANGO_FC_FONT,
- "pattern", pattern, NULL));
+ "pattern", p_pattern, NULL));
}
static void
@@ -1324,9 +1323,8 @@ gfx_pango_font_map_class_init(gfxPangoFo
// context_key_* virtual functions are only necessary if we want to
// dynamically respond to changes in the screen cairo_font_options_t.
- // context_substitute and get_font are not likely to be used but
+ // get_font is not likely to be used but
// implemented because the class makes them available.
- fcfontmap_class->context_substitute = gfx_pango_font_map_context_substitute;
fcfontmap_class->create_font = gfx_pango_font_map_create_font;
}
FTR, this has been fixed today in mercurial (1.9.1 branch)
]]>make[7]: *** [gfxPangoFonts.o] Error 1
make[7]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu/gfx/thebes/src'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu/gfx/thebes'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu/gfx'
make[4]: *** [libs_tier_gecko] Error 2
make[4]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_gecko] Error 2
make[3]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1/obj-x86_64-unknown-linux-gnu'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/bbs/Desktop/mozilla-1.9.1'
make: *** [profiledbuild] Error 2
Going to downgrade to 1.24.0 and give it another shot...
]]>build() {
cd ${srcdir}/mozilla
patch -Np1 -i ${srcdir}/mozilla-firefox-1.0-lang.patch || return 1
# FS#10836: fixes backgroundcolor parsing with gnome
patch -Np0 -i ${srcdir}/mozbug421977.patch || return 1
cp ${srcdir}/mozconfig .mozconfig
export LDFLAGS="${LDFLAGS} -lX11 -lXrender -Wl,--as-needed"
LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
XPID=$!
export DISPLAY=:99
export CFLAGS="-march=native"
export CXXFLAGS="-march=native"
# sed -e 's/#CFLAGS#/'"$CFLAGS"'/g' <"$srcdir"/mozconfig >.mozconfig
LD_PRELOAD="" make -f client.mk profiledbuild MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
kill $XPID
make -j1 DESTDIR=${pkgdir} -C ff-opt-obj install || return 1
I've changed the -j1 to j3 a few times, added an -o2 or o3 to the CFLAGS, no go.
I'm on a Core2Duo proc, don't have ccache installed.
]]>I posted a feature request to build firefox3 from unstable with PGO enabled, as this package does. Please vote for it if you'd like that too
Compiled just fine, and didn't take so very long, though the last time I'd try to build Firefox a couple of years ago, it was on a Pentium 3 (850MHz), which was like watching grass grow.
I also cast my vote for the package. Thanks!
]]>Oh, and back on track I voted.
]]>try to delete src and pkg directory and then makepkg
]]>creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gawk... gawk
***
* Your source tree contains these files:
* /home/cpf/build/firefox3/src/mozilla/Makefile
* /home/cpf/build/firefox3/src/mozilla/config/autoconf.mk
* This indicates that you previously built in the source tree.
* A source tree build can confuse the separate objdir build.
*
* To clean up the source tree:
* 1. cd /home/cpf/build/firefox3/src/mozilla
* 2. gmake distclean
***
*** Fix above errors and then restart with "make -f client.mk build"
make[2]: *** [configure] Error 1
make[2]: Leaving directory `/home/cpf/build/firefox3/src/mozilla'
make[1]: *** [/home/cpf/build/firefox3/src/mozilla/ff-opt-obj/Makefile] Error 2
make[1]: Leaving directory `/home/cpf/build/firefox3/src/mozilla'
make: *** [profiledbuild] Error 2
==> ERROR: Build Failed.
Aborting...
This is where it stops...
I have no idea what it is... -.-"
If anyone could help me on this one, it would be greatly appreciated.
//edit
Rofl - after reading my own post I somehow suddenly understood the hugely simplistic request it is making... >.>
I must be getting too little sleep or something... >.>
Please ignore this post (unless you can be aided by it)