Package Details: firefox-kde-opensuse 47.0.1-1

Git Clone URL: https://aur.archlinux.org/firefox-kde-opensuse.git (read-only)
Package Base: firefox-kde-opensuse
Description: Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE
Upstream URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox
Licenses: GPL, MPL, LGPL
Conflicts: firefox
Provides: firefox=47.0.1
Submitter: csslayer
Maintainer: Thaodan
Last Packager: Thaodan
Votes: 260
Popularity: 1.064810
First Submitted: 2009-12-11 09:10
Last Updated: 2016-07-04 14:12

Dependencies (32)

Required by (115)

Sources (19)

Latest Comments

scottynou commented on 2016-07-09 06:56

The package builds in a clean chroot, i will try to locate what go wrong in my environment, thanks.

Thaodan commented on 2016-07-08 16:59

Can you try building using a clean chroot to isolate any environment related errors?

scottynou commented on 2016-07-08 16:20

it fail with LANG=C too:

prepare log: http://91.121.161.48/firefox-kde-opensuse-47.0.1-1-x86_64-prepare.log
build log: http://91.121.161.48/firefox-kde-opensuse-47.0.1-1-x86_64-build.log

Thaodan commented on 2016-07-07 19:04

please post the full log (not here)., try to run makepkg with LANG=C

scottynou commented on 2016-07-07 17:36

I get this error during makepkg:

/mnt/DATA2/f/src/firefox-47.0.1/obj-x86_64-unknown-linux-gnu/_virtualenv/bin/python /mnt/DATA2/f/src/firefox-47.0.1/build/pgo/profileserver.py 10
Traceback (most recent call last):
File "/mnt/DATA2/f/src/firefox-47.0.1/build/pgo/profileserver.py", line 75, in <module>
runner.start()
File "/mnt/DATA2/f/src/firefox-47.0.1/testing/mozbase/mozrunner/mozrunner/base/browser.py", line 81, in start
BaseRunner.start(self, *args, **kwargs)
File "/mnt/DATA2/f/src/firefox-47.0.1/testing/mozbase/mozrunner/mozrunner/base/runner.py", line 107, in start
self.process_handler.run(self.timeout, self.output_timeout)
File "/mnt/DATA2/f/src/firefox-47.0.1/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 728, in run
self.proc = self.Process([self.cmd] + self.args, **args)
File "/mnt/DATA2/f/src/firefox-47.0.1/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 115, in __init__
universal_newlines, startupinfo, creationflags)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 5: ordinal not in range(128)
make[2]: *** [Makefile:394: pgo-profile-run] Error 1

Thaodan commented on 2016-06-18 21:19

@toxygen: I fixed all issues you mentioned. Added -XLinker in front of --no-keep-memory to push it only to linker.

toxygen commented on 2016-06-18 18:32

ok found the problem

PKGBUILD needs the line:

# Hardening
LDFLAGS+=" -Wl,-z,now"

after the # Hardening section in build()

-----------------

also - _lowmem set to true fails configure

configure:3650: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -D_FORTIFY_SOURCE=2 -O2 -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-z,now --no-keep-memory conftest.c 1>&5
gcc: error: unrecognized command line option '--no-keep-memory'; did you mean '--no-mem-report'?


seems that

if [[ -n $_lowmem || $CARCH == i686 ]]; then
LDFLAGS+=" --no-keep-memory"
fi

no longer works?

toxygen commented on 2016-06-17 23:36

anyone else getting this error during makepkg?

configure: error: --enable-pie requires PIE support from the linker.

this is during the configure process. I have the system up to date, reinstalled gcc and binutils (and base-devel to be on the safe side).

I havent been able to build firefox[-kde-opensuse] since 45.0.1, mainly due to gcc errors. Strangely enough 45.0.1 has the same --enable-pie in mozconfig and builds fine

Thaodan commented on 2016-06-15 19:30

checksums are fine, try to remove all sources.

JollyRoo commented on 2016-06-15 14:25

Two patches don't pass the validity test.

==> Validating source files with md5sums...
firefox-47.0.source.tar.xz ... Passed
mozconfig ... Passed
firefox.desktop ... Passed
firefox-install-dir.patch ... Passed
vendor.js ... Passed
kde.js ... Passed
firefox-fixed-loading-icon.png ... Passed
firefox-branded-icons.patch ... Passed
firefox-kde.patch ... FAILED
firefox-no-default-ualocale.patch ... Passed
mozilla-kde.patch ... FAILED
mozilla-language.patch ... Passed
mozilla-nongnome-proxies.patch ... Passed
unity-menubar.patch ... Passed
add_missing_pgo_rule.patch ... Passed
pgo_fix_missing_kdejs.patch ... Passed
rb39193.patch ... Passed
fix_mozalloc.patch ... Passed
mozilla-gtk3_20.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
:: failed to verify firefox-kde-opensuse integrity

ceri commented on 2016-05-28 08:15

Does not build.

==> Validating source files with md5sums...
firefox-46.0.1.source.tar.xz ... Passed
mozconfig ... Passed
firefox.desktop ... Passed
firefox-install-dir.patch ... Passed
vendor.js ... Passed
kde.js ... Passed
firefox-fixed-loading-icon.png ... Passed
firefox-branded-icons.patch ... FAILED
firefox-kde.patch ... FAILED
firefox-no-default-ualocale.patch ... FAILED
mozilla-kde.patch ... FAILED
mozilla-language.patch ... Passed
mozilla-nongnome-proxies.patch ... Passed
unity-menubar.patch ... Passed
add_missing_pgo_rule.patch ... Passed
pgo_fix_missing_kdejs.patch ... Passed
rb39193.patch ... Passed
fix_mozalloc.patch ... Passed
mozilla-gtk3_20.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
:: failed to verify firefox-kde-opensuse integrity

francoism90 commented on 2016-05-27 21:43

@cryzed: building FireFox is a hell, trying to build without PDO seems to help sometimes.

I'm now building FireFox 48~ that has a few fixes for GTK+ 3.20, but unfortunately no compatible KDE/Plasma patches: http://pkgbuild.com/~heftig/packages/firefox-developer-edition/

cryzed commented on 2016-05-27 15:16

Package is broken for me: Checksums don't match some files; when manually editing the PKGBUILD to skip these checks, the kmozillahelper dependency PKGBUILD breaks soon after. When Manjaro's PKGBUILD of kmozillahelper is used, kmozillahelper compiles. However the Firefox compilation process aborts a few minutes in, because of seemingly an incompatibility with the latest GCC.

Are there any plans to fix this or any workarounds I don't know about?

elv commented on 2016-05-15 22:52

@Thaodan: yep, the patches come from the bugzilla you posted.
I didn't build with debug symbols so the stracktrace I got it's not useful...

Thaodan commented on 2016-05-15 16:17

Do you got sources of the patches (maybe from bugzilla of mozilla?).
Do you found where firefox crashes? I found some reports that firefox crashes when build from earlier version of gcc6 maybe its the same issue.

elv commented on 2016-05-15 12:51

I managed to build with gcc6, however firefox segfaults on start... :(

If anyone wants to try, just 'git apply' this patch: http://pastebin.com/raw/1XPuC0Jc

dabbill commented on 2016-05-15 02:28

In the pkgbuild line #36 needs to be changed from patchrev=32eafb4c7b34 to _patchrev=32eafb4c7b34 for it to download all the patch files and compile.

Well that fixed the download problem for me, but fails to compile a few minutes in.

francoism90 commented on 2016-05-14 07:28

@jnbek: Could you please share your PKG/configs? :)
I have been trying for days to compile firefox, but everytime it stops with an error when executing package(). :/

Thanks.

jnbek commented on 2016-05-12 15:18

maybe try clang/llvm to compile this? I'm having success with firefox-beta using clang to compile it.

francoism90 commented on 2016-05-09 15:57

@DarkPhoenixFF4: Also had this issue yesterday. :/
@Thaodan: I have tried compiling Aurora, also didn't build. Is it correct we need to downgrade gcc? Thanks. :)

Thaodan commented on 2016-05-09 13:38

currently firefox doesn't build cause of these issues,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70872
https://bugzilla.mozilla.org/show_bug.cgi?id=1255256

DarkPhoenixFF4 commented on 2016-05-09 06:48

And now the current Firefox 45 doesn't compile with GCC 6. Got an error about malloc_* and free_* not being defined.

Thaodan commented on 2016-04-29 20:10

Currently trying to upgrade the pkg to 46.0 however an issue with the latest patch blocks it.

melvinvermeeren commented on 2016-04-13 21:44

@rooterru

Recompile is always needed when libraries update and their ABI version change.

rooterru commented on 2016-04-13 21:42

update package icu 56 to 57
errors: http://pastebin.com/L9bkvAb6

francoism90 commented on 2016-04-11 17:32

@cerl: the breeze-gtk3 theme hasn't been updated for 3.18/20 (see Wiki).

ceri commented on 2016-04-11 11:51

@melvinvermeeren

Thanks I just found out about that.

I even tried disabling gtk3 support by editing the PKGBUILD but still had the same issue strangely...

I think I might just use an non-Breeze theme in the meantime, since downgrading gtk3 might cause other unforseen consequences.

Here's the upstream bug: https://bugs.kde.org/show_bug.cgi?id=361066

melvinvermeeren commented on 2016-04-11 11:44

@ceri

Downgrade gtk3 to a version < 3.20. Caused by a bug in Firefox's implementation of the GTK theme engine or something like that, a bunch of internal style names have changed.

A friend of mine runs stock Firefox and has the same issues.

ceri commented on 2016-04-11 11:43

Has anyone noticed an issue with the new version where by the layout is all weird. e.g. the scrollbar isn't visible, right click menus are shrunken, no highlighting of hovered-over menu items, etc?

Started occuring after I updated to 45.0.1 from 45.0 (+ system updates). I tried reverting to the 45.0 build, but I'm having the same issues.

I haven't tried the standard firefox pkg from the Arch repos yet.

x-user commented on 2016-03-19 14:52

@Svadkos, write full build logs like this
[command] 2>&1 | tee build.log
try compile with default gcc flags:
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"

Svadkos commented on 2016-03-16 14:49

Any tips about my issue?

elv commented on 2016-03-14 19:45

I get a bunch of failing validations (aftert commit a74dad42d12775b5f14f371d827d90f67a948d12):

firefox-branded-icons.patch ... FAILED
firefox-kde.patch ... FAILED
firefox-no-default-ualocale.patch ... Passed
mozilla-kde.patch ... FAILED

Svadkos commented on 2016-03-13 22:21

What exactly you need?
Error from makepkg?

ERROR: A failure occurred in package().

For some reason this isn't in log file.

Thaodan commented on 2016-03-13 17:20

can you provide more infos? I didn't see any errors in your logs except that the make target is failed.

Svadkos commented on 2016-03-13 13:45

Fail to build with or without PGO.
http://pastebin.com/raw/d9yahdYd

Thaodan commented on 2016-03-12 21:33

Updated it today , had to wait till wolfang updates his repo.
It's no longer needed to remove firefox before building with pgo.

FadeMind commented on 2016-03-11 09:57

See: https://github.com/manjaro/packages-community/tree/master/firefox-kde

Thaodan commented on 2016-03-11 09:42

I'm currently waiting for updated kde patches for firefox 45.0.

Thaodan commented on 2016-02-28 12:26

cause I matched the api key part with the arch pkg and the gtk3 part is an option that you can disable and enable and that would make no sense to put this in mozconfig. I don't see anything that needs to be comment out in the pkgbuild if you don't use gnome stuff.

toxygen commented on 2016-02-28 11:44

any particular reason why you're adding the lines to mozconfig in PKGBUILD and not directly in mozconfig? I ask because I usually comment out certain things in mozconfig and now they're in the PKGBUILD instead (google/mozilla api keys in particular)

Thaodan commented on 2016-02-27 17:16

fixed the depencies gtk3 was missing in the dependency array if enabled.

ceri commented on 2016-02-27 12:03

Same error here BasT

BasT commented on 2016-02-27 12:02

Getting a build failure with clean chroot:

http://pastebin.com/raw/KC9EGXgu

(PKG_CONFIG_PATH not set properly?)

ceri commented on 2016-02-26 12:06

Same here KroshKobel (tried building with a clean chroot)

KroshKobel commented on 2016-02-25 23:43

Build fails:

==> Validating source files with sha256sums...
firefox-44.0.2.source.tar.xz ... Passed
mozconfig ... FAILED
firefox.desktop ... Passed
firefox-install-dir.patch ... Passed
vendor.js ... Passed
kde.js ... Passed
firefox-fixed-loading-icon.png ... Passed
rhbz-966424.patch ... Passed
firefox-branded-icons.patch ... Passed
firefox-kde.patch ... Passed
firefox-no-default-ualocale.patch ... Passed
mozilla-kde.patch ... Passed
mozilla-language.patch ... Passed
mozilla-nongnome-proxies.patch ... Passed
unity-menubar.patch ... Passed
add_missing_pgo_rule.patch ... Passed
pgo_fix_missing_kdejs.patch ... Passed
firefox-quicktime.patch ... Passed
==> ERROR: One or more files did not pass the validity check!

Thaodan commented on 2016-02-24 20:33

I'll push it when I'm at home I didn't do cause I can't built it with pgo. It would be nice if you give me some time to update it before posting some mirrors it's not really cool when someone posts some site that wants to a replacement when it's not my fault that I didn't update it.

francoism90 commented on 2016-02-24 20:05

See this: https://github.com/manjaro/packages-community/tree/master/firefox-kde
I have build this with clean-chroot-manager.

BasT commented on 2016-02-24 19:32

rosenauer.org is down. Any alternative sources? Ideally updated to 44.0.2...

Thaodan commented on 2016-02-15 15:54

I'm currently updating to 44.0.2. I get the same error as below. I try to fix it and report back.

FLHerne commented on 2015-12-30 19:33

If (like me) you prefer KDE-style dialogs even outside a full KDE desktop, you can put the following in .xinitrc:

xprop -root -f KDE_FULL_SESSION 8s -set KDE_FULL_SESSION true

This fools line 50 of nsKDEUtils.cpp (mozilla-kde.patch), which otherwise disables the KDE integration.

francoism90 commented on 2015-12-29 16:12

Thanks Thaodan for your support. :)
It is possible to enable e10 or build the latest version with e10? (since patches may not be compatible?).

Thaodan commented on 2015-12-23 23:07

I don't support yaourt. On my machine it builds without issues. Try a clean chroot.

edward_81 commented on 2015-12-23 14:05

Build fail 43.0.1-1:
In file included from /tmp/yaourt-tmp-edward/aur-firefox-kde-opensuse/src/firefox-43.0.1/obj-x86_64-unknown-linux-gnu/js/src/Unified_cpp_js_src1.cpp:110:0:
/tmp/yaourt-tmp-edward/aur-firefox-kde-opensuse/src/firefox-43.0.1/js/src/frontend/TokenStream.cpp: In function ‘bool js::frontend::IsKeyword(JSLinearString*)’:
/tmp/yaourt-tmp-edward/aur-firefox-kde-opensuse/src/firefox-43.0.1/js/src/frontend/TokenStream.cpp:142:1: internal compiler error: Errore di segmentazione
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.

FadeMind commented on 2015-12-20 17:10

I marked OOD kmozillahelper, some day ago.
Working PKGBUILD for kf5 build: https://github.com/FadeMind/archpkgbuilds/blob/master/AUR/customized/kmozillahelper/PKGBUILD

ahjolinna commented on 2015-12-20 16:33

kmozillahelper has now been offically ported to kf5: https://github.com/openSUSE/kmozillahelper

ceri commented on 2015-12-19 20:48

43.0 patch available.

csslayer commented on 2015-12-18 01:05

For people who want to build gtk3 with ff 43.0

sed -i 's|parent->group|gtk_window_get_group(const_cast<GtkWindow*>(parent))|g' toolkit/xre/nsKDEUtils.cpp

francoism90 commented on 2015-12-15 12:46

Could you add breeze-gtk, kde-gtk-config and kpartsplugin to opt? :)

francoism90 commented on 2015-11-30 16:28

@Thaodan: Thanks! It build successfully! :D

Thaodan commented on 2015-11-30 12:57

remove firefox before building with pgo.

ThecaTTony commented on 2015-10-19 17:35

Hi, the build fails with:
client.mk:117: *** missing separator. Stop.

The 117 line is:
$(eval $(MOZCONFIG_CONTENT))

In context:
# As $(shell) doesn't preserve newlines, use sed to replace them with an
# unlikely sequence (||), which is then replaced back to newlines by make
# before evaluation. $(shell) replacing newlines with spaces, || is always
# followed by a space (since sed doesn't remove newlines), except on the
# last line, so replace both '|| ' and '||'.
# Also, make MOZ_PGO available to mozconfig when passed on make command line.
# Likewise for MOZ_CURRENT_PROJECT.
MOZCONFIG_CONTENT := $(subst ||,$(CR),$(subst || ,$(CR),$(shell $(addprefix MOZ_CURRENT_PROJECT=,$(MOZ_CURRENT_PROJECT)) MOZ_PGO=$(MOZ_PGO) $(TOPSRCDIR)/mach environment --format=client.mk | sed 's/$$/||/')))
$(eval $(MOZCONFIG_CONTENT))

Thaodan commented on 2015-10-18 11:22

First I don't support yaourt. I used yaourt with --tmp a long time ago with the pkg and it worked.
About the lowmem thing: read the pkgbuild more carefully, just uncomment _lowmem=true.
I would recommend to you that use make a dir like ~/dev/aur, run yaourt -G <pkg> (or just use git which is a better option of you build the pkg by yourself) and then go to the dir and build the pkg by makepkg -s

Xase commented on 2015-10-17 20:14

Just having an issue with this PKGBUILD as it is, since it relies on $srcdir, and other small issues. Also the low mem option is written only for i686? Can I modify this? I run out of memory on 64 bit... but, I was trying to build on disk by passing --tmp to Yaourt, however then it cannot find the directories, and then modifying Yaourtrc breaks this as well...so I cannot build in memory, and it will not build outside of memory due to the way variables are set...

xF0E commented on 2015-10-06 02:07

@Thaodan

The fix is working! Thanks for it!

toxygen commented on 2015-09-30 17:22

seems back up now, goes up and down though

toxygen commented on 2015-09-30 17:18

is the patch website down?
curl: (6) Could not resolve host: www.rosenauer.org

Thaodan commented on 2015-09-30 01:49

urel: disable system as it causes firefox to crash random seems to be firefox bug #1136417[1], enaled pie

I hope fixed the issue if not report to me.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1136417

MCMic commented on 2015-09-29 19:33

@Kalinda me too, but now pacman says the packages are corrupted, seems like the control sums are wrong

Kalinda commented on 2015-09-29 19:28

@MCMic This is the one that I've been using:

[home_denkad_ArchLinux]
SigLevel = Never
Server = http://download.opensuse.org/repositories/home:/denkad/ArchLinux/$arch

MCMic commented on 2015-09-29 19:05

Is there any working repository with build for this package ?
It takes so long to build on each update…

Kalinda commented on 2015-09-24 14:04

Yeah, it never crashed for me on FF 40, but when I upgraded to 41 from the repo I had, it crashed left and right. Have since downgraded. Hope it's fixed soon.

Thaodan commented on 2015-09-24 12:19

upkg, still buggy, crashes from time to time, maybe an js error

ceri commented on 2015-09-24 11:04

Patches are out for FF 41

Kalinda commented on 2015-09-22 15:56

I am trying to compile Firefox with debugging enabled, but tmp always runs out of space/RAM, so I changed yaourt's build directory (and the cache directory, too) to a folder on my 1 TB storage drive. And now Firefox won't build and it gives me this:

js/src> updating cache /drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/config.cache
js/src> creating ./config.status
js/src> /bin/sh: ./config.status: /drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-re: bad interpreter: No such file or directory

*** Fix above errors and then restart with\
"make -f client.mk build"
/drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/client.mk:363: recipe for target 'configure' failed
make[3]: *** [configure] Error 1
make[3]: Leaving directory '/drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release'
/drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/client.mk:377: recipe for target '/drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/Makefile' failed
make[2]: *** [/drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/Makefile] Error 2
make[2]: Leaving directory '/drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release'
/drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/client.mk:233: recipe for target 'profiledbuild' failed
make[1]: *** [profiledbuild] Error 2
make[1]: Leaving directory '/drive2/Yaourt-tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release'
client.mk:171: recipe for target 'build' failed
make: *** [build] Error 2

Does anyone know why? I managed to build a different package with the new folders just fine, so I'm confused. Or is it a different problem altogether?

Thanks!

Thaodan commented on 2015-09-15 00:09

read the comments below.

davispuh commented on 2015-09-15 00:02

for some reason it doesn't build...

Executing /mnt/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g /mnt/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -a /mnt/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -f /mnt/AUR/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
/mnt/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: relocation error: /mnt/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: symbol __gcov_indirect_call_counters, version xul40 not defined in file libxul.so with link time reference
Traceback (most recent call last):
File "/mnt/AUR/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 404, in <module>
main()
File "/mnt/AUR/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 398, in main
args.source, gre_path, base)
File "/mnt/AUR/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 156, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/mnt/AUR/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/mnt/AUR/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation

xF0E commented on 2015-09-03 12:11

@Light2Yellow

Thank you for your advice. I tried to build the FF in a clean chroot, but unfortunately FF still crashes somewhere inside of libthr. Downgrade to 39.0.3 and the crashes are gone.

Light2Yellow commented on 2015-09-02 14:17

@xF0E
Try building in clean chroot. There is a dedicated page in Archwiki. It succeeded for me.

Light2Yellow commented on 2015-09-02 14:17

@xF0E
Try building in clean chroot. There is a dedicated page in Archwiki. It succeed for me.

xF0E commented on 2015-09-01 23:50

40.0.3 still crashes. Before compiling i always uninstall existing firefox installation. Since version 40 at the end of kmozillahelper crashes and the installation is hold until i click on restart. Can it be the issue what is causing firefox crashes?

edward_81 commented on 2015-08-31 21:04

Just finished testing the 4.0.3 version. Still crashing with kde patch. Sad days.

Frames commented on 2015-08-26 22:43

Looks like with 40.0.3 that nasty Segfault crash bug related to Gstreamer might be fixed:
https://bugzilla.mozilla.org/show_bug.cgi?id=1145230

Current, 40.0.3 is in the candidates folder, but should be in the releases folder within a day or two. For those interested:
https://ftp.mozilla.org/pub/mozilla.org/firefox/candidates/40.0.3-candidates/build1/

Probably could just modify current PKGBUILD with the latest version without much issue. The KDE patches don't change much from version to version. Firefox 42 will probably cause some hassle as it'll be the first release compiled with GTK3.

Thaodan commented on 2015-08-21 23:24

please don't report the pkg out of date when there's no new ver at:
http://www.rosenauer.org/hg/mozilla/shortlog

and not at offical firefox website as this pkg depends on Wolfgangs patchset.

ThecaTTony commented on 2015-08-20 08:48

I am also getting crashes, but only with this package. Firefox from oficial repo works ok.

Frames commented on 2015-08-19 04:26

I'm also getting crashes (Segmentation Fault: Core Dump) on 40.0.2. It happens at completely random times - sometimes when watching a Youtube video, other times when I am just browsing Google. No rhyme or reason. I tried freshplayer instead of flash, updated to mesa-git, and updated to the latest xf86-video-intel and it still crashes.

I ended up just downloading firefox-beta-bin and it's worked great so far - absolutely no crashes.

nemezis007 commented on 2015-08-18 13:17

I am also getting crashes with 40.0.2-1 (no hangs) at various loads, and random pages. More often such a crash is happening with two instances of FFko running than with just one. On another machine with "normal" stock FF all is fine.

Thaodan commented on 2015-08-17 21:01

I got the crashes too, no hangs.
Maybe build witn stock makepkg.conf

edward_81 commented on 2015-08-17 20:47

@trulex
@Light2Yellow
Same here. I "solved" installing the regular firefox package.

Light2Yellow commented on 2015-08-17 16:30

@trulex
Me too. Especially with maps. Hangs system completely ~every 2-3 hours. Moved to chromium.

trulex commented on 2015-08-17 15:14

A lot of crashing since 40. Anyone else?

Light2Yellow commented on 2015-08-14 11:14

Yes I do, but this package didn't compile under my current system. And yes, yaourt complains on missing kmozillahelper.

>If the pkg is in a repo yes.
Ok. Vigilance is still needed.

Thaodan commented on 2015-08-14 11:04

do you yaourt?

If the pkg is in a repo yes.

Light2Yellow commented on 2015-08-14 11:01

@Thaodan
Is it somehow possible to choose between these two packages ('helper' and 'helper-frameworks') like when you install phonon you can choose a backend? I mean, in interactive way, at compile time.

Light2Yellow commented on 2015-08-14 11:01

@Thaodan
Is it somehow possible to choose between these two packages ('helper' and 'helper-frameworks') like when you install phonon you can choose a backend?

Thaodan commented on 2015-08-14 10:51

readded, but please whatch if ypu use a aur helper and don't use KDE SC 4.

Thaodan commented on 2015-08-14 10:41

this is true but is no problem when you use kf5.

Light2Yellow commented on 2015-08-14 10:37

@Thaodan
Unfortunately, kmozillahelper was removed from AUR.

Thaodan commented on 2015-08-14 10:24

@Light2Yellow: you use yaourt a like? Then its not my problem, the aur is no repo, this is what I won't add a bin version, I'd rather provide a repo on obs or on my fileserver.

The main reason why I don't replace: kmozillahelper with kmozillahelper-frameworks, cause the pkg depends either on one of them not just the framworks ver.

Behem0th commented on 2015-08-13 18:41

@Light2Yellow
Thx for instructions.

Light2Yellow commented on 2015-08-13 14:43

@Behem0th
I didn't have any previous version of Firefox because of fresh Arch install.
Anyway, I followed instructions from here https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot and it compiled finally (zsh says it took 55 minutes to do this on Haswell i3 with fully optimized flags and -ck kernel, that's why it is a good idea to start '*-bin' fork).

Behem0th commented on 2015-08-13 14:23

@Light2Yellow

How build in clean chroot? I just remove previous version firefox before building.

Light2Yellow commented on 2015-08-13 11:47

Victory! Successfully built in clean chroot.

Light2Yellow commented on 2015-08-13 08:05

@Thaodan Well, the result is 'package not found', so people need to google for this package and manually fix PKGBUILD.
Also, doesn't build for me too.
Would you be able to start maintaining '-bin' version? Another reason is very long compilation every time.

Light2Yellow commented on 2015-08-13 07:58

@Thaodan Well, the result is 'package not found', so people need to google for this package and manually fix PKGBUILD.
Also, doesn't build for me too.

Thaodan commented on 2015-08-12 21:42

kmozillahelper-frameworks provides kmozillahelper so no need.
Which lang you got? Tried clean chroot?

alarm commented on 2015-08-12 21:28

@horosgrisa, @Behem0th +1 =(

Light2Yellow commented on 2015-08-12 20:13

@Thaodan Please substitude 'kmozillahelper' for 'kmozillahelper-frameworks' in dependencies

Behem0th commented on 2015-08-12 15:59

@horosgrisa
Same problem

horosgrisa commented on 2015-08-12 09:39

I can't compile firefox. I'm getting the follow error: http://pastebin.com/FVbFTM9Z

Thaodan commented on 2015-08-11 19:51

added kmozilla-helper for frameworks: https://aur.archlinux.org/packages/kmozillahelper-frameworks/

Thaodan commented on 2015-08-11 18:31

please don't report the pkg out of date when there's new ff release, just when Wolfgang updates the patch set at:
http://www.rosenauer.org/hg/mozilla

ahjolinna commented on 2015-08-11 17:33

https://www.mozilla.org/en-US/firefox/40.0/releasenotes/

melvinvermeeren commented on 2015-08-10 11:01

I can't seem to compile kmozillahelper-frameworks (see comment by flying-sheep). Looks like a lot of includes aren't working properly. The first one that fails is:
/usr/include/KF5/KI18n/klocalizedstring.h:22:26: fatal error: ki18n_export.h: No such file or directory
Does anyone have a solution for this?

flying-sheep commented on 2015-08-10 07:05

here it is: https://github.com/cruiseliu/kmozillahelper-frameworks

BasT commented on 2015-08-09 17:25

kmozillahelper doesn't exist in AUR anymore.

xF0E commented on 2015-08-09 01:16

sha256sum for firefox-kde.patch is not correct anymore.

ceri commented on 2015-08-07 02:18

https://www.mozilla.org/en-US/firefox/39.0.3/releasenotes/

Thaodan commented on 2015-07-21 11:56

whats you issue? For everything builds and patches everything fine.

edward_81 commented on 2015-07-15 08:44

Wrong sha256 for firefox-kde.patch But the patch fail.
patching file browser/base/jar.mn
Hunk #1 FAILED at 70.
1 out of 1 hunk FAILED -- saving rejects to file browser/base/jar.mn.rej

hefeweiz3n commented on 2015-07-07 07:14

As aur4 is not yet the default aur, any chance you will update the package over at the old aur?

ceri commented on 2015-06-28 02:31

I'm getting the follow build errors in a clean chroot:

make[6]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dom/bindings'
/build/firefox-kde-opensuse/src/mozilla-release/config/recurse.mk:74: recipe for target 'dom/bindings/target' failed
make[5]: *** [dom/bindings/target] Error 2
make[5]: *** Waiting for unfinished jobs....
libaudio_device.a.desc
rm -f libaudio_device.a
/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/_virtualenv/bin/python /build/firefox-kde-opensuse/src/mozilla-release/config/expandlibs_gen.py -o libaudio_device.a.desc audio_device_pulse_linux.i_o audio_mixer_manager_pulse_linux.i_o single_rw_fifo.i_o Unified_cpp_webrtc_modules0.i_o
make[6]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/media/webrtc/trunk/webrtc/modules/modules_audio_device'
libvideo_engine_core.a.desc
rm -f libvideo_engine_core.a
/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/_virtualenv/bin/python /build/firefox-kde-opensuse/src/mozilla-release/config/expandlibs_gen.py -o libvideo_engine_core.a.desc Unified_cpp_webrtc_video_engine0.i_o Unified_cpp_webrtc_video_engine1.i_o
make[6]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/media/webrtc/trunk/webrtc/video_engine/video_engine_video_engine_core'
make[5]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/build/firefox-kde-opensuse/src/mozilla-release/config/recurse.mk:36: recipe for target 'compile' failed
make[4]: *** [compile] Error 2
make[4]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/build/firefox-kde-opensuse/src/mozilla-release/config/rules.mk:541: recipe for target 'default' failed
make[3]: *** [default] Error 2
make[3]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/build/firefox-kde-opensuse/src/mozilla-release/client.mk:398: recipe for target 'realbuild' failed
make[2]: *** [realbuild] Error 2
make[2]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release'
/build/firefox-kde-opensuse/src/mozilla-release/client.mk:233: recipe for target 'profiledbuild' failed
make[1]: *** [profiledbuild] Error 2
make[1]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release'
client.mk:171: recipe for target 'build' failed
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Any ideas?

Thaodan commented on 2015-06-14 13:44

sorry fixed

mareex commented on 2015-06-14 13:33

something must be wrong with the new PKGBUILD.

firefox-kde.patch has wrong checksum. And when I correct it I got a build error.

_patchrev has not changed. Maybe this is the cause?

demas commented on 2015-06-06 04:33

Thanks, it helps

Thaodan commented on 2015-06-06 01:26

Remove firefox before building, there's a bug in the build system that it uses the system installed firefox while doing pgo. Read the commments below..

demas commented on 2015-06-06 01:20

I think here is more important info:

Executing /tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g /tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -a /tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -f /tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: symbol lookup error: /tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: undefined symbol: __gcov_indirect_call_callee

Here is full info:

http://pastebin.com/E1XgRW9v

And here is recommendation to build with clean chroot https://bbs.archlinux.org/viewtopic.php?id=130332

Thaodan commented on 2015-06-06 01:14

remove the old firefox before building, pgo build is buggy this way.

demas commented on 2015-06-06 01:13

Sorry:

mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:36: recipe for target 'stage-package' failed
make[5]: *** [stage-package] Error 1
make[5]: Leaving directory '/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:81: recipe for target 'make-package' failed
make[4]: *** [make-package] Error 2
make[4]: Leaving directory '/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/config/rules.mk:541: recipe for target 'default' failed
make[3]: *** [default] Error 2
make[3]: Leaving directory '/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/browser/build.mk:9: recipe for target 'package' failed
make[2]: *** [package] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/client.mk:233: recipe for target 'profiledbuild' failed
make[1]: *** [profiledbuild] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release'
client.mk:171: recipe for target 'build' failed
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build firefox-kde-opensuse.

Here is more info: http://pastebin.com/E1XgRW9v

Thaodan commented on 2015-06-05 17:24

I can't read cyrillic, is it so hart to think before post?

demas commented on 2015-06-04 03:20

I have error message:

mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:36: ошибка выполнения рецепта для цели «stage-package»
make[5]: *** [stage-package] Ошибка 1
make[5]: выход из каталога «/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer»
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:81: ошибка выполнения рецепта для цели «make-package»
make[4]: *** [make-package] Ошибка 2
make[4]: выход из каталога «/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer»
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/config/rules.mk:541: ошибка выполнения рецепта для цели «default»
make[3]: *** [default] Ошибка 2
make[3]: выход из каталога «/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer»
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/browser/build.mk:9: ошибка выполнения рецепта для цели «package»
make[2]: *** [package] Ошибка 2
make[2]: выход из каталога «/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu»
/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release/client.mk:233: ошибка выполнения рецепта для цели «profiledbuild»
make[1]: *** [profiledbuild] Ошибка 2
make[1]: выход из каталога «/tmp/yaourt-tmp-demas/aur-firefox-kde-opensuse/src/mozilla-release»
client.mk:171: ошибка выполнения рецепта для цели «build»
make: *** [build] Ошибка 2

Is there any way to fix it ?

Thaodan commented on 2015-06-03 22:08

do you changed the makepkg.conf?

bwinterton commented on 2015-06-03 22:04

I am getting a compiler issue. On UnifiedBindings14, UnifiedBindings2, and UnifiedBindings 18 I get the following message:

{standard input}: Assembler messages:
{standard input}:142790: Warning: end of file not at end of a line; newline inserted
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
c++: internal compiler error: Killed (program cc1plus)

After this the compilation fails. I can't find anything that would be causing the issue other than the files just flat out not compiling. Anyone else seeing this?

ahjolinna commented on 2015-06-02 05:15

I wonder how these patches would work with the gtk3 version

Fincer commented on 2015-05-24 20:54

@Thaodan:
As I expected. Thanks anyway.

trulex commented on 2015-05-24 19:39

Thanks, I removed it with pacman -R, and it worked ok.

Thaodan commented on 2015-05-24 18:51

@Fincer, trulex:
personal data won't be deleted when you remove system packages so no ne to backup them

Fincer commented on 2015-05-24 18:44

@trulex

If you mean your personal profile settings like web cache, favorite sites, add-ons, just go to your home folder and simply rename a hidden folder called ".mozilla" (without quotation marks) before uninstallation of your old Firefox.

Keep the new name while your Firefox upgrading process. After the upgrade, revert your changes to your renamed .mozilla folder and rename it back to the original layout (which is .mozilla)

All your personal Firefox settings are located there.

Keep in mind that settings of Thunderbird are also stored at .mozilla folder (if you have it installed in your system).

I think renaming the folder while upgrading Firefox installation may be just overreacting but I basically do it too, just in case. (just to avoid *any possible* further harm)

trulex commented on 2015-05-23 19:47

How to uninstall it without deleting all settings and data in order to update? Thanks

Fincer commented on 2015-05-21 15:32

Forgot to mention.

This Firefox (and the newest Thunderbird) version requires updated certificates. Otherwise it practically says "Connection is untrusted" on very many https websites like google.com.

Just upgrade the following packages:

ca-certificates
ca-certificates-mozilla
ca-certificates-utils

And untrusted connection errors should disappear.

If you keep your system updated regularly, this problem should not occur.

I struggled with it until I realized the solution described above.

Fincer commented on 2015-05-21 13:33

Works like a charm. Thank you!

However, Firefox 38 requires the following versions of listed packages:

sqlite 3.8.9
nss 3.18.1

And, in order to compile firefox-kde-opensuse from source, you need to uninstall your existing firefox installation. My compilation process failed due to existing libxul.so (xul38) library file which is located at system's /usr/lib/firefox/ folder. About the existing firefox installations and should they be removed...it was discussed earlier here...

Fincer commented on 2015-05-21 13:32

Works like a charm. Thank you!

However, Firefox 38 requires the following versions of listed packages:

sqlite 3.8.9
nss 3.18.1

And, in order to compile firefox-kde-opensuse from source, you need to uninstall your existing firefox installation. My compilation process failed due to existing libxul.so (xul38) library file which is located at system's /usr/lib/firefox/ folder. (This issue was discussed earlier here..)

Thaodan commented on 2015-05-20 22:30

pgo is profile guided optimisation, if you don't unset _pgo in the pkgbuild the pkg will builded with pgo.
Yes you should when building for pgo.

MCMic commented on 2015-05-20 22:25

I don’t know what pgo means.
I should uninstall firefok-kde-opensuse before building the new version? I got the 31 installed.

$ yaourt -Qi firefox-kde-opensuse
Name : firefox-kde-opensuse
Version : 37.0.1-1

Thaodan commented on 2015-05-20 21:58

@MCMiC: remove firefox before building if you want to build for pgo.

MCMic commented on 2015-05-20 21:52

I’m getting this after several hours building : http://pastebin.archlinux.fr/973426
Any idea?

MCMic commented on 2015-05-20 17:49

configure: error: you don't have NSS installed or your version is too old

NSS should be in the make depends with a >= 3.18.1

Thaodan commented on 2015-05-20 10:13

upkg, updated desktop file

Thaodan commented on 2015-05-20 10:11

Soon is when I have time to update it.

Fincer commented on 2015-05-20 05:04

Thaodan:

You should not have real life or at least not make an excuse appealing to it. Be aware of maintainer's responsibility of updating packages and therefore update this package soon.

Fincer commented on 2015-05-20 04:54

Thaodan:

You should not have real life or at least not appeal to it. Be aware of maintainer's responsibility of updating packages and therefore update this package soon.

mareex commented on 2015-05-18 15:01

Sorry for being unpolite, but informing us about that would not even waste 5 minutes of your rl.

Thaodan commented on 2015-05-18 13:23

Because I a have a real live, I updated it when I have time. Please write me before making an orphan request. I'll updated it today or tommorrow.

mareex commented on 2015-05-18 13:15

Hi Thaodan.
Why don't you update to 38.0.1?
There are a dozen security fixes.

https://www.mozilla.org/en-US/security/known-vulnerabilities/firefox/#firefox38

A browser should always be up to date!!!

Frames commented on 2015-05-16 20:34

Any plans of updating the PKGBUILD and packages to 38?

Frames commented on 2015-05-13 02:57

This repo has worked for me in the past and is currently up-to-date with 38.0:

http://download.opensuse.org/repositories/home:/denkad/ArchLinux/x86_64/

maxexcloo commented on 2015-05-06 09:57

Are there any unofficial repositories with this package built? I cannot build it on my laptop...

Frames commented on 2015-05-06 03:27

Finally got it to build in a clean chroot for the first time WITH PGO. Thanks for updating this, Thaodan.

Thaodan commented on 2015-05-01 18:13

Please upload the full log somewhere

fzzy commented on 2015-05-01 18:05

Compilation fails for me.
I uninstalled (gtk) firefox before hand and tried removing the cache files too with no luck.

errors:

resource://gre/modules/services/metrics/providermanager.jsm
resource://gre/modules/services/metrics/storage.jsm
resource://gre/modules/sqlite/sqlite_internal.js
resource://gre/modules/vtt.jsm
resource://gre/modules/workers/PromiseWorker.js
resource://gre/modules/workers/lz4.js
resource://gre/modules/workers/lz4_internal.js
resource://gre/modules/workers/require.js
Traceback (most recent call last):
File "/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 399, in <module>
main()
File "/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 393, in main
args.source, gre_path, base)
File "/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 156, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:36: recipe for target 'stage-package' failed
make[5]: *** [stage-package] Error 1
make[5]: Leaving directory '/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:81: recipe for target 'make-package' failed
make[4]: *** [make-package] Error 2
make[4]: Leaving directory '/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/config/rules.mk:541: recipe for target 'default' failed
make[3]: *** [default] Error 2
make[3]: Leaving directory '/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/browser/build.mk:9: recipe for target 'package' failed
make[2]: *** [package] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release/client.mk:233: recipe for target 'profiledbuild' failed
make[1]: *** [profiledbuild] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-fzzy/aur-firefox-kde-opensuse/src/mozilla-release'
client.mk:171: recipe for target 'build' failed
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build firefox-kde-opensuse.
==> Restart building firefox-kde-opensuse ? [y/N]
==> ---------------------------------------------
==>
~ $

aurothmaster commented on 2015-04-26 14:11

@Thaodan: Removing ff helped. Thanks.

Thaodan commented on 2015-04-26 12:45

@aurothmaster: remove the existing firefox pkg before building.

aurothmaster commented on 2015-04-26 12:44

@Thaodan: Yes, my cpu have avx support.
I tried your PKGBUILD and got this error.

Executing /tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g /tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -a /tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -f /tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: symbol lookup error: /tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: undefined symbol: __gcov_indirect_call_callee
Traceback (most recent call last):
File "/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 399, in <module>
main()
File "/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 393, in main
args.source, gre_path, base)
File "/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 156, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/tmp/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/tmp/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation

Yegorius commented on 2015-04-26 11:15

@Thaodan: I use i3wm now, so plain Firefox from [extra] works well.
Also please check your inbox ;)

Thaodan commented on 2015-04-25 22:38

@aurothmaster: Thank you very much !! couldn't agree more, please forward this to opensuse if it's upstream issue.

do you have avx support with your cpu? than add this export CPPFLAGS="$CPPFLAGS -mno-avx" to your PKGBUILD (see mine at the end of this post).

@Yegorius: I'll gladly do this. What do you use now?

my updated pkgbuild: https://github.com/Thaodan/thaopkgs/blob/master/firefox-kde-opensuse/PKGBUILD

Yegorius commented on 2015-04-24 21:38

Hello dear users,
since I no longer use KDE I am no more interested in maintaining this package.
Therefore, I am willing to promote Thaodan as the next maintainer.
@Thaodan: please let us know if you can accept this role.
Everyone, discuss.
In the meantime I will keep the package updated.

bpetlert commented on 2015-04-24 11:05

@aurothmaster: It's work! Thank you very much.

aurothmaster commented on 2015-04-23 12:24

It took me serval hours to repair dwo annoying compilation errors.
First:
...
mozpack.errors.ErrorMessage: Error: Error while running startup cache
precompilation
...
error occured only when I was using CFLAGS="-march=native ..." in makepkg.conf
I resolved it by overriding CFLAGS and CXXFLAGS in PKGBUILD
Second:
missing kde.js with PGO enabled
I put command for copying kde.js in mozilla-release/browser/app/Makefile.in, and it worked for me.

Here is the pgo-kdejs-fix.patch:
http://privatepaste.com/f4a8d1eef4
and here is my PGKBUILD:
http://privatepaste.com/download/2da90dc58c

Please check if it is working for you guys.
Sorry for my bad English.

mober commented on 2015-04-22 14:15

Updated the pkgbuild yesterday locally, because my firefox did not start anymore (XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so).

Here is the diff/patch from firefox 37.0.1 to 37.0.2:
http://privatepaste.com/1670af55ff

--- PKGBUILD 2015-04-04 17:53:04.000000000 +0200
+++ PKGBUILD.37.0.2 2015-04-22 16:01:41.548940566 +0200
@@ -8,7 +8,7 @@
#_pgo=true

pkgname=firefox-kde-opensuse
-pkgver=37.0.1
+pkgver=37.0.2
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE"
arch=('i686' 'x86_64')
@@ -28,7 +28,7 @@
conflicts=('firefox')
install=firefox.install
options=('!emptydirs' '!makeflags')
-_patchrev=0d861c33ec70
+_patchrev=d995ef5231ed
_patchurl=http://www.rosenauer.org/hg/mozilla/raw-file/$_patchrev
source=(http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.bz2
#http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.bz2
@@ -144,7 +144,7 @@
ln -sf firefox "$pkgdir/usr/lib/firefox/firefox-bin"
}

-sha256sums=('8d10aab49017f0222dbbe4811b953d2ce61737ba612b13a98dcd4379510e18e6'
+sha256sums=('17d0258c1b4930d618e17ef64bdc4a919d215bd7460696b9855a152324e37a96'
'd6468f627873bdfade1d62a3d84fbb3f53f57b233e691e4d28cda3d7e3e5096e'
'c202e5e18da1eeddd2e1d81cb3436813f11e44585ca7357c4c5f1bddd4bec826'
'd86e41d87363656ee62e12543e2f5181aadcff448e406ef3218e91865ae775cd'

x-user commented on 2015-04-17 17:36

You may try compile using default values of gcc -march and -mtune flags. Sory for my bad english.

x-user commented on 2015-04-17 16:49

You may try not using gcc flags like -march and -mtune. Sory for my bad english.

x-user commented on 2015-04-17 16:48

You may try not using gcc flags like -march and -mtune. Sory for my bang english.

mareex commented on 2015-04-16 20:19

Works fine with Thaodan's advice.
Why not put something like

(sleep 120 && mkdir -p obj-x86_64-unknown-linux-gnu/dist/bin/defaults/pref && cp "$srcdir/kde.js" obj-x86_64-unknown-linux-gnu/dist/bin/defaults/pref) &

before

xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" \

mareex commented on 2015-04-16 15:02

Thx Thadoan
I am just giving it my last try. Now waiting for "pref" to be created. ;-)

Thaodan commented on 2015-04-16 14:51

@mareex: I get the same issue, I workaround this by coping kde.js to src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/defaults/pref (while building)

Thaodan commented on 2015-04-16 14:51

@mareex: I get the same issue, I workaround this by coping kde.js to src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/defaults/oref

mareex commented on 2015-04-16 12:51

Ok firefox in extra also fails with PGO. Though with different error message.
I'll give up. :(

Yegorius commented on 2015-04-15 12:15

No one has ever succeeded compiling this package with PGO.
@mareex, you may want to begin with plain firefox from [extra], if it builds with PGO, then there is something wrong with the patches.

mareex commented on 2015-04-14 18:48

Is anybody able to compile with PGO enabled?
For me it fails in the end and complains about that something is missing in kde.js.

Frames commented on 2015-04-11 15:22

Because by your last comment (which is now deleted), you said you were following the extra/firefox package (still not sure what that means), which is 37.0.1-2.

I tried compiling by replacing "ac_add_options --enable-optimize" with "ac_add_options --disable-optimize" in the mozconfig and it worked. Seems to be a problem when compiling with newer architecture.

Yegorius commented on 2015-04-11 09:26

@Frames: what makes you think the package is out-of-date?

Frames commented on 2015-04-10 22:05

@Yegorius: Huh? Not sure what you mean by that at all...

Yegorius commented on 2015-04-10 20:05

@x-user: the package is in sync with 37.0.1-2 from [extra]

johanmc commented on 2015-04-10 14:39

@x-user same here

Frames commented on 2015-04-07 02:42

@x-user Now having exact same problem.

x-user commented on 2015-04-05 08:14

resource://gre/components/Webapps.js
Traceback (most recent call last):
File "/tmp/yaourt-tmp-x-user/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 399, in <module>
main()
File "/tmp/yaourt-tmp-x-user/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 393, in main
args.source, gre_path, base)
File "/tmp/yaourt-tmp-x-user/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 156, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/tmp/yaourt-tmp-x-user/aur-firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/tmp/yaourt-tmp-x-user/aur-firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/tmp/yaourt-tmp-x-user/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:36: recipe for target 'stage-package' failed
make[2]: *** [stage-package] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-x-user/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/tmp/yaourt-tmp-x-user/aur-firefox-kde-opensuse/src/mozilla-release/browser/build.mk:21: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-x-user/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
client.mk:405: recipe for target 'install' failed
make: *** [install] Error 2

Xabre commented on 2015-04-04 15:53

Sorry, that's 3.18.3 and 3.18-3 in [core].

Yegorius commented on 2015-04-04 15:53

@Xabre, fixed, thank you.

Xabre commented on 2015-04-04 15:51

Hmm, new PKGBUILD complains about nss, it's asking for nss version 3.8.3 or newer, but current version in [core] is 3.8-3. I'm suspecting it's a typo.

Thaodan commented on 2015-04-01 22:13

updated my pkgbuild see: https://github.com/Thaodan/thaopkgs/tree/master/firefox-kde-opensuse

Xabre commented on 2015-04-01 01:07

Firefox 37.0 is out.

Frames commented on 2015-03-24 16:04

Still having problems compiling this. I get the same error about bin/defaults/pref/kde.js missing in both a clean chroot and on my regular system:

Most important part:

Error: /build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer/package-manifest:495: Missing file(s): bin/defaults/pref/kde.js
Traceback (most recent call last):
File "/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 402, in <module>
main()
File "/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 353, in main
copier.add(mozpack.path.join(respath, 'removed-files'), removals)
File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/build/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 129, in accumulate
raise AccumulatedErrors()
mozpack.errors.AccumulatedErrors
/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:696: recipe for target 'stage-package' failed
make[5]: *** [stage-package] Error 1
make[5]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:742: recipe for target 'make-package' failed
make[4]: *** [make-package] Error 2
make[4]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/build/firefox-kde-opensuse/src/mozilla-release/config/rules.mk:545: recipe for target 'default' failed
make[3]: *** [default] Error 2
make[3]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/build/firefox-kde-opensuse/src/mozilla-release/browser/build.mk:9: recipe for target 'package' failed
make[2]: *** [package] Error 2
make[2]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/build/firefox-kde-opensuse/src/mozilla-release/client.mk:233: recipe for target 'profiledbuild' failed
make[1]: *** [profiledbuild] Error 2
make[1]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release'
client.mk:171: recipe for target 'build' failed
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Any suggestions?

mareex commented on 2015-03-21 20:17

what is about for uploading a pkbuild for language files? this package is most of the time weeks behind, so that firefox-i18n-de is in IGNOREPGK all the time.

Yegorius commented on 2015-03-07 00:46

My fault. "curl -O" is not enough.

bpetlert commented on 2015-03-06 21:23

I got the same error as @xF0E.

I found that 'add_missing_pgo_rule.patch' and 'unity-menubar.patch' are not patch files.


add_missing_pgo_rule.patch
-------------------------------
You are being redirected.

--> https://raw.githubusercontent.com/Thaodan/thaopkgs/master/firefox-kde-opensuse/add_missing_pgo_rule.patch
===============================


unity-menubar.patch
-------------------------------
You are being redirected.

--> https://raw.githubusercontent.com/Thaodan/thaopkgs/master/firefox-kde-opensuse/unity-menubar.patch
===============================

xF0E commented on 2015-03-06 19:34

Patching doesn't work -.-

Hunk #1 succeeded at 249 (offset -12 lines).
patching file browser/app/Makefile.in
patching file browser/branding/official/Makefile.in
patching file browser/installer/package-manifest.in
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
==> ERROR: A failure occurred in prepare().

Yegorius commented on 2015-03-04 22:23

I have silently updated PKGBUILD to include new Thaodan patches.

Thaodan commented on 2015-03-03 02:32

@Yegorius: the libnotify patch is no longer neeeded (already applied in the latest upstream version), I updated the unity-menubar patch from the latest ubuntu firefox package. see my repo

Yegorius commented on 2015-03-01 22:18

It seems mozilla fixed the old build issue which caused conflict when previous version of /usr/bin/firefox was present during compile time. I confirm the associated check is not needed anymore. Thodan's patches are temporarily commented out.

toxygen commented on 2015-02-28 16:56

i swear this package is so moody
@mareex
i was using e7e5b3d0f1b3 with those two patches disabled, along with the pgo one, and it was throwing out lots of "this patch will recreate file"
i thought i HAD cleared the src folder , but apparently not, and yet still didnt work.
uncommented out the pgo patch and now it's building :-/
i'm not even buliding pgo

mareex commented on 2015-02-27 14:56

@toxygen try to remove these lines

# add globalmenu support
patch -Np1 -i "$srcdir/unity-menubar.patch"
# add support for libnotify once again #858919
patch -Np1 -i "$srcdir/add_support_for_libnotify_again.patch"

patchrev should be 4d52d2b45cf0

Works for me

EDIT: Just saw e7e5b3d0f1b3 was added

mareex commented on 2015-02-27 14:50

@toxygen try to remove these lines

# add globalmenu support
patch -Np1 -i "$srcdir/unity-menubar.patch"
# add support for libnotify once again #858919
patch -Np1 -i "$srcdir/add_support_for_libnotify_again.patch"

patchrev should be 4d52d2b45cf0

Works for me

toxygen commented on 2015-02-27 14:43

no-go with default patch set, guess i'll have to wait for updated PKGBUILD

toxygen commented on 2015-02-27 14:21

@mareex & @fincer
i believe they are still used due to the [possible] conflicts between different version libraries in the build process (ie. pulling a lib from the installed package vs the source).

does anyone know if the patchset e7e5b3d0f1b3 is the correct one for 36.0? i'm trying to build with that now, based on the current pkgbuild (with unity/notify/pgo patches commented out), we'll see how it goes

@nemezis007 i think that's due to a character limit with the shell or python or something

Fincer commented on 2015-02-27 12:04

I agree with mareex

I just comment those lines out when compiling Firefox, I don't care whether firefox is installed or not because I just want to compile the program regardless of existing firefox installations on my system. I see no reason to keep those lines - there is a conflicting package "firefox" already listed in current PKGBUILD.

Please remove those lines, unless there is a very important or a very specific reason to prevent the compilation while /usr/bin/firefox exists.

Also, please update this to Firefox 36.

mareex commented on 2015-02-26 22:01

Are these lines really necessary?

# check whether previous firefox version is installed
# firefox will not build if old /usr/bin/firefox exists
if pacman -T firefox && ! pacman -T "firefox=$pkgver"; then
error "Please uninstall firefox temporarily before building it (pacman -Rdd ...)"
exit 1
fi

It will build regardless whether it is installed or not. At least here on my side. ;)

flying-sheep commented on 2015-02-25 19:14

@patches: thanks!

Thaodan commented on 2015-02-25 10:21

the libnotify is no longer needed as far as I see, the KDE patches are updated, but the libdbus stuff neeeds a update (wait for an updated patch from canocial).

Thaodan commented on 2015-02-25 01:18

No problem, I'll release updated patches if needed.

Yegorius commented on 2015-02-24 12:11

The patches are now included in the tarball.

flying-sheep commented on 2015-02-24 09:08

could you not host them on github? GitHub throttles raw file access.

either proxy them via http://rawgit.com/ or they should be rehosted.

FadeMind commented on 2015-02-22 19:51

The same issue in the clean chroot:
Executing /build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g /build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -a /build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -f /build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
resource://gre/components/ActivityMessageConfigurator.js
resource://gre/components/ActivityProxy.js
resource://gre/components/ActivityRequestHandler.js
resource://gre/components/ActivityWrapper.js
resource://gre/components/AlarmsManager.js
resource://gre/components/AppsService.js
resource://gre/components/BrowserElementParent.js
resource://gre/components/ChromeNotifications.js
resource://gre/components/ColorAnalyzer.js
resource://gre/components/ConsoleAPIStorage.js
resource://gre/components/ContactManager.js
resource://gre/components/ContentProcessSingleton.js
resource://gre/components/DataReportingService.js
resource://gre/components/DataStoreImpl.js
resource://gre/components/DownloadLegacy.js
resource://gre/components/FeedProcessor.js
resource://gre/components/FormAutofillContentService.js
resource://gre/components/FormAutofillStartup.js
resource://gre/components/FormHistoryStartup.js
resource://gre/components/InterAppCommService.js
resource://gre/components/InterAppConnection.js
resource://gre/components/InterAppMessagePort.js
resource://gre/components/MainProcessSingleton.js
resource://gre/components/MozKeyboard.js
resource://gre/components/NetworkGeolocationProvider.js
resource://gre/components/NotificationStorage.js
resource://gre/components/PageThumbsProtocol.js
resource://gre/components/Payment.js
resource://gre/components/PaymentFlowInfo.js
resource://gre/components/PeerConnection.js
resource://gre/components/PermissionPromptService.js
resource://gre/components/PermissionSettings.js
resource://gre/components/PhoneNumberService.js
resource://gre/components/PlacesCategoriesStarter.js
resource://gre/components/Push.js
resource://gre/components/PushServiceLauncher.js
resource://gre/components/ResourceStatsManager.js
resource://gre/components/SettingsManager.js
resource://gre/components/SiteSpecificUserAgent.js
resource://gre/components/SlowScriptDebug.js
resource://gre/components/SystemMessageInternal.js
resource://gre/components/SystemMessageManager.js
resource://gre/components/TCPServerSocket.js
resource://gre/components/TCPSocket.js
resource://gre/components/TCPSocketParentIntermediary.js
resource://gre/components/TelemetryStartup.js
resource://gre/components/UnifiedComplete.js
resource://gre/components/Weave.js
resource://gre/components/WebVTTParserWrapper.js
resource://gre/components/Webapps.js
resource://gre/components/XULStore.js
resource://gre/components/addonManager.js
resource://gre/components/amContentHandler.js
resource://gre/components/amInstallTrigger.js
resource://gre/components/amWebInstallListener.js
resource://gre/components/contentAreaDropListener.js
resource://gre/components/crypto-SDR.js
resource://gre/components/jsconsole-clhandler.js
resource://gre/components/marionettecomponent.js
resource://gre/components/messageWakeupService.js
resource://gre/components/multiprocessShims.js
resource://gre/components/nsAsyncShutdown.js
resource://gre/components/nsBlocklistService.js
resource://gre/components/nsContentDispatchChooser.js
resource://gre/components/nsContentPrefService.js
resource://gre/components/nsCrashMonitor.js
resource://gre/components/nsDOMIdentity.js
resource://gre/components/nsDefaultCLH.js
resource://gre/components/nsDownloadManagerUI.js
resource://gre/components/nsFilePicker.js
resource://gre/components/nsFormAutoComplete.js
resource://gre/components/nsFormHistory.js
resource://gre/components/nsHandlerService.js
resource://gre/components/nsHelperAppDlg.js
resource://gre/components/nsIDService.js
resource://gre/components/nsINIProcessor.js
resource://gre/components/nsInputListAutoComplete.js
resource://gre/components/nsLivemarkService.js
resource://gre/components/nsLoginInfo.js
resource://gre/components/nsLoginManager.js
resource://gre/components/nsLoginManagerPrompter.js
resource://gre/components/nsPlacesAutoComplete.js
resource://gre/components/nsPlacesExpiration.js
resource://gre/components/nsPrompter.js
resource://gre/components/nsSearchService.js
resource://gre/components/nsSearchSuggestions.js
resource://gre/components/nsTaggingService.js
resource://gre/components/nsURLFormatter.js
resource://gre/components/nsUpdateTimerManager.js
resource://gre/components/nsUrlClassifierHashCompleter.js
resource://gre/components/nsUrlClassifierLib.js
resource://gre/components/nsUrlClassifierListManager.js
resource://gre/components/nsWebHandlerApp.js
resource://gre/components/recording-cmdline.js
resource://gre/components/storage-json.js
resource://gre/components/txEXSLTRegExFunctions.js
resource://gre/modules/ActivitiesService.jsm
resource://gre/modules/ActivitiesServiceFilter.jsm
resource://gre/modules/AddonManager.jsm
resource://gre/modules/AlarmDB.jsm
resource://gre/modules/AlarmService.jsm
resource://gre/modules/AppDownloadManager.jsm
resource://gre/modules/AppsServiceChild.jsm
resource://gre/modules/AppsUtils.jsm
resource://gre/modules/AsyncShutdown.jsm
resource://gre/modules/AsyncSpellCheckTestHelper.jsm
resource://gre/modules/AutoCompleteE10S.jsm
resource://gre/modules/BackgroundPageThumbs.jsm
resource://gre/modules/Battery.jsm
resource://gre/modules/BinarySearch.jsm
resource://gre/modules/BookmarkHTMLUtils.jsm
resource://gre/modules/BookmarkJSONUtils.jsm
resource://gre/modules/Bookmarks.jsm
resource://gre/modules/BrowserElementParent.jsm
resource://gre/modules/BrowserElementPromptService.jsm
resource://gre/modules/BrowserUtils.jsm
resource://gre/modules/CertUtils.jsm
resource://gre/modules/CharsetMenu.jsm
resource://gre/modules/ChromeManifestParser.jsm
resource://gre/modules/CloudSync.jsm
resource://gre/modules/CloudSyncAdapters.jsm
resource://gre/modules/CloudSyncBookmarks.jsm
resource://gre/modules/CloudSyncBookmarksFolderCache.jsm
resource://gre/modules/CloudSyncEventSource.jsm
resource://gre/modules/CloudSyncLocal.jsm
resource://gre/modules/CloudSyncPlacesWrapper.jsm
resource://gre/modules/CloudSyncTabs.jsm
resource://gre/modules/ClusterLib.js
resource://gre/modules/ColorAnalyzer_worker.js
resource://gre/modules/ColorConversion.js
resource://gre/modules/CommonDialog.jsm
resource://gre/modules/ContactDB.jsm
resource://gre/modules/ContactService.jsm
resource://gre/modules/ContentPrefInstance.jsm
resource://gre/modules/ContentPrefService2.jsm
resource://gre/modules/ContentPrefServiceChild.jsm
resource://gre/modules/ContentPrefServiceParent.jsm
resource://gre/modules/ContentPrefStore.jsm
resource://gre/modules/ContentPrefUtils.jsm
resource://gre/modules/CrashMonitor.jsm
resource://gre/modules/Credentials.jsm
resource://gre/modules/DOMIdentity.jsm
resource://gre/modules/DOMRequestHelper.jsm
resource://gre/modules/DataStoreChangeNotifier.jsm
resource://gre/modules/DataStoreCursorImpl.jsm
resource://gre/modules/DataStoreDB.jsm
resource://gre/modules/DeferredSave.jsm
resource://gre/modules/DeferredTask.jsm
resource://gre/modules/Deprecated.jsm
resource://gre/modules/Dict.jsm
resource://gre/modules/DownloadCore.jsm
resource://gre/modules/DownloadImport.jsm
resource://gre/modules/DownloadIntegration.jsm
resource://gre/modules/DownloadLastDir.jsm
resource://gre/modules/DownloadList.jsm
resource://gre/modules/DownloadPaths.jsm
resource://gre/modules/DownloadStore.jsm
resource://gre/modules/DownloadTaskbarProgress.jsm
resource://gre/modules/DownloadUIHelper.jsm
resource://gre/modules/DownloadUtils.jsm
resource://gre/modules/Downloads.jsm
resource://gre/modules/FileUtils.jsm
resource://gre/modules/Finder.jsm
resource://gre/modules/ForgetAboutSite.jsm
resource://gre/modules/FormAutofill.jsm
resource://gre/modules/FormAutofillIntegration.jsm
resource://gre/modules/FormData.jsm
resource://gre/modules/FormHistory.jsm
resource://gre/modules/FrameWorker.jsm
resource://gre/modules/FrameWorkerContent.js
resource://gre/modules/FreeSpaceWatcher.jsm
resource://gre/modules/FxAccounts.jsm
resource://gre/modules/FxAccountsClient.jsm
resource://gre/modules/FxAccountsCommon.js
resource://gre/modules/FxAccountsOAuthClient.jsm
resource://gre/modules/FxAccountsProfileClient.jsm
resource://gre/modules/GMPInstallManager.jsm
resource://gre/modules/Geometry.jsm
resource://gre/modules/HealthReport.jsm
resource://gre/modules/History.jsm
resource://gre/modules/Http.jsm
resource://gre/modules/ISO8601DateUtils.jsm
resource://gre/modules/IndexedDBHelper.jsm
resource://gre/modules/InlineSpellChecker.jsm
resource://gre/modules/InlineSpellCheckerContent.jsm
resource://gre/modules/InsecurePasswordUtils.jsm
Traceback (most recent call last):
File "/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 402, in <module>
main()
File "/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 394, in main
args.source, gre_path, base)
File "/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 158, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/build/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/build/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:691: recipe for target 'stage-package' failed
make[2]: *** [stage-package] Error 1
make[2]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/build/firefox-kde-opensuse/src/mozilla-release/browser/build.mk:21: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
client.mk:405: recipe for target 'install' failed
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Build failed, check /home/tomasz/DEV/chroot64/tomasz/build
[tomasz@arch firefox-kde-opensuse]$

Yegorius commented on 2015-02-22 18:40

35.0.1-2 introduces some patches by Thaodan, which enable support for libdbusmenu, libnotify and fix PGO build. Please report here if you encounter any problems.
Thanks Thaodan!

nemezis007 commented on 2015-02-16 15:20

Would anyone take look at what @toxygen has been talking about - the path length seem seems to be an issue - after relocating to shorter initial one I was finally successful building it.

Thaodan commented on 2015-02-11 10:06

added patch to add missing rule for pgo builds

Thaodan commented on 2015-02-10 22:33

I modified the patch to enable libnotify support for notifications once again see: https://github.com/Thaodan/thaopkgs/blob/master/firefox-kde-opensuse/add_support_for_libnotify_again.patch
my pkgbuild with this patch and globalmenu support enabled (don't affects you if you don't use it):
https://github.com/Thaodan/thaopkgs/blob/master/firefox-kde-opensuse/PKGBUILD

FadeMind commented on 2015-02-07 12:06

Failed to built under chroot. Lastest Lines:

Executing /build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g /build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -a /build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -f /build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
resource://gre/components/ActivityMessageConfigurator.js
resource://gre/components/ActivityProxy.js
resource://gre/components/ActivityRequestHandler.js
resource://gre/components/ActivityWrapper.js
resource://gre/components/AlarmsManager.js
resource://gre/components/AppsService.js
resource://gre/components/BrowserElementParent.js
resource://gre/components/ChromeNotifications.js
resource://gre/components/ColorAnalyzer.js
resource://gre/components/ConsoleAPIStorage.js
resource://gre/components/ContactManager.js
resource://gre/components/ContentProcessSingleton.js
resource://gre/components/DataReportingService.js
resource://gre/components/DataStoreImpl.js
resource://gre/components/DownloadLegacy.js
resource://gre/components/FeedProcessor.js
resource://gre/components/FormAutofillContentService.js
resource://gre/components/FormAutofillStartup.js
resource://gre/components/FormHistoryStartup.js
resource://gre/components/InterAppCommService.js
resource://gre/components/InterAppConnection.js
resource://gre/components/InterAppMessagePort.js
resource://gre/components/MainProcessSingleton.js
resource://gre/components/MozKeyboard.js
resource://gre/components/NetworkGeolocationProvider.js
resource://gre/components/NotificationStorage.js
resource://gre/components/PageThumbsProtocol.js
resource://gre/components/Payment.js
resource://gre/components/PaymentFlowInfo.js
resource://gre/components/PeerConnection.js
resource://gre/components/PermissionPromptService.js
resource://gre/components/PermissionSettings.js
resource://gre/components/PhoneNumberService.js
resource://gre/components/PlacesCategoriesStarter.js
resource://gre/components/Push.js
resource://gre/components/PushServiceLauncher.js
resource://gre/components/ResourceStatsManager.js
resource://gre/components/SettingsManager.js
resource://gre/components/SiteSpecificUserAgent.js
resource://gre/components/SlowScriptDebug.js
resource://gre/components/SystemMessageInternal.js
resource://gre/components/SystemMessageManager.js
resource://gre/components/TCPServerSocket.js
resource://gre/components/TCPSocket.js
resource://gre/components/TCPSocketParentIntermediary.js
resource://gre/components/TelemetryStartup.js
resource://gre/components/UnifiedComplete.js
resource://gre/components/Weave.js
resource://gre/components/WebVTTParserWrapper.js
resource://gre/components/Webapps.js
resource://gre/components/XULStore.js
resource://gre/components/addonManager.js
resource://gre/components/amContentHandler.js
resource://gre/components/amInstallTrigger.js
resource://gre/components/amWebInstallListener.js
resource://gre/components/contentAreaDropListener.js
resource://gre/components/crypto-SDR.js
resource://gre/components/jsconsole-clhandler.js
resource://gre/components/marionettecomponent.js
resource://gre/components/messageWakeupService.js
resource://gre/components/multiprocessShims.js
resource://gre/components/nsAsyncShutdown.js
resource://gre/components/nsBlocklistService.js
resource://gre/components/nsContentDispatchChooser.js
resource://gre/components/nsContentPrefService.js
resource://gre/components/nsCrashMonitor.js
resource://gre/components/nsDOMIdentity.js
resource://gre/components/nsDefaultCLH.js
resource://gre/components/nsDownloadManagerUI.js
resource://gre/components/nsFilePicker.js
resource://gre/components/nsFormAutoComplete.js
resource://gre/components/nsFormHistory.js
resource://gre/components/nsHandlerService.js
resource://gre/components/nsHelperAppDlg.js
resource://gre/components/nsIDService.js
resource://gre/components/nsINIProcessor.js
resource://gre/components/nsInputListAutoComplete.js
resource://gre/components/nsLivemarkService.js
resource://gre/components/nsLoginInfo.js
resource://gre/components/nsLoginManager.js
resource://gre/components/nsLoginManagerPrompter.js
resource://gre/components/nsPlacesAutoComplete.js
resource://gre/components/nsPlacesExpiration.js
resource://gre/components/nsPrompter.js
resource://gre/components/nsSearchService.js
resource://gre/components/nsSearchSuggestions.js
resource://gre/components/nsTaggingService.js
resource://gre/components/nsURLFormatter.js
resource://gre/components/nsUpdateTimerManager.js
resource://gre/components/nsUrlClassifierHashCompleter.js
resource://gre/components/nsUrlClassifierLib.js
resource://gre/components/nsUrlClassifierListManager.js
resource://gre/components/nsWebHandlerApp.js
resource://gre/components/recording-cmdline.js
resource://gre/components/storage-json.js
resource://gre/components/txEXSLTRegExFunctions.js
resource://gre/modules/ActivitiesService.jsm
resource://gre/modules/ActivitiesServiceFilter.jsm
resource://gre/modules/AddonManager.jsm
resource://gre/modules/AlarmDB.jsm
resource://gre/modules/AlarmService.jsm
resource://gre/modules/AppDownloadManager.jsm
resource://gre/modules/AppsServiceChild.jsm
resource://gre/modules/AppsUtils.jsm
resource://gre/modules/AsyncShutdown.jsm
resource://gre/modules/AsyncSpellCheckTestHelper.jsm
resource://gre/modules/AutoCompleteE10S.jsm
resource://gre/modules/BackgroundPageThumbs.jsm
resource://gre/modules/Battery.jsm
resource://gre/modules/BinarySearch.jsm
resource://gre/modules/BookmarkHTMLUtils.jsm
resource://gre/modules/BookmarkJSONUtils.jsm
resource://gre/modules/Bookmarks.jsm
resource://gre/modules/BrowserElementParent.jsm
resource://gre/modules/BrowserElementPromptService.jsm
resource://gre/modules/BrowserUtils.jsm
resource://gre/modules/CertUtils.jsm
resource://gre/modules/CharsetMenu.jsm
resource://gre/modules/ChromeManifestParser.jsm
resource://gre/modules/CloudSync.jsm
resource://gre/modules/CloudSyncAdapters.jsm
resource://gre/modules/CloudSyncBookmarks.jsm
resource://gre/modules/CloudSyncBookmarksFolderCache.jsm
resource://gre/modules/CloudSyncEventSource.jsm
resource://gre/modules/CloudSyncLocal.jsm
resource://gre/modules/CloudSyncPlacesWrapper.jsm
resource://gre/modules/CloudSyncTabs.jsm
resource://gre/modules/ClusterLib.js
resource://gre/modules/ColorAnalyzer_worker.js
resource://gre/modules/ColorConversion.js
resource://gre/modules/CommonDialog.jsm
resource://gre/modules/ContactDB.jsm
resource://gre/modules/ContactService.jsm
resource://gre/modules/ContentPrefInstance.jsm
resource://gre/modules/ContentPrefService2.jsm
resource://gre/modules/ContentPrefServiceChild.jsm
resource://gre/modules/ContentPrefServiceParent.jsm
resource://gre/modules/ContentPrefStore.jsm
resource://gre/modules/ContentPrefUtils.jsm
resource://gre/modules/CrashMonitor.jsm
resource://gre/modules/Credentials.jsm
resource://gre/modules/DOMIdentity.jsm
resource://gre/modules/DOMRequestHelper.jsm
resource://gre/modules/DataStoreChangeNotifier.jsm
resource://gre/modules/DataStoreCursorImpl.jsm
resource://gre/modules/DataStoreDB.jsm
resource://gre/modules/DeferredSave.jsm
resource://gre/modules/DeferredTask.jsm
resource://gre/modules/Deprecated.jsm
resource://gre/modules/Dict.jsm
resource://gre/modules/DownloadCore.jsm
resource://gre/modules/DownloadImport.jsm
resource://gre/modules/DownloadIntegration.jsm
resource://gre/modules/DownloadLastDir.jsm
resource://gre/modules/DownloadList.jsm
resource://gre/modules/DownloadPaths.jsm
resource://gre/modules/DownloadStore.jsm
resource://gre/modules/DownloadTaskbarProgress.jsm
resource://gre/modules/DownloadUIHelper.jsm
resource://gre/modules/DownloadUtils.jsm
resource://gre/modules/Downloads.jsm
resource://gre/modules/FileUtils.jsm
resource://gre/modules/Finder.jsm
resource://gre/modules/ForgetAboutSite.jsm
resource://gre/modules/FormAutofill.jsm
resource://gre/modules/FormAutofillIntegration.jsm
resource://gre/modules/FormData.jsm
resource://gre/modules/FormHistory.jsm
resource://gre/modules/FrameWorker.jsm
resource://gre/modules/FrameWorkerContent.js
resource://gre/modules/FreeSpaceWatcher.jsm
resource://gre/modules/FxAccounts.jsm
resource://gre/modules/FxAccountsClient.jsm
resource://gre/modules/FxAccountsCommon.js
resource://gre/modules/FxAccountsOAuthClient.jsm
resource://gre/modules/FxAccountsProfileClient.jsm
resource://gre/modules/GMPInstallManager.jsm
resource://gre/modules/Geometry.jsm
resource://gre/modules/HealthReport.jsm
resource://gre/modules/History.jsm
resource://gre/modules/Http.jsm
resource://gre/modules/ISO8601DateUtils.jsm
resource://gre/modules/IndexedDBHelper.jsm
resource://gre/modules/InlineSpellChecker.jsm
resource://gre/modules/InlineSpellCheckerContent.jsm
resource://gre/modules/InsecurePasswordUtils.jsm
Traceback (most recent call last):
File "/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 402, in <module>
main()
File "/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 394, in main
args.source, gre_path, base)
File "/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 158, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/build/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/build/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:691: recipe for target 'stage-package' failed
make[2]: *** [stage-package] Error 1
make[2]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/build/firefox-kde-opensuse/src/mozilla-release/browser/build.mk:21: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
client.mk:405: recipe for target 'install' failed
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...

==> ERROR: Build failed, check /home/tomasz/DEV/chroot64/tomasz/build

helq commented on 2015-01-31 13:50

The opensuse patchs for firefox 35.0.1 are the same as for firefox 35.0
If you want to compile firefox-kde-opensuse 35.0.1, then you can simply change in the PKGBUILD pkgver=35.0 for pkgver=35.0.1 (and the checksum for the tar.bz2), or if you are too lazy, download and install the precompiled package:
https://www.mediafire.com/folder/49q93yj2bikr7/Arch

Yegorius commented on 2015-01-17 19:11

@toxygen, you are welcome :)

toxygen commented on 2015-01-17 02:44

a successful build, finally!
thanks for maintaining the package, it's the only version of firefox i like using anymore.

toxygen commented on 2015-01-17 00:39

strange that building it earlier from yaourt itself (which supposedly is set to use /tmp as builddir) also failed with that error however.

toxygen commented on 2015-01-17 00:37

looks like i fixed it...
------
/bin/sh: ./config.status: /home/user/packages/firefox/firefox-kde-opensuse/firefox-kde-opensuse/src: bad interpreter: No such file or directory
-----
i thought maybe the path is too long, moved everything to /tmp/firefox, configure step completed, and so far it's building

toxygen commented on 2015-01-15 22:44

yes it does
lrwxrwxrwx 1 root root 4 Dec 30 16:08 "/usr/bin/sh" -> "bash"

Yegorius commented on 2015-01-15 17:58

@toxygen
thanks, prepare() is the proper place for this check, and it's still needed
regarding your build failure, does your /bin/sh link to /bin/bash?

toxygen commented on 2015-01-15 16:46

oh and it happens whether or not i have a firefox-kde-opensuse (or any firefox) installed or not (so my original comment has nothing to do with the build errors)

toxygen commented on 2015-01-15 16:45

and 35 failed, at almost the same location as 34.0.5:

===================
checking MOZ_ICU_CFLAGS...
checking MOZ_ICU_LIBS... -licui18n -licuuc -licudata
checking for malloc.h... (cached) yes
checking for setlocale... yes
checking for localeconv... (cached) yes
checking for malloc_size... no
checking for malloc_usable_size... (cached) yes
updating cache /home/user/packages/firefox/firefox-kde-opensuse/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/config.cache
creating ./config.status
/bin/sh: ./config.status: /home/user/packages/firefox/firefox-kde-opensuse/firefox-kde-opensuse/src: bad interpreter: No such file or directory
*** Fix above errors and then restart with\
"make -f client.mk build"
/home/user/packages/firefox/firefox-kde-opensuse/firefox-kde-opensuse/src/mozilla-release/client.mk:361: recipe for target 'configure' failed
make[2]: *** [configure] Error 1
==============

always right after MOZ_ICU_LIBS, after "creating ./config.status"
i have reinstalled icu, base-devel, python, etc. and as i said, versions 33 and below all build fine

there is another error before that:
-------------------
checking what kind of list files are supported by the linker... linkerscript
checking what kind of ordering can be done with the linker... gcc: error: unrecognized command line option '-Wl'
none
----------
but i get this in the previous versions that do build as well. the build problem also happens in vanilla firefox so I'm guessing I'm missing a package or something is not being detected/written properly?

toxygen commented on 2015-01-15 16:35

yegorius, can you remove the section:
>if pacman -T firefox && ! pacman -T "firefox=$pkgver"; then
> error "Please uninstall firefox temporarily before building it (pacman -Rdd ...)"
> exit 1
>fi

from the build portion? if it's still needed maybe the "prepare()" section woudl be a better place.
Also I havent been able to build 34.0.5 (trying 35.0) now, always fails at the configure sectoin with an error regarding "/bin/sh: no valid interpreter" found. I have the base-devel and other necesary tools installed, and versions prior to 34.0.5 do build correctly. any ideas?

psi-jack commented on 2014-11-24 19:22

Dependancies are wrong, or for whatever reason this patch makes NSS version 3.17.1 unacceptable?

configure:15300: checking for nss-config
configure:15335: checking for NSS - version >= 3.17.2
configure: error: you don't have NSS installed or your version is too old
*** Fix above errors and then restart with\
"make -f client.mk build"


Not exactly sure why 3.17.1 would be unacceptable but 3.17.2 would be just peachy. :)

ThecaTTony commented on 2014-11-13 02:14

Here is the update source package for 33.1:
https://mega.co.nz/#!OotXURLR!Xp3zyaTqtV_I4arsm8oI0sOIYu9QKvQPy2Ml8Zy5pNs

Thaodan commented on 2014-11-01 11:19

if you own a cpu that supports avx add this to build() in your PKGBUILD:
export CPPFLAGS="$CPPFLAGS -mno-avx"

hippieben commented on 2014-10-28 05:16

@Yegorius: I typically run makepkg without any flags. So there's no -j to remove, unless you're building with a different command that I should try...

@Thaodan: I eventually got it to build, so I don't know if that's the issue, and I don't have a dmesg from that time.

Thanks tho

Thaodan commented on 2014-10-27 23:11

@hippeleben: look in dmesg is xpcshell crashed (my issue)?

Yegorius commented on 2014-10-27 15:56

@hippieben:
The output you provided doesn't indicate any compiler error message.
Try running make without "-j" flag.

hippieben commented on 2014-10-24 15:24

Once again, package doesn't build.

make[5]: Leaving directory '/home/ben/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/media/webrtc/trunk/webrtc/modules/modules_desktop_capture'
make[5]: Leaving directory '/home/ben/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/js/xpconnect/src'
make[4]: Leaving directory '/home/ben/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/home/ben/AUR/firefox-kde-opensuse/src/mozilla-release/config/recurse.mk:42: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/ben/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/home/ben/AUR/firefox-kde-opensuse/src/mozilla-release/config/rules.mk:584: recipe for target 'default' failed
make[2]: *** [default] Error 2
make[2]: Leaving directory '/home/ben/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/home/ben/AUR/firefox-kde-opensuse/src/mozilla-release/client.mk:392: recipe for target 'realbuild' failed
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory '/home/ben/AUR/firefox-kde-opensuse/src/mozilla-release'
client.mk:168: recipe for target 'build' failed
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...

ceri commented on 2014-10-24 06:44

Anyone having issues with the General tab of options being blank?

Kalinda commented on 2014-10-22 16:57

@flying-sheep:

I actually tried building it new a couple of times but it wouldn't work. It could've been something else, too, though, I've frequently had trouble trying to build it in the past.

Thanks for the repo, though!

flying-sheep commented on 2014-10-22 11:50

Kalinda, if you build it new or use the one from http://apathism.net/archlinux/, it should work.

seems like you built just before the icu update.

PS: i informed the maintainer (https://aur.archlinux.org/account/apathism/), and firefox-kde-opensuse-33.0-2 there is now built against icu-54.0.

mareex commented on 2014-10-22 11:44

builds and runs fine for me against new icu.

psi-jack commented on 2014-10-22 11:37

Firefox 33.0-1 prepare() issues:

patching file browser/components/preferences/main.js
patching file toolkit/components/downloads/nsDownloadManager.cpp
Hunk #1 succeeded at 1377 (offset 12 lines).
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
patching file dom/plugins/base/nsPluginHost.cpp
Hunk #1 succeeded at 1169 (offset -165 lines).
patching file modules/libpref/src/Makefile.in
patching file modules/libpref/src/Preferences.cpp
patching file python/mozbuild/mozpack/chrome/flags.py
patching file python/mozbuild/mozpack/chrome/manifest.py
patching file toolkit/components/downloads/Makefile.in
patching file toolkit/components/downloads/nsDownloadManager.cpp
patching file toolkit/content/jar.mn
The next patch would create the file toolkit/content/widgets/dialog-kde.xml,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file toolkit/content/widgets/preferences-kde.xml,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
patching file toolkit/xre/moz.build
The next patch would create the file toolkit/xre/nsKDEUtils.cpp,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file toolkit/xre/nsKDEUtils.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file uriloader/exthandler/Makefile.in
patching file uriloader/exthandler/moz.build
The next patch would create the file uriloader/exthandler/unix/nsCommonRegistry.cpp,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsCommonRegistry.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsKDERegistry.cpp,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsKDERegistry.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
patching file uriloader/exthandler/unix/nsOSHelperAppService.cpp
patching file widget/gtk/Makefile.in
patching file widget/gtk/nsFilePicker.cpp
patching file widget/gtk/nsFilePicker.h
patching file xpcom/components/Makefile.in
patching file xpcom/components/ManifestParser.cpp
patching file xpcom/io/nsLocalFileUnix.cpp
==> ERROR: A failure occurred in prepare().
Aborting...

Kalinda commented on 2014-10-22 03:35

Ok, there seems to be a problem with Firefox now that icu has been updated. It won't open anymore, complaining about missing libicui18n.so.53:

XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libicui18n.so.53: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

So I figured it just needed to be recompiled alongside the new icu, but the compiler is specifically looking the .53 version of the icu files, so it won't work. I get this error in which it cannot find libicui18n.so.53:

Executing /tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g /tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -a /tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -f /tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: error while loading shared libraries: libicui18n.so.53: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 402, in <module>
main()
File "/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 394, in main
args.source, gre_path, base)
File "/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 158, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:720: recipe for target 'stage-package' failed
make[2]: *** [stage-package] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/browser/build.mk:21: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
client.mk:399: recipe for target 'install' failed
make: *** [install] Error 2

I tried making a symlink, but it wants me to symlink all the icu files. After I'd done two of them, I tried opening Firefox again and got this instead:

XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
/usr/lib/firefox/libxul.so: undefined symbol: udat_countAvailable_53
Couldn't load XPCOM.

Looking for 53 again. Does the source code or something else need to be modified so it works with the new, version 54 of icu? I looked through the PKGBUILD and didn't find anything about icu that I could change in there.

I see the regular version of Firefox has been updated to 33.0-2 in the repos today and it works, so I guess I have to use it for now. Just thought I'd alert you to this problem.

Yegorius commented on 2014-10-20 15:21

Hello everybody,
I was on vacation last week, so the package is behind the schedule (:
It will be updated very soon.

Concerning the build failures:
I always test the package before I upload it to the AUR, so if it fails to build, then it's probably your environment (99.9%), or my fault (0.1%).
The firefox build process is known to be very fragile.
BTW, I never build in clean chroot — the package builds perfectly without it.
Always do "-Syu" before you build new firefox. Sometimes new version of icu, nss or nspr might help you build successfully. If you build twice in the same directory, don't forger to remove pkg and src dirs before you retry.

hippieben commented on 2014-10-19 17:55

The maintainer always seems to be a bit behind

mareex commented on 2014-10-19 15:42

Why is this package not updated?
Patches for version 33 seem to be out for one week now.

zancarius commented on 2014-10-18 06:06

@hippieben I've always had the same problem with the base Firefox package, too. It's not just this one.

If you're having trouble, it's difficult to say with certainty what the problem is, so I find it's easier to circumvent the whole slew of variables that could contribute and just build it in a chroot [1]. It's more work, but it avoids certain externalities. If you do so, you'll need to build kmozillahelper [2] and install it into your chroot before the Firefox package. (If makepkg complains when it tests the downloaded patches, and they don't exist, you'll need to download them manually--I have that have on occasion, but I don't know what causes it.)

Aside: I believe several of the official binary packages are built this way, but I could be mistaken.

[1] https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot
[2] https://aur.archlinux.org/packages/kmozillahelper/

hippieben commented on 2014-10-18 00:02

Fails to build.

ben/Desktop/firefox-kde-opensuse/src/mozilla-release/content/media/mediasource/SourceBufferResource.cpp
make[5]: Leaving directory '/home/ben/Desktop/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/content/media/encoder'
make[5]: Leaving directory '/home/ben/Desktop/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/content/media/mediasource'
make[4]: Leaving directory '/home/ben/Desktop/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/home/ben/Desktop/firefox-kde-opensuse/src/mozilla-release/config/recurse.mk:39: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/ben/Desktop/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/home/ben/Desktop/firefox-kde-opensuse/src/mozilla-release/config/rules.mk:592: recipe for target 'default' failed
make[2]: *** [default] Error 2
make[2]: Leaving directory '/home/ben/Desktop/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
/home/ben/Desktop/firefox-kde-opensuse/src/mozilla-release/client.mk:400: recipe for target 'realbuild' failed
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory '/home/ben/Desktop/firefox-kde-opensuse/src/mozilla-release'
client.mk:187: recipe for target 'build' failed
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...


This package always has some kind of issue, very frustrating.

flying-sheep commented on 2014-10-16 10:44

hmm, stock icons seem to choose oxygen all the time.

does any patch change this? or how else can i force firefox that e.g. moz-icon://stock/gtk-directory?size=16 is chosen from my selected icon theme?

ThecaTTony commented on 2014-10-04 09:08

Well, my problem was solved using and updated patch revision.
http://www.rosenauer.org/hg/mozilla/shortlog/af83869ba02e (Current 32.0.2)

ThecaTTony commented on 2014-09-29 02:39

Fails to package:
-------------------------------------------------
resource://gre/components/DataReportingService.js
Traceback (most recent call last):
File "/tmp/yaourt-tmp-thecattony/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 402, in <module>
main()
File "/tmp/yaourt-tmp-thecattony/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 394, in main
args.source, gre_path, base)
File "/tmp/yaourt-tmp-thecattony/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 158, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/tmp/yaourt-tmp-thecattony/aur-firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/tmp/yaourt-tmp-thecattony/aur-firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/tmp/yaourt-tmp-thecattony/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.mk:714: recipe for target 'stage-package' failed
make[2]: *** [stage-package] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-thecattony/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
/tmp/yaourt-tmp-thecattony/aur-firefox-kde-opensuse/src/mozilla-release/browser/build.mk:21: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-thecattony/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
client.mk:407: recipe for target 'install' failed
make: *** [install] Error 2
==> ERROR: Se produjo un error en package().
Cancelando...
==> ERROR: Makepkg no ha podido compilar firefox-kde-opensuse.
-------------------------------------------------

Any help? Thanks.

Distag commented on 2014-09-06 17:34

Same as xF0E

arcanis commented on 2014-09-03 10:35

BTW it doesn't build under i686 in clean chroot as for me (32.0)

ceri commented on 2014-08-07 02:05

Works fine for me (compiled in chroot)

albertux commented on 2014-08-07 00:30

I'm getting the same error as xF0E

xF0E commented on 2014-08-06 14:57

Doesn't work:

patching file widget/gtk/nsFilePicker.h
patching file xpcom/components/Makefile.in
patching file xpcom/components/ManifestParser.cpp
patching file xpcom/io/nsLocalFileUnix.cpp
==> ERROR: A failure occurred in prepare().
Aborting...

EpLightning commented on 2014-07-26 10:02

Works with 31.0 if you change version to 31.0 and patch revision to e996b96840ba. Tested with GCC and -mno-avx (because I use march native and Firefox for some reason doesn't work with AVX).

mariojuniorjp commented on 2014-07-10 01:11

Error on write all archives.

==> ERROR: Failed to extract firefox-30.0.source.tar.bz2
     Aborting ...
==> ERROR: makepkg failed to compile.

xF0E commented on 2014-06-19 07:42

Hello guys! Can someone, please, provide me a PKGBUILD for the 28th version of firefox?

hippieben commented on 2014-06-14 03:01

==> Validating source files with sha256sums...
firefox-30.0.source.tar.bz2 ... Passed
mozconfig ... Passed
firefox.desktop ... Passed
firefox-install-dir.patch ... Passed
vendor.js ... Passed
kde.js ... Passed
firefox-20.0.1-fixed-loading-icon.png ... Passed
firefox-branded-icons.patch ... Passed
firefox-kde.patch ... Passed
firefox-kde-114.patch ... Passed
firefox-no-default-ualocale.patch ... Passed
mozilla-kde.patch ... Passed
mozilla-language.patch ... Passed
mozilla-nongnome-proxies.patch ... Passed
mozilla-prefer_plugin_pref.patch ... Passed
toolkit-download-folder.patch ... Passed
==> Extracting sources...
-> Extracting firefox-30.0.source.tar.bz2 with bsdtar
==> Starting prepare()...
patching file config/baseconfig.mk
==> Patching for KDE
patching file browser/components/preferences/main.js
patching file toolkit/components/downloads/nsDownloadManager.cpp
Hunk #1 succeeded at 1366 (offset 1 line).
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
patching file dom/plugins/base/nsPluginHost.cpp
Hunk #1 succeeded at 1160 (offset -174 lines).
patching file modules/libpref/src/Makefile.in
patching file modules/libpref/src/Preferences.cpp
patching file python/mozbuild/mozpack/chrome/flags.py
patching file python/mozbuild/mozpack/chrome/manifest.py
patching file toolkit/components/downloads/Makefile.in
patching file toolkit/components/downloads/nsDownloadManager.cpp
patching file toolkit/content/jar.mn
The next patch would create the file toolkit/content/widgets/dialog-kde.xml,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file toolkit/content/widgets/preferences-kde.xml,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
patching file toolkit/xre/moz.build
The next patch would create the file toolkit/xre/nsKDEUtils.cpp,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file toolkit/xre/nsKDEUtils.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file uriloader/exthandler/Makefile.in
patching file uriloader/exthandler/moz.build
The next patch would create the file uriloader/exthandler/unix/nsCommonRegistry.cpp,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsCommonRegistry.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsKDERegistry.cpp,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsKDERegistry.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
patching file uriloader/exthandler/unix/nsOSHelperAppService.cpp
patching file widget/gtk/Makefile.in
patching file widget/gtk/nsFilePicker.cpp
patching file widget/gtk/nsFilePicker.h
patching file xpcom/components/Makefile.in
patching file xpcom/components/ManifestParser.cpp
patching file xpcom/io/nsLocalFileUnix.cpp
==> ERROR: A failed in prepare()

hippieben commented on 2014-06-14 03:01

==> Validating source files with sha256sums...
firefox-30.0.source.tar.bz2 ... Passed
mozconfig ... Passed
firefox.desktop ... Passed
firefox-install-dir.patch ... Passed
vendor.js ... Passed
kde.js ... Passed
firefox-20.0.1-fixed-loading-icon.png ... Passed
firefox-branded-icons.patch ... Passed
firefox-kde.patch ... Passed
firefox-kde-114.patch ... Passed
firefox-no-default-ualocale.patch ... Passed
mozilla-kde.patch ... Passed
mozilla-language.patch ... Passed
mozilla-nongnome-proxies.patch ... Passed
mozilla-prefer_plugin_pref.patch ... Passed
toolkit-download-folder.patch ... Passed
==> Extracting sources...
-> Extracting firefox-30.0.source.tar.bz2 with bsdtar
==> Starting prepare()...
patching file config/baseconfig.mk
==> Patching for KDE
patching file browser/components/preferences/main.js
patching file toolkit/components/downloads/nsDownloadManager.cpp
Hunk #1 succeeded at 1366 (offset 1 line).
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
patching file dom/plugins/base/nsPluginHost.cpp
Hunk #1 succeeded at 1160 (offset -174 lines).
patching file modules/libpref/src/Makefile.in
patching file modules/libpref/src/Preferences.cpp
patching file python/mozbuild/mozpack/chrome/flags.py
patching file python/mozbuild/mozpack/chrome/manifest.py
patching file toolkit/components/downloads/Makefile.in
patching file toolkit/components/downloads/nsDownloadManager.cpp
patching file toolkit/content/jar.mn
The next patch would create the file toolkit/content/widgets/dialog-kde.xml,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file toolkit/content/widgets/preferences-kde.xml,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
patching file toolkit/xre/moz.build
The next patch would create the file toolkit/xre/nsKDEUtils.cpp,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file toolkit/xre/nsKDEUtils.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file uriloader/exthandler/Makefile.in
patching file uriloader/exthandler/moz.build
The next patch would create the file uriloader/exthandler/unix/nsCommonRegistry.cpp,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsCommonRegistry.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsKDERegistry.cpp,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsKDERegistry.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
patching file uriloader/exthandler/unix/nsOSHelperAppService.cpp
patching file widget/gtk/Makefile.in
patching file widget/gtk/nsFilePicker.cpp
patching file widget/gtk/nsFilePicker.h
patching file xpcom/components/Makefile.in
patching file xpcom/components/ManifestParser.cpp
patching file xpcom/io/nsLocalFileUnix.cpp
==> ERROR: A fai

Yegorius commented on 2014-06-13 21:04

Please redownload the package.

boot commented on 2014-06-13 14:20

There's an error when applying patches:

patch: **** Can't open patch file /tmp/pacaurtmp-boot/firefox-kde-opensuse/src/mozilla-preferences.patch : No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...

pitt commented on 2014-06-11 06:55

Wurde am 2014-05-28 16:18 aktualisiert, wer meldet das als Als "veraltet" markiert (2014-06-10). Es gibt noch keine neuere Version - oh man.

BasT commented on 2014-06-06 19:18

Nope.

runical commented on 2014-06-06 16:21

@BasT: Did you by any chance set the build dir in your makepkg.conf?

BasT commented on 2014-06-06 16:16

Thanks ceri, that worked. It does raise the question what's wrong with my current system.

ceri commented on 2014-06-06 10:50

@BasT

Use this package to build it perfectly every time (it's on the AUR):
https://github.com/graysky2/clean-chroot-manager

BasT commented on 2014-06-06 10:41

I can't think of a more straighforward way of building it. That is, calling makepkg in a clean directory. I've tried serveral times over the last week with identical results.

BasT commented on 2014-06-06 10:40

I can't think of a more straightforward way to build it. That is calling makepkg in a clean directory.

Yegorius commented on 2014-06-05 22:19

@hippieben
That's because you build twice without cleaning up src dir. Just delete src/path/python.

@walkindude,
I have already built the package on two different machines, make sure you do everything straightforward.

gnumdk commented on 2014-06-05 11:01

Correct URL: https://build.opensuse.org/source/openSUSE:Factory/mozilla-kde4-integration/kmozillahelper-0.6.4.tar.bz2

BasT commented on 2014-06-04 19:51

Getting the same error as walkindude.

hippieben commented on 2014-05-30 14:53

ln: failed to create symbolic link ‘/home/ben/firefox-kde-opensuse/src/path/python’: File exists
==> ERROR: A failure occurred in prepare().
Aborting...
warning: package firefox-kde-opensuse failed to build, skipping

walkindude commented on 2014-05-28 21:20

INPUT("../../gfx/skia/SkDeferredCanvas.o")
INPUT("../../gfx/skia/SkOSFile.o")
INPUT("../../gfx/skia/SkPictureUtils.o")
INPUT("../../gfx/skia/SkRTConf.o")
INPUT("../../gfx/skia/SkThreadPool.o")
INPUT("../../gfx/skia/SkThreadUtils_pthread.o")
INPUT("../../gfx/skia/SkThreadUtils_pthread_linux.o")

../../dom/indexedDB/ipc/IndexedDBParent.o: In function `mozilla::dom::indexedDB::IndexedDBDatabaseParent::HandleDatabaseEvent(nsIDOMEvent*, nsAString_internal const&)':
IndexedDBParent.cpp:(.text._ZN7mozilla3dom9indexedDB23IndexedDBDatabaseParent19HandleDatabaseEventEP11nsIDOMEventRK18nsAString_internal+0x67): undefined reference to `mozilla::dom::indexedDB::IDBVersionChangeEvent::COMTypeInfo<int>::kIID'
/usr/bin/ld: ../../dom/indexedDB/ipc/IndexedDBParent.o: relocation R_X86_64_PC32 against undefined hidden symbol `_ZN7mozilla3dom9indexedDB21IDBVersionChangeEvent11COMTypeInfoIiE4kIIDE' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Yegorius commented on 2014-05-28 16:18

Thanks @runical, it's fixed now.

runical commented on 2014-05-28 14:07

Small error in the PKGBUILD. The makedepends should be:

('unzip' 'zip' 'diffutils' 'python2' 'yasm' 'mesa' 'imake'
'xorg-server-xvfb' 'libpulse' 'gstreamer0.10-base' 'clang')

You missed the ' after gstreamer0.10-base and before clang.

Yegorius commented on 2014-05-26 15:23

@hepha
#hello PKGBUILD miss this line?
#echo "ac_add_options --with-google-api-keyfile=\"$PWD/google-api-key\"" >>.mozconfig

check mozconfig, it's already there

#arch official version of the compiler switch to clang to continue to use it?

sure, firefox-kde-opensuse will also be built with clang

hepha commented on 2014-05-21 06:50

hello PKGBUILD miss this line?
echo "ac_add_options --with-google-api-keyfile=\"$PWD/google-api-key\"" >>.mozconfig

arch official version of the compiler switch to clang to continue to use it?
export CC = clang
export CXX = clang++

There will be package-manifest.in miss kde.js Another point is that when you open pgo compiled, I have access gitorious.org / chakra-packages / compiler when extra.git firefox-kde/mozilla-kde.patch normal

diff -aur firefox-kde.patch ../chakra-extra/firefox-kde/firefox-kde.patch
--- firefox-kde.patch 2014-05-21 14:40:13.554672785 +0800
+++ ../chakra-extra/firefox-kde/firefox-kde.patch 2014-05-18 22:58:22.471449158 +0800
@@ -1802,28 +1802,3 @@
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult);
+
+#endif // nsunixshellservice_h____
-diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
---- a/browser/installer/package-manifest.in
-+++ b/browser/installer/package-manifest.in
-@@ -654,19 +654,21 @@
- @BINPATH@/defaults/autoconfig/prefcalls.js
- @BINPATH@/browser/defaults/profile/prefs.js
-
- #ifndef LIBXUL_SDK
- ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
- ; Technically this is an app pref file, but we are keeping it in the original
- ; gre location for now.
- @BINPATH@/defaults/pref/channel-prefs.js
-+@BINPATH@/defaults/pref/kde.js
- #else
- ; For Fx-on-xr, channel-prefs lives with the app preferences. (Bug 762588)
- @BINPATH@/@PREF_DIR@/channel-prefs.js
-+@BINPATH@/@PREF_DIR@/kde.js
- #endif
-
- ; Services (gre) prefs
- #ifdef MOZ_SERVICES_NOTIFICATIONS
- @BINPATH@/defaults/pref/services-notifications.js
- #endif
- #ifdef MOZ_SERVICES_SYNC
- @BINPATH@/defaults/pref/services-sync.js

Yegorius commented on 2014-05-18 10:51

Hello dear users, please be informed that I'm on vacation till 21.05 and as soon as I reach my machine I will update the package.

ranger commented on 2014-05-10 17:28

I have similar problems with embedded dailymotion videos. With firefox-kde sound is played in background but video is not shown, just a black box. If I disable adblock everything is back to normal.

With firefox from official repo same video is played without problems, even with adblock enabled.

rezad commented on 2014-05-10 15:28

i still have flash play problems.
it doesn't happen in all flash sites.
in youtube it plays fine.this example plays fine:https://www.dhs.state.il.us/accessibility/tests/flash/video.html

but some other site have problems.

as i said ,like this trailer:"http://www.redbandclips.com/red-band/7c61/neighbors_feature_red_band_trailer/"
it disappears when i scroll till half the video frame is shown, but if i scroll back up ,it shows the video again.

and another example i found was (sorry if not age appropriate ) but the videos in mrskin site don't show at all.the problem is not that flash crashes or doesn't run or something like that.the problem is the showing of video.the sound is played in background but video is not shown .

some other flash sites show the video but with blinking frames.
this (the blibking bug , not the disappering bug) happens in my primary firefox profile but not in a empty new firefox profile.the strange part is that in the test profile if the site shows the video and i scroll down so that half the video is visible then it starts blinking again.

before somebody start yelling at me that its my video card problem or something like that ,i have to add that the firefox installed from pacman (not aur one) that doesn't have kde support , doesn't have this problems.
and i have checked the pgkbuild for the pacman one and this aur one and they don't have something graphic related(though i could be wrong).
so maybe its arises from the patches applied?

can somebody help me here?

rezad commented on 2014-05-10 15:27

i still have flash play problems.
it doesn't happen in all flash sites.
in youtube it plays fine.this example plays fine:https://www.dhs.state.il.us/accessibility/tests/flash/video.html

but some other site have problems.

as i said ,like this trailer:"http://www.redbandclips.com/red-band/7c61/neighbors_feature_red_band_trailer/"
it disappears when i scroll till half the video frame is shown, but if i scroll back up ,it shows the video again.

and another example i found was (sorry if not age appropriate ) but the videos in mrskin site don't show at all.the problem is not that flash crashes or doesn't run or something like that.the problem is the showing of video.the sound is played in background but video is not shown .

some other flash sites show the video but with blinking frames.
this happens in my primary firefox profile but not in a empty new firefox profile.the strange part is that in the test profile if the site shows the video and i scroll down so that half the video is visible then it starts blinking again.

before somebody start yelling at me that its my video card problem or something like that ,i have to add that the firefox installed from pacman (not aur one) that doesn't have kde support , doesn't have this problems.
and i have checked the pgkbuild for the pacman one and this aur one and they don't have something graphic related(though i could be wrong).
so maybe its arises from the patches applied?

can somebody help me here?

toxygen commented on 2014-05-09 12:50

@undund - i had to rebuild firefox-kde-opensuse after a recent glibc update that was causing coredumps and it works since then
@tubal-cain - not sure what you mean but i dont think so

tubal-cain commented on 2014-05-05 22:23

does this firefox support kde global menu?

ceri commented on 2014-05-03 22:39

Works fine for me. Haven't had any crashes (yet) unlike recent versions either.

undund commented on 2014-05-03 17:22

Version 29.0 doesn't work.

11320 segmentation fault (core dumped) firefox

runical commented on 2014-03-20 22:38

@zhost

No, it should not. Please read the wiki on using the AUR (or ABS for that matter). It clearly states that when using the AUR, the group base-devel is assumed to be installed. Since patch is part of base-devel, it should not be in makedepends.

zhost commented on 2014-03-20 22:26

PKGBUILD should have 'patch' in makedepends.

Sality commented on 2014-02-27 22:09

add the mozconfig
mk_add_options PYTHON=/usr/bin/python2
mk_add_options AUTOCONF=autoconf-2.13

Sality commented on 2014-02-27 14:16

On the x86 is not installed

Yegorius commented on 2014-02-25 20:06

@discostar:
You should edit CPPFLAGS in /etc/makepkg.conf, since it holds your local configuration. We edit CPPFLAGS variable in PKGBUILD only if it's needed by every user to build the package.

discostar commented on 2014-02-22 02:28

On my i7 processor, having the '-march=native' option in makepkg.conf has gcc try to compile firefox using avx, which results in build failure. This is a known bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=680547

The fix is to add the '-mno-avx' option to the CPPFLAGS. I did this by adding this line to the PKGBUILD build section:

export CPPFLAGS="$CPPFLAGS -mno-avx"

Is this something that should be integrated to the PKGBUILD until a fix is available in upstream? I'm still fairly new to Arch/AUR, so I'm not sure what the correct actions are.

rezad commented on 2014-02-19 22:52

Kalinda,
its caused by the removing of gnome parts but o don't know which one.
maybe someone fixes this?

Kalinda commented on 2014-02-19 21:03

@Rezad You aren't the only one. Flash does the same thing to me on some websites and it has since I updated to version 27. I thought it was just a general Firefox bug.

I have an Nvidia card and I'm just using a desktop.

rezad commented on 2014-02-19 20:35

Buddlespit,
i have a asus n53sv laptop, so maybe my flash issues are graphic related.
but this bugs dont happen in the normal firefox package in archlinux

Yegorius commented on 2014-02-13 21:43

I take patches from here http://www.rosenauer.org/hg/mozilla/ , and they are not yet adopted for Firefox 29.

Stas_pythonist commented on 2014-02-12 15:52

Works great! Thanks. Is there a chance to make package like this but for Firefox 29 Australis? Or Suse patches is incompatible with other versions?

Stas_pythonist commented on 2014-02-12 15:51

Works Greate! Thanks. Is there a chance to make package like this but for Firefox 29 Australis? Or Suse patches is incompatible with other versions?

pitt commented on 2014-02-10 20:00

my ff is running - thank you.

xbond commented on 2014-02-10 10:31

@helq, you are awesome! Thank you.

helq commented on 2014-02-09 16:13

@xbond, well the revision numbers are the numbers of the commits (I think), if you are familiar with the commits. Well, I found the revision numbers with a procedure like this: first I see the revisions in the opensuse project (https://build.opensuse.org/package/revisions/mozilla:Factory/MozillaFirefox) and find what revision is the correct (I found the correct version only reading what version said 27.0). Than I search the corresponding number revision (here: http://www.rosenauer.org/hg/mozilla/shortlog).

The differences between the post and the PKGBUILD are due to I realized to late in the compilation that i'm using the wrong revision number, and I'm too lazy to recompile with the "correct" revision. But, the differences between the two revisions are minimal (see http://www.rosenauer.org/hg/mozilla/rev/52284fd63667). The only real difference is that 52284fd63667 add a list of the bugs corrected in the version 27.0 (I think. If someone understand well what that list mean, please explain us, thank you), it's not really an important change, it's not alter the operation of firefox at all, but is the "correct" revision number to use in the compilation.

PS: sorry for my bad English, and sorry for the looong post.
PS2: I hope I have explained well (^^). if not, please reply.

xbond commented on 2014-02-09 12:13

helq, great, that worked for me, thank you!

BTW, why in the post you tell patchrev should be 52284fd63667, though in the PKGBUILD you provided it's f810fbe5fece...
How to get this revision numbers at all? =)

helq commented on 2014-02-07 13:56

Change in the PKGBUILD:
- pkgver=26.0 to pkgver=27.0
- _patchrev=afcaf2131b0e to _patchrev=52284fd63667

A compiled package: http://www.mediafire.com/download/ufwmhcpya2b1d9c/firefox-kde-opensuse-27.0-1-x86_64.pkg.tar.xz using: http://www.mediafire.com/view/vb1ez3o2xjc44nj/PKGBUILD

pitt commented on 2014-02-07 09:27

Just trying the PKGBUILD on Firefox to change 27.0.
Sorry, an error comes without further information.

patch: **** Only garbage was found in the patch input.
==> ERROR: A failure occurred in prepare ().
Aborting ...

Greeting

Buddlespit commented on 2014-02-06 22:53

rezad, I don't have a problem with firefox or flash showing flash content, including the site you listed.

rezad commented on 2014-02-02 07:08

this version of firefox has some problem with flash playing on certain sites, which is because of the config and maybe css and stuff (i am not a web developer)
cause i can see the ifarme separately but not on the site.
for example this site will show blinking iframe and no video(maybe because it has a age verification flash (with a empty profile) "http://www.redbandclips.com/red-band/77e4/bad_words_red_band_trailer/"

jffstone commented on 2014-01-20 11:20

I can't seem to get the kde file dialog, what other packages do I need?

ceri commented on 2013-12-11 23:00

Why are you adding it as a repo... just install it normally?

pacman -U firefox-kde-opensuse-26.0-1-x86_64.pkg.tar.xz

hermes14 commented on 2013-12-11 22:08

@flying-sheep
Yeah, me too. I can't add the key with pacman-key either. Any hint?

flying-sheep commented on 2013-12-11 09:35

i have some errors with dankad’s repo:

Fehler: home_denkad_ArchLinux: key "898BA1F5CC84680A" is unknown
Fehler: key "898BA1F5CC84680A" could not be looked up remotely

sva_h4cky0 commented on 2013-12-10 22:46

FF 26
http://download.opensuse.org/repositories/home:/denkad/ArchLinux/

^_^

divansantana commented on 2013-12-05 20:26

nspr is also needed as a dependency.
Is this not in a repo somewhere?

hepha commented on 2013-11-29 10:35

By the way, I have added the following text mozconfig
ac_add_options --with-l10n-base=..
mk_add_options MOZ_CO_LOCALE="zh-TW"
ac_add_options --enable-ui-locale=zh-TW

hepha commented on 2013-11-29 09:26

hello
Error when I compile the compiler options open _pgo
Error: /home/hepha/aur/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer/package-manifest:412: Missing file(s): bin/defaults/pref/kde.js

build pgo more error
http://privatepaste.com/6f86e60a96

I have added the use of Traditional Chinese language, do not know will not be a problem when the Film compile PGO

P.S PGO compiler does not open properly

PKGBUILD
http://paste.kde.org/pdedcc6b9

Yegorius commented on 2013-11-24 20:56

Thanks @hagabaka, that's what i've been looking for.
Also, png fix is reintroduced.

hagabaka commented on 2013-11-13 13:00

Since having the same version of firefox installed does not cause a link failure (I just verified this), how about replacing this line

if [ -e /usr/bin/firefox ]; then

with this?

if pacman -T firefox && ! pacman -T "firefox=$pkgver"; then
# if firefox or a package providing firefox is installed but a different version

helq commented on 2013-11-10 15:21

well, the loading icon still doesn't work properly.
But, there is a 'solution', as @jjacky said ( here https://bugs.archlinux.org/task/37576 ). The process is:

- add to the file ~/.mozilla/firefox/some.thing/chrome/userChrome.css (if doesn't exist, then create them) this:
--8<------
/* fix bug in FF25, loading icon not being animated */
.tab-throbber[progress] {
list-style-image: url("loading.png") !important;
}
--8<------

- Download in the same directory: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/firefox-20.0.1-fixed-loading-icon.png?h=packages/firefox&id=f2113d62611b6c29397ca5ac1e2d724a5fef7ba2 and rename as 'loading.png'

and now is working, but the problem is still there :S.

bred commented on 2013-11-04 09:05

firefox 25 is out ;)

helq commented on 2013-10-09 23:52

Note: with the package 'firefox' from the official repos the icon works.

helq commented on 2013-10-09 23:48

i recompile for the third time and still not working. I will try with the old patch later (in some days, maybe), but it's weird that i'm the only one with this problem. :S

PD: sorry for the bad grammar (^_^")

Yegorius commented on 2013-10-09 19:26

@hagabaka
Thank you, I fixed it

hagabaka commented on 2013-10-09 04:19

On i686, package() fails because obj-x86_64-unknown-linux-gnu does not exist. The path is obj-i686-pc-linux-gnu for me.

Yegorius commented on 2013-10-07 08:40

@helq
This bug should have been fixed with libpng 1.6.3
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/firefox&id=78d23063cd3713c40ec1811ee3cb0405d459ef62

helq commented on 2013-10-05 13:44

libpng 1.6.5-1

Sorry for the lateness.

i recompile firefox yesterday, but the icon is still not working

Yegorius commented on 2013-10-03 15:59

@helq:
Which libpng version do you have?

Yegorius commented on 2013-10-03 15:58

@helq:
Which libnpg version do you have?

helq commented on 2013-10-02 02:39

Another time, the loading icon freezes :S

darehanl commented on 2013-09-27 13:29

@Yegorius
Since I failed in package(), I did a "makepkg -R" do redo only the package() step. So:
$ makepkg
$ cp kde.js src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/defaults/
$ makepkg -R

You can probably add the "cp kde.js..." in the first line of package()

Yegorius commented on 2013-09-27 07:30

@darehanl
When I copy kde.js to src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/defaults/pref and run make, the directory gets overwritten, and the packager doesn't see kde.js in there, resulting in error.

darehanl commented on 2013-09-27 02:21

@Yegorius
package() { make -f client.mk DESTDIR="$pkgdir" install }
was complaining about a missing kde.js, so I had to copy the file into src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/defaults.

Error: firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer/package-manifest:413: Missing file(s): bin/defaults/pref/kde.js


Other than that, it seems to work on amd64.

Yegorius commented on 2013-09-26 07:17

This is my comment from 2013-07-28:
###
Unfortunately, after applying unity-menubar.patch from Ubuntu, toolbars in FF misbehave and are hardly usable. Those who are interested, please try to build from this srcpkg (http://goo.gl/Eim29z) and report here.
###
So again, if unity-menubar.patch works for most people, I will include it.

Yegorius commented on 2013-09-26 07:12

This time I got caught by kde.js not being in place.
Please try this PKGBUILD and report your mileage.
https://docs.google.com/file/d/0By2icVnRcIk4NDBtOTNBbDZScVU/edit?usp=sharing

z0id commented on 2013-09-25 11:46

It seems I was wrong. firefox-extension-globalmenu is deprecated, appmenu support is built in. Since this package doesn't carry the appmenu patch, there's another one that has it: firefox-kde-global-menu

z0id commented on 2013-09-24 17:21

I don't think firefox-extension-globalmenu needs silly ubuntu-patched gtk. I used to use it with standard Arch GTK but it causes a bug where right click menus immediately close themselves. It was my understanding that the appmenu patch adressed this bug; why is it not included?

darzki commented on 2013-09-23 19:37

Binary build by denkad is updated and working.

hepha commented on 2013-09-20 16:49

build.opensuse.org patch can't download
curl: (22) The requested URL returned error: 401 Unauthorized
==> ERROR: Failure while downloading firefox-kde.patch

flying-sheep commented on 2013-09-20 14:07

could include the additional patch like that pkgbuild? https://aur.archlinux.org/packages/firefox-kde-global-menu/

no harm done and this here seems to be the one which is packaged/has more votes.

firefox-extension-globalmenu needs silly ubuntu-patched gtk libraries and so on, unity-menubar.patch doesn’t seem to.

hepha commented on 2013-09-05 00:25

@sva_h4cky0 thanks

sva_h4cky0 commented on 2013-09-02 07:59

binary build by denkad, not me. but working fine here

http://download.opensuse.org/repositories/home:/denkad/ArchLinux/

hepha commented on 2013-08-27 14:29

/home/hepha/aur/firefox-kde-opensuse/src/mozilla-release/js/src/methodjit/StubCalls.cpp:843: 未定義參考到「js::mjit::Recompiler::clearStackReferences(js::FreeOp*, JSScript*)」
../libjs_static.a(StubCalls.o): In function `js::mjit::stubs::InvariantFailure(js::VMFrame&, void*)':
/home/hepha/aur/firefox-kde-opensuse/src/mozilla-release/js/src/methodjit/StubCalls.cpp:1622: 未定義參考到「js::mjit::ExpandInlineFrames(JS::Zone*)」
/home/hepha/aur/firefox-kde-opensuse/src/mozilla-release/js/src/methodjit/StubCalls.cpp:1624: 未定義參考到「js::mjit::Recompiler::clearStackReferences(js::FreeOp*, JSScript*)」
/usr/bin/ld: js: hidden symbol `_ZN2js4mjit2ic7GetPropERNS_7VMFrameEPNS1_7PICInfoE' isn't defined
/usr/bin/ld: 最後的鏈結失敗: Bad value
collect2: 錯誤:ld 回傳 1
make[6]: *** [js] Error 1

Yegorius commented on 2013-08-22 18:24

The build process will not fail if you have the same firefox version installed.
(/usr/lib/firefox/libxul.so: version `xul23.0.1' not found)
But it happens rarely if you don't rebuild same version, like me, for development purposes.

hagabaka commented on 2013-08-22 03:17

I haven't had failures when building firefox-kde-opensuse with the same version of firefox installed. Most users who have encountered the issue have learned how to avoid it from the comments. It just seems wrong to me for PKGBUILD to fail when the actual build process won't necessarily fail. In my opinion simply printing a warning about the issue and sleeping for a few seconds is enough.

straykat commented on 2013-08-22 02:50

Some observations on compiling firefox-kde-opensuse.

First, as has been advised here many times, pacman -R firefox / firefox-kde-opensuse. If you really can't go without a browser pacman -S rekonq.

Second, because firefox is a behemoth, close everything else & leave it to compile. My system is a quad core with 8Gb of RAM with vm.swappiness = 1 & at times it still needs to use swap compiling firefox. It's the only time swap is used.

On older single core systems I found it helps to stop desktop indexing as this uses RAM.

If compiling fails it will fail again if you don't do a reboot. This is because of the amount of swap that is likely to have been pushed to disc.

I don't do anything fancy, I just compile firefox in the normal way & the only way I can get firefox to fail during compilation is use the system.... so don't.

petelewis commented on 2013-08-22 00:08

I haven't followed all of this discussion, but I've never had trouble building this in a clean chroot, while using Firefox as normal. Don't you guys do that?

hagabaka commented on 2013-08-21 23:30

@Yegorius
I know, but since the build takes several hours, I can't really just uninstall firefox and work without a browser in the mean time. So I usually install extra/firefox while building firefox-kde-opensuse. Therefore, automatically failing when firefox is installed is a problem for me.

Yegorius commented on 2013-08-21 15:21

@hagabaka
It will fail right in the beginning of the build process, so you will not waste your time.

hagabaka commented on 2013-08-20 23:56

Firefox can take several hours to build for me, and I would rather just install the same version of extra/firefox to avoid the build error.

Yegorius commented on 2013-08-20 20:54

From now on PKGBUILD will fail with error message if you have firefox installed.
Hooray!

Yegorius commented on 2013-08-20 18:18

@bred
Uninstall firefox with "pacman -Rdd ..."

bred commented on 2013-08-19 18:56

in the version 23.0.1 I've this error:

Warning: /opt/packages/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer/package-manifest:407: Missing file(s): bin/defaults/pref/kde.js
Executing /opt/packages/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g /opt/packages/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -a /opt/packages/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -f /opt/packages/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
/opt/packages/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: /usr/lib/firefox/libxul.so: version `xul23.0.1' not found (required by /opt/packages/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell)
Traceback (most recent call last):
File "/opt/packages/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 374, in <module>
main()
File "/opt/packages/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 366, in main
args.source, gre_path, base)
File "/opt/packages/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 147, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/opt/packages/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/opt/packages/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[2]: *** [stage-package] Errore 1
make[2]: Leaving directory `/opt/packages/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Errore 2
make[1]: Leaving directory `/opt/packages/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Errore 2

Yegorius commented on 2013-08-18 08:22

Cmon @solmir, what's wrong with 23.0.1?

Thaodan commented on 2013-08-13 13:42

Here my package: https://dl.dropboxusercontent.com/u/172590784/aur_cache/firefox-kde-opensuse-23.0-1-x86_64.pkg.tar.xz for buildsettings see: https://github.com/Thaodan/thaopkgs/blob/master/firefox-kde-opensuse/mozconfig , builded with -mtune=native -march=native on i7 2600k (Sandybridge), the unity-menubar patch was added too (should my no issues if you don't use it)

sva_h4cky0 commented on 2013-08-13 11:25

care to share binary, anyone? thanks

Anonymous comment on 2013-08-13 04:53

@alanmies
Thx for help, with -mno-avx flag Firefox successfully build.

Anonymous comment on 2013-08-13 00:08

@buildfail, apparently (https://bugzilla.mozilla.org/show_bug.cgi?id=902221) this is known bug on (at least) Sandy Bridge/i7 and current GCC versions. If you're using -march=native and/or -mavx, try adding -mno-avx to your C(XX)FLAGS.

Anonymous comment on 2013-08-12 23:17

Build fail
http://pastebin.com/8VwV8aMS

helq commented on 2013-08-11 00:54

Recompiled and working. Thank you @Yegorius

Yegorius commented on 2013-08-10 15:59

It's a bug. I updated PKGBUILD, it should work now.

helq commented on 2013-08-10 15:42

Question: why the loading (orange) icon appear to be freeze?
I mean, the icon is blocked all the time in this position: http://img138.imageshack.us/img138/1435/x1v5.png

I tried with the standard package `firefox' and work normal, the icon spin.

PS: I'm sorry by my bad English.

Behem0th commented on 2013-08-10 13:19

@Yegorius
Thx for help, Firefox successfully build.
The funny thing is that I knew about it, but forgot.

runical commented on 2013-08-10 09:32

@Yegorius: Thanks, I really need to read the manpage of pacman better before thinking something can't be done.

Yegorius commented on 2013-08-10 09:22

Yet another tip for those who still can't build firefox even after uninstalling it with "pacman -Rdd": update dependencies to latest versions.

Yegorius commented on 2013-08-10 08:48

@runical
"pacman -Rdd firefox-kde-opensuse" will uninstall firefox leaving dependencies in place.

runical commented on 2013-08-10 07:55

Ok thanks, then I know how to do the next update. First bring firefox up to date from the repositories and then build firefox-kde-opensuse.

If you make the PKGBUILD fail with firefox installed you force people to uninstall firefox and all that depends on it. That might not be the optimal solution, unless there is a dummy package for use while building.

runical commented on 2013-08-10 07:51

Ok, thanks. Then I know how to go around with the next upgrades. First upgrade firefox from the repositories and then build this package.

Yegorius commented on 2013-08-09 15:15

@hagabaka
Yes, you are right.

...firefox-kde-opensuse/src/mozilla-release/obj-i686-pc-linux-gnu/dist/bin/xpcshell: /usr/lib/firefox/libxul.so: no version information available (required by .../firefox-kde-opensuse/src/mozilla-release/obj-i686-pc-linux-gnu/dist/bin/xpcshell)
.../firefox-kde-opensuse/src/mozilla-release/obj-i686-pc-linux-gnu/dist/bin/xpcshell: relocation error: .../firefox-kde-opensuse/src/mozilla-release/obj-i686-pc-linux-gnu/dist/bin/xpcshell: symbol NS_LogInit, version xul23.0 not defined in file libxul.so with link time reference

hagabaka commented on 2013-08-09 14:54

I think having the same version of firefox or firefox-kde-opensuse installed while building is fine, but having a previous version of firefox or firefox-kde-opensuse makes linking fail.

runical commented on 2013-08-09 14:49

Is this also the case if you have a previous version of firefox-kde-opensuse installed?

Yegorius commented on 2013-08-09 14:42

@Behem0th
Uninstall firefox before you build it.

Okay, next version of PKGBUILD will fail if firefox is installed.

Behem0th commented on 2013-08-09 14:35

Build fail

http://paste.kde.org/pdb96c2b7/

straykat commented on 2013-08-09 09:42

A successful build.
Once again, thank you.

hagabaka commented on 2013-08-08 15:54

@Yegorius
That's a good point. But it seems that if you include the srcmd5 parameter, the URL will point to a specific version of the patch. The srcmd5 seems to be based on the whole OpenSuse package at that revision.

Listing: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?rev=344
URL: https://build.opensuse.org/package/rawsourcefile/mozilla:Factory/MozillaFirefox/firefox-kde.patch?srcmd5=3f536b20923a2a57f780b36d5a64a17c
MD5: 2221965e4bd5f913cf33814b8b4973c6
(Matches firefox-kde.patch from the 22.0 version of this package)

Listing: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox
URL: https://build.opensuse.org/package/rawsourcefile/mozilla:Factory/MozillaFirefox/firefox-kde.patch?srcmd5=cdf792b65a71d76e6cb48d838870b3ec
MD5: b251189ff372f3b0c86275f8dac2d9e1
(Applies cleanly to firefox 23.0)

So adding URLs like firefox-kde.patch:https://build.opensuse.org/package/rawsourcefile/mozilla:Factory/MozillaFirefox/firefox-kde.patch?srcmd5=cdf792b65a71d76e6cb48d838870b3ec in the sources array should work.

Yegorius commented on 2013-08-08 14:29

@hagabaka
The patches are updated between releases, therefore I would leave them in tarball.

Yegorius commented on 2013-08-08 14:27

The updated patches are here:
https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox
new package version comes today.

hagabaka commented on 2013-08-08 14:22

@Yegorius ah thanks. What about listing the patches in the sources array, like https://build.opensuse.org/package/rawsourcefile/openSUSE:Factory/MozillaFirefox/mozilla-kde.patch ? They are in the right column of the opensuse page, and the links have srcmd5 parameters too.

Yegorius commented on 2013-08-08 14:08

The patches are presumably from here:
http://gitorious.org/firefox-kde-opensuse/firefox-kde-opensuse
but opensuse has another repo with them:
https://build.opensuse.org/package/show?package=MozillaFirefox&project=openSUSE%3AFactory


hagabaka commented on 2013-08-08 13:56

Where are these patches from? Mainly mozilla-kde.patch, which is not applying for firefox 23 right now. When firefox is updated, do the patch authors update the patches, or does our packages do it?

Thaodan commented on 2013-08-02 16:10

I always get 'firefox[6142]: segfault at 8 ip 00007f35529d9a9e sp 00007fff20ab0af0 error 4 in libxul.so[7f3552267000+260c000]' when building firefox. My building flags were:
CFLAGS="-mtune=native -march=native -pipe -O2"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j6"

Thaodan commented on 2013-08-02 16:06

I always get 'firefox[6142]: segfault at 8 ip 00007f35529d9a9e sp 00007fff20ab0af0 error 4 in libxul.so[7f3552267000+260c000]' when building firefox. My building flags were:
CFLAGS="-mtune=native -march=native -pipe -O2"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j6"

Thaodan commented on 2013-08-02 16:06

I always get 'firefox[6142]: segfault at 8 ip 00007f35529d9a9e sp 00007fff20ab0af0 error 4 in libxul.so[7f3552267000+260c000]' when building firefox. My building flags were:
CFLAGS="-mtune=native -march=native -pipe -O2"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j6"

Thaodan commented on 2013-08-02 16:06

I always get 'firefox[6142]: segfault at 8 ip 00007f35529d9a9e sp 00007fff20ab0af0 error 4 in libxul.so[7f3552267000+260c000]' when building firefox. My building flags were:
CFLAGS="-mtune=native -march=native -pipe -O2"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j6"

Thaodan commented on 2013-08-02 16:05

I always get 'firefox[6142]: segfault at 8 ip 00007f35529d9a9e sp 00007fff20ab0af0 error 4 in libxul.so[7f3552267000+260c000]' when building firefox. My building flags were:
CFLAGS="-mtune=native -march=native -pipe -O2"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j6"

Thaodan commented on 2013-08-02 16:04

I always get 'firefox[6142]: segfault at 8 ip 00007f35529d9a9e sp 00007fff20ab0af0 error 4 in libxul.so[7f3552267000+260c000]' when building firefox. My building flags were:
CFLAGS="-mtune=native -march=native -pipe -O2"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j6"

Yegorius commented on 2013-08-02 11:30

@Centinel
The first advice is always "Uninstall Firefox before you build it".

@Thaodan
I don't even have it installed.

Yegorius commented on 2013-08-02 10:52

@Centinel
The first advise is always "Uninstall Firefox before you build it".

@Thaodan
I don't even have it installed.

Thaodan commented on 2013-08-02 10:43

@Yegorius: Have you disabled firefox-extension-globalmenu before testing?

Anonymous comment on 2013-08-02 01:17

I'm getting hung up toward the end: http://pastebin.com/gNUuGrcW

Any advice?

juhankoks commented on 2013-08-01 21:58

I got it working: after setting LOCALE LC_ALL=POSIX. It seems to be the case of Estonian locale settings, which failed the building of this package.

Yegorius commented on 2013-07-31 09:09

It builds successfully for me. It seems you are not the first to encounter this problem http://forums.gentoo.org/viewtopic.php?t=548740

juhankoks commented on 2013-07-31 08:50

Still it does not build..and same error. This line seems to come from $topsrcdir/browser/config/mozconfig line, as it imports Firefox's vanilla mozconfig file.

Yegorius commented on 2013-07-28 22:15

Unfortunately, after applying unity-menubar.patch from Ubuntu, toolbars in FF misbehave and are hardly usable. Those who are interested, please try to build from this srcpkg (http://goo.gl/Eim29z) and report here.

Yegorius commented on 2013-07-28 22:08

@juhankoks:
You probably modified mozconfig. My mozconfig doesn't contain "--enable-application=browser". Try to remove the src dir and build from scratch.

juhankoks commented on 2013-07-28 17:06

It fails to build: log in pastebin:http://pastebin.com/0PV7Edsm.

hagabaka commented on 2013-07-20 14:02

> How many people here use appmenu?
I use appmenu too, currently with firefox-extension-globalmenu

> >> Why disable gstreamer?
> We are waiting for these:
> https://bugzilla.mozilla.org/show_bug.cgi?id=794282
> https://bugzilla.mozilla.org/show_bug.cgi?id=806917
I enabled gstreamer and don't notice any problems. The kde-meta package indirectly depends on telepathy-qt, which still depends on gstreamer0.10-base.

OdinEidolon commented on 2013-07-19 08:37

Yes, that'd be great!

z0id commented on 2013-07-16 17:56

Yes, please. :)

Yegorius commented on 2013-07-11 11:02

How many people here use appmenu?
Should I include this patch?
https://bazaar.launchpad.net/~mozillateam/firefox/firefox-trunk.head/view/head:/debian/patches/unity-menubar.patch

serdotlinecho commented on 2013-07-09 03:24

@xbond
Thank you for the binary package. I have installed that file and works perfectly.

xbond commented on 2013-07-08 20:25

@serdotlinecho
The x32 (i686) binary package built in clean chroot:
https://docs.google.com/file/d/0B5BdAT5ACiJTZGMyak13NnFHM1E/edit?usp=sharing

serdotlinecho commented on 2013-07-08 14:40

Firefox 22 binary package for i686(non-specific optimization) anyone?

Yegorius commented on 2013-07-05 22:14

@Thaodan
thank you for the tip

PKGBUILD changed:
* pango is back (pango is required when building against gtk2)
* new patch to enable system cairo
* tests disabled explicitly

Yegorius commented on 2013-07-04 22:01

@Thaodan
thak you for the link

PKGBUILD changed:
* pango is back (pango is required when building against gtk2)
* new patch to enable system cairo
* tests disabled explicitly

Thaodan commented on 2013-07-04 19:27

Thanks, btw there's a patch that fixes --with-system-cairo: https://hg.mozilla.org/mozilla-central/rev/52b02042b27f

Yegorius commented on 2013-07-04 10:08

>> Why disable gstreamer?
We are waiting for these:
https://bugzilla.mozilla.org/show_bug.cgi?id=794282
https://bugzilla.mozilla.org/show_bug.cgi?id=806917
GStreamer is not needed for WebM, so YouTube will work.

Thaodan commented on 2013-07-03 23:02

As workaround ac_add_options --disable-tests added to mozconfig should work.

Thaodan commented on 2013-07-03 23:00

Why disable gstreamer?

OdinEidolon commented on 2013-07-03 19:35

Same error for me.

cesasol commented on 2013-07-03 19:24

Cant compile ):

/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release \
/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release/testing/xpcshell/xpcshell.ini \
/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release/intl/locale/tests/unit
make[7]: se sale del directorio `/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/intl/locale/tests'
make[6]: se sale del directorio `/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/intl/locale'
make[5]: se sale del directorio `/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/intl'
make[4]: *** [libs_tier_platform] Error 2
make[4]: se sale del directorio `/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: se sale del directorio `/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: se sale del directorio `/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: se sale del directorio `/home/cesasol/builds/firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2

OdinEidolon commented on 2013-07-03 17:24

Whoops.
I wish there was a facepalm smiley...

csslayer commented on 2013-07-03 16:58

@OdinEidolon, do you notice you were building it under /tmp, and /tmp nowadays is usually mount as tmpfs?

OdinEidolon commented on 2013-07-03 16:44

I have 5GB free on my SSD, but it still does this:


ranlib: libjs_static.a: No space left on device
make[5]: *** [libjs_static.a] Error 1
make[5]: *** Deleting file `libjs_static.a'
make[5]: Leaving directory `/tmp/yaourt-tmp-adriano/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/js/src'
make[4]: *** [default] Error 2
make[4]: Leaving directory `/tmp/yaourt-tmp-adriano/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/js/src'
make[3]: *** [tier_js] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-adriano/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-adriano/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-adriano/aur-firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2


(Even if I uncomment the lowmem option, which should not be a problem anyway)

Yegorius commented on 2013-07-02 21:00

Changes:
* workaround for OutOfMemory error (see PKGBUILD comments)
* pango disabled by default

Yegorius commented on 2013-07-02 01:01

Changes:
*sync PKGBUILD with official archlinux PKGBUILD
*code cleanup
*drop temporarily PGO build, comes later
*jemalloc by default

Yegorius commented on 2013-07-01 20:18

@Teyro uninstall firefox before building the package

Yegorius commented on 2013-07-01 20:11

22.0 optimized for Ivy Bridge
https://docs.google.com/file/d/0By2icVnRcIk4aEFyLV83YmxYS3c/edit?usp=sharing

Teyro commented on 2013-06-27 21:28

Cant compile for my system....

/home/teyro/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: symbol lookup error: /home/teyro/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: undefined symbol: NS_LogInit
Traceback (most recent call last):
File "/home/teyro/Downloads/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 374, in <module>
main()
File "/home/teyro/Downloads/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 366, in main
args.source, gre_path, base)
File "/home/teyro/Downloads/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 147, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/home/teyro/Downloads/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/home/teyro/Downloads/firefox-kde-opensuse/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[2]: *** [stage-package] Fehler 1
make[2]: Leaving directory `/home/teyro/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Fehler 2
make[1]: Leaving directory `/home/teyro/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Fehler 2

Thaodan commented on 2013-06-26 15:08

Please use prepare() for patching

Thaodan commented on 2013-06-26 12:40

You may sync your PKGBUILD and mozconfig with the offical arch one? For example arch added 'ac_add_options --enable-pulseaudio' to its mozconfig.

Anonymous comment on 2013-06-25 13:24

I thought that too, so I tried to compile it in another folder, and it stopped giving me that error, but now compilations stops, a big blank space in the terminal (imagine you call 'clear' several times), and then a new error.
Anyway, I installed that file and works perfectly, my PC says thanks for it (2hrs @ 72ºC each core every time I compile Firefox).

xbond commented on 2013-06-23 23:04

@samkpo, I guess it's the problem of compiling it when you have installed version already... Try removing you're current installations and build again.
Or, build in clean chroot.
Or, get the binary here https://docs.google.com/file/d/0B5BdAT5ACiJTc0t3M1ctT3pZLWs/edit?usp=sharing

Anonymous comment on 2013-06-23 16:41

I'm getting this error: "Missing file(s): bin/defaults/pref/kde.js".

xbond commented on 2013-06-16 21:49

@samkpo, yes, 21.0-2 builds and works fine on X86 (32-bits)

Anonymous comment on 2013-06-16 04:05

Has anyone compiled it for x86?

Yegorius commented on 2013-06-01 15:32

21.0 optimized for Ivy Bridge
https://docs.google.com/file/d/0By2icVnRcIk4NFdWN0RNekxWMEU/edit?usp=sharing

Yegorius commented on 2013-06-01 15:30

Optimized for Ivy Bridge
https://docs.google.com/file/d/0By2icVnRcIk4NFdWN0RNekxWMEU/edit?usp=sharing

walkindude commented on 2013-05-21 12:29

@MilenKid
try TMPDIR

apathism commented on 2013-05-17 07:56

Well, it looks like EXPORTDIR is only a directory for placing packages after build, not for compiling.

Anonymous comment on 2013-05-16 21:25

I'm getting this error.

I tryed changhing in yaourtrc this line "#EXPORTDIR="~/build/w" # If empty, use makepkg's connfiguration (see makepkg.conf)" but I still get it (it seem to compile in /tmp anyway).

Any ideeas please?

/tmp/yaourt-tmp-willbill/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dom/bindings/HTMLTableRowElementBinding.cpp: In function ‘JSBool mozilla::dom::HTMLTableRowElementBinding::genericMethod(JSContext*, unsigned int, JS::Value*)’:
/tmp/yaourt-tmp-willbill/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dom/bindings/HTMLTableRowElementBinding.cpp:450:40: warning: ‘self’ may be used uninitialized in this function [-Wmaybe-uninitialized]


return method(cx, obj, self, argc, vp);
^
{standard input}: Assembler messages:
{standard input}: Fatal error: can't write HTMLTableElementBinding.o: No space left on device
{standard input}: Fatal error: can't close HTMLTableElementBinding.o: No space left on device
make[6]: *** [HTMLTableElementBinding.o] Error 1
{standard input}: Assembler messages:
{standard input}: Fatal error: can't write HTMLTableRowElementBinding.o: No space left on device
{standard input}: Fatal error: can't close HTMLTableRowElementBinding.o: No space left on device
make[6]: *** [HTMLTableRowElementBinding.o] Error 1
make[6]: Leaving directory `/tmp/yaourt-tmp-willbill/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dom/bindings'
make[5]: *** [bindings_libs] Error 2
make[5]: Leaving directory `/tmp/yaourt-tmp-willbill/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dom'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/tmp/yaourt-tmp-willbill/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-willbill/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-willbill/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-willbill/aur-firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build firefox-kde-opensuse.

apathism commented on 2013-05-15 06:46

@quantumphaze:

I think you should do something like that to add my key:

# wget http://www.apathism.net/archlinux/apathism.key
# pacman-key --add apathism.key
# pacman-key --lsign-key 3E37398D

quantumphaze commented on 2013-05-15 02:57

@apathism

So then, how does one add your gpg key with pacman-key?
pacman-key -r <keyid>
What is your keyid?

(also ver 21 already, that was quick)

xbond commented on 2013-05-12 18:50

@gaougalos
The x32 binary package built in clean chroot:
https://docs.google.com/file/d/0B5BdAT5ACiJTSnBLeXdNMWhkbTg/edit?usp=sharing

Note: it's the first time I'm doing it for public, so please let me know if any problem

gaougalos commented on 2013-05-12 01:52

@xbond i am interesting for x32 binary package

gaougalos commented on 2013-05-12 01:52

xbond i am interesting for x32 binary package

gaougalos commented on 2013-05-12 01:51

xbond i am intresting for x32 binary package

xbond commented on 2013-05-08 19:46

It looks like the X32 build feels much better now, btw.
I can upload a binary package if anyone interested...

Feng-Huang commented on 2013-05-07 07:36

After today's system upgrade, you have to recompile firefox with new version of libpng.

As usual I share my package built in clean chroot (for sandy/ivy bridge optimized cpu only) : https://docs.google.com/file/d/0B-BuryZLQLN7NUVnM2Q4QnQ3a0U/edit?usp=sharing

apathism commented on 2013-04-30 18:46

This is the dialog as it looks for me: http://i.imgur.com/czD5UL1.png.
Maybe it's something wrong with the kmozillahelper. I think it should handle opening/saving files.

genghizkhan91 commented on 2013-04-30 16:31

Pardon noobie here, but just wanted to ask, is the save dialog supposed to appear like this? (http://i.imgur.com/0Wwfdbv.png?1) I get this kind of save dialog with the normal firefox package in the repos as well. I thought it was supposed to appear the way it does in something like Kwrite and all, what with the KDE integration.

apathism commented on 2013-04-28 16:16

Also, I'm trying to support repo with fresh builds of this package: http://www.apathism.net/archlinux/

apathism commented on 2013-04-28 16:15

eticre, is your /tmp on tmpfs? Because it takes significant amount of memory to build firefox in tmpfs. Also make sure that previous version of firefox was deleted. The best way is to build it in a clean chroot.

eticre commented on 2013-04-28 08:20

compile error
looking in the forum, other people have same error

collect2: error: ld returned 1 exit status
make[5]: *** [libxul.so] Errore 1
make[5]: Leaving directory `/tmp/yaourt-tmp-alberto/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library'
make[4]: *** [libs_tier_platform] Errore 2
make[4]: Leaving directory `/tmp/yaourt-tmp-alberto/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Errore 2
make[3]: Leaving directory `/tmp/yaourt-tmp-alberto/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Errore 2
make[2]: Leaving directory `/tmp/yaourt-tmp-alberto/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Errore 2
make[1]: Leaving directory `/tmp/yaourt-tmp-alberto/aur-firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Errore 2

xbond commented on 2013-04-22 07:10

@hagabaka, try to run it from terminal and see the last output line once it crash next time.

hagabaka commented on 2013-04-22 03:42

I get frequent crashes (visiting sites including Youtube) on 32 bit. I don't see an error message saying segfault or anything else though.

proudzhu commented on 2013-04-21 09:48

@xbond, me too on the x32 build.

xbond commented on 2013-04-18 20:10

hmm... Am I the only one for whom it segfaults?.. I'm on the x32 build.

straykat commented on 2013-04-17 21:59

Thank you once again to the maintainers.
20.0.1 built successful :-)

flying-sheep commented on 2013-04-15 17:50

thanks, Feng-Huang!

your mysql-workbench build also comes in very handy!

Thaodan commented on 2013-04-12 05:39

Thanks feng, btw: the ivry bridge version works for sandybridge too.

darnir commented on 2013-04-10 15:21

@erix: That is an ugly hack that simply reverts the CFLAGS to what they were before the pacman 4.1 update.
Instead a way should be found to patch the PKGBUILD to work with CPPFLAGS set.
I'll try my hand at this one I get some time.

erix commented on 2013-04-10 15:09

I had the same problem as beta990 and I tried the patch mentioned by darnir without any success. However, I may have found a solution to the problem, which seems to be related to changes in the new pacman version. So if you should face that same error, here is what you can do:

In the PKGBUILD add the lines
'unset CPPFLAGS',
'export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"' and
'export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2"'
into the build()-section of the PKGBUILD before "make" is called (e.g. after the line "unset MAKEFLAGS" which should be in line 92 in the current PKGBUILD)

There may be other workarounds, maybe it suffices to just add the "unset CPPFLAGS". I did not test that.

Additional information about these problems can be found here: https://mailman.archlinux.org/pipermail/arch-dev-public/2013-April/024776.html

Feng-Huang commented on 2013-04-08 18:21

You can download the package built in a clean chroot here :

https://docs.google.com/folder/d/0B-BuryZLQLN7WWhaWGdQREdaMkE/edit?usp=sharing

Ivry bridge version is available, x86_64 version is coming. (both with PGO & JMALLOC)

darnir commented on 2013-04-07 19:08

Facing the same issue when building as beta990.

Seems like this is an old and well known bug,
https://bugzilla.mozilla.org/show_bug.cgi?id=791305

One possible solution is editing this patch:
https://github.com/Amzo/ArchBSD/blob/master/extra/firefox/patch-bug791305

I still haven't tried it, but seems like that is the way to go.

francoism commented on 2013-04-07 18:16

Anyone having the same build issue?

checking for YASM assembler... checking for yasm... yasm
checking for jpeg_destroy_compress in -ljpeg... yes
configure: error: Insufficient JPEG library version for --with-system-jpeg
*** Fix above errors and then restart with "make -f client.mk build"
make[2]: *** [configure] Error 1
make[2]: Leaving directory `/home/user/firefox-kde-opensuse/src/mozilla-release'
make[1]: *** [obj-x86_64-unknown-linux-gnu/Makefile] Error 2
make[1]: Leaving directory `/home/user/firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...

moonman commented on 2013-04-07 06:55

It's been a while since ff was update to 20. Where's the maintainer?

Thank you apathism!

apathism commented on 2013-04-05 19:33

@zosodk69, It almost wasn't modified. Just updated patches + fixed pkgver. The sources with PKGBUILD are here: http://www.apathism.net/firefox-kde-opensuse.7z

zosodk69 commented on 2013-04-05 17:05

@apathism, can you provide a PKGBUILD?

zosodk69 commented on 2013-04-05 13:12

@apathism, can you provide a PKGBUILD?

apathism commented on 2013-04-04 21:41

BTW, I have a repo with firefox 20.0 compiled for x86_64 (PGO && JEMALLOC enabled): http://www.apathism.net/archlinux/

apathism commented on 2013-04-04 21:39

The sources of the OpenSUSE package are here: http://download.opensuse.org/repositories/mozilla/openSUSE_12.3/src/

genghizkhan91 commented on 2013-04-04 02:51

Can anyone direct me to a new version of mozilla-kde.patch? mozilla-gstreamer-760140.patch has a new version available which works fine with ff20.

BrLi commented on 2013-04-03 13:41

it seems that 20.0 firefox needs different configuration.
I get some fails with those patching

Kalinda commented on 2013-03-29 18:33

Nevermind, I got it! Set the SigLevel to Never under the repo. Unless there's a way to make the keys work that someone can explain?

Otherwise I'm sure csslayer can be trusted :)

Kalinda commented on 2013-03-29 18:26

This is kind of a stupid question, but... Does anyone know how to add the http://download.opensuse.org/repositories/home:/csslayer:/archlinux/Arch_Extra_standard/ repo to your pacman.conf so it'll check it like every other repo?

I tried adding it by making the repo name be "home_csslayer_archlinux_Arch_Extra_standard" and it just gave me a lot of errors:

error: home_csslayer_archlinux_Arch_Extra_standard: key "51AFC9B27331E9C4" is unknown
error: key "51AFC9B27331E9C4" could not be looked up remotely

and

error: database 'home_csslayer_archlinux_Arch_Extra_standard' is not valid (invalid or corrupted database (PGP signature))

I assume i can fix the key thing by fiddling with the SigLevel, but I dunno about the rest. Or is there no way to add this to my repo list?

csslayer commented on 2013-03-25 15:12

@beta990: without, pgo will cause OOM on obs.

The real problem is, archlinux package on obs is rather old, so I have to tried to build almost everything with "without-system", but still, I'm not sure if it works for others.

francoism commented on 2013-03-25 13:19

@csslayer: how did you build? With or without PDO flag?

csslayer commented on 2013-03-25 01:07

@gaougalos

http://download.opensuse.org/repositories/home:/csslayer:/archlinux/Arch_Extra_standard/

not be able to test it though.

gaougalos commented on 2013-03-24 22:02

binary package for i686 anyone?

Feng-Huang commented on 2013-03-14 00:48

v19.0.2 x86_64 generic PDO & JEMALLOC

https://docs.google.com/folder/d/0B-BuryZLQLN7WWhaWGdQREdaMkE/edit?usp=sharing

Ivy bridge optimized version wont come this time.

Teyro commented on 2013-03-13 18:29

Cant compile :(

-L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../dist/lib/libmozalloc.a -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -L/usr/lib64 -lX11 -lXext -lpangoft2-1.0 -lfreetype -lfontconfig -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lfontconfig -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lXt -lgthread-2.0 -lfreetype -lstartup-notification-1 -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lrt -lgthread-2.0 -pthread -lrt -lglib-2.0 -lxml2 -lgstvideo-0.10 -ldl -lrt
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[5]: *** [libxul.so] Fehler 1
make[5]: Leaving directory `/tmp/yaourt-tmp-root/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library'
make[4]: *** [libs_tier_platform] Fehler 2
make[4]: Leaving directory `/tmp/yaourt-tmp-root/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Fehler 2
make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Fehler 2
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Fehler 2
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Fehler 2

BrLi commented on 2013-03-08 04:18

19.0.2 released

straykat commented on 2013-03-07 01:26

Firefox 19.0 is the current stable release.

Firefox 19.0.1 is the current beta release.

Can someone please remove the "Flagged out-of-date" until 19.0.1 goes stable & is available.

Thanks.

gaougalos commented on 2013-03-06 01:37

Does anyone has precompiled package for i686 ?

toxygen commented on 2013-03-04 02:28

@tarakbumba
it seems that 19.0.1 only updated something for win8 users (http://news.softpedia.com/news/Firefox-19-0-1-Addresses-Issue-on-Windows-8-Only-333116.shtml)

francoism commented on 2013-03-03 17:13

Thanks @Feng-Huang for your packages. :)

BrLi commented on 2013-03-01 01:37

@Feng-Huang:
thx for the packages.
@csslayer
in PKGBUILD,provide array should include version,such as firefox=19.0
or some dep error would occure

tarakbumba commented on 2013-02-28 15:56

firefox 19.0.1 released

Feng-Huang commented on 2013-02-27 12:24

For ivy-bridge optimized, flags are :

CFLAGS="-march=native -O2 -pipe -mno-movbe -mno-aes -mno-pclmul -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=native -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2

Build on an ivy bridge proc :

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz

francoism commented on 2013-02-26 19:40

Hi Feng-Huang,

Thanks for providing. What does the ivy-bridge optimized version mean? What are build flags used?

@csslayer: Is there any possibility to provide a md5/sha-sum when the package has been compiled? I would like to double check if everything is 'alright'.

Thanks!

Thaodan commented on 2013-02-25 17:12

Thanks Feng

Feng-Huang commented on 2013-02-25 13:41

You can download the package built in a clean chroot here :

https://docs.google.com/folder/d/0B-BuryZLQLN7WWhaWGdQREdaMkE/edit?usp=sharing

Ivry bridge version is available, x86_64 version is coming. (both with PGO & JMALLOC)

Thaodan commented on 2013-02-21 23:53

Why is imake a depency? Anyone an idea how to fix my build errors?

marcinfa commented on 2013-02-21 23:36

Build error:
vmake: *** [install] Error 2
http://pastebin.com/3f5EFYvM

Anonymous comment on 2013-02-21 11:15

You forgot to add the 'provides' and 'conflicts' arguments to the PKGBUILD.

Anonymous comment on 2013-02-21 07:59

Thanks @csslayer
Package built and installed :-)

csslayer commented on 2013-02-21 07:19

@hardeep
fixed, you can use makepkg -R to avoid recompile.

Anonymous comment on 2013-02-21 07:00

kde.js mentioned in PKGBUILD is missing. I'm getting the following error:

install: cannot stat ‘../kde.js’: No such file or directory
==> ERROR: A failure occurred in package().

Thaodan commented on 2013-02-21 05:38

I'm gettings this error while building any suggestions?
http://pastebin.com/zeMqDN5R

tarakbumba commented on 2013-02-20 16:57

Firefox 19.0 is out. You can find PKGBUILD and updated patches at https://build.opensuse.org/package/show?package=firefox-kde-opensuse&project=home%3Atarakbumba%3Aarchlinux

If you want to install binary packages you can find at :http://download.opensuse.org/repositories/home:/tarakbumba:/archlinux/Arch_Extra_standard/
(*Packages are not signed due to OpenSuse Build System
*PGO disabled packages)

straykat commented on 2013-02-18 00:41

I had been unable to get firefox-kde-opensuse 18.0.2 to build due to a can't find python error, however, firefox 18.0.2 from abs compiles without error.

So, copied & pasted the python pointers from the PKGBUILD of firefox over the ones in the PKGBUILD of firefox-kde-opensuse.

Replace:
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox"
export PYTHON="/usr/bin/python2"

With:
mkdir "$srcdir/python2-path"
ln -s /usr/bin/python2 "$srcdir/python2-path/python"
export PATH="$srcdir/python2-path:$PATH"

export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox"
export PYTHON="/usr/bin/python2"
export MOZ_MAKE_FLAGS="$MAKEFLAGS"
unset MAKEFLAGS

I also pacman -R firefox, did the build logged out of the desktop to optimise memory & my /etc/makepkg.conf is:

CFLAGS="-march=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"

hussam commented on 2013-02-15 11:27

Kalinda, either build in a chroot or uninstall the current firefox first. that's why you are getting the package() error.

francoism commented on 2013-02-14 20:44

Finally manage to compile! Make sure you have all the required packages listed here: https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions/Linux_Prerequisites << Arch Linux - Install the following packages

Make sure your /etc/makepkg.conf is as default:
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"

It seems changing this one as describe in the Arch Wiki gives your problems when compiling FireFox.

Make sure to (re)install base-devel. It seems like gcc is the only one that works, not gcc-multi.. but this could be wrong from mind point of view.

I used the PKGBUILD by maxrd2 to install FireFox 18.0.2. :)

If more info is needed (pacman -Q) or other info, please let me know. :)

francoism commented on 2013-02-14 18:00

Anyone solution for this?

/bin/sh: line 1: 3933 Segmentation fault (core dumped) /mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/run-mozilla.sh /mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('startupCache.zip');"
make[2]: *** [prepare-package] Error 139
make[2]: Leaving directory `/mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...

francoism commented on 2013-02-14 17:55

Anyone solution for this?

/bin/sh: line 1: 3933 Segmentation fault (core dumped) /mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/run-mozilla.sh /mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('startupCache.zip');"
make[2]: *** [prepare-package] Error 139
make[2]: Leaving directory `/mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/mnt/data/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...

maxrd2 commented on 2013-02-14 12:19

have updated PKGBUILD with firefox 18.0.2 yesterday.. it built without issues..
here it is, if anyone's interested: http://pastebin.com/XKqkZsxP
have changed version, download url and md5 hash

tarakbumba commented on 2013-02-12 20:07

eric2, try here:
http://download.opensuse.org/repositories/home:/tarakbumba:/archlinux/Arch_Extra_standard/

I have successfuly compiled this on OBS.Without pgo of course. Getting out-of-memory error when pgo enabled. (Also 8 hours for compilation does not worth for pgo benefits i'm starting to think.)

bakgwailo commented on 2013-02-11 19:24

OK - so, I got a new laptop from work (SB i7-2760QM), swapped in my HD from my old laptop (first gen dual core i5), and now I can not compile Firefox anymore - either the original 18, or the patched 18.0.1 - any ideas?

eric2 commented on 2013-02-11 11:59

Is there a download location or a repository where I can get the binary of the latest version for the i686 (AMD Sempron)?

I used to download from this repository: http://pkgbuild.com/~tredaelli, but the last version there is 16.0.1.

bakgwailo commented on 2013-02-09 21:58

The patched build does not work for me either:

resource://gre/modules/LightweightThemeManager.jsm
resource://gre/modules/devtools/dbg-server.jsm
/bin/sh: line 1: 3100 Segmentation fault (core dumped) /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/run-mozilla.sh /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('startupCache.zip');"
make[4]: *** [prepare-package] Error 139
make[4]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[3]: *** [make-package] Error 2
make[3]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: *** [package] Error 2
make[1]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make: *** [profiledbuild] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Clean directory, removed firefox first, etc.

bakgwailo commented on 2013-02-09 21:40

The patched build does not work for me either:

resource://gre/modules/LightweightThemeManager.jsm
resource://gre/modules/devtools/dbg-server.jsm
/bin/sh: line 1: 3100 Segmentation fault (core dumped) /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/run-mozilla.sh /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('startupCache.zip');"
make[4]: *** [prepare-package] Error 139
make[4]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[3]: *** [make-package] Error 2
make[3]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: *** [package] Error 2
make[1]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make: *** [profiledbuild] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Clean directory, removed firefox first, etc.

francoism commented on 2013-02-05 16:07

@mtcupps & Kalinda: try in a new/empty directory. If you keep getting problems, try the marcopus suggestions.

@mtcupps: did you run makepkg -s?

Anonymous comment on 2013-02-05 15:43

Tried with the default PKGBUILD and with beta990's PKGBUILD. With both I'm getting the following output:

make[3]: Leaving directory `/home/mtc/aur/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make tier_nspr
make[3]: Entering directory `/home/mtc/aur/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
tier_nspr: nsprpub config/nspr
make -C nsprpub
make: Entering an unknown directory
make: *** nsprpub: No such file or directory. Stop.
make: Leaving an unknown directory
make[3]: *** [tier_nspr] Error 2
make[3]: Leaving directory `/home/mtc/aur/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/mtc/aur/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/home/mtc/aur/firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Kalinda commented on 2013-01-30 05:52

Also I used the new PKGBUILD thsy beta990 provided.

Kalinda commented on 2013-01-30 05:51

Hey, I get this error when trying to compile, does anyone know what it means? Thanks

failed to get nsJSRuntimeService!
make[2]: *** [prepare-package] Error 1
make[2]: Leaving directory `/home/kalinda/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/kalinda/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...

francoism commented on 2013-01-27 18:04

This PKGBUILD file works for me: http://pastebin.com/9gp5Vbyi

It has the latest FireFox version (18.0.1) and with changed md5sum. Remember that it is the same PKG as csslayer, only with the change above.

Don't use yaourt to install. Just download the TAR, replace the PKGBUILD with the contents above. And run makepkg -s.

Anonymous comment on 2013-01-26 09:58

After ~4 hours compiling, it came to an end and the work was successfully done.
What I did, might this just help someone...
-first I symlinked /usr/bin/python -> /usr/bin/python2 (this solves the python not found issue at the beginning of the process)
-then I installed the dependency with: sudo pacman -S xorg-server-xvfb
-I created an empty partition of some tens GiB, formatted ext4 and mounted on /tmp (at a certain point the build process took nearly 8 GiB of disk space)
-you may want to add an entry in /etc/fstab for that, since I rebooted then
-I rebooted and login in a tty, no X at all! check /tmp is properly mounted
-edit /etc/makepkg.conf: uncomment line 59 BUILDDIR=/tmp/makepkg, to have the build process working in the fresh temporary partition
-yaourt -G firefox-kde-opensuse, to download the package folder
-within the firefox-kde-opensuse folder: edit PKGBUILD: enable both PGO and JEMALLOC in the first lines (it worked for me, at least)
-compile with makepkg -c don't use yaourt et simil
-...and give it a prayer!
Good luck!

petelewis commented on 2013-01-21 13:37

I'm still getting an error with no "python" present during configure, despite the line "export PYTHON=/usr/bin/python2" in the PKGBUILD. I suppose not everything is honouring $PYTHON.

Symlinking /usr/bin/python2 to /usr/bin/python seems to work (at least, it's now building).

VlaoMao commented on 2013-01-13 08:09

failed to get nsXPConnect service!

bakgwailo commented on 2013-01-12 16:30

I remember reading a few article a long time ago from a few Mozilla devs that they had gotten -O3 working with Firefox, so I figured why not. This one is about out of date: http://www.ogre.com/node/149, shows some improvements @ -O3.

BTW, forgot to say, make sure your gcc, gcc-libs, binutils, etc are -not- the multilib versions, and are just the normal regular versions.

Thaodan commented on 2013-01-11 17:53

@bakgwailo: -O3 is to much, -O2 is enough

bakgwailo commented on 2013-01-11 17:35

Also, on mtune vs. march, they are both OK to use AFAIK - march takes presidence. From man gcc:

"Moreover, specifying -march=cpu-type implies -mtune=cpu-type."

So I think you can either have it implicitly in the make flags or not, it shouldn't matter.

bakgwailo commented on 2013-01-11 17:34

Also, on mtune vs. march, they are both OK to use AFAIK - march takes presidence. From man gcc:

"Moreover, specifying -march=cpu-type implies -mtune=cpu-type."

So I think you can either have it implicitly in the make flags or not, it shouldn't matter.

bakgwailo commented on 2013-01-11 17:30

I have 8Gigs of ram, too, and your flags look OK - mine are:
CFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"

However, it might be your -j8 -> try like -j2 (thats what I am using on my i5 M560). I had overall issues using higher -j values before and compiling firefox.

Thaodan commented on 2013-01-11 16:21

even if I remove -mtune in C(XX)FLAGS i get the same error

tubal-cain commented on 2013-01-11 14:52

I got this error when finishing compiling:

failed to get nsXPConnect service!
make[2]: *** [prepare-package] Error 1
make[2]: Leaving directory `/home/christopher/makepkg/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/christopher/makepkg/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build firefox-kde-opensuse.

I'm using gcc-multilib.

straykat commented on 2013-01-11 07:56

Thaodan, your CFLAGS & CXXFLAGS include both the march & mtune flags.

The march flag is to compile specifically for your CPU.

The mtune flag compiles for generic CPUs but optimised (tuned) to your CPU. This produces a larger binary. The mtune flag is not normally used or needed.

My suggestion is, if you only compile for your machine, remove "-mtune=native" in both CFLAGS & CXXFLAGS.

Recommended reading here: http://www.gentoo.org/doc/en/gcc-optimization.xml

Thaodan commented on 2013-01-11 06:25

I've runned the PKGBUILD with and without yaourt every time the same error.
My build flags are:
CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
MAKEFLAGS="-j8"

bakgwailo commented on 2013-01-11 01:54

@Thaodan libxul.so generally means out of memory (or atleast mine did). I assume you are building from scratch/not via yaourt or something? I would try clean restarting, and then setting the build to run without anything else except your DE running (i.e. stop tomcat/postgres/etc services, close IDEs/etc). Also, what are your make flags?

Thaodan commented on 2013-01-11 00:23

I don't builded in tmpfs, I builded in ~/dev, I have so 8GB Ram so I can't run out of memory if I don't build in tmpfs. The kernel posted this after xpcshell crashed:
xpcshell[23853]: segfault at 120056131b9a ip 00007f39e1ae95a7 sp 00007fff10824c30 error 4 in libxul.so[7f39dab93000+81bf000]

straykat commented on 2013-01-10 23:29

Thaodan, a Segmentation fault maybe caused by running out of resources. I have had this issue before. This can be made worse if your compiling on the same hard drive as root & swap.

This is because firefox takes a lot of resources to compile & will involve a lot of RAM & hard drive I/O (R/W). If the hard drive is also root & swapping memory it can (again from experience) just fall over & be the cause a Segmentation fault.

This is one of the reasons I compile on a third hard drive (root & swap are on a raid0, home is on sdc & sdd holds media & is used for compiling).

Can I also suggest try compiling firefox just using the PKGBUILD.

Thaodan commented on 2013-01-10 19:37

I removed firefox before building but now im getting this error:
/bin/sh: line 1: 25202 Segmentation fault (core dumped) /home/bidar/dev/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/run-mozilla.sh /home/bidar/dev/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /home/bidar/dev/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('startupCache.zip');"

any suggestions?

bakgwailo commented on 2013-01-10 14:44

OK, after a restart everything compiled fine over night w/ PGO and JEMALLOC enabled. Thanks csslayer!

straykat commented on 2013-01-10 11:26

Thaodan, sorry, don't keep a log of the crashes while compiling firefox.

Some time ago, after many failed attempts to compile firefox, come across an old forum post advising to remove the old version first. This worked for me.

Since then I have only had firefox not compile because I had forgotten to remove the previous version or a couple of times ran out of RAM on my old system.

Sorry I couldn't of more help :-(

Feng-Huang commented on 2013-01-10 10:47

You can find compiled packages on my Google Drive space :

https://docs.google.com/folder/d/0B-BuryZLQLN7WUVJckJfZ0JyOXM/edit

(Ivy Bridge optimized package coming soon...)

Thaodan commented on 2013-01-10 05:34

straykat: what do you get when an old version is installed?

bakgwailo commented on 2013-01-10 05:18

Odd, enabled PGO and JEMALLOC, uninstalled the old firefox, and I get the following:

/mozilla-release/ff-pgo/toolkit/library/nsUnicodeProperties.cpp
nsRDFResource.cpp
c++ -o nsRDFResource.i_o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/config/gcc_hidden.h -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS -DMOZ_AUTH_EXTENSION -DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET -DMOZ_FILEVIEW -DICON_DECODER -DMOZ_SPELLCHECK -DMOZ_ZIPWRITER -DIMPL_XREAPI -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -I/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/intl/unicharutil/util -I/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/intl/unicharutil/src -I/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/config -I/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/widget/windows -I/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/toolkit/library -I. -I../../dist/include -I/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/include/nspr -I/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/include/nss -fPIC -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -march=native -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-generate -O3 -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsRDFResource.i_o.pp /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/toolkit/library/nsRDFResource.cpp
rm -f libxul.so
/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/_virtualenv/bin/python /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/config/pythonpath.py -I../../config /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/config/expandlibs_exec.py --depend .deps/libxul.so.pp --target libxul.so --uselist -- c++ -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -march=native -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-generate -O3 -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libxul.so -o libxul.so nsStaticXULComponents.i_o nsUnicharUtils.i_o nsBidiUtils.i_o nsSpecialCasingData.i_o nsUnicodeProperties.i_o nsRDFResource.i_o -lpthread -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-rpath,/usr/lib/firefox -Wl,-z,noexecstack -fprofile-generate -Wl,-rpath-link,/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin -Wl,-rpath-link,/usr/lib ../../toolkit/components/osfile/libosfile_s.a ../../toolkit/xre/libxulapp_s.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libstartupcache.a ../../staticlib/components/libpref.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libidentity.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libmediasniffer.a ../../staticlib/components/libgkgfx.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libjsreflect.a ../../staticlib/components/libcomposer.a ../../staticlib/components/libtelemetry.a ../../staticlib/components/libjsinspector.a ../../staticlib/components/libjsdebugger.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libjsctypes.a ../../staticlib/components/libjsperf.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/libfileview.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/components/libimgicon.a ../../staticlib/components/libprofiler.a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/components/libservices-crypto.a ../../staticlib/components/libpeerconnection.a ../../staticlib/libjsipc_s.a ../../staticlib/libdomipc_s.a ../../staticlib/libdomplugins_s.a ../../staticlib/libmozipc_s.a ../../staticlib/libmozipdlgen_s.a ../../staticlib/libipcshell_s.a ../../staticlib/libgfxipc_s.a ../../staticlib/libhal_s.a ../../staticlib/libdombindings_s.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libchromium_s.a ../../staticlib/libsnappy_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libthebes.a ../../staticlib/libgl.a ../../staticlib/libycbcr.a -L../../dist/bin -L../../dist/lib /home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/lib/libjs_static.a -lffi -L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 -lXrender ../../dist/lib/libmozsqlite3.a -ljpeg -lz -lhunspell-1.3 -levent -lpixman-1 ../../dist/lib/libgkmedias.a ../../media/mtransport/build/libmtransport.a ../../media/webrtc/signaling/signaling_ecc/libecc.a ../../media/webrtc/signaling/signaling_sipcc/libsipcc.a -lasound -L../../dist/bin -L../../dist/lib -L/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/lib -lnspr4 -lplc4 -lplds4 ../../dist/lib/libmozalloc.a -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lX11 -lXext -lpangoft2-1.0 -lfreetype -lfontconfig -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lfontconfig -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lXt -lgthread-2.0 -lfreetype -lstartup-notification-1 -pthread -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lgstvideo-0.10 -ldl -lrt
collect2: error: ld terminated with signal 9 [Killed]
make[5]: *** [libxul.so] Error 1
make[5]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/toolkit/library'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release'
make: *** [profiledbuild] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Have 8 gigs of memory... going to try restarting, turn off my IDE/Tomcat/etc and try again...

bakgwailo commented on 2013-01-10 05:15

Odd, enabled PGO and JEMALLOC, uninstalled the old firefox, and I get the following:

collect2: error: ld terminated with signal 9 [Killed]
make[5]: *** [libxul.so] Error 1
make[5]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/toolkit/library'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release'
make: *** [profiledbuild] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Have 8 gigs of memory... going to try restarting, turn off my IDE/Tomcat/etc and try again...

straykat commented on 2013-01-10 03:14

Compiled 18.0-1 with no issues. Thanks csslayer.

It is worth noting that I have never been able to compile firefox-kde-opensuse (or firefox from extra) with an older version still installed.

It will though normally compile if you have the same current firefox from extra installed.

It is also worth noting that firefox is a behemoth to compile so, unless you have a multi core system with a truck load of RAM, close everything else down. I have in the past had to compile firefox, logged out of the desktop, in a bash console to get it to compile without a fault.

bakgwailo commented on 2013-01-10 02:47

Thanks for the update! Attempting to compile now w/ PGO and JEMALLOC, will let everyone know how it goes.

xF0E commented on 2013-01-09 18:11

While configure process, you will get an error about missing "python" on your system. I just added an symbolic link to /usr/bin/python2, which is present. We'll see if i can successfully compile the whole firefox.

Anonymous comment on 2013-01-09 16:39

Let's see if patch still applies :)

sva_h4cky0 commented on 2013-01-08 11:12

FF 18 is out -_-

Thaodan commented on 2012-12-23 09:31

When we get an update?

Anonymous comment on 2012-12-15 13:44

Thank you for this package. I just did a succesful build by changing my /etc/makepkg.conf file to not use the /tmp/makepkg as a build directory because it was causing an error about 30+ minutes into the build. I searched on google and found a post on the mozilla-forum saying that the /tmpfs is not large enough for the build (1/2 of total RAM... I personally have 4GB RAM and no SWAP file).

I also added my C[XX]FLAGS to the PKGBUILD (not sure if it helps the PGO but why not try):

export CFLAGS="-march=corei7 -O2 -pipe"
export CXXFLAGS="-march=corei7 -O2 -pipe"
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox"
export PYTHON="/usr/bin/python2"

And this AUR extension/theme really made it look more beautiful: https://aur.archlinux.org/packages/firefox-oxygen-kde/

Thaodan commented on 2012-12-07 01:50

I builded it in a clean chroot to son't get 'undefined symbol: __gcov_indirect_call_profiler' but now I get memory error when starting firefox, has anyone an idea?

yetAnotherZero commented on 2012-11-30 18:57

@sva_h4cky0
Thanks so much for the download link. I haven't been able to build ff 17 for whatever reason.

darehanl commented on 2012-11-28 00:00

@sva_h4cky0
Seems like my profile somehow got messed up. Starting from a clean profile got rid of the problem. Thanks!

sva_h4cky0 commented on 2012-11-27 06:43

@darehanl
no, working fine here, at least on my box

darehanl commented on 2012-11-27 03:59

Hm.. that's interesting. Anyone else see the gtk file dialog when doing "Open File..."? "Saving" pulls up the proper KDE file dialog, however. A regression, I guess?

Thaodan commented on 2012-11-26 23:58

I get the error below while building this with pgo and regular gcc (no multilib stuff):
/home/bidar/dev/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/xpcshell: symbol lookup error: /home/bidar/dev/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/xpcshell: undefined symbol: __gcov_indirect_call_profiler
make[4]: *** [make-package-internal] Fehler 127
make[4]: Leaving directory `/home/bidar/dev/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[3]: *** [make-package] Fehler 2
make[3]: Leaving directory `/home/bidar/dev/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[2]: *** [default] Fehler 2
make[2]: Leaving directory `/home/bidar/dev/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: *** [package] Fehler 2
make[1]: Leaving directory `/home/bidar/dev/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make: *** [profiledbuild] Fehler 2

Anyone has similar issues?

sva_h4cky0 commented on 2012-11-25 09:56

@gaougalos
http://pkgbuild.com/~tredaelli/repo/os/

gaougalos commented on 2012-11-24 13:51

Are there any precompiled packages for this new release?

Anonymous comment on 2012-11-24 11:59

Works after uninstalling firefox 16

Feng-Huang commented on 2012-11-24 02:15

I wrote "clean chroot" ...

Anonymous comment on 2012-11-24 01:58

uninstall any version of firefox on your SO first, then try again...

Anonymous comment on 2012-11-23 12:19

cannot build it either....

bakgwailo commented on 2012-11-22 17:31

I was able to build it with PGO and JEMALLOC enables (@ -O3 and march=native).

Feng-Huang commented on 2012-11-22 13:28

Build doesn't work at all ... even without PGO (clean chroot)

Feng-Huang commented on 2012-11-22 13:01

Again PGO doesn't work ...

Feng-Huang commented on 2012-11-01 17:47

@torto : it works \o/
ty :)

torto commented on 2012-11-01 16:51

Try changing the general.useragent.locale and intl.locale.matchOS in about:config

And1G commented on 2012-11-01 11:38

I'm also having problems with localization. I installed firefox-i18n and firefox-i18n-de and see the german language being enabled on the addons page but the browser UI is in English. I have already tried to disable, restart, and enable the language pack but still English... Any help or further information needed?

mrbit commented on 2012-10-30 21:04

language no set...it fr ???? always english ???

Thaodan commented on 2012-10-30 20:15

Thanks Feng

Feng-Huang commented on 2012-10-30 14:11

Ivy Bridge dedicated PGO & JEMALLOC online.

Feng-Huang commented on 2012-10-30 13:03

I share my firefox-kde-opensuse Google Drive directory :

https://docs.google.com/folder/d/0B-BuryZLQLN7WUVJckJfZ0JyOXM/edit

Contains x86_64 generic package and Ivy Bridge dedicated package, both with PGO & JEMALLOC

Compiling ivy dedicated atm

Thaodan commented on 2012-10-30 13:02

@Wanderxjtu: which i5? Sandy Bridge or Ive Bridge?

mrbit commented on 2012-10-30 12:51

http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/win32/xpi/ done

OS x86_64...

no !!!

in firefox orig. ok!

Anonymous comment on 2012-10-30 12:39

firefox-kde-opensuse-16.0.2-1-i686.pkg.tar.xz

https://docs.google.com/file/d/0BwCBQGkJeo9_MWpxb3NuMG1MYkE/edit

language pack:

http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/win32/xpi/

mrbit commented on 2012-10-30 11:26

language no set...it fr ???? always english ???

wanderxjtu commented on 2012-10-30 03:03

16.0.2 build on Core i5 w/ PGO=y & jemalloc=y
https://dl.dropbox.com/u/6384887/arch/firefox-kde-opensuse-16.0.2-1-x86_64.pkg.tar.xz

BrLi commented on 2012-10-23 08:19

@Feng-Huang :Thanks for the package
but a bit weird is that it comes out to find libffi.so.6 in vainand stock

XPCOMGlueLoad error for file /usr/lib/firefox/libxpcom.so:
libffi.so.6: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

But I don't have such lib, (only libffi.so.5)

I ln libffi.so.5 to libffi.so.6 and work just fine.
don't know why should it be consider using libffi.so.6?

Thaodan commented on 2012-10-17 09:28

Sandy-Bridge x86_64

Feng-Huang commented on 2012-10-16 18:50

x86_64 ivy bridge PGO & JMALLOC enabled : https://docs.google.com/open?id=0B-BuryZLQLN7dG9STm5leE9VNU0

Feng-Huang commented on 2012-10-16 17:31

x86_64 ivy bridge without PGO & JMALLOC : https://docs.google.com/open?id=0B-BuryZLQLN7RGsxaldvYUg3U1U

Feng-Huang commented on 2012-10-16 16:55

Finally got compiled.

x86_64 generic without PGO & JMALLOC : https://docs.google.com/open?id=0B-BuryZLQLN7T3M4dlJ2NW0wU2c

Feng-Huang commented on 2012-10-16 13:01

@Thaodan : What is your CPU family ?

Thaodan commented on 2012-10-16 12:13

I builded it again with the regular gcc , binutils and libtool. It builds fine but when start it I get an memory acces error.

helq commented on 2012-10-15 21:49

I uninstall firefox then clean the compile directory and finally compile, It's works. thanks @bakgwailo

bakgwailo commented on 2012-10-15 19:38

@Thaodan - not sure really, I have just noticed in the past that the PGO build doesn't seem to like the multilib build chain, so I would start with swapping that all back to the standard repos (also, as a note I have testing enabled). Also, not sure what --hash-style=gnu does - I do not have that in my build (I also just -j2, but that shouldn't make any difference).

Thaodan commented on 2012-10-15 19:31

Im using the multilib one with following build settings in makepkg.conf(no chroot):
CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=x86-64 -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
MAKEFLAGS="-j4"

But why there can be errors when buiding with multilib buildchain?

bakgwailo commented on 2012-10-15 17:53

@helq, as csslayer stated, you have to first uninstall firefox before compiling.

helq commented on 2012-10-15 17:51

I have this compile error:

adding: hyphenation/hyph_sv.dic (deflated 51%)
adding: hyphenation/hyph_tr.dic (deflated 64%)
adding: hyphenation/hyph_uk.dic (deflated 70%)
failed to get nsXPConnect service!
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/helq/Downloads/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/helq/Downloads/AUR/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...

PS: I am sorry by my bad english.

bakgwailo commented on 2012-10-15 16:30

what are you building in (clean chroot or not?) What are your make flags ? To get it to compile with PGO/JEMALLOC, I did:

Delete firefox-kde-opensuse directory. Extract latest tarball (i.e. start clean). Edit PKGBUILD to enable PGO/JEMALLOC. Ensure you are using the regular GCC/BinUtils/etc (I have had issues in the past with the multilib chain). then makepkg in the directory.

My Flags:
CFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"

Thaodan commented on 2012-10-15 14:12

It was while building with pgo and jemalloc.

Thaodan commented on 2012-10-15 14:12

Is someone gettting the same error: "/home/bidar/dev/aur/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/xpcshell: symbol lookup error: /home/bidar/dev/aur/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/xpcshell: undefined symbol: __gcov_indirect_call_profiler
make[4]: *** [make-package-internal] Fehler 127"?

Thaodan commented on 2012-10-15 13:47

Is someone gettting the same error: "/home/bidar/dev/aur/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/xpcshell: symbol lookup error: /home/bidar/dev/aur/firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/bin/xpcshell: undefined symbol: __gcov_indirect_call_profiler
make[4]: *** [make-package-internal] Fehler 127"?

csslayer commented on 2012-10-15 12:50

@And1G
uninstall old firefox first, a very common problem..
Arch change the firefox path from /usr/lib/firefox-VERSION to /usr/lib/firefox... and I followed this change (to make arch plugin works)
Thus even when compiling, it will load "installed" firefox, not the compiling one..

And1G commented on 2012-10-15 10:18

Can't even get the package to build. It fails in the package() function when I run makepkg.
I logged the output of it to harddisk but it is a 4MB file, so here are just the last few lines: http://pastebin.com/a3QWBH7f
Anyone experienced a similar problem?

Feng-Huang commented on 2012-10-13 14:10

Still a segfault after the update. I also got a warning "ref to srcdir"

Anonymous comment on 2012-10-12 22:47

thanks to mozilla, opensuse and csslayer :P

firefox-kde-opensuse-16.0.1-1-i686.pkg.tar.xz

https://docs.google.com/open?id=0BwCBQGkJeo9_Szl6dE5XcTBiQ1U

csslayer commented on 2012-10-12 18:34

Don't need to thank me, thank to mozilla guy and opensuse guy, I did nothing to pgo build.

bakgwailo commented on 2012-10-12 18:08

Sweet, I concur - PGO and JEMALLOC works fine here again. Thanks!

Feng-Huang commented on 2012-10-12 13:59

Compilation does fine, no error, but segfault when I start firefox. Package build in clean chroot, default compilation parameters, proc : i5 3450 ivy bridge

darehanl commented on 2012-10-11 13:03

Oh, nice, PGO seems to be working now. Thanks, @csslayer

bakgwailo commented on 2012-10-10 19:33

@w00t - generally, yes, this package has to wait for the new Suse patches to get bumped for the version. That said, it is always possible that the patches might apply cleanly from 15 to 16 (doubtful) - did you give it a try?

Anonymous comment on 2012-10-10 00:14

I think Firefox 16 came out today, do the patches from 15 have to be updated or are they good to go for 16?

Anonymous comment on 2012-10-02 20:56

firefox-kde-opensuse-15.0.1-1-i686.pkg.tar.xz

https://docs.google.com/open?id=0BwCBQGkJeo9_QXlrS2ZHeUFVN28

gaougalos commented on 2012-09-30 07:50

firefox-kde-opensuse/src/mozilla-release/gfx/thebes/gfxPlatformGtk.cpp:637:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make[6]: *** [gfxPlatformGtk.o] Error 1
make[6]: Leaving directory `firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/gfx/thebes'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/gfx'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...

archdria commented on 2012-09-15 00:39

In case anyone finds it useful:
https://dl.dropbox.com/u/488112/AUR/firefox-kde-opensuse-15.0.1-1-x86_64.pkg.tar.xz

bakgwailo commented on 2012-09-14 14:28

Same error trying to build w/ PGO and/or JEMALLOC in 15.0.1

Thaodan commented on 2012-09-08 06:03

>and while it almost builds, I am left with a new packaging error for kde.js:
I think you must add it to the patch too, cause it is not inclued in the standard firefox source.
But is the patch inclued in the latest firefox release build? (15.01), if yes you must add a patch for kde.js in the build config.

Thaodan commented on 2012-09-08 06:01

>and while it almost builds, I am left with a new packaging error for kde.js:
I think you must add it to the patch too, cause it is not inclued in the standard firefox source.

bakgwailo commented on 2012-09-04 21:57

@Thaodan - Tried apply the patch in the linked issue see (https://bugzilla.mozilla.org/show_bug.cgi?id=752895), and while it almost builds, I am left with a new packaging error for kde.js:

Error: package error or possible missing or unnecessary file: bin/defaults/pref/kde.js (package-manifest, 366).

Otherwise, it is almost there - messing around with it now to try to get that working...

Thaodan commented on 2012-08-30 22:27

x86_64 with non-pgo builds too, but a fix for pgo build woud be much better.

Anonymous comment on 2012-08-30 19:08

Made a repo in OBS, unmodified PKGBUILD (non-pgo):
http://download.opensuse.org/repositories/home:/sumski:/KDE:/Extra/Arch_Core_standard/
i686 still building

Thaodan commented on 2012-08-30 16:02

About the error when building with pgo see this:
https://bugzilla.mozilla.org/show_bug.cgi?id=763181

Behem0th commented on 2012-08-30 13:36

@bakgwailo Yes i buid with PGO.

archdria commented on 2012-08-30 11:14

I've built an x86_64 version with these flags:
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
http://dl.dropbox.com/u/488112/AUR/firefox-kde-opensuse-15.0-2-x86_64.pkg.tar.xz

Behem0th commented on 2012-08-30 03:42

@bakgwailo Yes i buid with PGO.

Anonymous comment on 2012-08-29 20:58

I uninstalled Firefox 14 and restarted before compiling this, and succeded.

bakgwailo commented on 2012-08-29 16:14

@Behem0th - same problem as me, I assume you enabled PGO ?

bakgwailo commented on 2012-08-29 16:09

@Behem0th - same problem as me, I assume you enabled PGO ?

Behem0th commented on 2012-08-29 15:46

Remov old version before compiling dont help.

Behem0th commented on 2012-08-29 15:45

bin/chrome/pippki.manifest
bin/components/pipboot.xpt
bin/components/pipnss.xpt
bin/components/pippki.xpt
Error: found error(s) while packaging, see above for details.
make[4]: *** [stage-package] Error 255
make[4]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[3]: *** [make-package] Error 2
make[3]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: *** [package] Error 2
make[1]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make: *** [profiledbuild] Error 2

bakgwailo commented on 2012-08-29 15:17

I think this is the main error in the PGO building (looked above like the error I already posted said to), any ideas?

bin/res/svg.css
bin/components/dom_svg.xpt
bin/components/dom_smil.xpt
Error: package error or possible missing or unnecessary file: bin/libfreebl3.so (package-manifest, 415).
Error: package error or possible missing or unnecessary file: bin/libnss3.so (package-manifest, 416).
Error: package error or possible missing or unnecessary file: bin/libnssckbi.so (package-manifest, 417).
Error: package error or possible missing or unnecessary file: bin/libnssdbm3.so (package-manifest, 418).
Error: package error or possible missing or unnecessary file: bin/libnssutil3.so (package-manifest, 419).
Error: package error or possible missing or unnecessary file: bin/libsmime3.so (package-manifest, 420).
Error: package error or possible missing or unnecessary file: bin/libsoftokn3.so (package-manifest, 421).
Error: package error or possible missing or unnecessary file: bin/libssl3.so (package-manifest, 422).
pref-crlupdate.js
crlManager.js
formsigning.js
createCertInfo.xul

bakgwailo commented on 2012-08-29 15:13

I think this is the main error in the PGO building (looked above like the error I already posted said to), any ideas?

bin/res/svg.css
bin/components/dom_svg.xpt
bin/components/dom_smil.xpt
Error: package error or possible missing or unnecessary file: bin/libfreebl3.so (package-manifest, 415).
Error: package error or possible missing or unnecessary file: bin/libnss3.so (package-manifest, 416).
Error: package error or possible missing or unnecessary file: bin/libnssckbi.so (package-manifest, 417).
Error: package error or possible missing or unnecessary file: bin/libnssdbm3.so (package-manifest, 418).
Error: package error or possible missing or unnecessary file: bin/libnssutil3.so (package-manifest, 419).
Error: package error or possible missing or unnecessary file: bin/libsmime3.so (package-manifest, 420).
Error: package error or possible missing or unnecessary file: bin/libsoftokn3.so (package-manifest, 421).
Error: package error or possible missing or unnecessary file: bin/libssl3.so (package-manifest, 422).
pref-crlupdate.js
crlManager.js
formsigning.js
createCertInfo.xul

bakgwailo commented on 2012-08-29 14:57

I think this is the main error in the PGO building (looked above like the error I already posted said to), any ideas?

bin/res/svg.css
bin/components/dom_svg.xpt
bin/components/dom_smil.xpt
Error: package error or possible missing or unnecessary file: bin/libfreebl3.so (package-manifest, 415).
Error: package error or possible missing or unnecessary file: bin/libnss3.so (package-manifest, 416).
Error: package error or possible missing or unnecessary file: bin/libnssckbi.so (package-manifest, 417).
Error: package error or possible missing or unnecessary file: bin/libnssdbm3.so (package-manifest, 418).
Error: package error or possible missing or unnecessary file: bin/libnssutil3.so (package-manifest, 419).
Error: package error or possible missing or unnecessary file: bin/libsmime3.so (package-manifest, 420).
Error: package error or possible missing or unnecessary file: bin/libsoftokn3.so (package-manifest, 421).
Error: package error or possible missing or unnecessary file: bin/libssl3.so (package-manifest, 422).
pref-crlupdate.js
crlManager.js
formsigning.js
createCertInfo.xul

msx commented on 2012-08-29 11:30

Same here, tnx for the tip :)

francoism commented on 2012-08-29 11:25

@cruiseliu: this fixed the problem, Firefox installed fine. Thanks! :)

cruiseliu commented on 2012-08-29 10:02

I removed old version before compiling and succeeded.

mrbit commented on 2012-08-29 06:35

adding: hyphenation/hyph_af.dic (deflated 55%)
No protocol specified
+++ Failed to get ScriptSecurityManager service, running without principals/bin/sh: line 1: 3178 Errore di segmentazione /tmp/packerbuild-0/firefox-kde-opensuse/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/run-mozilla.sh /tmp/packerbuild-0/firefox-kde-opensuse/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /tmp/packerbuild-0/firefox-kde-opensuse/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('GreD', 'omni.ja', 'startupCache.zip');"
make[2]: *** [install] Errore 139
make[2]: Leaving directory `/tmp/packerbuild-0/firefox-kde-opensuse/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Errore 2

bakgwailo commented on 2012-08-29 05:23

So, if I disable PGO/JEMALLOC in the PKGBUILD, I can actually build it. However, with PGO/JEMALLOC enabled I still get the error from below during the packaging stage (and rerunning makepkg -r before (and after) rm -fr pkg doesn't get me anywhere).

Anonymous comment on 2012-08-29 00:52

Same error as msx, after 1 1/2 hour compiling in x86_64. It's a segmentation fault error, using makepkg -s.

adding: hyphenation/hyph_sv.dic (deflated 51%)
+++ Failed to get ScriptSecurityManager service, running without principals/bin/sh: línea 1: 4863 Violación de segmento /home/erocks/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/run-mozilla.sh /home/erocks/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /home/erocks/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('GreD', 'omni.ja', 'startupCache.zip');"
make[2]: *** [install] Error 139
make[2]: se sale del directorio `/home/erocks/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: se sale del directorio `/home/erocks/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2
==> ERROR: Se produjo un error en package().
Cancelando...

bakgwailo commented on 2012-08-28 18:16

Getting the same error on Version 2 as I did on Version 1 of FF15:


bin/chrome/pippki.manifest
bin/components/pipboot.xpt
bin/components/pipnss.xpt
bin/components/pippki.xpt
Error: found error(s) while packaging, see above for details.
make[4]: *** [stage-package] Error 255
make[4]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[3]: *** [make-package] Error 2
make[3]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: *** [package] Error 2
make[1]: Leaving directory `/home/joe/Downloads/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make: *** [profiledbuild] Error 2

francoism commented on 2012-08-28 12:05

Cannot compile the new FireFox v15 version, see log: http://pastebin.com/mWjsxAmV
The previous version builds fine.

msx commented on 2012-08-28 03:43

Hi, I have this segfault error while using makepkg (no AUR heleper involved here):

adding: hyphenation/hyph_it.dic (deflated 55%)
+++ Failed to get ScriptSecurityManager service, running without principals/bin/sh: line 1: 4069 Segmentation fault /home/msx/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/run-mozilla.sh /home/msx/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /home/msx/build/firefox-kde-opensuse/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('GreD', 'omni.ja', 'startupCache.zip');"
make[2]: *** [install] Error 139
make[2]: Leaving directory `/home/msx/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/msx/build/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...
~/build/firefox-kde-opensuse $

darehanl commented on 2012-08-28 03:07

Ouch, just finished a 14 build. Thanks for the quick update, though, @csslayer :) I'll grab 15 later.
@EtiennePerot, @egeerardyn
No idea why, but redoing the "package" step seems to resolve the issue for me. After a successful build (which both of you seem to be at), try:
$ rm -rf pkg
$ makepkg -R

EtiennePerot commented on 2012-08-27 00:56

Still not building for me. Here's the end of the log (it was the same error for the -2 PKGBUILD): http://pastie.org/private/lymxe6jqoaepvowjdwsmqg

egeerardyn commented on 2012-08-26 15:42

I can't seem to build it. The last part of my build log is at http://pastebin.com/wLWQsGfz

csslayer commented on 2012-08-26 14:46

Well, for this -3 version please check the change I make to "open file containing folder", I wrote a patch for both firefox and kmozillahelper in order to make when "dolphin" and "konqueror" is used, the "file" will be selected, not just open the folder.

So far I only tested on my machine, works good here.

Hope you guys like it.

francoism commented on 2012-08-26 13:56

Thanks @csslayer, package seems to be build successful now.

francoism commented on 2012-08-09 20:20

For anyone that is having problems with editing here is an edited version:
http://www.mediafire.com/?h9t2kck9nqyrrqi

This is only with the edits from darehanl & Thaodan.
So thanks goes out to them. Use it at your own risk. It worked for me.
(unpack, makepkg -s, pacman -U *)

SRChiP commented on 2012-08-04 07:32

Since this looks difficult to build, can someone provide the latest binaries that has been compiled with PGO/JEMALLOC support?

bakgwailo commented on 2012-08-02 07:10

Will try to do so if I get a chance tomorrow. Didn't really do anything major though or ground breaking ;) I can say that I could not, at all, or ever, get it to build in the a clean chroot across two different laptops (testing enabled on both), which I thought was odd that it would actually build in a non clean environment ;)

xF0E commented on 2012-08-01 16:51

@bakgwailo

Please provide all the content, we need to build firefox. A small how-to would be nice. ty.

bakgwailo commented on 2012-07-31 03:12

I finally got it to build with PGO/JEMALLOC outside of the chroot

Feng-Huang commented on 2012-07-30 22:11

@beta990 : Building in clean chroot (using makechrootpkg so ...)

francoism commented on 2012-07-30 18:10

@Feng-Huang: are you trying to build this localy? (Extract the Tarball and run makepkg?)
Building it localy works for me.

francoism commented on 2012-07-30 17:19

@Feng-Huang: are you trying to build this localy? (Extract the Tarball and run makepkg?)
Building it localy works for me.

Feng-Huang commented on 2012-07-30 10:53

Even adding ac_add_options & mkdir * stuff, I stil get the same error :

make[4642]: Entering directory `/build/src/mozilla-release/ff-pgo/config'
rm -f .md .bak core Templates.DB ../dist/stl_wrappers/sentinel ../config/final-link-comps ../config/final-link-libs ../config/final-link-comp-names buildid /build/src/mozilla-release/config/*.pyc *.pyc nsinstall LOGS TAGS a.out host_nsinstall.o host_pathsub.o host_nsinstall.o host_pathsub.o so_locations _gen _stubs
rm -f -r _java system_wrappers stl_wrappers /no-such-file
cd /build/src/mozilla-release/ff-pgo/config/mkdepend; make clean
/bin/sh: line 0: cd: /build/src/mozilla-release/ff-pgo/config/mkdepend: No such file or directory

francoism commented on 2012-07-29 21:03

Also wireless_tools needs to be added as dep, but correct me if I'm wrong..!

francoism commented on 2012-07-29 21:00

Thanks Thaodan and darehanl! I added the mkdir * and ac_add_options to the correct files (PKGBUILD and mozconfig-pgo) and yes it worked!
I have give it the flag out-of-date. Please correct me if I'm wrong.

bakgwailo commented on 2012-07-27 17:50

No, it is an out of memory not disk space error. My /tmp is directly on my root partition which has 44GB free.

Thaodan commented on 2012-07-27 17:23

>OK, see I am getting an out of memory error when compiling in a clean chroot with PGO and JEMALLOC enabled - anyone else getting this? I have 8GB of DDR3 ram (max for my core i5), and last I recalled the Firefox devs target about 2GB w/ PGO enabled...
You using yaourt? yaourt uses /tmp/yaourt-tmp-$USER/$pkgname as default build path, I have 8GB ram too (with an i7) and my /tmp is 4GB big but firefox needs more thins. If you use yaourt just ad --tmp ${your_tmp_dir:-$HOME/dev/yaourt} as argument, if not dont build in /tmp.

bakgwailo commented on 2012-07-26 05:22

OK, see I am getting an out of memory error when compiling in a clean chroot with PGO and JEMALLOC enabled - anyone else getting this? I have 8GB of DDR3 ram (max for my core i5), and last I recalled the Firefox devs target about 2GB w/ PGO enabled...

Behem0th commented on 2012-07-25 20:56

@darehanl I add 3 line into mozconfig-pgo and the package was successfully created.
Thanks for help.

Thaodan commented on 2012-07-25 18:10

>To work around the "Couldn't use given appdir." issue remove firefox before building the new version.
Thanks

>Ah, I think I might have found the problem. @csslayer, mozconfig-pgo doesn't have the following lines at the top of the file:
>. $topsrcdir/browser/config/mozconfig
>
>ac_add_options --prefix=/usr
>ac_add_options --libdir=/usr/lib
>while mozconfig does. I'm thinking that the build will default to /usr/local without that `prefix' line. Can you check if mozconfig-pgo is correct?
I done this, but the final workaround was to add this to the PKGBUILD in package():
mkdir -p ${pkgdir}/usr/include
mkdir -p ${pkgdir}/usr/lib/firefox-devel
mkdir -p ${pkgdir}/usr/share/idl
mkdir -p ${pkgdir}/usr/lib/firefox/defaults/pref

revinary commented on 2012-07-25 07:09

To work around the "Couldn't use given appdir." issue remove firefox before building the new version.

Thaodan commented on 2012-07-24 17:53

Donw what you said still get:
...
adding: hyphenation/hyph_hr.dic (deflated 56%)
adding: hyphenation/hyph_ia.dic (deflated 51%)
adding: hyphenation/hyph_hu.dic (deflated 62%)
Couldn't use given appdir.
..

darehanl commented on 2012-07-24 16:44

Ah, I think I might have found the problem. @csslayer, mozconfig-pgo doesn't have the following lines at the top of the file:
. $topsrcdir/browser/config/mozconfig

ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib
while mozconfig does. I'm thinking that the build will default to /usr/local without that `prefix' line. Can you check if mozconfig-pgo is correct?

Thaodan commented on 2012-07-24 02:06

May be the maintainer of this package now how fix this.

Behem0th commented on 2012-07-23 20:40

(cd ../../dist/sdk/bin && tar -cvhf - .) | (cd /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/sdk/bin && tar -xf -)
./
./run-mozilla.sh
./nspr-config
./xpt.py
./ply/
./ply/__init__.py
./ply/lex.py
./ply/yacc.py
./xpidl.py
./header.py
./typelib.py
./xpidllex.py
./xpidlyacc.py
./xpcshell
rm -f -f /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/lib /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/bin /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/include /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/include /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/sdk/idl /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/idl
ln -s /usr/local/lib/firefox-devel/sdk/lib /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/lib
ln -s /usr/local/lib/firefox /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/bin
ln -s /usr/local/include/firefox-14.0.1 /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/include
ln -s /usr/local/share/idl/firefox-14.0.1 /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/idl
make[2]: Leaving directory `/home/behem0th/AUR/Net/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: Leaving directory `/home/behem0th/AUR/Net/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
install: cannot create regular file '/home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/lib/firefox/defaults/pref': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

Behem0th commented on 2012-07-23 20:39

[behem0th@ArchLinux local]$ pwd
/home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local
[behem0th@ArchLinux local]$ ls -l
итого 0
drwxr-xr-x 1 behem0th behem0th 14 июля 24 00:37 bin
drwxr-xr-x 1 behem0th behem0th 28 июля 24 00:37 include
drwxr-xr-x 1 behem0th behem0th 40 июля 24 00:37 lib
drwxr-xr-x 1 behem0th behem0th 6 июля 24 00:37 share
[behem0th@ArchLinux local]$

Behem0th commented on 2012-07-23 20:37

(cd ../../dist/sdk/bin && tar -cvhf - .) | (cd /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/sdk/bin && tar -xf -)
./
./run-mozilla.sh
./nspr-config
./xpt.py
./ply/
./ply/__init__.py
./ply/lex.py
./ply/yacc.py
./xpidl.py
./header.py
./typelib.py
./xpidllex.py
./xpidlyacc.py
./xpcshell
rm -f -f /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/lib /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/bin /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/include /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/include /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/sdk/idl /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/idl
ln -s /usr/local/lib/firefox-devel/sdk/lib /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/lib
ln -s /usr/local/lib/firefox /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/bin
ln -s /usr/local/include/firefox-14.0.1 /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/include
ln -s /usr/local/share/idl/firefox-14.0.1 /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/idl
make[2]: Leaving directory `/home/behem0th/AUR/Net/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: Leaving directory `/home/behem0th/AUR/Net/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
install: cannot create regular file '/home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/lib/firefox/defaults/pref': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

Thaodan commented on 2012-07-23 15:03

@Behem0th please post logs in english with LANG=C.

Behem0th commented on 2012-07-21 09:14

I have a problem, during "package() {" section

ln -s /usr/local/lib/firefox-devel/sdk/lib /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/lib
ln -s /usr/local/lib/firefox /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/bin
ln -s /usr/local/include/firefox-14.0.1 /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/include
ln -s /usr/local/share/idl/firefox-14.0.1 /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/idl
make[2]: Выход из каталога `/home/behem0th/AUR/Net/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: Выход из каталога `/home/behem0th/AUR/Net/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
install: невозможно создать обычный файл «/home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/lib/firefox/defaults/pref»: Нет такого файла или каталога

last line

install: can not create regular file «/home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/lib/firefox/defaults/pref»: No such file or directory

Trying to install into firefox-kde-opensuse/pkg/usr/local/ not in firefox-kde-opensuse/pkg/usr/
I do not understand why.
Sorry for my English.

Behem0th commented on 2012-07-21 08:52

I have a problem, during "package() {" section

ln -s /usr/local/lib/firefox-devel/sdk/lib /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/lib
ln -s /usr/local/lib/firefox /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/bin
ln -s /usr/local/include/firefox-14.0.1 /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/include
ln -s /usr/local/share/idl/firefox-14.0.1 /home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/local/lib/firefox-devel/idl
make[2]: Выход из каталога `/home/behem0th/AUR/Net/firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: Выход из каталога `/home/behem0th/AUR/Net/firefox-kde-opensuse/src/mozilla-release/ff-pgo'
install: невозможно создать обычный файл «/home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/lib/firefox/defaults/pref»: Нет такого файла или каталога

last line

install: can not create regular file «/home/behem0th/AUR/Net/firefox-kde-opensuse/pkg/usr/lib/firefox/defaults/pref»: No such file or directory

Trying to install into firefox-kde-opensuse/pkg/usr/local/ not in firefox-kde-opensuse/pkg/usr/
I do not understand why.
Sorry for my English.

Dayita commented on 2012-07-20 23:11

Got the same "Couldn't use given appdir" error under 64bit system...

Thaodan commented on 2012-07-20 21:02

Got this while building it with pgo/jemalloc:
adding: hyphenation/hyph_hu.dic (deflated 62%)
Couldn't use given appdir.
make[3]: *** [make-package] Fehler 1
make[3]: Leaving directory `/home/bidar/dev/yaourt/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[2]: *** [default] Fehler 2
make[2]: Leaving directory `/home/bidar/dev/yaourt/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: *** [package] Fehler 2
make[1]: Leaving directory `/home/bidar/dev/yaourt/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make: *** [profiledbuild] Fehler 2

Thaodan commented on 2012-07-20 19:05

Got this while building it with pgo/jemalloc:
adding: hyphenation/hyph_hu.dic (deflated 62%)
Couldn't use given appdir.
make[3]: *** [make-package] Fehler 1
make[3]: Leaving directory `/home/bidar/dev/yaourt/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[2]: *** [default] Fehler 2
make[2]: Leaving directory `/home/bidar/dev/yaourt/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/browser/installer'
make[1]: *** [package] Fehler 2
make[1]: Leaving directory `/home/bidar/dev/yaourt/yaourt-tmp-bidar/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo'
make: *** [profiledbuild] Fehler 2

bakgwailo commented on 2012-07-20 13:55

Still broken for me - get further but the PGO/JEMALLOC bails out...

Anonymous comment on 2012-07-20 07:29

It works now.
Thanks.

hefeweiz3n commented on 2012-07-20 06:10

> Maybe something like glibc difference
That could be it. Chakra still ships 2.15-2 whereas arch/core got upgraded to 2.16.0-2 just last week.

csslayer commented on 2012-07-20 01:30

Ok ok.. please try again. Maybe something like glibc difference, some header is changed.

Anonymous comment on 2012-07-19 20:35

same problem.

Thaodan commented on 2012-07-19 17:08

>@Thaodan
>nothing, I just use the current one..
But then there must be a difference while building.

Thaodan commented on 2012-07-19 15:09

>strange.. I have already succeeded on chakra... Let me check it.
What have you changed on your PKGBUILD?

csslayer commented on 2012-07-19 14:03

@Thaodan
nothing, I just use the current one..

Thaodan commented on 2012-07-19 13:45

>strange.. I have already succeeded on chakra... Let me check it.
What have you changed on your PKGBUILD?

csslayer commented on 2012-07-19 08:07

strange.. I have already succeeded on chakra... Let me check it.

Thaodan commented on 2012-07-19 05:31

May be you this* intead of our kde patch?

*https://gitorious.org/firefox-kde-opensuse

bakgwailo commented on 2012-07-18 22:42

I am getting the same compile error as everyone else now with a clean chroot.

bakgwailo commented on 2012-07-18 22:00

I am getting the same compile error as everyone else now with a clean chroot.

yetAnotherZero commented on 2012-07-18 20:41

For clarity's sake: this error seems to happen even if not using PGO or Jemalloc.

francoism commented on 2012-07-18 18:17

Same problem here.. (after a lot of time) the same compile error as listed below.

bakgwailo commented on 2012-07-18 17:32

I am getting the same compile error as everyone else now with a clean chroot.

francoism commented on 2012-07-18 16:23

Why does it takes so long to compile? Is it not better to setup a repo?

Feng-Huang commented on 2012-07-18 06:36

In clean chroot with PGO & Jemalloc :

/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp: In member function 'bool nsKDEUtils::startHelper()':
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:313:27: error: aggregate 'nsKDEUtils::startHelper()::rlimit rl' has incomplete type and cannot be defined
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:314:28: error: 'RLIMIT_NOFILE' was not declared in this scope
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:314:47: error: 'getrlimit' was not declared in this scope
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp: In member function 'void nsKDEUtils::feedCommand(const nsTArray<nsCString>&)':
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:358:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[6]: *** [nsKDEUtils.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/build/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp: In function 'void XRE_TermEmbedding()':
/build/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp:228:10: warning: deleting object of polymorphic class type 'nsXREDirProvider' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
make[6]: Leaving directory `/build/src/mozilla-release/ff-pgo/toolkit/xre'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/build/src/mozilla-release/ff-pgo/toolkit'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/build/src/mozilla-release/ff-pgo'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/build/src/mozilla-release/ff-pgo'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/build/src/mozilla-release/ff-pgo'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/build/src/mozilla-release'
make: *** [build] Error 2

msx commented on 2012-07-18 05:11

I'm too can't compile it here:

-DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsX11ErrorHandler.pp /home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp: In member function ‘bool nsKDEUtils::startHelper()’:
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:313:27: error: aggregate ‘nsKDEUtils::startHelper()::rlimit rl’ has incomplete type and cannot be defined
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:314:28: error: ‘RLIMIT_NOFILE’ was not declared in this scope
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:314:47: error: ‘getrlimit’ was not declared in this scope
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp: In member function ‘void nsKDEUtils::feedCommand(const nsTArray<nsCString>&)’:
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:358:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[6]: *** [nsKDEUtils.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsAppRunner.cpp: In member function ‘virtual nsrefcnt nsSingletonFactory::Release()’:
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsAppRunner.cpp:1227:1: warning: deleting object of polymorphic class type ‘nsSingletonFactory’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp: In function ‘void XRE_TermEmbedding()’:
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp:228:10: warning: deleting object of polymorphic class type ‘nsXREDirProvider’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
make[6]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/xre'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...
~/tmp/firefox-kde-opensuse $

Because I was not all sure about yaourt causing conflicts with the build process -as it happened to me with one or two other packages- I downloaded the PKGBUILD and tried to build the package with $ makepkg -cis without luck.

msx commented on 2012-07-18 05:10

I can't compile it here too:

-DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsX11ErrorHandler.pp /home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp: In member function ‘bool nsKDEUtils::startHelper()’:
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:313:27: error: aggregate ‘nsKDEUtils::startHelper()::rlimit rl’ has incomplete type and cannot be defined
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:314:28: error: ‘RLIMIT_NOFILE’ was not declared in this scope
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:314:47: error: ‘getrlimit’ was not declared in this scope
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp: In member function ‘void nsKDEUtils::feedCommand(const nsTArray<nsCString>&)’:
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:358:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[6]: *** [nsKDEUtils.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsAppRunner.cpp: In member function ‘virtual nsrefcnt nsSingletonFactory::Release()’:
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsAppRunner.cpp:1227:1: warning: deleting object of polymorphic class type ‘nsSingletonFactory’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp: In function ‘void XRE_TermEmbedding()’:
/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp:228:10: warning: deleting object of polymorphic class type ‘nsXREDirProvider’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
make[6]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/xre'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/home/msx/tmp/firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...
~/tmp/firefox-kde-opensuse $

Because I was not all sure about yaourt causing conflicts with the build process -as it happened to me with one or two other packages- I downloaded the PKGBUILD and tried to build the package with $ makepkg -cis without luck.

bakgwailo commented on 2012-07-17 22:47

Why would you want to build without PGO ?

tjbp commented on 2012-07-13 08:18

Confirming the same problem as unikum.

artemklevtsov commented on 2012-07-08 21:01

Can't build in the Clean CHROOT without PGO:

/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp: In member function 'bool nsKDEUtils::startHelper()':
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:313:27: error: aggregate 'nsKDEUtils::startHelper()::rlimit rl' has incomplete type and cannot be defined
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:314:28: error: 'RLIMIT_NOFILE' was not declared in this scope
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:314:47: error: 'getrlimit' was not declared in this scope
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp: In member function 'void nsKDEUtils::feedCommand(const nsTArray<nsCString>&)':
/build/src/mozilla-release/toolkit/xre/nsKDEUtils.cpp:358:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
nsINativeAppSupport.idl
make[6]: *** [nsKDEUtils.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/usr/bin/python2 /build/src/mozilla-release/config/pythonpath.py \
-I/build/src/mozilla-release/other-licenses/ply \
-I/build/src/mozilla-release/xpcom/idl-parser \
-I/build/src/mozilla-release/xpcom/typelib/xpt/tools \
/build/src/mozilla-release/xpcom/idl-parser/typelib.py --cachedir=../../xpcom/idl-parser -I/build/src/mozilla-release/toolkit/xre -I../../dist/idl /build/src/mozilla-release/toolkit/xre/nsINativeAppSupport.idl -d .deps/nsINativeAppSupport.xpt.pp -o _xpidlgen/nsINativeAppSupport.xpt
/build/src/mozilla-release/toolkit/xre/nsAppRunner.cpp: In member function 'virtual nsrefcnt nsSingletonFactory::Release()':
/build/src/mozilla-release/toolkit/xre/nsAppRunner.cpp:1222:1: warning: deleting object of polymorphic class type 'nsSingletonFactory' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
/build/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp: In function 'void XRE_TermEmbedding()':
/build/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp:228:10: warning: deleting object of polymorphic class type 'nsXREDirProvider' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
make[6]: *** wait: No child processes. Stop.
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/build/src/mozilla-release'
make: *** [build] Error 2

artemklevtsov commented on 2012-07-08 20:43

Can't build in the Clean CHROOT without PGO:


make[6]: *** [nsKDEUtils.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/build/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp: In function 'void XRE_TermEmbedding()':
/build/src/mozilla-release/toolkit/xre/nsEmbedFunctions.cpp:228:10: warning: deleting object of polymorphic class type 'nsXREDirProvider' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
make[6]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/xre'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/build/src/mozilla-release'
make: *** [build] Error 2

bakgwailo commented on 2012-06-24 22:01

I had to use a slightly modified PKGBUILD:

http://pastebin.com/L1Nj5iWw

Try that out. Also, on my i5 I also saw that using over j2 would generally kill my system.

CFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
MAKEFLAGS="-j2"

BTW, my CHROOT just has Core, Extra and Community enabled, nothing else (other than kmozillahelper in a local repository, of course).

Anyways, I have been trying to get it to work with PGO/JEMALLOC and LTO - any have any luck on this ? Not sure if it is possible (I know 4.7 supposedly allows LTO, but maybe not with PGO/etc).

Feng-Huang commented on 2012-06-24 16:37

Yes, in clean chroot.

CFLAGS="-march=corei7 -mtune=corei7 -O2 -pipe -fstack-protector --param ssp-buffer-size=4 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -D_FORTIFY_SOURCE=2"

+

Edited param in PKGBUILD to -j4

bakgwailo commented on 2012-06-24 15:31

@Feng-Huang Did you use a clean chroot to build? Flags?

Feng-Huang commented on 2012-06-24 14:13

Enabling PGO stucks compilation in infinite loop :

make[377]: Entering directory `/build/src/mozilla-release/ff-pgo/config'
rm -f .md .bak core Templates.DB ../dist/stl_wrappers/sentinel ../config/final-link-comps ../config/final-link-libs ../config/final-link-comp-names buildid /build/src/mozilla-release/config/*.pyc *.pyc nsinstall LOGS TAGS a.out host_nsinstall.o host_pathsub.o host_nsinstall.o host_pathsub.o so_locations _gen _stubs
rm -f -r _java system_wrappers stl_wrappers /no-such-file
cd /build/src/mozilla-release/ff-pgo/config/mkdepend; make clean
/bin/sh: line 0: cd: /build/src/mozilla-release/ff-pgo/config/mkdepend: No such file or directory

See "make[377]" and it keeps going until system freaks out.

archdria commented on 2012-06-23 12:22

Build for 64 bits with GCC 4.7.1: https://dl.dropbox.com/u/488112/firefox-kde-opensuse-13.0.1-1-x86_64.pkg.tar.xz

bakgwailo commented on 2012-06-22 05:01

And PGO/JEMALLOC is broken again in the latest 13.0.1 package under GCC 4.7.1. Will try GCC 4.6 again...

bakgwailo commented on 2012-06-17 20:18

BTW, I just compiled it cleanly with PGO/JEMALLOC with GCC 4.7.1, looks like 4.6 is not needed anymore with the latest update.

bakgwailo commented on 2012-06-16 21:08

@Ubiquitine The site works correctly with me (native for i5/PGO/JEMALLOC) with the latest version of Flash (11.2.202.236) - perhaps there is something else going on in your system? I do not see how PGO would cause any issues like what you are explaining (again, the official Linux Mozilla Firefox binaries have PGO enabled).

bakgwailo commented on 2012-06-16 20:46

@Ubiquitine The site works correctly with me (native for i5/PGO/JEMALLOC) with the latest version of Flash (11.2.202.236) - perhaps there is something else going on in your system? I do not see how PGO would cause any issues like what you are explaining (again, the official Linux Mozilla Firefox binaries have PGO enabled).

Anonymous comment on 2012-06-16 09:16

@bakgwailo. You can use any binary program compiled with generic flags. You just extract the package to /usr/local or /opt . The freezes happens because of the flash. Then I desabled flashplugin, firefox has stop freezing on those sites. Tha problem sites are e.g. : http://subtitle.co.il .

bakgwailo commented on 2012-06-15 23:33

@Ubiquitine touché, did not realize you could use Arch package on Gentoo (been years since I used Gentoo). BTW, what sites freeze for you? Wondering if it happens to me, too.

Anonymous comment on 2012-06-15 21:47

@bakgwailo I'm Gentoo user. I have Fx-12.0 compiled and installed with modified ebuild that uses those patches. But now, when i try to do so for 13.0 I got error on firefox-kde.patch and I dont know where is the problem. I tried apathism's package and it runs fine on my amd64 mashine with gentoo BUT got frizen on some sites. So I want to try it without PGO.

bakgwailo commented on 2012-06-15 21:41

@Ubiquitine Just compile it in then. The whole issue has been that PGO/JEMALLOC was broken for the past x number of releases due to the GCC 4.7 upgrade. Without PGO/etc it takes maybe an hour for me to compile it on a laptop... BTW, why don't you want PGO/JEMALLOC optimizations? These are standard for Firefox now and the vanilla build in the official repos have them enabled.

Anonymous comment on 2012-06-15 21:35

Can someone, pease, paste package without PGO and without "native" flag for x86_64?
Thanks!

torto commented on 2012-06-14 23:42

@haukew
Uninstall firefox first

haukew commented on 2012-06-14 20:36

failing here with:

adding: hyphenation/hyph_ia.dic (deflated 51%)
adding: hyphenation/hyph_fi.dic (deflated 52%)
adding: hyphenation/hyph_da.dic (deflated 47%)
failed to get nsXPConnect service!
make[2]: *** [install] Fehler 1
make[2]: Leaving directory `/tmp/yaourt-tmp-hauke/aur-firefox-kde-opensuse/src/mozilla-release/obj-i686-pc-linux-gnu/browser/installer'
make[1]: *** [install] Fehler 2
make[1]: Leaving directory `/tmp/yaourt-tmp-hauke/aur-firefox-kde-opensuse/src/mozilla-release/obj-i686-pc-linux-gnu'
make: *** [install] Fehler 2
==> FEHLER: Ein Fehler geschah in package().

apathism commented on 2012-06-14 13:17

Here's my version of this package with PGO & JEMALLOC without "native" flag for x86_64: https://dl.dropbox.com/u/7786431/arch/firefox-kde-opensuse-13.0-2-x86_64.pkg.tar.xz

bakgwailo commented on 2012-06-13 16:51

@apathism No problem, while I had suspected it before, I really didn't try it until csslayer kind of confirmed it (at which point I just ripped off the official PKGBUILD from the normal repos, heh). I will say though, it flies for me know with everything enabled. I would post the BIN, but its pretty useless since I compiled for the 'native' target.

apathism commented on 2012-06-13 16:06

@bakgwailo: wow, thanks! it works for me.

bakgwailo commented on 2012-06-13 03:09

OK, so I was able to get it to compile fine with both PGO and JEMALLOC:

http://pastebin.com/Hdb5jqhL (edited PKGBUILD)

Basically, like I though a few days ago (and then saw csslayers comment), PGO broke with the GCC 4.7 upgrade. All I had to do was add gcc4.6 to the makedepends and then

export CC=gcc-4.6
export CXX=g++-4.6

above the other two export statements in the build() section. Note that I also built in a clean CHROOT, so if you are not doing this, YMMV. Compile flags/CPU (for completeness):

CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"

Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz

Feng-Huang commented on 2012-06-12 16:54

@csslayer : can you explain your adjustment please ?

Firefox-kde-opensuse 13.0-2, PGO disabled, for non-sandy bridge, build in clean chroot :

CFLAGS="-march=corei7 -mtune=corei7 -O2 -pipe -fstack-protector --param ssp-buffer-size=4 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -D_FORTIFY_SOURCE=2"

Download here : http://rghost.net/download/38625834/03028a1b16a8a6f0c10efb7146c1a35950543b45/firefox-kde-opensuse-13.0-2-x86_64.pkg.tar.xz

csslayer commented on 2012-06-12 15:39

arch use gcc 4.6 to compile pgo, but I'm lazy to adjust pkgbuild :P.

Feng-Huang commented on 2012-06-12 15:20

@darehanl : same here, no way to compile firefox-kde-opensuse with PGO enabled, even in clean chroot.

darehanl commented on 2012-06-09 22:19

@apathism PGO build has been broken for me for several releases (at least for me). System crashes with out of memory on a 6GB x86-64 system (just tried again with an updated PKGBUILD and mozconfig matching Arch's).

apathism commented on 2012-06-09 17:59

Can you please include vendor.js file from the original Arch firefox package?
It contains several important things like turning on localizations by default and etc.

P.S. PGO build seems to be broken for me. Is that bug or feature? :)
...or it's just for me?

csslayer commented on 2012-06-08 16:11

@Kn3cht remove old firefox then compile.

Kn3cht commented on 2012-06-08 14:31

It won't build for me on x86_64, it aborts with the error: "failed to get nsXPConnect service!"

msx commented on 2012-06-07 01:36

@kaozlira, can you share a PKGBUILD or info about how to compile and apply this? I'm running x86_64

Anonymous comment on 2012-06-06 23:23

i compile this one firefox-kde-opensuse-13.0-1-i686.pkg.tar.xz https://spideroak.com/browse/share/kaoz_lira/metalk104

apathism commented on 2012-05-29 09:02

@weirddan455, AdBlock works for me.

weirddan455 commented on 2012-05-27 06:05

For some reason it crashes when you click "Filter Preferences" on Adblock Plus. I went back to the firefox in the offical repositories and it works fine so it's definatly just this package. Anyone know a fix?

hagabaka commented on 2012-05-23 04:04

^ Sorry, I mean it's more important for the AUR package because the source might need to be downloaded multiple times if build failure occurs and one is using yaourt, and a caching http(s) proxy would reduce the repeated work, while there is no caching ftp proxy offered in the default repositories.

hagabaka commented on 2012-05-23 03:58

The firefox package now uses https instead of ftp source, see https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/firefox&id=5ef148616e6a653f637f99104fc9c1a02da32f7c
Could this package follow the change? It's more important for the AUR package because there are caching http(s) proxies in the default repository but not for ftp.

-source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.bz2
+source=(https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/source/firefox-${pkgver}.source.tar.bz2

artemklevtsov commented on 2012-05-05 08:18

I wrote a bash script for build this package in the clean chroot for both architectures - http://pastebin.com/cMb9RA8m
I hope someone useful.

artemklevtsov commented on 2012-05-05 08:14

I wrote a bash script for build this package in the clean chroot for both architectures - http://pastebin.com/DAAgsPJU
I hope someone useful.

eric2 commented on 2012-05-01 00:27

There is a repository with firefox-kde-opensuse:
http://pkgbuild.com/~tredaelli/repo/os/
I don't know if it is compiled with PGO.

I have a problem with showing tooltips (the text that appears when the mouse pointer is standing still above a link). A freshly started FF has no problem, but after using FF for an hour tooltips wouldn't show anymore.

Anonymous comment on 2012-04-30 15:33

http://dl.dropbox.com/u/3413636/firefox-kde-opensuse-12.0-1-i686.pkg.tar.xz compile with the default pkgbuild,no pgo enabled.

csslayer commented on 2012-04-30 13:29

@step-2 at most case it will not work, it's not like kernel, which nearly depends nothing on your system. And they usually add so many dist specific code.
@quantumphaze, I'm sorry but I cannot provide precompiled package for arch, since I'm already using chakra for a long time. If anyone wants to take the responsibility to package it, just leave the comment to people know it.

quantumphaze commented on 2012-04-30 13:09

A better idea would be to see if an unofficial repo would share the binary.
https://wiki.archlinux.org/index.php/Unofficial_User_Repositories

step-2 commented on 2012-04-29 22:25

for the maintainer :
way not use a packaged version with the patches in it ( even .deb or .rpm ) and install it
so we dont have to wait an hour or so for it to compile every time we update ...

just a concern .

step-2 commented on 2012-04-29 22:25

for the maintainer :
way not use a packaged version with the patches in it ( even .deb or .rpm ) and install it
so we dont have to wait an hour or so for it to compile every time we update ...

Behem0th commented on 2012-04-29 17:18

@w00t
or
#pacman -R firefox-kde-opensuse
$makepkg -c
#pacman -U firefox-kde-opensuse-12.0-1-i686.pkg.tar.xz

Anonymous comment on 2012-04-29 16:02

@govindarajulu

This happened to me too, something went wrong after libffi upgrade. Just a simple workaround until it's fixed:

sudo ln -s /usr/lib/libffi.so.6.0.0 /usr/lib/libffi.so.5

Firefox should open and compile after that.

step-2 commented on 2012-04-29 07:09

@tjbp thanks

csslayer commented on 2012-04-29 02:39

@govindarajulu clean your src please.

govindarajulu commented on 2012-04-29 02:29

not compiling/ opening after upgrading libffi 3.0.10-1 -> 3.0.11-1

/tmp/yaourt-tmp-hydrogen/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory

after upgrade its libffi.so.6

tjbp commented on 2012-04-29 02:11

step-2: Looks like you ran out of space in /tmp

step-2 commented on 2012-04-28 20:47

spits out this error :

/tmp/yaourt-tmp-step-2/aur-firefox-kde-opensuse/src/mozilla-release/dom/base/nsDOMClassInfo.cpp: In member function 'virtual nsrefcnt nsPluginProtoChainInstallRunner::Release()':
/tmp/yaourt-tmp-step-2/aur-firefox-kde-opensuse/src/mozilla-release/dom/base/nsDOMClassInfo.cpp:9647:1: warning: deleting object of polymorphic class type 'nsPluginProtoChainInstallRunner' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
{standard input}: Assembler messages:
{standard input}: Fatal error: can't close nsDOMClassInfo.o: No space left on device
make[6]: *** [nsDOMClassInfo.o] Error 1

ZeDestructor commented on 2012-04-26 11:24

Ignore my last comment on Thu, 26 Apr 2012 10:21:40 +0000, Turns out it was some kind of leftover from firefox-kde-opensuse 11. Once I removed it, it compiled fine. If anyone wants to have a go at debugging it, feel free.

ZeDestructor commented on 2012-04-26 11:23

Ignore my last comment on Thu, 26 Apr 2012 10:21:40 +0000, Turns out it was some kind of leftover from firefox-kde-opensuse 11. Once I removed it, it compiled fine.

ZeDestructor commented on 2012-04-26 10:21

Errors compiling on my machione. Last of the lines:

adding: hyphenation/hyph_eo.dic (deflated 63%)
adding: hyphenation/hyph_ca.dic (deflated 61%)
adding: hyphenation/hyph_de-1996.dic (deflated 54%)
adding: hyphenation/hyph_bg.dic (deflated 72%)
adding: hyphenation/hyph_en_US.dic (deflated 59%)
failed to get nsXPConnect service!
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/zedestructor/yaourt/tmp/yaourt-tmp-zedestructor/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/zedestructor/yaourt/tmp/yaourt-tmp-zedestructor/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2

Any ideas?

csslayer commented on 2012-04-25 19:34

@hagabaka pacman -Rdd is another way.

hagabaka commented on 2012-04-25 18:31

@gnumdk good idea, that way I don't need to uninstall packages that depend on firefox, like arch-firefox-search and firefox-oxygen-kde, and reinstalling them later.

csslayer commented on 2012-04-25 11:15

@quantumphaze I don't know, I have 8GB memory and compile it in mem-disk :P.

quantumphaze commented on 2012-04-25 10:53

Well, dmesg shows this:

### the next 6 lines fill billions of lines ###
[19494.141221] [20634] 1000 20634 3358 102 0 0 0 sh
[19494.141225] [20635] 1000 20635 2636 150 0 0 0 make
[19494.141229] [20638] 1000 20638 3358 103 0 0 0 sh
[19494.141232] [20639] 1000 20639 2636 154 0 0 0 make
[19494.141236] [20642] 1000 20642 3358 105 0 0 0 sh
[19494.141239] [20643] 1000 20643 2571 68 0 0 0 make
[19494.141242] Out of memory: Kill process 559 (syslog-ng) score 1 or sacrifice child
[19494.141256] Killed process 560 (syslog-ng) total-vm:60972kB, anon-rss:0kB, file-rss:0kB

I guess 4GB of RAM isn't enough

gnumdk commented on 2012-04-25 07:20

@hagabaka you don't need to remove firefox if you accept upgrade to original package... It fails only if you try to build firefox-kde-opensuse-xx with firefox-kde-opensuse-yy installed... But works with firefox-xx installed

csslayer commented on 2012-04-24 18:51

@hagabaka but, hey, there must be a reason that why rpath is there in PKGBUILD. I'm not a expert about build mozilla stuff, but there should be a reason for arch also setting it. I don't want to explore it, since there is already a walkaround :P

hagabaka commented on 2012-04-24 18:16

I also get the "failed to get nsXPConnect service". I see the workaround of uninstalling firefox before building, but is there an actual fix or at least a bug report for it? Is this one related? https://bugzilla.mozilla.org/show_bug.cgi?id=686434#c7 The comment says

"I finally found that it's an issue of not mozilla but spec file for RPM package in Fedora.

In the build stage, rpath is set in the value of LDFLAGS. So if the xulrunner has been already installed at the rpath directory, newly generated binaries search libraries located at the rpath direcroty (old ones), not newly generated ones."

artemklevtsov commented on 2012-04-24 14:37

@trc: remove existing (installed) firefox-kde-opensuse package.

Anonymous comment on 2012-04-24 14:24

The new firefox 12 won't compile for me, got the same error using makepkg myself and using yaourt.

adding: hyphenation/hyph_tr.dic (deflated 64%)
adding: hyphenation/hyph_uk.dic (deflated 70%)
failed to get nsXPConnect service!
make[2]: *** [install] Error 1
make[2]: Leaving directory `/mnt/windows/Users/Troy/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/mnt/windows/Users/Troy/Downloads/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...

artemklevtsov commented on 2012-04-24 13:28

With pgo enabled I get following message:
rm -f -r _java system_wrappers stl_wrappers /no-such-file
cd /build/src/mozilla-release/ff-pgo/config/mkdepend; make clean
/bin/sh: line 0: cd: /build/src/mozilla-release/ff-pgo/config/mkdepend: No such file or directory
make[7371]: Entering directory `/build/src/mozilla-release/ff-pgo/config'
rm -f .md .bak core Templates.DB ../dist/stl_wrappers/sentinel ../config/final-link-comps ../config/final-link-libs ../config/final-link-comp-names buildid /build/src/mozilla-release/config/*.pyc *.pyc nsinstall LOGS TAGS a.out host_nsinstall.o host_pathsub.o host_nsinstall.o host_pathsub.o so_locations _gen _stubs
--
this message is repeated until the memory is not over yet. Then I cancel a build process.

csslayer commented on 2012-04-24 11:23

@unikum,
Sorry, I forgot to change the mozconfig for pgo, please try again

artemklevtsov commented on 2012-04-24 09:01

Builded in a Clean Chroot:
_enable_pgo=n
_enable_jemalloc_pgo=n
http://rghost.net/download/37741796/687159d1e5dc2b6b087064d27c5640a163093cd5/firefox-kde-opensuse-12.0-1-x86_64.pkg.tar.xz

--
Can't build with pgo:
/build/src/mozilla-release/gfx/thebes/gfxPlatform.cpp:516:53: error: 'cairo_null_surface_create' was not declared in this scope
/build/src/mozilla-release/gfx/thebes/gfxPlatform.cpp:521:95: error: 'cairo_surface_attach_snapshot' was not declared in this scope

Anonymous comment on 2012-04-19 21:37

considering that arch is now using gcc 4.7, is there a reason why the patch for gcc 4.7 isnt being included in this PKGBUILD?

yetAnotherZero commented on 2012-04-13 14:47

@fowler the "interface" is the same. The thing I like most about this version is the save dialog is native kde. There may be other integrations, but that's all it takes to sell me on it.

Anonymous comment on 2012-04-13 14:42

So I got it installed with the patch from hagabaka, and now I'm looking at this firefox interface now, and I'm wondering, how is this better integrated? It looks exactly the same as the one in the repos. Am I missing something?

hagabaka commented on 2012-04-03 08:22

Thanks for the hint. The sed lines at http://www.linuxfromscratch.org/patches/blfs/svn/firefox-11.0_gcc-4.7-1.patch made it work for me.

csslayer commented on 2012-04-01 04:31

@hagabaka it does not work with gcc 4.7.

hagabaka commented on 2012-04-01 04:20

I'm getting this:

/home/hagabaka/.cache/yaourt-tmp-hagabaka/aur-firefox-kde-opensuse/src/mozilla-release/ipc/chromium/src/base/file_util.cc: In function ‘FILE* file_util::CreateAndOpenTemporaryFile(FilePath*)’:
/home/hagabaka/.cache/yaourt-tmp-hagabaka/aur-firefox-kde-opensuse/src/mozilla-release/ipc/chromium/src/base/file_util.cc:197:12: warning: converting ‘false’ to pointer type ‘FILE* {aka _IO_FILE*}’ [-Wconversion-null]
/home/hagabaka/.cache/yaourt-tmp-hagabaka/aur-firefox-kde-opensuse/src/mozilla-release/ipc/chromium/src/base/file_util.cc: In function ‘bool file_util::TruncateFile(FILE*)’:
/home/hagabaka/.cache/yaourt-tmp-hagabaka/aur-firefox-kde-opensuse/src/mozilla-release/ipc/chromium/src/base/file_util.cc:228:35: error: ‘ftruncate’ was not declared in this scope
make[6]: *** [file_util.o] Error 1
...
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build firefox-kde-opensuse.

sitquietly commented on 2012-03-29 19:47

Re compilation failure with message "failed to get nsXPConnect service!" I too found that the package compiles fine if you remove the old version first: sudo pacman -R firefox-kde-opensuse

Re the runtime segfault with CFLAGS="-march=corei7-avx, you must add the no-avx option, e.g.
CFLAGS="-march=native -mno-avx -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"

There are packages that die horribly at runtime or at build time with avx enabled; only use it for selected packages that you know benefit. (last I knew valgrind considered avx instructions to be illegal opcodes).

wanderxjtu commented on 2012-03-27 15:12

same with @darehanl

Anonymous comment on 2012-03-21 16:34

The same here: can't make a package. No Firefox installed.

csslayer commented on 2012-03-18 16:50

@gnumdk remove firefox first, then compile.

gnumdk commented on 2012-03-18 14:57

failed to get nsXPConnect service!
make[2]: *** [install] Error 1

gnumdk commented on 2012-03-15 07:59

Here, building 11.0 fails with:

failed to get nsXPConnect service!

darehanl commented on 2012-03-15 03:16

Enabling pgo seems to crash my box with supposedly out of memory errors (I see things like "kernel: [ 5812.575333] Out of memory: Kill process 1086 (plasma-desktop)" along with a whole bunch of `make' and `sh' lines). Happened on both my 64bit desktop and 32bit laptop, with default makepkg.conf. Building without pgo finishes fine, though.

yetAnotherZero commented on 2012-03-14 20:16

@Feng-Huang: I'm interest in you explaining some of your CFLAGS because I see some in there that I haven't tried. If I try to do some native i7 compile it get a segfault using these CFLAGS="-march=corei7-avx -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"

I've pretty much had to revert to this to make it work without an instant segfault
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"

my CPU is
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz

hermes14 commented on 2012-03-14 15:21

Thanks csslayer, reading this was helpful as well: https://bugzilla.mozilla.org/show_bug.cgi?id=686434#c7

Feng-Huang commented on 2012-03-14 15:09

@unikum : telling me why would be great

artemklevtsov commented on 2012-03-14 15:06

> I edited PKGBUILD, I recompile and publish again ..
this is not necessary

artemklevtsov commented on 2012-03-14 15:04

@Feng-Huang: jobs number are specified in PKGBUILD and they override make.conf option.

Feng-Huang commented on 2012-03-14 15:04

I edited PKGBUILD, I recompile and publish again ..

Feng-Huang commented on 2012-03-14 15:01

Why the hell they ignore MAKEFLAGS ?

csslayer commented on 2012-03-14 15:00

@unikum, MAKEFLAGS don't affect result.

@hermes14, remove old firefox.

artemklevtsov commented on 2012-03-14 14:59

@Feng-Huang: MAKEFLAGS option is ignored. See PKGBUILD (make -j1).

Feng-Huang commented on 2012-03-14 14:57

PGO=y
JEMALLOC=y
CFLAGS="-march=corei7 -mtune=corei7 -O3 -pipe -fstack-protector --param ssp-buffer-size=4 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -D_FORTIFY_SOURCE=2"
MAKEFLAGS="-j4"

Build in clean chroot.

Download : http://rghost.net/download/private/37020428/fa478e9156606b092eaf99797b73bcb1/6db47e80a73aa914aefca0cd0d1ccf4021613601/firefox-kde-opensuse-11.0-1-x86_64.pkg.tar.xz

hermes14 commented on 2012-03-14 14:35

I get this error installing version 11.0, occurring in the package() function of the PKGBUILD:

[...]
adding: hyphenation/hyph_bg.dic (deflated 72%)
adding: hyphenation/hyph_af.dic (deflated 55%)
failed to get nsXPConnect service!
make[2]: *** [install] Error 1
make[2]: Leaving directory `/dev/shm/xxx/makepkg/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/dev/shm/xxx/makepkg/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2

Any hint?

Anonymous comment on 2012-02-24 15:22

https://build.opensuse.org/package/rdiff?linkrev=base&package=firefox10&project=mozilla&rev=6
*ported and reenabled KDE integration (bnc#746591)

Feng-Huang commented on 2012-02-22 17:35

PGO=y
JEMALLOC=y
CFLAGS="-march=corei7 -mtune=corei7 -O3 -pipe -fstack-protector --param ssp-buffer-size=4 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -D_FORTIFY_SOURCE=2"
MAKEFLAGS="-j4"

Build in clean chroot.

Download link : http://dl.free.fr/rPXr3QpNw

wanderxjtu commented on 2012-02-21 11:00

Build on core2. http://dl.dropbox.com/u/6384887/archlinux/firefox-kde-opensuse-10.0.2-1-x86_64.pkg.tar.xz

artemklevtsov commented on 2012-02-21 09:54

http://rghost.ru/download/36631316/7a22a01176dab5eef7786eedcf0677cdeb48b289/firefox-kde-opensuse-10.0.2-1-i686.pkg.tar.xz
http://rghost.ru/download/36631344/6f4ee0a86c42b93fe0035c3763f80f374464bca1/firefox-kde-opensuse-10.0.2-1-x86_64.pkg.tar.xz

artemklevtsov commented on 2012-02-15 11:39

@Reihar: prefix "no" may be added to any option begins with -m, -f, -W that disable it. Intel disabled support of this instructions (sahf) in core i3(/5/7) series.

Reihar commented on 2012-02-15 09:47

@unikum
I can't find the -mno-sahf in gcc's documentation. However, I found a “-msahf” option. Can you give me documentation about that option ?

artemklevtsov commented on 2012-02-12 22:53

@speed145a: My flags on the i5-2500k:
CFLAGS="-march=native -mtune=corei7-avx -mmmx -mno-sahf -O2 -pipe"
CXXFLAGS="${CFLAGS}"
-mno-sahf is needed because this CPU don't support it (it's may be GCC native mode bug). Also try build in the clean root and disable pgo and jemalloc because GCC optimize code with CFLAGS.
Report please about your experience.
My build is successful but not working built-in session manager.

yetAnotherZero commented on 2012-02-12 21:11

In case anyone cares - I recompiled with different flags and it works now.
I got segfaults when using the following lines in makepkg.conf:
CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="${CFLAGS}"

but I have a stable build using:
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="${CFLAGS}"

This is on an i7-2760QM

apathism commented on 2012-02-11 18:55

It's better to use provides=('firefox=10.0.1'). For example, firefox-i18n-* 10.0.1 requires firefox>=10.0.1.

apathism commented on 2012-02-11 18:54

It's better to use provides=('firefox=10.0.1'). For example, firefox-i18n-* 10.0.1 requires firefox>=10.0.1.

der_fenix commented on 2012-02-11 14:01

please, add provides=('firefox') in PKGBUILD to fix dependencies issues
current `provides` string broke package, that requires firefox

der_fenix commented on 2012-02-11 13:56

please, add provides=('firefox') in PKGBUILD to fix dependencies issues

artemklevtsov commented on 2012-02-11 09:19

Packages with PGO and jemalloc:
http://rghost.ru/download/36457814/b13f9abc71d7974c06b8d0887d147fadf212b73e/firefox-kde-opensuse-10.0.1-1-x86_64.pkg.tar.xz
http://rghost.ru/download/36458838/9424b92ac9313aa1190bc61dd619cca3b5a515e4/firefox-kde-opensuse-10.0.1-1-i686.pkg.tar.xz

artemklevtsov commented on 2012-02-11 05:44

@speed145a: try compile with default makepkg.conf and without PGO or in clean chroot (see - https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot).

yetAnotherZero commented on 2012-02-11 00:24

anybody know why I might be getting a segfault? It compiles fine but after starting firefox it segfaults whenever I attempt to enter text into any field...

Feng-Huang commented on 2012-02-10 19:18

Here is x86_64 PGO & JEMALLOC_PGO & Compilation with -j 4 :

https://docs.google.com/open?id=0B-BuryZLQLN7ODEwOWUxNzItODhmNi00NjUwLThhOWEtNjkyOTlkMTUwOGQ4

artemklevtsov commented on 2012-02-10 18:57

Mirrors without captcha (you can download with wget):
http://rghost.ru/download/36452211/da835bbdba2506c5b024e10f2f44fbbef5e5eb56/firefox-kde-opensuse-10.0-1-i686.pkg.tar.xz
http://rghost.ru/download/36452465/7925953f6d2c88fc429f60623d84641449474dc2/firefox-kde-opensuse-10.0-1-x86_64.pkg.tar.xz

artemklevtsov commented on 2012-02-10 18:44

Package for i686 compiled with default make.pkg.conf and PKGBUILD settings (i.e. without GPO for more compability): http://narod.ru/disk/40327708001/firefox-kde-opensuse-10.0-1-i686.pkg.tar.xz.html

Kalinda commented on 2012-02-10 18:13

Also here's an alternative link to unikum's binary, for those who had trouble downloading it (I had to open it in an alternative browser) - http://andontie.net/stuff/firefox-kde-opensuse-10.0-1-x86_64.pkg.tar.xz

Kalinda commented on 2012-02-10 18:08

Thanks for the binary, unikum! Works great!

Anonymous comment on 2012-02-10 16:50

Mine doesnt compile either. Does anybody have binary package for 64bit?

nasedo commented on 2012-02-10 15:40

I'm getting 'configure: error: --with-system-png requested but no working libpng found' even though libpng, libpng-12 and libpng-14 are installed. Any suggestions? (Or a 32-bit package, if anyone managed to build it.)

Feng-Huang commented on 2012-02-10 15:04

I'm compiling a x86_64 PGO JMALLOC with -j4 compilation flag. Will be available in a few hours

Anonymous comment on 2012-02-10 14:53

Mine doesnt compile either. Does anybody have binary package for 64bit?

artemklevtsov commented on 2012-02-10 14:25

I build package for x86-64 with default makepkg.conf: http://narod.ru/disk/40302344001/firefox-kde-opensuse-10.0-1-x86_64.pkg.tar.xz.html

nasedo commented on 2012-02-10 14:25

I'm getting 'configure: error: --with-system-png requested but no working libpng found' even though libpng, libpng-12 and libpng-14 are installed. Any suggestions?

artemklevtsov commented on 2012-02-10 14:18

I build package for x86-64 with default makepkg.conf: http://dl.dropbox.com/u/23123468/firefox-kde-opensuse-10.0-1-x86_64.pkg.tar.xz

csslayer commented on 2012-02-10 07:15

anyone who meet trouble try uninstall the existing firefox and compile, and leaves enought free memory, for example, you can stop X and compile under TTY.

I'm using chakra so I can hardly provide pre-compile package.

Kalinda commented on 2012-02-10 05:40

Alas, keep having troubles. When I try to build version 10, I get this error:

collect2: ld terminated with signal 9 [Killed]
make[5]: *** [libxul.so] Error 1
make[5]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2

I don't suppose anybody has a 64 bit binary I could download, do they?

gnumdk commented on 2012-02-08 14:58

http://packages.ubuntu.com/oneiric-updates/firefox

Ubuntu have a working version of the patch :)

tjbp commented on 2012-02-07 14:47

You can temporarily get your outdated binary working by installing libpng14 from the AUR: https://aur.archlinux.org/packages.php?ID=56248
You may also need to link libvpx.so:
# ln -s /usr/lib/libvpx.so /usr/lib/firefox/libvpx.so.0

Kalinda commented on 2012-02-07 04:25

Have to recompile because of Firefox doesn't open anymore due to updated packages, I guess. But I get this error while compiling:

In file included from /tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/modules/libpr0n/src/RasterImage.cpp:62:0:
/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/modules/libpr0n/decoders/nsPNGDecoder.h: In member function ‘bool mozilla::imagelib::nsPNGDecoder::HasValidInfo() const’:
/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/modules/libpr0n/decoders/nsPNGDecoder.h:79:26: error: invalid use of incomplete type ‘png_info {aka struct png_info_def}’
/usr/include/libpng15/png.h:720:16: error: forward declaration of ‘png_info {aka struct png_info_def}’
/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/modules/libpr0n/decoders/nsPNGDecoder.h: In member function ‘PRInt32 mozilla::imagelib::nsPNGDecoder::GetPixelDepth() const’:
/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/modules/libpr0n/decoders/nsPNGDecoder.h:88:17: error: invalid use of incomplete type ‘png_info {aka struct png_info_def}’
/usr/include/libpng15/png.h:720:16: error: forward declaration of ‘png_info {aka struct png_info_def}’
make[6]: *** [RasterImage.o] Error 1
make[6]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/modules/libpr0n/src'
make[5]: *** [src_libs] Error 2
make[5]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/modules/libpr0n'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2

Anonymous comment on 2012-02-02 22:20

Apparently the new version has broken KDE Integration and it still hasn't been fixed upstream
Upstream change log:

+-------------------------------------------------------------------
+Mon Jan 30 09:41:59 UTC 2012 - wr@rosenauer.org
+
+- update to Firefox 10.0
+- KDE integration has been disabled since it needs refactoring
+
+-------------------------------------------------------------------

Source: https://build.opensuse.org/package/rdiff?linkrev=base&package=firefox10&project=mozilla&rev=1

wanderxjtu commented on 2012-01-31 13:55

@VlaoMao It's build on intel core2 with cflags:march=native, so it might not compatable with your cpu.

VlaoMao commented on 2012-01-21 16:02

wanderxjtu, not running, illegal instruction output in terminal ...

Anonymous comment on 2011-12-29 16:47

Here's 32bit JEMALLOC and PGO enabled build (built in chroot):
https://dl.dropbox.com/s/1nq5lrscv18wbhg/firefox-kde-opensuse-9.0.1-1-i686.pkg.tar.xz?dl=1

Reihar commented on 2011-12-29 15:01

For me, it doesn't build without JEMALLOC and PGO.

polslinux commented on 2011-12-29 10:44

@wander: thanks a lot but...it looks very ugly :O why?

Anonymous comment on 2011-12-25 22:29

thanks @wanderxjtu

wanderxjtu commented on 2011-12-22 11:27

Build a 64bit package w/ pgo&jemalloc, took about 7 hours to compile on my core2.
For those who might need.
http://dl.dropbox.com/u/6384887/archlinux/firefox-kde-opensuse-9.0.1-1-x86_64.pkg.tar.xz

wanderxjtu commented on 2011-12-22 05:09

@csslayer Oh, my bad...Thx.

csslayer commented on 2011-12-21 15:10

@wanderxjtu please check previous comment. uninstall the old firefox first, then compile.

wanderxjtu commented on 2011-12-21 14:58

After build everything I got this:
<code>
adding: defaults/profile/chrome/ (stored 0%)
adding: defaults/profile/chrome/userChrome-example.css (deflated 46%)
adding: defaults/profile/chrome/userContent-example.css (deflated 47%)
adding: defaults/profile/bookmarks.html (deflated 73%)
adding: greprefs.js (deflated 73%)
/home/wander/archlinux/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: symbol lookup error: /home/wander/archlinux/firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: undefined symbol: JSVAL_NULL
</code>
First time with PGO=y & jemalloc=y, then got that again with PGO=n & jemalloc=n.
Will try again later with just PGO=y...

wanderxjtu commented on 2011-12-21 14:54

@tarakbumba dropbox plz. Thx.

csslayer commented on 2011-12-20 23:03

@tarakbumba something like dropbox, wuala is good for upload.

tarakbumba commented on 2011-12-20 22:24

Hi. I have succesfully built a PGO optimized x86_64 package. If someone is kind to provide a host for this (and for future releases packages) i can upload it.

csslayer commented on 2011-12-20 21:39

@Feng-Huang Profile Guided Optmization, http://en.wikipedia.org/wiki/Profile-guided_optimization

Feng-Huang commented on 2011-12-20 20:47

I use this package for few months, and I still have this question un-answered :

What PGO is for ?

hermes14 commented on 2011-12-20 12:48

Thanks, it worked.

csslayer commented on 2011-12-20 09:54

uninstall the old firefox, then compile.

https://bugzilla.mozilla.org/show_bug.cgi?id=686097

Fortunately, I have a i686 package this time: http://csslayer-aur-repo.googlecode.com/files/firefox-kde-opensuse-9.0-1-i686.pkg.tar.xz
For those who might need.

Anonymous comment on 2011-12-20 09:47

I've got the same problem.
Maybe it's related to https://bugzilla.mozilla.org/show_bug.cgi?id=686097

hermes14 commented on 2011-12-20 07:13

I get this error compiling 9.0:

/tmp/yaourt-tmp-xxx/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: symbol lookup error: /tmp/yaourt-tmp-xxx/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: undefined symbol: JSVAL_NULL

Never had troubles before. Any idea?
Thanks

tredaelli commented on 2011-12-18 01:11

Hi,
you miss to add unzip to the makedepends

Kalinda commented on 2011-12-01 23:12

I have 2 gigs of RAM and never had issues compiling this package before, although lately I've been experiencing really annoying issues with my computer being sluggish and just freezing while it runs and runs and I don't know why.

csslayer commented on 2011-12-01 23:08

@Kalinda, you really need quite a lot of memory to do the last link step, say, at least 1.3GB free memory.
You also can google around to check whether other people has compiled package or not.

Kalinda commented on 2011-12-01 21:52

Hmm, not sure what's wrong, but I get this error when trying to build:

collect2: ld terminated with signal 9 [Killed]
make[5]: *** [libxul.so] Error 1
make[5]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-kalinda/aur-firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2

Maybe a problem with the compiler? Any suggestions?
Thanks!

Anonymous comment on 2011-11-07 19:15

@csslayer I believe you need to add the unzip package to makedepends. Thanks.

csslayer commented on 2011-11-07 18:39

@unikum, well, you should ask mozilla guys for this problem.

Feng-Huang commented on 2011-11-07 18:29

ccslayer : it's probably language pack. Solved, ty.

artemklevtsov commented on 2011-11-07 18:20

I compile this package with my own makepkg.conf and I recieve segmentation fault when i tried launch firefox. When I compile with defaulth makepkg.conf it's all right.
Makepkg.conf: http://pastebin.com/qG8vgEgd

csslayer commented on 2011-11-07 13:55

@Feng Huang
Well, I actually I use chakra. No problem.
Try to use firefox -ProfileManager to use a clean profile, in order to check if some extension cause your problem.

Feng-Huang commented on 2011-11-07 13:45

DO NOT INSTALL THE 8.0 UPDATE !!!!!!!!!!!!
Dunno who build this package, but it spams with hundred of windows at startup !!!!

Jojo_Linux commented on 2011-10-17 17:07

I agree ! Please install in /usr/lib/firefox-7.0

The maintener of firefox package want to have a /usr/lib/firefox directory, with no number version. Maybe with the next update...

hermes14 commented on 2011-10-03 18:27

Please, follow streamline directory standards, otherwise packages like firefox-i18n-* and arch-firefox-search won't work!
As already said, you should install in /usr/lib/firefox-7.0, not /usr/lib/firefox-7.0.1 !!!

csslayer commented on 2011-10-03 13:58

@darehanl, updated, no version bump.

csslayer commented on 2011-10-03 13:52

For guy who need translation: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/7.0.1/linux-x86_64/xpi/
Actually that I remember in 6.0.x, arch seems use 6.0.x once.. I don't want to catch that. (Yes, I'm a lazy guy).

darehanl commented on 2011-10-02 23:15

Thanks for your work. Can you change the MimeType line in firefox-kde.desktop to match Arch's firefox.desktop? Thunderbird doesn't recognize http url association with the current MimeType line, but it does with the MimeType line change like this (in other words when I click on a url in thunderbird the page opens in firefox):

MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;

csslayer commented on 2011-10-02 14:29

For guy who need translation: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/7.0.1/linux-x86_64/xpi/
Actually that I remember in 6.0.x, arch seems use 6.0.x once.. I don't want to catch that. (Yes, I'm a lazy guy).

raku commented on 2011-10-01 22:36

7.0.1 is broken when you use languagepacks from Arch extra.
Language files hit into /usr/lib/firefox-7.0/extensions while your PKGBUILD installs in /usr/lib/firefox-7.0.1.

You need to include firefox-version.patch from Arch's official firefox package and apply following patch to PKGBUILD:

--- PKGBUILD.orig 2011-10-01 18:29:41.000000000 +0200
+++ PKGBUILD 2011-10-02 00:31:59.000000000 +0200
@@ -36,6 +36,7 @@
mozconfig-pgo
firefox.desktop
mozilla-firefox-1.0-lang.patch
+ firefox-version.patch
kde.js
firefox-cross-desktop.patch
firefox-kde.patch
@@ -49,6 +50,7 @@
build() {
cd "${srcdir}/mozilla-release"
patch -Np1 -i "${srcdir}/mozilla-firefox-1.0-lang.patch"
+ patch -Np1 -i "$srcdir/firefox-version.patch"

rm -f browser/components/shell/src/nsKDEShellService.cpp \
browser/components/shell/src/nsKDEShellService.h \
@@ -128,12 +130,12 @@

# Remove included dictionaries, add symlink to system myspell path
# Note: this will cause file conflicts when users have installed dictionaries in the old location
- rm -rf "$pkgdir/usr/lib/firefox-${pkgver}/dictionaries"
+ rm -rf "$pkgdir/usr/lib/firefox-7.0/dictionaries"
ln -sf /usr/share/myspell/dicts \
- "$pkgdir/usr/lib/firefox-${pkgver}/dictionaries"
+ "$pkgdir/usr/lib/firefox-7.0/dictionaries"

# We don't want the development stuff
- rm -r "$pkgdir"/usr/{include,lib/firefox-devel-${pkgver},share/idl}
+ rm -r "$pkgdir"/usr/{include,lib/firefox-devel-7.0,share/idl}

}
md5sums=('5b212db48630ba93bb30ec63cca17f4d'
@@ -141,6 +143,7 @@
'c4e62becbe5e63abeb1272e76eba86af'
'ba96924ece1d77453e462429037a2ce5'
'bd5db57c23c72a02a489592644f18995'
+ 'ff4654144499faf630271cddc2261b7c'
'75df0f88cc7a7fa7d522459e4ff82cc5'
'ef2ec32d2c98fbbdc0304801a3d6413d'
'95a725f7915efc01c6f69ee4dffdf333'

csslayer commented on 2011-10-01 14:41

Yeah, I already updated on my own pc, but I need to test whether it can be built or not myself, then I would update the PKGBUILD.

wanderxjtu commented on 2011-10-01 14:24

for 7.0.1, just edit the PKGBUILD,
change pkgver from 7.0 to 7.0.1
and the first line of md5sums to 5b212db48630ba93bb30ec63cca17f4d (or you can calculate it by yourself)

wanderxjtu commented on 2011-09-28 04:12

A patch for 6.0.2 -> 7.0, may help
http://pastebin.com/wRjHkHSZ
A least it builds, but seems failed, try again.

wanderxjtu commented on 2011-09-28 04:06

A patch for 6.0.2 -> 7.0, may help
http://pastebin.com/wRjHkHSZ
A least it builds, but I have not finish building yet.

Anonymous comment on 2011-09-28 00:22

Can anybody leave a PKGBUILD for 7.0 version?

I tried make it but I get this error:

==> Iniciando build()...
patching file browser/app/profile/firefox.js
Hunk #1 succeeded at 486 with fuzz 2 (offset 233 lines).
patching file browser/base/content/nsContextMenu.js
patching file browser/app/Makefile.in
Hunk #1 succeeded at 45 (offset 1 line).
patching file browser/base/content/browser-kde.xul
patching file browser/base/jar.mn
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- saving rejects to file browser/base/jar.mn.rej
patching file browser/components/build/nsModule.cpp
patching file browser/components/preferences/advanced.js
patching file browser/components/shell/src/Makefile.in
patching file browser/components/shell/src/nsKDEShellService.cpp
patching file browser/components/shell/src/nsKDEShellService.h
patching file browser/components/shell/src/nsUnixShellService.cpp
patching file browser/components/shell/src/nsUnixShellService.h
patching file browser/installer/package-manifest.in
Hunk #1 succeeded at 440 (offset 5 lines).
==> ERROR: Se produjo un error en build().
Cancelando...

Anonymous comment on 2011-09-17 20:39

I also have the stray glyph issue in the taskbar. Also will note that build failed using packer, but was successfully doing it locally using makepkg -c

Anonymous comment on 2011-09-12 16:36

SOLVED

I compiled with a normal makepkg -s (no yaourt anymore...) and in a tty... Problem gone! :)

Anonymous comment on 2011-09-12 15:03

I receive the following build error:

{standard input}: Assembler messages:
{standard input}: Fatal error: can't write nsPluginHost.o: No space left on device
{standard input}: Fatal error: can't close nsPluginHost.o: No space left on device
make[6]: *** [nsNPAPIPlugin.o] Error 1

... And of course there IS space left on the device...! Any ideas? :(

hermes14 commented on 2011-09-10 09:29

I quote the previous comment ;)

Anonymous comment on 2011-09-09 05:37

Please update to 6.0.2-1

kamahl commented on 2011-09-08 08:36

Getting this error on build:


collect2: ld returned 1 exit status
make[5]: *** [libxul.so] Error 1
make[5]: Leaving directory `/tmp/yaourt-tmp-jachym/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/tmp/yaourt-tmp-jachym/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-jachym/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-jachym/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-jachym/aur-firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2

unhammer commented on 2011-09-07 06:29

Seems like arch-firefox-search and firefox-i18n-foo install to /usr/lib/firefox-6.0, while this is in /usr/lib/firefox-6.0.1, could this be installed to -6.0 so they work together?

Anonymous comment on 2011-09-03 09:03

Works fine for me. Check your addons.

artemklevtsov commented on 2011-09-03 08:20

Version 6.0.1-1 segfaults. With clean profile it start successful, but if I try open the addons tab Firefox crash (segfault).

Anonymous comment on 2011-08-31 17:46

The 6.0.1-1 build segfaults for me.

Anonymous comment on 2011-08-24 10:44

Can it be fixed? Is it the same as this? http://lists.fedoraproject.org/pipermail/scm-commits/2011-June/619993.html

Yegorius commented on 2011-08-18 13:25

I have it as a square.

quantumphaze commented on 2011-08-18 12:32

U+007F

Apears as a square with a ^ instead of the top edge.

From KCharSelect:

Character: Non-printable U+007F
Name: <control>
Annotations and Cross References
Alias names:
DELETE
General Character Properties
Block: Basic Latin
Unicode category: Other, Control
Various Useful Representations
UTF-8: 0x7F
UTF-16: 0x007F
C octal escaped UTF-8: \177
XML decimal entity: &#127;

Kalinda commented on 2011-08-18 12:11

es, I have the weird symbol, too. It's just a square here on my laptop, although it looks kind of like a cat on my desktop o-o

csslayer commented on 2011-08-18 11:32

@forkboy, yes.. I also have it.

Anonymous comment on 2011-08-18 11:19

Anyone else seeing a weird extra symbol in the taskbar? Like this http://imageshack.us/photo/my-images/835/snapshot1h.png/

philacs commented on 2011-08-13 23:29

6.0 is out

Anonymous comment on 2011-08-07 21:18

New x86_64 repo http://code.google.com/p/vgr-aur-repo/

[vgr-aur-repo]
Server = http://vgr-aur-repo.googlecode.com/files/

Yegorius commented on 2011-08-03 11:16

I rebooted to the 3rd runlevel, shell only, with ~4GB of RAM free.
Same result.

csslayer commented on 2011-08-03 09:32

@Yegorius
Hi, the last step to link libxul.so requires quite huge memory, say 1GB+ memory. Make sure you have enough memory.
If your memory is quite limited, try stop X server/kdm/gdm to free some.

Yegorius commented on 2011-08-03 09:27

Hello,
I can't build this package (linking problems), here is the output:
http://pastebin.com/WapTkV6t
x86_64, GCC 4.6.1

Yegorius commented on 2011-08-03 09:22

It doesn't build:
http://pastebin.com/WapTkV6t
x86_64

artemklevtsov commented on 2011-07-18 16:48

I can't build it:
http://pastebin.com/LjrLzv3W
http://pastebin.com/gGvB3dtT
http://pastebin.com/E3DkygZG
http://pastebin.com/2Hu7UPtk
x86_64 gcc 4.6.1-2.

dikei commented on 2011-07-17 08:21

Firefox 5.0.1 is out for a while now.

csslayer commented on 2011-07-07 06:09

Sunspider: 432 (no-pgo) vs 440 (pgo)
V8: 2360 (no-pgo) vs 2312 (pgo)
(Smaller is better)

So it seems that result is not significant here.

csslayer commented on 2011-07-07 06:01

Ok, finally I get my PGO works.
Use the switch at the top of the PKGBUILD to enable it.
Use PGO at your own risk, it takes very long time to compile (for x86_64 user, it will use 3 pass.... 2 pass for i686 ), and it may not worth the time.

At least http://chrome.angrybirds.com/?version=sd still sucks for me.

csslayer commented on 2011-07-06 13:11

@allemensen,
Oh, actually I enabled libproxy in mozconfig.. but forget to add it to dependency. (I will simply disable libproxy in mozconfig then)

Sorry, I didn't find that x86_64 and i686 has different PKGBUILD! (supurise, why not use uniform pkgbuild!)
I would start my new build then, thank you very much.

Anonymous comment on 2011-07-06 12:33

I found this bug: https://bugzilla.novell.com/show_bug.cgi?id=639071#c0
I solved the problem by rebuilding libproxy with kde-stuff disabled, since I don't need proxies anyway. Apparantly it's a linker error.
Combined with my earlier remark (moving the last build line before the pgo build line) I get a succesful pgo build

Is there a way to test if it is really faster? Because I do not really like 3x time build times

csslayer commented on 2011-07-04 14:46

@iruel, Hi, there is a AUR git clone
git://pkgbuild.com/aur.git
http://pkgbuild.com/git/aur.git/
You can find the old version of pkgbuild there. (Though I tried to use hg to keep my pkgbuild, but I always forgot to commit... So just find old pkgbuild there. )

Anonymous comment on 2011-07-04 12:57

csslayer, do you happen to have a firefox-3.6 version of Firefox-KDE-OpenSuse? I'd like the old Firefox, but without the gnome depends. Thanks.

Anonymous comment on 2011-07-03 09:17

I thought of that too, so I rebuild kmozillahelper, but the error still occurs.
I also discovered that I get the same error when closing my current build of firefox.

The method comes from the firefox package in [extra], they do it the same way

csslayer commented on 2011-07-03 02:57

About kde symbol, I think you need to rebuild kmozillahelper. Actually this firefox doesn't have anything link with KDE.
When firefox starts, it spawns a new kmozillahelper process, and use a pipe to do the communication with kmozillahelper.
So undefined symbol error in kde's libs can only be generated by kmozillahelper.

Though KDE want to keep ABI compatible, sometimes ABI breaks.

And I don't know whether your method is correct or not...

Anonymous comment on 2011-07-02 21:13

I discovered how to get further with the pgo build:
move the last build line (the non-pgo one) and put it just before the pgo build (but after the settings for the pgo-build)

But now it crashes for me during/after the js-input/string-validate-input.html run, complaining about a undefined symbol in /usr/lib/libkdecore.so.5

xF0E commented on 2011-06-30 20:04

hey guys, i would really like to use this package with pgo enabled.
I'm on x86_64, it looks like i miss a package?
At compiling i get this error:

[code]
/tmp/yaourt-tmp-xf0e/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/firefox/firefox-bin: symbol lookup error: /tmp/yaourt-tmp-xf0e/aur-firefox-kde-opensuse/src/mozilla-release/ff-pgo/dist/firefox/firefox-bin: undefined symbol: __gcov_indirect_call_profiler
TEST-UNEXPECTED-FAIL | automation.py | Exited with code 127 during test run
INFO | automation.py | Application ran for: 0:00:00.412573
INFO | automation.py | Reading PID log: /tmp/tmp0tCXZDpidlog
make: *** [profiledbuild] Error 127[/code]


Please help.

csslayer commented on 2011-06-30 08:32

Hello, mrz, I think you might go to the wrong page(this is firefox-kde-opensuse).

But still I can answer this question.
This is not a bug, but a new feature for pacman 3.5. (Debian and RPM has supported it for a long time).
The new version system will like this "epoch:version-revision", and compare in order of epoch > version > revision.
Epoch is useful is packager found that one package is released but broken, need a downgrade. So simply add epoch will let packager downgrade the package easily.

For example, "1:2.6.39-1" > "2.6.40" (no epoch means epoch = 0), so do you get it?

mrz commented on 2011-06-30 07:53

I'm having a weird problem: when building this package (and only this one, AFAICS) the package end up with a spurious "1:" in the package version. Not a big problem, but still I'd like to know how to fix this! A snippet from `pacman -Qi kernel26-ck`:

$ pacman -Qi kernel26-ck
Name : kernel26-ck
Version : 1:2.6.39.2-1

The only real problem this causes is that the package manager, in my case clyde, doesn't warn me when a new version of the package is pushed to the AUR. Also, I download the package manually then issue the standard makepkg -si. Any ideas?!

csslayer commented on 2011-06-28 01:23

@raku, thank you very much, :D

@broken.pipe,
It doesn't do any thing to appearance.
These are the thing it changes, Open/Save File dialog, Use KDE System Proxy, Plasma notification, Download file association (No need to bear something like using gimp to open pdf...), can call akegrator as rss reader, can call kmail as email program, detect it is KDE default browser or not.

For build option, it remove all gnome dependency.

broken.pipe commented on 2011-06-27 21:09

thanks a lot i'm using it right now! :) does anyone know if there's some kind of reference of the changes / patches which have been applied on the vanilla source? what are those patches aiming for? i can't hardly see any better kde integration (maybe because i use oxygen-gtk) but it starts much faster than the normal build!

raku commented on 2011-06-27 19:43

you can use mine:
[archrak]
Server = http://pkgs.prz.edu.pl/archlinux/os/x86_64

(x86_64 only)

broken.pipe commented on 2011-06-27 16:10

is there any unofficial repo available which provides this package? even with my decent machine it takes long to build it :(

Anonymous comment on 2011-06-25 05:50

I also fail to build, using x86_64 Arch:
http://pastebin.com/dXfb481r

csslayer commented on 2011-06-24 06:08

Integrated PGO with normal build, default pgo is disabled.
Edit the first line to try pgo build. (I didn't success yet... I really need help! )

csslayer commented on 2011-06-23 18:03

Hello guys, firefox in arch already enable pgo for compile.
Although I'd like to use pgo too, but I failed to get it build.
I got error like: undefined symbol: __gcov_indirect_call_profiler.
If anyone can resolve this problem, please tell me. (might because I'm using gcc 4.5.3 under chakra)

PKGBUILD is here.
http://content.wuala.com/contents/csslayer/pkgbuild/firefox-kde-opensuse-5.0-2.src.tar.gz

Anonymous comment on 2011-06-22 05:47

For anyone having build fails like raku, install unzip.

csslayer commented on 2011-06-21 11:58

My i686 pc is arch. And i686 users can download it here.
http://code.google.com/p/csslayer-aur-repo/downloads/list

csslayer commented on 2011-06-21 11:57

Sorry, but I move to chakra, and I think I cannot reproduce your problem... And my x86_64 build successfully, and my another pc which is i686 also build successfully.

Anonymous comment on 2011-06-21 11:46

I've got a different fail build:

http://paste.kde.org/85237/

sl1pkn07 commented on 2011-06-20 12:52

fail build:

http://paste.kde.org/84625/

raku commented on 2011-06-19 11:42

I can't compile version 5.0-1. I've got following error:

resource://gre/modules/AddonRepository.jsm
resource://gre/modules/PlacesDBUtils.jsm
resource://gre/modules/WindowDraggingUtils.jsm
resource://gre/modules/HUDService.jsm
resource://gre/modules/CSPUtils.jsm
find: `jsloader': No such file or directory
touch: missing file operand
Try `touch --help' for more information.
make[2]: *** [install] Error 123
make[2]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/build/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2
==> ERROR: A failure occurred in package().
Aborting...

artemklevtsov commented on 2011-06-19 09:11

> xulrunner not required anymore
it's good.

csslayer commented on 2011-06-19 04:50

I'm a lazy man... so I just put -beta layout to this package, xulrunner not required anymore.

csslayer commented on 2011-04-29 09:51

@philacorns Yes it might works, but I don't want to. Everytime I update the PKGBUILD, I will examine every patch in the src.rpm to determine whether it is required or not, though firefox-kde.patch might be the only useful patch, I will also do a check for patch content. But still you can try, but I won't.

Following is some idea/hint to somone who interests in building a nightly self updatable package.
1, need to parse http://download.opensuse.org/repositories/mozilla:/alpha/SUSE_Factory/src/, to check if there is a new version or not.
2, download the rpm, and then extract it.
3, parse spec, to check which patch does it includes, maybe you need a whitelist for patch name and it will not works everytime.
4, extract mozconfig from spec (default one maybe ok).
5, build it.

I do 3,4 by hand to make it always works, that's the main idea I don't want to make a nightly one.

philacs commented on 2011-04-29 09:21

@trc @csslayer Latest source of firefox with KDE patchset can be found at http://download.opensuse.org/repositories/mozilla:/alpha/SUSE_Factory/src/, looks like opensuse has abandoned the repo on gitorious and is using a secret repo, so we can only get the source from src.rpm or build service web interface. The version is now at firefox 5 alpha, and has transformed from splitted xulrunner and firefox into a standalone package due to the new rapid development method of Mozilla. There should be a way to change that src.rpm into a nightly PKGBUILD.

Anonymous comment on 2011-04-04 02:11

ahh ok dokey then, well thanks for the great package regardless lol

csslayer commented on 2011-03-28 02:08

@trc, I don't think so. Patch is quite strict that very little change (which although can be adjust by hand) can make patch failed.
Usually people don't apply patch to a -git, -svn, -hg package, unless without patch it will not build or cause fatal issue, because in that case the package will easily break.

csslayer commented on 2011-03-28 02:07

@trc, I don't think so. Patch is quite strict that very little change (which thought can be adjust by hand) can make patch failed.
Usually people don't apply patch to a -git, -svn, -hg package, unless without patch it will not build or cause fatal issue, because in that case the package will easily break.

Anonymous comment on 2011-03-28 00:44

would it be possible to create an AUR package for the firefox nightly using the KDE patches?

csslayer commented on 2011-03-26 06:48

@byelims,
Yes, that's because the mirror sync problem. releases.mozilla.org will redirect you to a mirror, which might is not up to date. but if file is available there, this url will make download faster because it will choose a near mirror for you.

I think it's reasonable to keep the current url there. Anybody meet the problem change the prefix to http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ will solve the problem.

Anonymous comment on 2011-03-26 06:09

Hi, csslayer. I can't find anything in "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/". There are only dictionaries, but no files in them. I use this one "https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/", and solve the problem.

birdflesh commented on 2011-03-24 16:07

@kwintruder everything that is marked as 'done' here:
http://old-en.opensuse.org/KDE/FirefoxIntegration

Anonymous comment on 2011-03-24 15:53

@csslayer, what features provide this package in detail? I've installed the base FF and I do not see a difference.

Anonymous comment on 2011-03-24 15:20

sorry for doublepost

Anonymous comment on 2011-03-24 15:18

@csslayer, thanks, I have used it earlier. So there is no GUI integration by this package?

csslayer commented on 2011-03-24 15:06

@kwintruder, yes. I have tried add this theme to firefox, but it will cause some problem.
Default opensuse theme is just oxygen icon, so I think there is not so much need to add this.

Anyway user can choose their themes.

Anonymous comment on 2011-03-24 15:02

@csslayer, thanks, I have used it earlier. So there is no GUI integration by this package?

csslayer commented on 2011-03-24 14:55

@kwintruder, try this: use 3.0 RC2, http://kde-look.org/content/show.php/Oxygen+KDE+%28Firefox+Theme%29?content=117962

Anonymous comment on 2011-03-24 14:51

Hmm, the integration works for me except the visual things like icons and GUI elements, it is still gtk. But i'm not sure that there is such thing with that package. Should firefox be Oxygen-like with that package?

csslayer commented on 2011-03-24 14:25

I don't know, maybe. bfo usually do his build himself.

As you mention about problem, I think there is no problem right now.

Kalinda commented on 2011-03-24 13:27

Will the bfo 64 bit repo be updated with Firefox 4 or are you waiting till you have worked out all the problems?

quantumphaze commented on 2011-03-24 02:14

whoops

csslayer commented on 2011-03-24 01:44

@quantumphaze

Thank you, but where is "-4"?.. do you mean 2.0-3?

quantumphaze commented on 2011-03-23 22:59

Confirming that 4.0-3 works (with xulrunner-kde-opensuse 2.0-4)!

matteo81 commented on 2011-03-23 15:45

In the end, I created a new profile and now everything is working fine...

csslayer commented on 2011-03-23 13:33

@quantumphaze, so you get idl file error? whaw, that's quite an old problem (very old since first firefox-beta-kde-openeuse)... I didn't update firefox-beta for opensuse patch because I cannot solve this problem. And finally in a lucky afternoon, I found a idldir.patch seems the key( and I actually don't know why this is required, I'm not an expert of firefox/xulrunner, just like any other simple user.)

Today I remove this patch from xulrunner because I think "wow, it's already firefox 4.0 offical and that will not be requried right?", and after my build, firefox works quite well, so I think there is not problem.

I think if you use package built by me you will not meet the problem. But since there is already some people meet this again, I might get idldir.patch back. Can you try to build xulrunner with idldir.patch which can be obtained from xulrunner-beta-kde-opensuse's PKGBUILD? I don't have env to test right now. Ff you have any result, please let me know.

quantumphaze commented on 2011-03-23 13:24

Whenever I get problems with Firefox I always run it either in dafe mode or with the -P option to make a blank profile. When I run "firefox -P" it gives the same error but a window pops up with some interesting stuff (looks like the large black text on yellow background mentioning something about javascript or chrome sometimes seen when you upgrade Firefox without closing it and open a new tab, I'll post more when it's not 12:20a and the dodgy package is installed)

birdflesh commented on 2011-03-23 13:03

Try disabling firefox plugins (like flashplugin) one by one. No problems here.

csslayer commented on 2011-03-23 12:51

@matteo81, @quantumphaze
I tried to modify mozconfig and it seems not solve the problem.... (error message still there, but I can still run firefox without problem, strange..)
I think I would backtrace to firefox-beta-kde-opensuse's PKGBUILD, if anybody knows the exact option/patch cause this, please leave a comment.

matteo81 commented on 2011-03-23 10:24

@quantumphaze: same here

(process:32383): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
kmozillahelper(32391)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-agostine/ksycoca4"
[1] 32383 segmentation fault firefox

quantumphaze commented on 2011-03-23 07:15

It dies for me with this output:

$ firefox

(process:19336): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

This did not happen with the firefox-beta-kde-opensuse packages.

csslayer commented on 2011-03-23 03:40

@hermes14, fixed in -2. sorry for that.

hermes14 commented on 2011-03-22 21:01

Confirm what raku says: why is it installed in /usr/lib/firefox-4.0b instead of /usr/lib/firefox-4.0?
firefox-i18n and arch-firefox-search don't work properly.

raku commented on 2011-03-22 20:09

Isn't firefox-kde-opensuse supposed to install in /usr/lib/firefox-4.0 instead of /usr/lib/firefox-4.0b?
Because of this issue I can't get firefox-i18n working properly.

birdflesh commented on 2011-03-22 12:52

The original pkgbuild for xulrunner 2.0 does not depend on libproxy at all.
http://projects.archlinux.org/svntogit/packages.git/tree/xulrunner/trunk/PKGBUILD
You might want to check this out.

csslayer commented on 2011-03-22 12:46

Yes, the difference is in mozconfig. I enabled libproxy right now. From previous comment (long long ago..), seems there is someone want it.

birdflesh commented on 2011-03-22 12:40

The original pkgbuild for xulrunner 2.0 does not depend on libproxy at all.
http://projects.archlinux.org/svntogit/packages.git/tree/xulrunner/trunk/PKGBUILD
You might want to check this out.

csslayer commented on 2011-03-22 07:25

4.0 - i686 is up, and attention, cairo-1.10.2-2 in testing is required.
Otherwise you need to change mozconfig to build without system-cairo, or install cairo-tee from AUR.

Another problem is libproxy 0.4.6-3 has dependency error, https://bugs.archlinux.org/task/23377, so if xulrunner fails to compile or firefox cannot start, ldd /usr/lib/libproxy.so check you do not miss any lib.

csslayer commented on 2011-03-21 14:44

Yes, the source is out, but I'd wait for offical announcement.

ftp://ftp.mozilla.org/pub/firefox/releases/4.0/source/

csslayer commented on 2011-03-10 05:54

@larvan, Try firefox-beta-kde-opensuse, xulrunner-beta-kde-opensuse. (just update to 4.0rc1)
this one will not update to 4.0 before offical released.

larvan commented on 2011-03-10 03:14

Any chance we can see a 4.0RC1+ package?

ffjia commented on 2011-03-02 07:04

Thanks, I sucessfully compiled both packages, x86_64 :)

csslayer commented on 2011-03-02 05:38

sorry, I forget to upload it to aur.. as you can see, I already upload xulrunner 1.9.2.14 to my i686-repo.

ffjia commented on 2011-03-02 04:51

Thanks, xulrunner-kde-opensuse not update yet, only need to change firefox version and md5sum?

csslayer commented on 2011-03-02 04:04

from 3.6.14, remove libgnomeui from depends as well.

crabman commented on 2011-02-18 19:59

when installing, firefox-kde-opensuse-3.6.13-1-x86_64.pkg.tar.xz fails the integrity check, pacman says its damaged

crabman commented on 2011-02-18 19:55

@bfo: it seems i had the same issue as larvan, thanks for the packages

sva_h4cky0 commented on 2011-02-12 02:07

warning: kmozillahelper: local (0.6.3-1) is newer than bfo-aur-repo (0.6.2-1)

Thanks

Anonymous comment on 2011-02-11 15:44

Updated xulrunner-kde-opensuse to 13-4 version

Anonymous comment on 2011-02-11 11:54

@crabman
Are you able to download the file in-browser? I am, and so should you. Second thing is, which pacman backend do you use to download packages? Do you have any other googlecode repos activated?

crabman commented on 2011-01-30 10:58

there is something wrong with the bfo repo, pacman says:
couldnt download 'firefox-kde-opensuse-3.6.13-1-x86_64.pkg.tar.xz' from bfo-aur-repo.googlecode.com : Not Found

and the same forkmozillahelper and xulrunner

Anonymous comment on 2011-01-22 19:10

Added beta versions to my repo

csslayer commented on 2011-01-16 11:52

Hello guys, I upload {firefox-beta,xulrunner-beta}-kde-opensuse.

And it's also in my personal repo, welcome for test.

Anonymous comment on 2010-11-15 16:35

@larvan
In /etc/pacman.conf uncomment one of the folowing lines:
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - %u > %o

So that pacman uses either wget or curl to download database index. I don't know why, but pacman's generic downloader has problems downloading from googlecode. Should there be any further problems, post back.

larvan commented on 2010-11-15 12:58

I just added your x86_64 repo to /etc/pacman.conf but upon "sudo pacman -Sy" I get the following:

...
error: failed retrieving file 'bfo-aur-repo.db.tar.gz' from bfo-aur-repo.googlecode.com : Not Found
error: failed to update bfo-aur-repo (Not Found)
...

* Other repositories - both official and unofficial - work.
* The direct link "http://bfo-aur-repo.googlecode.com/files/bfo-aur-repo.db.tar.gz" works in firefox.

I am new to Arch (still testing in VirtualBox before switching my system) so, if I have to do something before it works please advise.

Anonymous comment on 2010-10-28 17:06

Ok, updated version uploaded

Anonymous comment on 2010-10-28 10:38

Please wait before upgrading firefox and xulrunner packages to version 3.6.11 from my repo for x64 computers. They contain a bug preventing you from running FF normally. For now, please stick to the 3.6.10 version. Packages still available from my googlecode page, download section.

csslayer commented on 2010-09-24 00:13

@xgamer99,
I use firefox and xulrunner to compatible with arch and opensuse. And if one pkgbuild is possible, I think arch will do it itself.

I think bfo and my repo can help you in some ways.

For x86_64
[bfo-aur-repo]
Server = http://bfo-aur-repo.googlecode.com/files/

For i686
[csslayer-aur-repo]
Server=http://csslayer-aur-repo.googlecode.com/files

Anonymous comment on 2010-09-23 18:50

BTW, with respect to my previous comment, I use yaourt to install AUR packages. Maybe this is the problem, as it treats xulrunner-kde-opensuse as a completely seperate package. Is there any way to combine them into one PKGBUILD?

Anonymous comment on 2010-09-23 18:46

Is there any way to NOT download the firefox source code twice? My experience with this package is that it downloads it once to build and install xulrunner-kde-opensuse and then it doesnloads the source again to build and install the actual application.

The source is roughly 50M as of this post, and downloading it twice is a pain for my DSL Lite connection. Is there any way to download it once, store it someplace, and then use the same source for both builds?

Anonymous comment on 2010-09-20 10:57

Ok, added kmozillahelper

birdflesh commented on 2010-09-20 09:56

@bfo good job. You should consider adding kmozillahelper package too on your repo for people installing this for the first time.

birdflesh commented on 2010-09-20 09:33

@bfo good job. You should consider adding kmozillahelper package too on your repo for people installing this for the first time.

ffjia commented on 2010-09-20 07:32

@bfo, thanks, I just downloaded && updated firefox from your repo, great job.

Anonymous comment on 2010-09-19 22:38

Hello everyone.
I set up a repo holding x64 packages of both firefox-kde-opensuse and xulrunner-kde-opensuse.
To make it work just add the following to your pacman.conf:

[bfo-aur-repo]
Server = http://bfo-aur-repo.googlecode.com/files/

ffjia commented on 2010-08-28 12:40

Oh, it looks like common error in linux, refer to

https://addons.mozilla.org/en-US/firefox/addon/5081/

ffjia commented on 2010-08-28 12:37

Echofon, firefox add-on cannot work with firefox-kde-opensuse now.

When starting firefox, echofon throw error message like:

Echofon dose not support this platform or custom build firefox. (Can't get OAuth sigher.)........

Any suggestions?

Anonymous comment on 2010-07-28 04:02

sorry for being so stupid, but this is the compilation error i recive installing with -U or whatever

http://pastie.org/1063272

xulrunner compiles find

csslayer commented on 2010-07-22 04:16

can you post more console output and use export LANG=en_US.UTF-8 before build?

and you can use http://aur.pastebin.com/ to post your log.

It works fine here (i686).

xenobrain commented on 2010-07-18 00:15

Firefox was frequently hanging on my 64-bit system when loading pages when using this package. If you also have this problem, try disabling javascript.options.jit.content in about:config.

csslayer commented on 2010-07-13 08:35

pacman -Ud xulrunner-blabalbal

because the old firefox is installed on your machine, so pacman complain about that. You can ignore that message by using -Ud.

I'm sorry but these 2 pacakge is not friendly to yaourt because of the dependency.

Regular update process: down pkgbuild, build xulrunner, install/update by -Ud, build firefox, install/update by -U, install/update firefox-i18n.

I'm holding an repo for i686 pre-compiled pacakge here: (pacman 3.4.0 has problem about downloading from googlecode, uncomment xfercommand line with wget will make it works.)

[csslayer-aur-repo]
Server=http://csslayer-aur-repo.googlecode.com/files

I am very happy to see if any one can help me by holding an x86_64 repo. (I don't have x86_64 env for building.)

Anonymous comment on 2010-07-11 14:19

the compilation seems to be fine but when it ask me for my pass (this is installing xulrunner):

solving dependences...
verifiying conflicts...
error: fail to prepair the transaction (dependences cant be satisfy)
:: firefox-kde-opensuse: needs xulrunner-kde-opensuse=1.9.2.3

csslayer commented on 2010-07-09 01:51

Yes, proxy has performance issue. We have discuessed it before, but the comment has been clean up once.
System proxy use KUrl to find out the proxy to use, It seems quite slow. Foxyproxy or something else works well.

Patch can be found here after extract src.rpm package.
http://download.opensuse.org/repositories/mozilla:/Factory/openSUSE_Factory/src/

Anonymous comment on 2010-07-09 01:32

Just out of curriosity where can we get a copy of the latest patches from OpenSuse I can't seem to find that on their site. Im planing on playing with them to build Firefox 4.0... seems like an interesting weekend project.

Anonymous comment on 2010-07-09 01:30

@grassmonk
Thanks for this tip I was about to ditch this awesome build due to this problem. Also not that if you put Auto-Detect it also works just fine.

grassmonk commented on 2010-07-08 20:50

I was experiencing some major slowdowns until I changed my proxy settings. It was set at "Use system proxy settings" and I changed it to "No proxy" and everything seems normal again. Whether this is an acceptable solution is another question altogether...

torpe23 commented on 2010-07-07 17:21

I've got a lot of issues with the last version of this firefox flavor. I don't know if firefox is the only responsible, but here are the problems I face now:
- firefox doesn't support resume after suspend, especially with the tab which contains gmail. The tab remains stuck and firefox doesn't respond.
- sometimes, a lot of swap activity happens. It comes from jdb2, and it stops as soon as I close the gmail tab...
- firefox is globally slower, the responses latency of firefox is very bad, particularly when a tab loads a website (I can't open other tabs, I just have to wait for the page to be loaded to gain access to firefox again).
For the two first issues, I'm wondering if the google gears extension could not be the one to blame. I don't really know how to be sure.. Is anyone facing the same problems ?

Llama commented on 2010-06-29 07:58

File dialogs won't open (silently)

csslayer commented on 2010-06-25 10:00

@Kalinda
I add a bug here http://bugs.archlinux.org/task/19969, actually i'm not sure this is about repo url without $arch... But I think it is..
uncomment the line with wget will make the repo works.

@scarecrow
eyecreate's problem is different from you, that problem is fixed after I update the firefox pkgbuild(use rm -f instead of rm)
I will check it, but I don't have 64bit environment. You meet this problem while build firefox or xulrunner?

Kalinda commented on 2010-06-24 17:02

Sadly that doesn't work either. And I guess it is a bug in the new Pacman because it syncs the repo just fine and it finds the packages when I search for them with Yaourt.

scarecrow commented on 2010-06-24 12:43

3.6.4 doesn't build for me too (Arch64):

/usr/lib/xulrunner-devel-1.9.2/bin/xpidl -m header -w -I. -I../../../dist/idl -I/usr/lib/xulrunner-devel-1.9.2/idl -o _xpidlgen/fuelIApplication fuelIApplication.idl
./fuelIApplication.idl:40: can't open included file extIApplication.idl for reading

csslayer commented on 2010-06-24 12:27

Werid.. that modification is not work again..

uncomment the line wget xfercommand will also make it work..

csslayer commented on 2010-06-24 10:00

@Kalinda

I think it's pacman's bug.

You can try to remove the last slash of the url, like this:
[csslayer-aur-repo]
Server=http://csslayer-aur-repo.googlecode.com/files

csslayer commented on 2010-06-24 09:59

@Limia

fixed, use rm -f instead of rm

Kalinda commented on 2010-06-24 05:19

Hello,
The repo (http://csslayer-aur-repo.googlecode.com/files/) is down, and going to that page brings up a 404, but the google code page is still there. Was the repo URL changed?

Llama commented on 2010-06-24 03:10

Can't build the package:

...

patching file browser/app/profile/firefox.js
rm: cannot remove `browser/components/shell/src/nsKDEShellService.cpp': No such file or directory
rm: cannot remove `browser/components/shell/src/nsKDEShellService.h': No such file or directory
rm: cannot remove `browser/components/shell/src/nsUnixShellService.cpp': No such file or directory
rm: cannot remove `browser/components/shell/src/nsUnixShellService.h': No such file or directory
rm: cannot remove `browser/base/content/browser-kde.xul': No such file or directory
Aborting...

csslayer commented on 2010-06-10 05:51

It's effected by the value of intl.locale.matchOS, I've sent you a mail.

csslayer commented on 2010-06-09 14:04

Hi Kalinda, sorry for reply late

I'm not sure what problem did you met, actually I'm not English speaker, and I'm using Chinese in my system. I will take a test on my computer later. (At company now)
I'm using official firefox-i18n.

Let me confirm something:
what's your locale setting, like LANG environment, you can check it in console by execute echo $LANG.
And will change LANG in console and execute firefox change the language?

csslayer commented on 2010-06-09 14:03

Hi Kalinda, I'm not sure what problem did you met, actually I'm not English speaker, and I'm using Chinese in my system. I will take a test on my computer later. (At company now)
I'm using official firefox-i18n.

Let me confirm something:
what's your locale setting, like LANG environment, you can check it in console by execute echo $LANG.
And will change LANG in console and execute firefox change the language?

Kalinda commented on 2010-06-01 20:13

Hello,

For some reason I can't change my language on this version of Firefox (http://bbs.archlinux.org/viewtopic.php?pid=767834), but I can when I run the shell script version (I'm 32 bit) from getfirefox.com.

Was this version patched in some way to make changing the languages impossible? I'd actually like the option to be able to switch back and forth between two languages, but nothing works like it should.

eyecreate commented on 2010-04-13 15:14

Here are pkgbuilds for the latest firefox with plugin isolation. Runs fine on my system, but there may be small details not fixed(like path names).
http://filebin.ca/rrwoty/xulrunner-kde-opensuse-1.9.2.3-1.src.tar.gz
http://filebin.ca/hufonm/firefox-kde-opensuse-3.6.3plugin1-1.src.tar.gz

csslayer commented on 2010-04-10 14:36

As far as I test, seems no need to rebuild :P

csslayer commented on 2010-04-10 08:18

I just update to new openssl today and I have not solved my problems yet......

Kalinda commented on 2010-04-09 21:06

Hmm, the packages in your repo, as you're no doubt aware, need to be recompiled against the new openssl... I think.

csslayer commented on 2010-04-06 05:20

sorry for late, I'm waiting for opensuse these days... but they don't get 3.6.3 seems, so I just use the old patch and seems 3.6.3 only has some security update so the old patch works well.

Anonymous comment on 2010-03-30 17:42

looks like autoconf2.13 is needed to build, please add it as dependency

csslayer commented on 2010-03-29 16:10

maybe use oxygen_kde as default theme is not good idea because of personas...

I will remove the line in kde.js..

rphx commented on 2010-03-29 13:23

btw. This version of firefox "doesn`t like" personas: font color remains always the same, no background set in the bottom (status) bar

rphx commented on 2010-03-29 13:15

My Fault. Built against xulrunner-1.9.2.2-1
Works now. Many thanks!

csslayer commented on 2010-03-29 03:25

@rphx
Really? Are you use 3.6.2-1 instead of 3.6.2-2, or you did something wrong?... Like compile firefox over old xulrunner?

ffjia commented on 2010-03-29 03:24

Good job, thanks csslayer

Anonymous comment on 2010-03-28 06:44

thanks :)

rphx commented on 2010-03-25 16:23

I experience segfaults with the latest version when open settings screen. Removing ~/.mozilla doesn`t help.

rphx commented on 2010-03-25 16:20

I experience segfaults with the latest version. Removing ~/.mozilla doesn`t help.

csslayer commented on 2010-03-25 05:28

hey really thanks!.. Last night it was not uploaded when I checked it..

actually I'm in a great trouble about port 1.9.1.9 to 1.9.2.2...

grassmonk commented on 2010-03-25 04:18

Updated SRPMs from openSUSE are available here: http://download.opensuse.org/repositories/mozilla:/Factory/openSUSE_Factory/src/

csslayer commented on 2010-03-25 03:25

Sorry for not updating this pkg, because opensuse doesn't update to xul 1.9.2.2, I need to do some work myself...

csslayer commented on 2010-03-25 03:23

@chupy35,
Add following code to bashrc or xinitrc or anything that you set the env variable.
---------------------
KDE_FULL_SESSION=true
export KDE_FULL_SESSION
xprop -root -f KDE_FULL_SESSION 8t -set KDE_FULL_SESSION true

KDE_SESSION_VERSION=4
export KDE_SESSION_VERSION
xprop -root -f KDE_SESSION_VERSION 32c -set KDE_SESSION_VERSION 4
---------------------

Or just start openbox with kde (systemsettings set the default wm).

Anonymous comment on 2010-03-24 20:59

how can i use this kde version in gnome or in openbox...

because i use dolphin and i like it more with qt, but when i am on openbox if i put in the console firefox, the default version is launched.