Solved Firefox cannot build

fernandel

Aspiring Daemon

Reaction score: 185
Messages: 759

Hi!

After last update I have a proble to build Firefox with Synth and I did try with make and it is the same:
Code:
[54403 refs]
Reticulating splines...
[32185 refs]
[34157 refs]
Traceback (most recent call last):
  File "./config.status", line 1079, in <module>
  config_status(**args)
  File "/usr/ports/www/firefox/work/firefox-47.0.1/python/mozbuild/mozbuild/config_status.py", line 162, in config_status
  definitions = list(definitions)
  File "/usr/ports/www/firefox/work/firefox-47.0.1/python/mozbuild/mozbuild/frontend/emitter.py", line 164, in emit
  for out in output:
  File "/usr/ports/www/firefox/work/firefox-47.0.1/python/mozbuild/mozbuild/frontend/reader.py", line 1066, in read_mozbuild
  raise bre
mozbuild.frontend.reader.BuildReaderError:
==============================
ERROR PROCESSING MOZBUILD FILE
==============================

The error occurred while processing the following file:

  /usr/ports/www/firefox/work/firefox-47.0.1/media/libyuv/moz.build

The error appears to be part of the mozbuild.frontend.reader Python module itself! It is possible you have stumbled across a legitimate bug.

Traceback (most recent call last):
  File "/usr/ports/www/firefox/work/firefox-47.0.1/python/mozbuild/mozbuild/frontend/reader.py", line 1062, in read_mozbuild
  metadata=metadata):
  File "/usr/ports/www/firefox/work/firefox-47.0.1/python/mozbuild/mozbuild/frontend/reader.py", line 1166, in _read_mozbuild
  non_unified_sources = non_unified_sources):
  File "/usr/ports/www/firefox/work/firefox-47.0.1/python/mozbuild/mozbuild/frontend/gyp_reader.py", line 110, in read_from_gyp
  params=params)
  File "/usr/ports/www/firefox/work/firefox-47.0.1/media/webrtc/trunk/tools/gyp/pylib/gyp/__init__.py", line 132, in Load
  params['parallel'])
  File "/usr/ports/www/firefox/work/firefox-47.0.1/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 2560, in Load
  variables, includes, depth, check, True)
  File "/usr/ports/www/firefox/work/firefox-47.0.1/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 391, in LoadTargetBuildFile
  build_file_data, PHASE_EARLY, variables, build_file_path)
  File "/usr/ports/www/firefox/work/firefox-47.0.1/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 1142, in ProcessVariablesAndConditionsInDict
  variables, build_file, 'variables')
  File "/usr/ports/www/firefox/work/firefox-47.0.1/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 1149, in ProcessVariablesAndConditionsInDict
  expanded = ExpandVariables(value, phase, variables, build_file)
  File "/usr/ports/www/firefox/work/firefox-47.0.1/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 881, in ExpandVariables
  (contents, p.returncode))
GypError: Call to '/usr/ports/www/firefox/work/firefox-47.0.1/obj-x86_64-portbld-freebsd10.3/_virtualenv/bin/python ./build/dir_exists.py ./third_party/platformsdk_win7/files/redist/x86' returned exit status 0. while trying to load /usr/ports/www/firefox/work/firefox-47.0.1/media/libyuv/libyuv.gyp

[173803 refs]
[25058 refs]
*** Fix above errors and then restart with\
  "gmake -f client.mk build"
gmake[2]: *** [/usr/ports/www/firefox/work/firefox-47.0.1/client.mk:384: configure] Error 1
gmake[2]: Leaving directory '/usr/ports/www/firefox'
===>  Script "configure" failed unexpectedly.
Please report the problem to gecko@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/firefox/work/firefox-47.0.1/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/ports/www/firefox
I didn't change anything in the settings. The same problem I have with libxul
I installed libyuvfrom ports and it didn't change anything.

Thank you.
 
OP
OP
fernandel

fernandel

Aspiring Daemon

Reaction score: 185
Messages: 759

It was not success. Synth deinstall and deleted 111 ports and almost all related to GNOME3 which doesn't work anymore.
 

tobik@

Daemon
Developer

Reaction score: 1,370
Messages: 1,909

A very long shot: Is the DEBUG option enabled in lang/python27? I've had trouble building Firefox in the past with it on. The error message I got was similar to yours.
 
Top