You are not logged in.

#651 2010-10-19 18:42:29

bowhuntr
Member
Registered: 2009-05-05
Posts: 14

Re: Official firefox-pgo thread

I have tried to build both Firefox-pgo and Firefox-pgo-beta and keep getting this error:

SyntaxError: invalid syntax
make[4]: *** [export] Error 1
make[4]: Leaving directory `/tmp/clyde-gary/firefox-pgo-beta/firefox-pgo-beta/src/mozilla-central/ff-pgo/config'
make[3]: *** [export_tier_base] Error 2
make[3]: Leaving directory `/tmp/clyde-gary/firefox-pgo-beta/firefox-pgo-beta/src/mozilla-central/ff-pgo'
make[2]: *** [tier_base] Error 2
make[2]: Leaving directory `/tmp/clyde-gary/firefox-pgo-beta/firefox-pgo-beta/src/mozilla-central/ff-pgo'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/clyde-gary/firefox-pgo-beta/firefox-pgo-beta/src/mozilla-central/ff-pgo'
make: *** [build] Error 2
    Aborting...
error: Build failed

Any help fixing this would be appreciated.

Offline

#652 2010-10-19 18:44:04

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Official firefox-pgo thread


Give what you have. To someone, it may be better than you dare to think.

Offline

#653 2010-10-19 18:55:40

bowhuntr
Member
Registered: 2009-05-05
Posts: 14

Re: Official firefox-pgo thread

Can you explain how to add this patch, please?

Offline

#654 2010-10-19 19:06:29

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Official firefox-pgo thread

add it to sources array and in build function patch -Np0 -i $srcdir/patchename, regenerate md5sums with makepkg -g and then makepkg


Give what you have. To someone, it may be better than you dare to think.

Offline

#655 2010-10-19 19:40:25

bowhuntr
Member
Registered: 2009-05-05
Posts: 14

Re: Official firefox-pgo thread

I can't seem to get my head wrapped around all this. I don't usually build packages. I either use the regular repos or AUR

Offline

#656 2010-10-22 11:47:49

bowhuntr
Member
Registered: 2009-05-05
Posts: 14

Re: Official firefox-pgo thread

I got it built by adding export PYTHON=python2 right before the first build in the pkgbuild. Does anybody know how to get the extensions working in this build?

Offline

#657 2010-10-28 23:48:51

DarksideEE7
Member
From: Arkansas, United States
Registered: 2009-06-06
Posts: 356

Re: Official firefox-pgo thread

I'm unable to build....stopping on this like and just freezing:

Xlib:  extension "RANDR" missing on display ":99.0"

I saw another thread about this but it was very ambiguous.  I'm not even sure that they were able to resolve it other than saying that  Xlib 'can be ignored'.

Offline

#658 2010-10-29 06:27:07

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: Official firefox-pgo thread

DarksideEE7 wrote:

I'm unable to build....stopping on this like and just freezing:

Xlib:  extension "RANDR" missing on display ":99.0"

I saw another thread about this but it was very ambiguous.  I'm not even sure that they were able to resolve it other than saying that  Xlib 'can be ignored'.

Ehh, the compilation stops because of that?

Offline

#659 2010-10-29 22:58:35

harryNID
Member
From: P3X-1971
Registered: 2009-06-12
Posts: 117

Re: Official firefox-pgo thread

@DarksideEE7

Maybe this hint will help: (This is the code for where your stopped at)

LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &

Did you figure it out yet?

Don't worry got me too. Make sure you have "xorg-server-xvfb" installed. It was split recently from xorg and you have to install it yourself now. It really needs to be added to the package dependencies.

Hope this helps!! smile


In solving a problem of this sort, the grand thing is to be able to reason backward. That is a very useful accomplishment, and a very easy one, but people do not practice it much. In the everyday affairs of life it is more useful to reason forward, and so the other comes to be neglected. There are fifty who can reason synthetically for one who can reason analytically.  --Sherlock Holmes

Offline

#660 2010-10-29 23:00:25

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: Official firefox-pgo thread

DarksideEE7 wrote:

I'm not even sure that they were able to resolve it other than saying that  Xlib 'can be ignored'.

Yes, that message can be ignored. As I wrote earlier in this topic:

[T]hat's this problem.

Do not change your makepkg.conf, that's hardly ever necessary and won't solve this problem. Change the CFLAGS and CXXFLAGS in your PKGBUILD to something like (in your case):

export CFLAGS="-march=i686 -O2 -pipe"
export CXXFLAGS="${CFLAGS}"

Another possiblity (you don't have to use them both) is to change .makepkg on-the-fly (at least it worked for me). Add this line to your PKGBUILD, just after "$srcdir"/mozconfig is copied to .mozconfig:

sed -i 's/--enable-optimize/--enable-optimize="-O2"/' .mozconfig

Offline

#661 2010-11-01 17:25:33

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Official firefox-pgo thread

interesting: firefox 4.06beta cut down Sunspider benchmark to half:
firefox 3.6.x (no difference between updates) : 1340ms
firefox 4.0 beta: 766ms

finally firefox for linux is on par with windows. Not to mention that beta version is more stable than official

Offline

#662 2010-11-05 19:44:57

Majki
Member
From: Poland/Pila
Registered: 2009-07-03
Posts: 19

Re: Official firefox-pgo thread

User on AUR reports, that ff 4.0 beta 7

   

And it builds and works fine with the same PKGBUILD.

Anybody tried to compile?

Offline

#663 2010-11-06 10:45:18

bobdob
Member
Registered: 2008-06-13
Posts: 138

Re: Official firefox-pgo thread

It compiles fine for me too, using it right now.

Offline

#664 2010-11-07 10:07:08

Majki
Member
From: Poland/Pila
Registered: 2009-07-03
Posts: 19

Re: Official firefox-pgo thread

Compiled, works smoothly.

One problem - ReadItLater stopped syncing. Previously there was no problem with that. Beta7 has problem. I've compiled it with Firefox sync workaround:

#Firefox sync workaround
sed -i 's/--with-system-nss/--without-system-nss/' \
.mozconfig || return 1

Beta6 worked great with extension - now it's broken. Anybody encountered this?

Offline

#665 2010-11-19 03:58:21

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Official firefox-pgo thread

I have no flash video in Firefox-pgo-beta 4.0b7build1-1 in Arch64. I have the stock flashplugin (10.1.102.64-1) from the multilib repository installed.  I also tried replacing it with flashplugin-square from AUR.  With either flashplugin, the plugin shows up in about:plugins, but I only see a black square for videos on youtube.

Any suggestions?

Edit: Update: Restarted firefox in safe-mode, and flash works.  Looks like there might be a conflict with an extension.

Solved: Oddly enough, the problem was caused by a conflict with the Mr. Tech Link Wrapper extension.

Last edited by jt512 (2010-11-19 05:50:40)

Offline

#666 2010-11-25 07:53:42

taavi
Member
From: Tartu, Estonia
Registered: 2010-10-10
Posts: 50
Website

Re: Official firefox-pgo thread

Once going to http://translate.google.com, plugin-container (flash) starts eating loads of CPU and Firefox hangs for ~40 seconds. After that it unhangs, open page and says "some" plugin has crashed. I have Shockwave Flash 10.2 d161 installed.

It was 666th post, thank you very much.

Last edited by taavi (2010-11-25 07:55:03)

Offline

#667 2010-11-25 10:37:10

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: Official firefox-pgo thread

What version of Firefox do you use? I never experienced that with that page, neither using 3.6.X nor FF4b7.

666th post? I see 'Posts: 9'.

Last edited by Marcel- (2010-11-25 10:37:44)

Offline

#668 2010-11-25 10:39:25

taavi
Member
From: Tartu, Estonia
Registered: 2010-10-10
Posts: 50
Website

Re: Official firefox-pgo thread

local/firefox-pgo 3.6.12-1

666 in thread lol

Offline

#669 2011-02-02 02:07:22

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: Official firefox-pgo thread

Am new to trying out PGO, so I have a pretty dumb question, if I build on another machine (same architecture but different processor) will the optimizations cause problems running this package on my current machine?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#670 2011-02-02 11:29:09

Majki
Member
From: Poland/Pila
Registered: 2009-07-03
Posts: 19

Re: Official firefox-pgo thread

@ngoonee
AFAIK Should be problems.

Offline

#671 2011-02-02 14:28:22

bobdob
Member
Registered: 2008-06-13
Posts: 138

Re: Official firefox-pgo thread

I was building this for a while on my 64-bit athlon in a 32-bit chroot for my eee. I think as long as you don't use too specific CFLAGS (for the target) then there shouldn't be any problems.
You might not get the best optimizations, but at least it won't take days to compile on the slower cpu. (I'm guessing thats the reason).

Offline

#672 2011-02-02 21:49:39

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: Official firefox-pgo thread

I have a question... I have been using firefox-pgo-beta for a while now, and every time I get a new version, I remove 'libgnomeui' from the PKGBUILD. The reason is it pulls a lot of deps for me:

oscar@arch-laptop: [~] >>> yaourt -S libgnomeui
Lösenord: 
löser beroenden...
letar efter interna konflikter...

Mål (10): libart-lgpl-2.3.21-1  libgnomecanvas-2.30.3-1  hal-info-0.20091130-1  dmidecode-2.11-1  hal-0.5.14-6  gnome-vfs-2.24.4-1
          libbonobo-2.32.0-1  libgnome-2.32.0-3  libbonoboui-2.24.4-1  libgnomeui-2.24.4-1

(sorry it's in swedish)

For example, I don't want HAL on my system... Anyway, my question is, why is 'libgnomeui' in the makedepends? It always compiles without trouble, and it works beautifully without it.

Last edited by KlavKalashj (2011-02-02 21:50:30)

Offline

#673 2011-02-03 08:11:55

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Official firefox-pgo thread

It's a makedepend and you can remove it afterwards, along with it's own dependencies.

Offline

#674 2011-02-03 17:43:35

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: Official firefox-pgo thread

flamelab wrote:

It's a makedepend and you can remove it afterwards, along with it's own dependencies.

That does not answer my question... What I mean is, I don't have libgnomeui installed, and I remove it from makedepends in the PKGBUILD. I never install it. Firefox still compiles and runs fine, hence the question. Sorry if I'm being unclear, english is not my native language.

Offline

#675 2011-02-04 07:37:30

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Official firefox-pgo thread

you need to put the following in mozconfig:

ac_add_options --disable-gnomeui --disable-gnomevfs

then do the sha256sum on mozconfig again and add it to PKGBUILD


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

Board footer

Powered by FluxBB