Closed Bug 758381 Opened 12 years ago Closed 12 years ago

Build fail on MacOS X 10.7

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla15

People

(Reporter: hub, Assigned: hub)

References

Details

Attachments

(1 file)

Creating Python virtualenv
Traceback (most recent call last):
  File "/Users/hub/source/mozilla/mozilla-central/other-licenses/virtualenv/virtualenv.py", line 2270, in <module>
    main()
  File "/Users/hub/source/mozilla/mozilla-central/other-licenses/virtualenv/virtualenv.py", line 928, in main
    never_download=options.never_download)
  File "/Users/hub/source/mozilla/mozilla-central/other-licenses/virtualenv/virtualenv.py", line 1029, in create_environment
    site_packages=site_packages, clear=clear))
  File "/Users/hub/source/mozilla/mozilla-central/other-licenses/virtualenv/virtualenv.py", line 1155, in install_python
    fix_lib64(lib_dir)
  File "/Users/hub/source/mozilla/mozilla-central/other-licenses/virtualenv/virtualenv.py", line 1510, in fix_lib64
    if [p for p in distutils.sysconfig.get_config_vars().values()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py", line 498, in get_config_vars
    func()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py", line 407, in _init_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.6" but "10.7" during configure
creating content/xbl/public/Makefile
can't read /Users/hub/source/mozilla/mozilla-central/content/xbl/public/Makefile.in: No such file or directory
creating dom/system/cocoa/Makefile
can't read /Users/hub/source/mozilla/mozilla-central/dom/system/cocoa/Makefile.in: No such file or directory



I talked to Ted about this bug.

Will attach the patch that work here.
Comment on attachment 626961 [details] [diff] [review]
Unbreak build on MacOS 10.7. r=

Here is all the changes to pass on 10.7.

Not tested on TryServer yet
Attachment #626961 - Flags: review?(ted.mielczarek)
Comment on attachment 626961 [details] [diff] [review]
Unbreak build on MacOS 10.7. r=

Review of attachment 626961 [details] [diff] [review]:
-----------------------------------------------------------------

Sorry, I don't have 10.7 here yet to test with. This looks fine.
Attachment #626961 - Flags: review?(ted.mielczarek) → review+
Assignee: nobody → hub
Blocks: 661908
https://hg.mozilla.org/integration/mozilla-inbound/rev/c9239be4261f
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/c9239be4261f
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: