Compiling with --enable-metro on OSX does not work. Error /bin/sh: ./tools/clang/scripts/plugin_flags.sh: Permission denied

RESOLVED INCOMPLETE

Status

()

Core
WebRTC
P3
normal
Rank:
35
RESOLVED INCOMPLETE
6 years ago
3 years ago

People

(Reporter: ally, Unassigned)

Tracking

Trunk
All
Mac OS X
Points:
---

Firefox Tracking Flags

(firefox19-)

Details

(Reporter)

Description

6 years ago
NB: while this is technically on windows, 
while mbrubeck did patch to allow elm to build on non windows platforms, mac was apparently not tested.[1]  

I showed it to :gps, who is a build peer, who said 'uh, they broke make'


<...normal build goo...>
Updating projects from gyp files...
/bin/sh: ./tools/clang/scripts/plugin_flags.sh: Permission denied
Traceback (most recent call last):
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/build/gyp_chromium", line 171, in <module>
    sys.exit(gyp.main(args))
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/tools/gyp/pylib/gyp/__init__.py", line 471, in main
    options.circular_check)
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/tools/gyp/pylib/gyp/__init__.py", line 111, in Load
    depth, generator_input_info, check, circular_check)
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 2289, in Load
    depth, check)
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 387, in LoadTargetBuildFile
    build_file_path)
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 932, in ProcessVariablesAndConditionsInDict
    variables, build_file, 'variables')
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 984, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, is_late, variables, build_file)
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 861, in ProcessConditionsInDict
    variables, build_file)
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 939, in ProcessVariablesAndConditionsInDict
    expanded = ExpandVariables(value, is_late, variables, build_file)
  File "/Users/mozilla/moz/hg/elm/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 696, in ExpandVariables
    (contents, p.returncode))
Exception: Call to './tools/clang/scripts/plugin_flags.sh' returned exit status 126. while trying to load /Users/mozilla/moz/hg/elm/media/webrtc/trunk/peerconnection.gyp
configure: error: failed to generate WebRTC Makefiles
*** Fix above errors and then restart with               "make -f client.mk build"
make[2]: *** [configure] Error 1
make[1]: *** [obj-x86_64-apple-darwin11.4.2/Makefile] Error 2


[1] http://limpet.net/mbrubeck/2012/09/19/metro-firefox-without-windows.html
Blocks: 792509

Updated

6 years ago
Component: Build Config → General
Product: Firefox → Firefox for Metro
Version: unspecified → Trunk
I am having the same bug.  Anyone know how to resolve it so I can get my build working?
Why is this under metro?  This looks like it's in webrtc code.
We did a mass-move of bugs into the new Firefox for Metro product and probably caught some things we shouldn't have.
Component: General → WebRTC
Product: Firefox for Metro → Core
QA Contact: jsmith
Version: Trunk → Other Branch
OS: Windows 8 Metro → Mac OS X
Hardware: x86 → All
Summary: Compiling Metro on OSX does not work. Error /bin/sh: ./tools/clang/scripts/plugin_flags.sh: Permission denied → Compiling on OSX does not work. Error /bin/sh: ./tools/clang/scripts/plugin_flags.sh: Permission denied
Version: Other Branch → Trunk
.mozconfig - http://pastebin.mozilla.org/1865284.  

hg log -l 5 - http://pastebin.mozilla.org/1865282.  

Errors after a clobber - http://pastebin.mozilla.org/1865281

Using Xcode 4.5.1 with Command Line tools installed on Mac OS X 10.7.5

Updated

6 years ago
Whiteboard: [WebRTC], [blocking-webrtc-]

Updated

6 years ago
Whiteboard: [WebRTC], [blocking-webrtc-] → [WebRTC]

Updated

6 years ago
Whiteboard: [WebRTC] → [WebRTC], [blocking-webrtc-]

Updated

6 years ago
Priority: -- → P3

Updated

6 years ago
Severity: normal → blocker

Updated

6 years ago
tracking-firefox19: --- → ?

Comment 5

6 years ago
Release builds are unaffected, therefore this doesn't track for release. What's the last revision that people were able to build successfully?
tracking-firefox19: ? → -
Keywords: regressionwindow-wanted
This is only on the "elm" branch with the Metro Firefox UI enabled.  As far as I know this has never worked on OS X.  (Building Metro on OS X is not a supported configuration; it's just something we'd like to enable for developers if possible.)
Summary: Compiling on OSX does not work. Error /bin/sh: ./tools/clang/scripts/plugin_flags.sh: Permission denied → Compiling with --enable-metro on OSX does not work. Error /bin/sh: ./tools/clang/scripts/plugin_flags.sh: Permission denied

Updated

5 years ago
Severity: blocker → normal

Updated

5 years ago
QA Contact: jsmith
Don't think this is worth doing a regression window on.
Keywords: regressionwindow-wanted

Updated

3 years ago
backlog: --- → webRTC+
Rank: 35
Whiteboard: [WebRTC], [blocking-webrtc-]
Metro support was removed.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.