You are not logged in.

#1 2011-02-23 00:31:54

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Firefox-hg not updated in a while

I have been using firefox-hg for quite a while, and have been happy with it.  Recently, I noticed that it has not updated, even though I update quite frequently.

It keeps failing, so I ran the install specifically and recieved the following output:

 5:59PM % yaourt -S firefox-hg                                                  ~ (knute) pts/1

==> Downloading firefox-hg PKGBUILD from AUR...
x firefox-hg.desktop
x PKGBUILD
x firefox.install
x mozilla-firefox-1.0-lang.patch
x firefox-hg-safe.desktop
x firefox.sh
x mozconfig

Comment by: Det on Fri, 11 Feb 2011 09:35:56 +0000
In which point did you think of actually fetching the sources?    

Comment by: mutantmonkey on Tue, 15 Feb 2011 02:53:52 +0000
The package seems to work fine without any code to fetch from Mercurial.
Erus: Thanks, I can try that out the next time I update.    

First Submitted: Wed, 18 Jun 2008 02:27:28 +0000    
firefox-hg 62212-1 : Standalone web browser from mozilla.org, latest development version
( Unsupported package: Potentially dangerous ! )
==> firefox-hg dependencies:
 - gtk2>=2.16.2 (already installed)
 - gcc-libs>=4.4.0 (already installed)
 - libidl2>=0.8.13 (already installed)
 - mozilla-common (already installed)
 - nss>=3.12.3 (already installed)
 - nspr>=4.8 (already installed)
 - libxt (already installed)
 - hunspell>=1.2.8 (already installed)
 - startup-notification>=0.10 (already installed)
 - pango>=1.24.0 (already installed)
 - desktop-file-utils (already installed)
 - cairo-tee (already installed)
 - libpng>=1.2.24-3 (already installed)
 - libjpeg (already installed)
 - lcms (already installed)
 - mesa (already installed)
 - libproxy (already installed)
 - mercurial (already installed)
 - zip (already installed)
 - pkgconfig (already installed)
 - diffutils (already installed)
 - imagemagick (already installed)
 - python2 (already installed)
 - xorg-server (already installed)
 - autoconf (already installed)
 - libnotify (already installed)
 - wireless_tools (already installed)
 - yasm (already installed)


==> Continue building firefox-hg ? [Y/n]
==> ------------------------------------
==> 
==> Building and installing package
==> Determining latest hg revision...
requesting all changes
adding changesets
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.1 (r271:86832, Feb 16 2011, 20:59:04) [GCC 4.5.2 20110127 (prerelease)]
** Mercurial Distributed SCM (version 1.7.5)
** Extensions loaded: 
Traceback (most recent call last):
  File "/usr/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 36, in dispatch
    return _runcatch(u, args)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 58, in _runcatch
    return _dispatch(ui, args)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 593, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 401, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 644, in _runcommand
    return checkargs()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 598, in checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 591, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 426, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/commands.py", line 736, in clone
    branch=opts.get('branch'))
  File "/usr/lib/python2.7/site-packages/mercurial/hg.py", line 337, in clone
    dest_repo.clone(src_repo, heads=revs, stream=stream)
  File "/usr/lib/python2.7/site-packages/mercurial/localrepo.py", line 1886, in clone
    return self.pull(remote, heads)
  File "/usr/lib/python2.7/site-packages/mercurial/localrepo.py", line 1295, in pull
    return self.addchangegroup(cg, 'pull', remote.url(), lock=lock)
  File "/usr/lib/python2.7/site-packages/mercurial/localrepo.py", line 1692, in addchangegroup
    if (cl.addgroup(source, csmap, trp) is None
  File "/usr/lib/python2.7/site-packages/mercurial/revlog.py", line 1336, in addgroup
    chunkdata = bundle.parsechunk()
  File "/usr/lib/python2.7/site-packages/mercurial/changegroup.py", line 173, in parsechunk
    node, p1, p2, cs = struct.unpack("20s20s20s20s", h)
struct.error: unpack requires a string argument of length 80

==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: Makepkg was unable to build firefox-hg.
==> Restart building firefox-hg ? [y/N]
==> -----------------------------------
==> 
==> WARNING: Following packages have not been installed:
    firefox-hg
 6:13PM %                                                                       ~ (knute) pts/1

It seems to have something to do with python, though, I don't have a clue what to do about it.  I have searched the forums, and found nothing regarding this issue.

I just checked my pacman.log and found that the last time it was upgraded was a month ago.

[2011-01-20 04:45] upgraded firefox-hg (60681-1 -> 60915-1)

Any ideas?


Knute

Offline

#2 2011-02-23 04:08:01

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Firefox-hg not updated in a while

its probably due to the change from python 2 to python 3. You will have to change the build files and point them to python2 instead of python since in Arch python by default points to python 3 now.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-02-23 13:18:08

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Firefox-hg not updated in a while

After looking at the build files for firefox-hg, I found that they do not use python.  It's hg that uses python, and those are already pointed to python2.


Knute

Offline

#4 2011-02-23 13:22:52

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Firefox-hg not updated in a while

For installation issues with an AUR package, please use it's designated page instead of the forums: http://aur.archlinux.org/packages.php?ID=17820

Closing.


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB