Package Details: xulrunner 41.0.2-18

Git Clone URL: https://aur.archlinux.org/xulrunner.git (read-only, click to copy)
Package Base: xulrunner
Description: Mozilla Runtime Environment
Upstream URL: http://wiki.mozilla.org/XUL:Xul_Runner
Licenses: GPL, MPL, LGPL
Replaces: xulrunner-oss
Submitter: ConnorBehan
Maintainer: ConnorBehan
Last Packager: ConnorBehan
Votes: 4
Popularity: 0.000000
First Submitted: 2018-05-18 05:48 (UTC)
Last Updated: 2021-08-10 03:33 (UTC)

Latest Comments

1 2 3 Next › Last »

random-nick commented on 2021-08-09 23:26 (UTC) (edited on 2021-08-09 23:26 (UTC) by random-nick)

At some point makepkg.conf got some default options which gcc6 doesn't like, you can remove them with these lines before the make invocations in build() and package():

export CFLAGS="${CFLAGS/-fstack-clash-protection/}"
export CFLAGS="${CFLAGS/-fcf-protection/}"
export CXXFLAGS="${CXXFLAGS/-fstack-clash-protection/}"
export CXXFLAGS="${CXXFLAGS/-fcf-protection/}"

Also the prepare() function fails if you didn't clean the srcdir, that can be fixed by using the -p switch for mkdir on line 81 and the -f switch for ln on line 82

ConnorBehan commented on 2021-04-22 23:19 (UTC)

Thanks. Since this is affecting a few different forks, it looked easiest to just upload a mozilla-common AUR package.

test0 commented on 2021-04-22 20:13 (UTC) (edited on 2021-04-22 20:17 (UTC) by test0)

mozilla-common dependency is broken (see https://aur.archlinux.org/packages/firefox-kde-opensuse comments from 2021-04-)

cknoblauch commented on 2021-02-21 18:06 (UTC)

Thanks @BruceR, I got it to work by following your advice.

It seems that a preexisting version under /usr/lib/xulrunner-41.0.2 is reused during the build, and if it had been built against an older libicu version it would fail to run. Uninstalling and rebuilding xulrunner from scratch did the trick.

ector commented on 2021-01-23 22:21 (UTC)

how do you compile for over an hour and 4GB of space. but this is needed for firefox

BruceR commented on 2021-01-04 08:42 (UTC)

The build process seem to check if there is an existing xulrunner package installed and links against the specific version of libicui18n that is referenced by the already installed package. I removed xulrunner and the other packages that depended on it and it built fine using ibicui18n.so.68.2 You will need to rebuild and reinstall those dependent packages anyway.

zwastik commented on 2020-09-14 00:34 (UTC) (edited on 2020-09-14 00:40 (UTC) by zwastik)

ldconfig -p | grep libicui18n.so
    libicui18n.so.67 (libc6,x86-64) => /usr/lib/libicui18n.so.67
    libicui18n.so.67 (libc6) => /usr/lib32/libicui18n.so.67
    libicui18n.so (libc6,x86-64) => /usr/lib/libicui18n.so
    libicui18n.so (libc6) => /usr/lib32/libicui18n.so

As I said in my first post

    I have /usr/lib/libicui18n.so.67.1 in my system. Not libicui18n.so.64

The build process is asking for libicui18n.so.64 notice the 64 :)

/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: error while loading shared libraries: libicui18n.so.64: cannot open shared object file: No such file or directory

I guess I could manually symlink it, but there has to be a better way. I also reinstalled icu, but I got the same problem.

Thanks for your time

inugroho commented on 2020-09-12 10:46 (UTC) (edited on 2020-09-12 10:52 (UTC) by inugroho)

Hi @zwastik, I had not this issue before. But it mostly caused by missing lib. Could you check whether the lib exists by running ldconfig -p | grep libicui18n.so

Mine output is:

    libicui18n.so.67 (libc6,x86-64) => /usr/lib/libicui18n.so.67
    libicui18n.so (libc6,x86-64) => /usr/lib/libicui18n.so

This lib comes from icu package. I guess reinstalling icu will solve the issue.

HTH

zwastik commented on 2020-09-11 16:30 (UTC) (edited on 2020-09-11 16:57 (UTC) by zwastik)

I am having the same problem as @cknoblauch. I did a pikaur -Scc before building FWIW.

Executing /home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g /home/user/.cache/pikaur/build
/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/ -a /home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/obj-x86_64-unknow
n-linux-gnu/dist/bin/ -f /home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e precompile_start
upcache("resource://gre/");                                               
/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell: error while loading shared libraries: libi
cui18n.so.64: cannot open shared object file: No such file or directory
Traceback (most recent call last):  
File "/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 404, in <module>
main()
File "/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 398, in main
args.source, gre_path, base)
File "/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/toolkit/mozapps/installer/packager.py", line 156, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 103, in fatal
self._handle(self.FATAL, msg)
File "/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 98, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[2]: *** [/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1
make[2]: Leaving directory '/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu/xulrunner/installer'
make[1]: *** [/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/xulrunner/build.mk:12: install] Error 2
make[1]: Leaving directory '/home/user/.cache/pikaur/build/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [client.mk:408: install] Error 2
==> ERROR: A failure occurred in package().
Aborting...

I have /usr/lib/libicui18n.so.67.1 in my system. Not libicui18n.so.64

ConnorBehan commented on 2020-09-04 14:04 (UTC)

Ok, the checksums are now fixed. Your problem looks like something that can be fixed by make clean. It's trying to link to icu 64.