Package Details: xulrunner 41.0.2-16

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.007315
First Submitted: 2018-05-18 05:48
Last Updated: 2019-08-09 20:30

Sources (11)

Latest Comments

1 2 Next › Last »

quequotion commented on 2019-12-09 07:21

Trying to build with -fpermissive, as per same error as ynikitenko; the next error is:

ld: ../../tools/profiler/Unified_cpp_tools_profiler0.o: in function `gettid.localalias.0':
/build/xulrunner/src/mozilla-release/tools/profiler/platform-linux-lul.h:25: multiple definition of `gettid'; ../../tools/profiler/platform-linux.o:/build/xulrunner/src/mozilla-release/tools/profiler/platform-linux-lul.h:25: first defined here
ld: ../../tools/profiler/Unified_cpp_tools_profiler1.o: in function `gettid':
/build/xulrunner/src/mozilla-release/tools/profiler/platform-linux-lul.h:25: multiple definition of `gettid'; ../../tools/profiler/platform-linux.o:/build/xulrunner/src/mozilla-release/tools/profiler/platform-linux-lul.h:25: first defined here
make[5]: *** [/build/xulrunner/src/mozilla-release/config/rules.mk:828: libxul.so] Error 1
make[5]: Leaving directory '/build/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library'
make[4]: *** [/build/xulrunner/src/mozilla-release/config/recurse.mk:71: toolkit/library/target] Error 2
make[4]: Leaving directory '/build/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [/build/xulrunner/src/mozilla-release/config/recurse.mk:33: compile] Error 2
make[3]: Leaving directory '/build/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [/build/xulrunner/src/mozilla-release/config/rules.mk:549: default] Error 2
make[2]: Leaving directory '/build/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [/build/xulrunner/src/mozilla-release/client.mk:401: realbuild] Error 2
make[1]: Leaving directory '/build/xulrunner/src/mozilla-release'
make: *** [client.mk:171: build] Error 2

Even with --quiet the output from xulrunner is massive.

ynikitenko commented on 2019-11-17 17:08

I have this error,

builds/xulrunner/src/mozilla-release/tools/profiler/platform-linux-lul.h:24:21: error: ‘pid_t gettid()’ was declared ‘extern’ and later ‘static’ [-fpermissive] static inline pid_t gettid() ^~~~~~ In file included from /usr/include/unistd.h:1170:0, from ../../dist/system_wrappers/unistd.h:3, from /home/yaroslav/builds/xulrunner/src/mozilla-release/tools/profiler/AutoObjectMapper.cpp:8, from /home/yaroslav/builds/xulrunner/src/mozilla-release/obj-x86_64-unknown-linux-gnu/tools/profiler/Unified_cpp_tools_profiler0.cpp:2: /usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘__pid_t gettid()’ extern __pid_t gettid (void) __THROW;

A more complete log is here: https://pastebin.com/qiYeS0uE (I couldn't paste all log because of pastebin 500 kB restriction).

ConnorBehan commented on 2019-09-19 16:06

I didn't realize that the build system tries to call pip. Maybe if python2-pip is installed, it gets confused.

c3n21 commented on 2019-09-19 14:42

I'm still having problem building it. Here's the complete output, any help would be appreciated :)

https://pastebin.com/iGaMk5E9

dreieck commented on 2019-08-06 09:16

@ConnorBehan: The fix for the problem mentioned at 2018-09-02 and fix posted on 2018-10-17 and re-confirmed on 2019-01-11 and 2019-02-07 is still pending.

I now confirm again on 2019-08-06 that this patch makes xulrunner building again.

Can you please add it to the PKGBUILD?

Package has already been flagged out of date.

The patch download URL is <https://bugzilla.mozilla.org/attachment.cgi?id=8837466>.

Step-by-step-instruction for the PKGBUILD, to make it even easier for you to add it:

  • to the source-array, append
'0001-Bug-1329798-Include-sys-sysmacros.h-for-major-minor-on-Linux.patch::https://bugzilla.mozilla.org/attachment.cgi?id=8837466'
  • To the sha256sums-array, append
'815cf186cd697ee3277d7b661285f13b5db65a582379df78696d7502fb09b520'
  • In the prepare()-function, add

  # Fix for Bug 1329798 "Use of major & minor macros without including sys/sysmacros.h"
  patch -Np1 -i ../0001-Bug-1329798-Include-sys-sysmacros.h-for-major-minor-on-Linux.patch

after patch -Np1 -i ../Bug-1269171.patch.

uzuki007 commented on 2019-02-07 10:21

@dushistov suggestion work. Just download the patch and add in PKGBUILD. Works for me. Thanks

andalenavals commented on 2019-01-11 10:50

@dushistov solution seems not to work for me. @ConnorBehan could you update the PKGBUILD with that patch? Thanks in advance.

dushistov commented on 2018-10-17 01:02

I have to apply patch from here https://bugzilla.mozilla.org/show_bug.cgi?id=1329798 to fix build with current arch linux (glibc 2.28-4).

ConnorBehan commented on 2018-09-20 20:03

This is part of why it was moved to the AUR. Xulrunner, like all Mozilla crap, is written in such a way that it will need constant updates whenever a new version of one of its dependencies comes out. Eventually, I ran out of ideas to make it build.

haxalicious commented on 2018-09-20 18:37

@PhotonX Same problem here. I get the exact same error at the exact same point.