You are not logged in.
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
Last edited by Ramses de Norre (2008-06-05 17:15:52)
Offline
voted
Give what you have. To someone, it may be better than you dare to think.
Offline
As it would be in place here more than where I got the recommendation for this pkgbuild...
Anyhow, I tried makepkg-c-ing this package, downloaded all the files, etc...
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)
Last edited by X/ax (2008-06-05 17:41:03)
My coding blog (or an attempt at it)
Archer start page (or an attempt at it)
Offline
i compiled just fine severals hour ago. is working fine.
try to delete src and pkg directory and then makepkg
Give what you have. To someone, it may be better than you dare to think.
Offline
me too, are you using a too aggressive number of jobs?
I know that too many may broke the compilation.. it seems like the compiler find compiled file where they shouldn't be...
Offline
It compiled just fine... The error conveniently told me what to do to solve it... But I was too (What's the name? stupid?) to read it...
I assume I'm running firefox3-rc2 at this moment... however, there's no real location to check (right?)
My coding blog (or an attempt at it)
Archer start page (or an attempt at it)
Offline
Doesn't it say in Help > about
Oh, and back on track I voted.
Last edited by Sp4rkR4t (2008-06-05 21:42:16)
Offline
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!
Last edited by dhave (2008-06-06 06:08:26)
Offline
Bumping this just due to frustration. I get this massive error after compiling/building for a !@#$ HOUR AND A HALF, suddenly spits back an error 2 message, but nothing that useful. This has happened twice. I've been trying to get this thing to work since noon today and haven't a !@#$ clue what to do about it.
And in the midst of such perfection,
I can't help but feel diseased.
Offline
The office one is built with PGO last time I looked, are you using ccache? How many cores and what is the -j # set too?
Offline
PKGBUILD here:
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.
Last edited by SomeGuyDude (2009-04-20 02:10:06)
And in the midst of such perfection,
I can't help but feel diseased.
Offline
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...
Last edited by adamlau (2009-04-22 17:53:26)
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
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)
Offline
Thanks, bm. I both downgraded and set --disable-pango to no avail.
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline