Closed Bug 1085144 Opened 11 years ago Closed 10 years ago

B2G OS X bootstrap script is not configured for OS X 10.10 (Yosemite)

Categories

(Firefox OS Graveyard :: Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emil, Unassigned)

Details

Attachments

(1 file)

43 bytes, text/x-github-pull-request
mwu
: review+
Details | Review
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20141019030207 Steps to reproduce: # On OS X 10.10 (Yosemite) git clone https://github.com/mozilla-b2g/B2G cat B2G/scripts/bootstrap-mac.sh | bash Actual results: The bootstrap-mac.sh script assumes that the latest OS X product version is 10.9 (e.g. $osx_version != "10.9"). It lacks support for detecting 10.10 SDK and is unable to correctly detect that 10.10 is a successor to 10.6 (e.g. $osx_version \> "10.6") Expected results: The bootstrap script should be able to handle OS X 10.10 properly.
Attachment #8507544 - Flags: review?(fabrice)
Comment on attachment 8507544 [details] [review] Pull request with proposed fix I have no way to test that, sorry. Redirecting to mwu.
Attachment #8507544 - Flags: review?(fabrice) → review?(mwu)
Attachment #8507544 - Flags: review?(mwu) → review?(vicamo)
Comment on attachment 8507544 [details] [review] Pull request with proposed fix That passed on Yosemite even with XCode 6.1. To build Firefox OS emulator on Mac, we need sdk_version 10.8 or lower, and one can still download older version of Xcode for emulator builds. However, I have no more access to flame-kk system backup, so I cannot verify building physical devices for you. Therefore, I don't have a successful full system build with this pull request merged, so I cannot give a r+ here. I would if I could. Thank you. Fabrice, could you help redirect the review again?
Flags: needinfo?(fabrice)
Attachment #8507544 - Flags: review?(vicamo)
Michael, you're the only one I know that sometimes build on Mac... feel free to redirect if you can't verify.
Flags: needinfo?(fabrice)
Attachment #8507544 - Flags: review?(mwu)
Comment on attachment 8507544 [details] [review] Pull request with proposed fix Looks ok to me. Haven't tested this, but it seems better with this fix than without, so r=me. If there are more issues, we can followup in other bugs.
Attachment #8507544 - Flags: review?(mwu) → review+
Ping.
Marking new because I can replicate
Status: UNCONFIRMED → NEW
Ever confirmed: true
Based on mwu's review+, I merged the pull request after giving it a whirl myself for the bootstrap. https://github.com/mozilla-b2g/B2G/commit/943f75de441ea73086f6663523e9ef5fd0900f2a note, I haven't tested making a build yet with this; concerns are that we may need to downgrade to 10.8 for emulators.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Thanks for the report and the patch!
Flags: needinfo?(emil)
Turns out also that 10.6 SDK url link is broken and finding 10.6 is broken. This is followed up in bug 875600.
Flags: needinfo?(emil)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: