Package Details: firefox-kde-opensuse 134.0.2-1

Git Clone URL: https://aur.archlinux.org/firefox-kde-opensuse.git (read-only, click to copy)
Package Base: firefox-kde-opensuse
Description: Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE
Upstream URL: https://github.com/openSUSE/firefox-maintenance
Keywords: browser gecko web
Licenses: GPL, MPL, LGPL
Conflicts: firefox
Provides: firefox
Submitter: csslayer
Maintainer: Thaodan
Last Packager: Thaodan
Votes: 336
Popularity: 0.008703
First Submitted: 2009-12-11 09:10 (UTC)
Last Updated: 2025-02-03 15:56 (UTC)

Required by (180)

Sources (35)

Pinned Comments

Thaodan commented on 2021-04-20 17:40 (UTC) (edited on 2021-04-21 22:45 (UTC) by Thaodan)

If you have issues with this package visit gitlab and read the readme first.

Latest Comments

« First ‹ Previous 1 .. 87 88 89 90 91 92 93 94 95 96 97 .. 140 Next › Last »

bakgwailo commented on 2013-01-11 17:34 (UTC)

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 (UTC)

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 (UTC)

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

tubal-cain commented on 2013-01-11 14:52 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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?