Package Details: firefox-kde-opensuse 48.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=48.0.1
Submitter: csslayer
Maintainer: Thaodan
Last Packager: Thaodan
Votes: 262
Popularity: 2.221085
First Submitted: 2009-12-11 09:10
Last Updated: 2016-08-23 12:01

Dependencies (33)

Required by (118)

Sources (21)

Latest Comments

Thaodan commented on 2016-08-23 12:03

sorry fixed

BasT commented on 2016-08-23 11:15

mozilla-gtk3_20.patch fails the validity check.

Thaodan commented on 2016-08-07 22:36

upkg, pgo is currently broken gave me:
../../build/unix/gold/ld: error: /home/bidar/dev/aur/firefox-kde-opensuse/src/firefox-48.0/obj-x86_64-pc-linux-gnu/toolkit/library/../../gfx/thebes/Unified_cpp_gfx_thebes1.
o: requires dynamic R_X86_64_PC32 reloc against '_ZN7gfxFont13GetShapedWordIhEEP13gfxShapedWordPN7mozilla3gfx10DrawTargetEPKT_jjNS3_7unicode6ScriptEbijP18gfxTextPerfMetrics
' which may overflow at runtime; recompile with -fPIC
../../build/unix/gold/ld: error: read-only segment has dynamic relocations
/home/bidar/dev/aur/firefox-kde-opensuse/src/firefox-48.0/obj-x86_64-pc-linux-gnu/toolkit/library/../../gfx/thebes/Unified_cpp_gfx_thebes1.o:Unified_cpp_gfx_thebes1.cpp:fun
ction gfxTextRun::SetSpaceGlyph(gfxFont*, mozilla::gfx::DrawTarget*, unsigned int, unsigned short) [clone .cold.362]: error: undefined reference to 'gfxShapedWord* gfxFont:
:GetShapedWord<unsigned char>(mozilla::gfx::DrawTarget*, unsigned char const*, unsigned int, unsigned int, mozilla::unicode::Script, bool, int, unsigned int, gfxTextPerfMet
rics*)'

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?

All comments