You are not logged in.

#1 2011-08-22 13:27:42

aya
Member
From: Japan
Registered: 2011-06-12
Posts: 51

[SOLVED] Firefox build error on check-sync-dirs.py

Hello,

Sorry, this is not yet about makepkg and ABS.
I am trying to build the trunk Firefox on Arch from http://hg.mozilla.org/mozilla-central as described on https://developer.mozilla.org/En/Simple_Firefox_build
It was building just fine up to about 1-2 weeks ago when I started having the following error at the very beginning of the build.

[user@host mozilla-central]$ make -f client.mk
make -f /home/user/tmp/mozilla-central/client.mk realbuild
make[1]: Entering directory `/home/user/tmp/mozilla-central'
Adding client.mk options from /home/user/tmp/mozilla-central/.mozconfig:
    MOZ_OBJDIR=/home/user/tmp/mozilla-central/firefox_result
    MOZ_MAKE_FLAGS=-j5
Traceback (most recent call last):
  File "/home/user/tmp/mozilla-central/js/src/config/check-sync-dirs.py", line 103, in <module>
    print >> sys.stderr, 'TEST-PASS | check-sync-dirs.py | %s <= %s' % (copy, original)
TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'
make[1]: *** [/home/user/tmp/mozilla-central/configure] Error 1
make[1]: Leaving directory `/home/user/tmp/mozilla-central'
make: *** [build] Error 2

This happens every time whether I use .mozconfig or not.
I tried to checkout the source anew, download the nightly source, but no joy.

On the latest Ubuntu, there are _no_ problems whatsoever. I can build.
I am wondering if the latest firefox trunk requires some more dependencies that I do not have installed.
OR maybe the problem is in the python version...

Any advice is appreciated.
thanks

Last edited by aya (2011-08-22 13:47:03)

Offline

#2 2011-08-22 13:37:50

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Firefox build error on check-sync-dirs.py

have you tried http://aur.archlinux.org/packages.php?ID=17820 ?

you also need to export PYTHON="/usr/bin/python2" before make

Last edited by wonder (2011-08-22 13:39:29)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-08-22 13:46:42

aya
Member
From: Japan
Registered: 2011-06-12
Posts: 51

Re: [SOLVED] Firefox build error on check-sync-dirs.py

Yes wonder, you are so very right.
I figured it out just five minutes before I saw your reply (I am serious).
Thanks lots! It is building now...

Offline

Board footer

Powered by FluxBB