When compiling www-client/firefox-32.0 I get the error: File "/var/tmp/portage/www-client/firefox-32.0/work/mozilla-release/python/mozbuild/mozbuild/mozinfo.py", line 29 import os My guess is its using /usr/bin/python = /usr/bin/python3.3, and the mozinfo.py is require python2
missed a important row, error was: File "/var/tmp/portage/www-client/firefox-32.0/work/mozilla-release/python/mozbuild/mozbuild/mozinfo.py", line 29 import os ^ SyntaxError: invalid syntax
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Created attachment 386022 [details] emerge --info
Created attachment 386024 [details] build.log
Created attachment 386036 [details] build.log using python2.7 after switching to python 2.7 "eselect python set python2.7" also fails, but somewere else: The error occurred while processing the following file: /var/tmp/portage/www-client/firefox-32.0/work/mozilla-release/content/media/webrtc/moz.build The underlying problem is a Python syntax error on line 48: 'LoadMonitor
(In reply to Puggan from comment #5) > Created attachment 386036 [details] > build.log using python2.7 > > after switching to python 2.7 > "eselect python set python2.7" > > also fails, but somewere else: > The error occurred while processing the following file: > > > /var/tmp/portage/www-client/firefox-32.0/work/mozilla-release/content/media/ > webrtc/moz.build > > The underlying problem is a Python syntax error on line 48: > > 'LoadMonitor It seems -really- odd that this is the first time this bug has come up... First off, the version of python that is eselect'ed shouldn't make any difference. The mozilla build system only supports python2 and so 2.7 should always be used. I'll confirm in the code that any relevant shebangs are correct, but iirc $(PYTHON) is defined in ./configure so this should be fine. Is there by chance anything out of the ordinary in terms of your portage environment? ie some special hack you may have put into /etc/portage/profile/bashrc or similar, especially one related to python? (just asking, because it'll save me a massive amount of time for me if you do)
Looks like it's some kind of hardware failer, alot more packages fails to combile whit odd messages, for exemple can't re compile gcc or wget. Don't think you need to investigate this more. sorry for wasting some of your time.