Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

SlimerJS/XULRunner does not build on Mavericks #26846

Closed
swernerx opened this Issue · 6 comments

5 participants

@swernerx

Here is the output:

$ brew install slimerjs
==> Installing slimerjs dependency: xulrunner
==> Downloading http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/27.0.1/source/xulrunner-27.0.1.source.tar.bz2
Already downloaded: /Library/Caches/Homebrew/xulrunner-27.0.1.tar.bz2
==> Downloading https://gist.github.com/chrmoritz/7815762/raw/d1ec6a29fe3ee2e59f39f854371ee9978cdb684a/mozconfig
Already downloaded: /Library/Caches/Homebrew/xulrunner--mozconfig-1.0
==> make -f client.mk build
configure: error: failed to generate WebRTC Makefiles
*** Fix above errors and then restart with               "/Library/Developer/CommandLineTools/usr/bin/make -f client.mk build"
make[2]: *** [configure] Error 1
make[1]: *** [objdir/Makefile] Error 2
make: *** [build] Error 2

As you can see it happens during building xulrunner, not slimerjs directly.

I have the full details inside this gist:
https://gist.github.com/wpbasti/9103261

@mistydemeo
Owner
 File "./build/mac/find_sdk.py", line 82, in <module>
print main()
File "./build/mac/find_sdk.py", line 54, in main
sdks = [re.findall('^MacOSX(10\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)]
OSError: [Errno 2] No such file or directory: '/Library/Developer/CommandLineTools/SDKs'

Looks like it's making bad assumptions and assumes that it can always build using an SDK, even on the CLT (which has none).

@mistydemeo
Owner

Ping @chrmoritz

@chrmoritz

Look like xcode is required for webrtc.

@wpbasti Could you try brew install https://raw.github.com/chrmoritz/homebrew/xulrunner/Library/Formula/xulrunner.rb --without-webrtc ?

@adamv
Owner

Should we add that switch or just force depends_on :xcode?

@PJnes

Not sure if this is relevant, or just down to an odd configuration on my end, but I saw this issue even though I have Xcode and the SDKs installed. I have the CLTs installed as well, so it was still looking in there for the SDKs. Adding a symlink to the Xcode.app SDKs fixed the issue for me.

@chrmoritz

Mozilla assumes, that the sdks are in the default location, see: https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions/Mac_OS_X_Prerequisites#Firefox_Quick_Start (first red box). Running sudo xcode-select -switch /Applications/Xcode.app should fix this as well.

@chrmoritz chrmoritz referenced this issue from a commit in chrmoritz/homebrew
@chrmoritz chrmoritz xulrunner: depends_on :xcode + specify MacOS.sdk_path
Fixes #26846
Closes #26862
e54d8da
@chrmoritz chrmoritz referenced this issue from a commit in chrmoritz/homebrew
@chrmoritz chrmoritz xulrunner: depends_on :xcode + specify MacOS.sdk_path
Fixes #26846
Closes #26862
39bdddf
@chrmoritz chrmoritz referenced this issue from a commit in chrmoritz/homebrew
@chrmoritz chrmoritz xulrunner: depends_on :xcode + specify MacOS.sdk_path
:python is :build dependency
Fixes #26846
Closes #26862
53bd549
@chrmoritz chrmoritz referenced this issue from a commit in chrmoritz/homebrew
@chrmoritz chrmoritz xulrunner: depends_on :xcode + specify MacOS.sdk_path
:python is :build dependency + ENV.deparallelize
Fixes #26846
Closes #26862
3490d23
@BrewTestBot BrewTestBot referenced this issue from a commit in BrewTestBot/homebrew
@chrmoritz chrmoritz xulrunner: depends_on :xcode + specify MacOS.sdk_path :python is :bui…
…ld dependency + ENV.deparallelize Fixes #26846 Closes #26862
452ac4a
@adamv adamv closed this issue from a commit
@chrmoritz chrmoritz xulrunner: fix build
* depends_on :xcode
* specify MacOS.sdk_path :python is :build dependency
* ENV.deparallelize

Fixes #26846.
Closes #26862.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
46a9af4
@adamv adamv closed this in 46a9af4
@freeyoung freeyoung referenced this issue from a commit
@chrmoritz chrmoritz xulrunner: fix build
* depends_on :xcode
* specify MacOS.sdk_path :python is :build dependency
* ENV.deparallelize

Fixes #26846.
Closes #26862.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
37606eb
@verbitan verbitan referenced this issue from a commit
@chrmoritz chrmoritz xulrunner: fix build
* depends_on :xcode
* specify MacOS.sdk_path :python is :build dependency
* ENV.deparallelize

Fixes #26846.
Closes #26862.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
bc6972f
@ehershey ehershey referenced this issue from a commit in ehershey/homebrew
@chrmoritz chrmoritz xulrunner: fix build
* depends_on :xcode
* specify MacOS.sdk_path :python is :build dependency
* ENV.deparallelize

Fixes #26846.
Closes #26862.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
a2c8941
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.