Closed Bug 875600 Opened 13 years ago Closed 8 years ago

bootstrap_mac.sh: can't locate 10.6 SDK correctly

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: denehs, Unassigned)

Details

Attachments

(1 file, 6 obsolete files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release) Build ID: 20130511120803 Steps to reproduce: run bootstrap_mac.sh Actual results: the script can't locate 10.6 SDK Expected results: should be able to locate 10.6 SDK
in line 318 it looks wrong: xcode_dev_path=`xcode-select --print-path` xcode_path=${xcode_dev_path%/Contents/Developer} should be: xcode_path=`xcode-select --print-path` xcode_dev_path=${xcode_path}/Contents/Developer
Sorry I'm new to this, have no idea how to put the url into attachment? Could someone guide me how to do it? Thanks!
Attached file Review on github (obsolete) —
Attachment #753581 - Flags: review?(gal)
OS: All → Mac OS X
Hardware: All → x86
Nice catch! denehs! Btw, please fill in your name field. Btw, Ken is your boss.
Assignee: nobody → denehs
Comment on attachment 753581 [details] Review on github <html> <head> <meta http-equiv="Refresh" content="2; url=https://github.com/mozilla-b2g/B2G/pull/247" /> </head> <body> Redirect to pull request #7808 </body> </html>
Attached file link to pull request (obsolete) —
Attachment #753666 - Flags: review?(gal)
Attachment #753581 - Flags: review?(gal)
Attached file link to pull request (obsolete) —
Attachment #753581 - Attachment is obsolete: true
Attachment #753666 - Attachment is obsolete: true
Attachment #753666 - Flags: review?(gal)
Attachment #753670 - Flags: review?(gal)
Attached file link to pull request (obsolete) —
Attachment #753670 - Attachment is obsolete: true
Attachment #753670 - Flags: review?(gal)
Attachment #753671 - Flags: review?(gal)
Attached file link to pull request (obsolete) —
Attachment #753671 - Attachment is obsolete: true
Attachment #753671 - Flags: review?(gal)
Attachment #753672 - Flags: review?(gal)
Attached file link to pull request (obsolete) —
Attachment #753672 - Attachment is obsolete: true
Attachment #753672 - Flags: review?(gal)
Attachment #753673 - Flags: review?(gal)
sorry for spamming, strange that I can't make the attachment format as text/html...
Attached file link to pull request —
Attachment #753673 - Attachment is obsolete: true
Attachment #753673 - Flags: review?(gal)
Attachment #753678 - Flags: review?(mwu)
Attachment #753678 - Flags: review?(eshepherd)
The PR didn't work for me; I commented on the PR about it.
Comment on attachment 753678 [details] link to pull request Clearing review since sheppy is reviewing.
Attachment #753678 - Flags: review?(mwu)
Eric, are you still looking into this? Shao, does this still reproduce?
Flags: needinfo?(eshepherd)
Flags: needinfo?(denehs)
Yes, it still happens on my mac without this patch
Flags: needinfo?(denehs)
Flags: needinfo?(eshepherd) → needinfo?
Flags: needinfo?
I can duplicate. they moved the location of the 10.6 sdk
Status: UNCONFIRMED → NEW
Ever confirmed: true
I think we need to update the download of 10.6 SDK. For some people the reason why the patch might not work is because the download of 10.6SDK is broken due to Apple moving it. https://github.com/denehs/B2G/blob/0f35bf011a26a19d8ad23d5fef38b67a98dc693b/scripts/bootstrap-mac.sh#L234 https://github.com/denehs/B2G/blob/0f35bf011a26a19d8ad23d5fef38b67a98dc693b/scripts/bootstrap-mac.sh#L252 The URL is changed. Currently our code has : https://developer.apple.com/downloads/download.action\?path=Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3.dmg The new URL is: http://adcdownload.apple.com/Developer_Tools/xcode_4.3_for_lion_21266/xcode_43_lion.dmg Could you accommodate your patch to include the change in URL please? We should probably place it behind a variable and just update the variable whenever Apple changes the location.
Flags: needinfo?(denehs)
Assignee: denehs → nobody
Flags: needinfo?(denehs)
well I no longer has the environment to test :( would be great if someone else can take this
I will be in Mountain View this week and have a 10.6 machine in a lab. I will see if I can try this out.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: