Package Details: firefox-nightly-hg r511851.df59b74d33d7-1

Git Clone URL: https://aur.archlinux.org/firefox-nightly-hg.git (read-only, click to copy)
Package Base: firefox-nightly-hg
Description: Standalone web browser from mozilla.org, nightly version
Upstream URL: http://www.mozilla.org/projects/firefox
Licenses: GPL, MPL, LGPL
Conflicts: firefox-nightly
Submitter: LinuxVieLoisir
Maintainer: LinuxVieLoisir
Last Packager: LinuxVieLoisir
Votes: 0
Popularity: 0.000000
First Submitted: 2019-05-05 14:26
Last Updated: 2020-01-27 23:21

Dependencies (39)

Required by (1)

Sources (3)

Latest Comments

hugegameartgd commented on 2020-01-31 18:06

Thanks, it works with

build() {
 cd /usr/bin && sudo ln -sf python2 python && cd - && cd /usr/lib/ && sudo rm -rf python && sudo ln -sf python2 python && cd -
  cd "hg"

  make all
  make -C "contrib/chg"
}

in the mercurial-hg PKGBUILD, so for me the solution is to use self-compiled mercurial with python 2.7 for cloning and compiling firefox-nightly-hg.

Any other mercurial version uses system python 3 / python 3.8 which didn't work for me.

I also installed python-virtualenv and python2-virtualenv, don't know if it's necessary.

LinuxVieLoisir commented on 2020-01-30 11:55

@hugegameartgd : Normally it should compile with python 2 I find it amazing who compiles it for you with python 3

hugegameartgd commented on 2020-01-29 20:05

I get this error when cloning (output is translated):

[user@archlinux firefox-nightly-hg] $ makepkg -si
==> Create package: firefox-nightly-hg r511851.df59b74d33d7-1 (Wed 29 Jan 2020 20:50:38 CET)
==> Check runtime dependencies ...
==> Check buildtime dependencies ...
==> Receive sources ...
  -> Update the mozilla-central hg repo ...
Retrieve from https://hg.mozilla.org/mozilla-central
Search for changes
No changes found
  -> firefox-nightly.desktop found
  -> vendor.js found
==> Check source files with sha512sums ...
    mozilla-central ... skipped
    firefox-nightly.desktop ... Run through
    vendor.js ... Goed through
==> Extract sources ...
  -> Make a working copy of the mozilla-central hg repo ...
Get from /run/media/user/compile/yay/firefox-nightly-hg/mozilla-central
Search for changes
No changes found
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.8.1 (default, Jan 22 2020, 06:38:00) [GCC 9.2.0]
** Mercurial Distributed SCM (Version 5.2.1)
** Extensions loaded: fsmonitor, purge
Traceback (most recent call last):
  File "/ usr / bin / hg", line 36, in <module>
    dispatch.run ()
  File "/usr/lib/python3.8/site-packages/mercurial/dispatch.py", line 111, in run
    status = dispatch (req)
  File "/usr/lib/python3.8/site-packages/mercurial/dispatch.py", line 250, in dispatch
    ret = _runcatch (req) or 0
  File "/usr/lib/python3.8/site-packages/mercurial/dispatch.py", line 424, in _runcatch
    return _callcatch (ui, _runcatchfunc)
  File "/usr/lib/python3.8/site-packages/mercurial/dispatch.py", line 433, in _callcatch
    return scmutil.callcatch (ui, func)
  File "/usr/lib/python3.8/site-packages/mercurial/scmutil.py", line 177, in callcatch
    return func ()
  File "/usr/lib/python3.8/site-packages/mercurial/dispatch.py", line 414, in _runcatchfunc
    return _dispatch (req)
  File "/usr/lib/python3.8/site-packages/mercurial/dispatch.py", line 1173, in _dispatch
    return runcommand (
  File "/usr/lib/python3.8/site-packages/mercurial/dispatch.py", line 862, in runcommand
    ret = _runcommand (ui, options, cmd, d)
  File "/usr/lib/python3.8/site-packages/mercurial/dispatch.py", line 1185, in _runcommand
    return cmdfunc ()
  File "/usr/lib/python3.8/site-packages/mercurial/dispatch.py", line 1171, in <lambda>
    d = lambda: util.checksignature (func) (ui, * args, ** strcmdopt)
  File "/usr/lib/python3.8/site-packages/mercurial/util.py", line 1843, in check
    return func (* args, ** kwargs)
  File "/usr/lib/python3.8/site-packages/mercurial/commands.py", line 7693, in update
    ret = hg.updatetotally (
  File "/usr/lib/python3.8/site-packages/mercurial/hg.py", line 1106, in updatetotally
    ret = _clean (repo, checkout)
  File "/usr/lib/python3.8/site-packages/mercurial/hg.py", line 1043, in clean
    stats = updaterepo (repo, node, True)
  File "/usr/lib/python3.8/site-packages/mercurial/hg.py", line 1018, in updaterepo
    return mergemod.update (
  File "/usr/lib/python3.8/site-packages/hgext/fsmonitor/__init__.py", line 885, in wrapupdate
    return orig (
  File "/usr/lib/python3.8/site-packages/mercurial/merge.py", line 2557, in update
    stats, getfiledata = applyupdates (
  File "/usr/lib/python3.8/site-packages/mercurial/merge.py", line 1927, in applyupdates
    for final, res in prog:
  File "/usr/lib/python3.8/site-packages/mercurial/worker.py", line 243, in _posixworker
    res = util.pickle.load (key.fileobj)
_pickle.UnpicklingError: pickle data was truncated
==> ERROR: Error updating the copy of the mozilla-central hg repository
    Cancel ...
[user@archlinux firefox-nightly-hg] $

I tried this config in ~/.hgrc:

[extensions]
fsmonitor =
purge =
[format]
sparse-revlog = no

I also tried it with mercurial, mercurial-python3, mercurial-hg or mercurial-stable installed. Upgrading the /src repo with hg debugupgraderepo --run also didn't fix it.

Seems to be an upstream issue either with firefox or mercurial (or python).