Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubling building in Mac OS X 10.7.1 Lion #31

Closed
DartBot opened this issue Oct 10, 2011 · 7 comments
Closed

Troubling building in Mac OS X 10.7.1 Lion #31

DartBot opened this issue Oct 10, 2011 · 7 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Oct 10, 2011

This issue was originally filed by [email protected]


What steps will reproduce the problem?

  1. Download the source for everything or the standalone VM
  2. Run tools/build.py

What is the expected output? What do you see instead?

I expected Dart to build successfully. Instead, I get a generic error:

=== BUILD NATIVE TARGET libdart_vm OF PROJECT dart-runtime WITH CONFIGURATION Debug_ia32 ===
** BUILD FAILED **

What version of the product are you using? On what operating system?

Dart SVN
Mac OS X 10.7.1 Lion
gcc 4.2.1
Xcode 4.1

Please provide any additional information below.

$ cd runtime/
$ ../tools/build.py
xcodebuild -project dart-runtime.xcodeproj -target All -parallelizeTargets -configuration Debug_ia32 SYMROOT=/Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild
Build settings from command line:
    SYMROOT = /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild

=== BUILD AGGREGATE TARGET generate_corelib_cc_file OF PROJECT dart-runtime WITH CONFIGURATION Debug_ia32 ===
Check dependencies

PhaseScriptExecution "Action "generate_corelib_cc"" xcodebuild/dart-runtime.build/Debug_ia32/generate_corelib_cc_file.build/Script-61B70A4850462E150C53D7EB.sh
    cd /Users/andrew/Desktop/src/dart/dart/runtime
    /bin/sh -c /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild/dart-runtime.build/Debug_ia32/generate_corelib_cc_file.build/Script-61B70A4850462E150C53D7EB.sh
note: Generating /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild/DerivedSources/Debug_ia32/corelib_gen.cc file.

=== BUILD AGGREGATE TARGET generate_corelib_impl_cc_file OF PROJECT dart-runtime WITH CONFIGURATION Debug_ia32 ===
PhaseScriptExecution "Action "generate_corelib_impl_cc"" xcodebuild/dart-runtime.build/Debug_ia32/generate_corelib_impl_cc_file.build/Script-0F71A7DFBA54688A93AB479D.sh
    cd /Users/andrew/Desktop/src/dart/dart/runtime
    /bin/sh -c /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild/dart-runtime.build/Debug_ia32/generate_corelib_impl_cc_file.build/Script-0F71A7DFBA54688A93AB479D.sh
note: Generating /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild/DerivedSources/Debug_ia32/corelib_impl_gen.cc file.

=== BUILD NATIVE TARGET libdart_vm OF PROJECT dart-runtime WITH CONFIGURATION Debug_ia32 ===
** BUILD FAILED **

BUILD FAILED

@DartBot
Copy link
Author

DartBot commented Oct 10, 2011

This comment was originally written by [email protected]


e.g. this works for me (in a Makefile):

cd compiler && XCODE_XCCONFIG_FILE=$(PWD)/xcconfig ../tools/build.py
--mode $(MODE) --arch dartc

note that $(PWD) resolves before the cd!

xcconfig looks like:

SDKROOT=macosx10.6

@DartBot
Copy link
Author

DartBot commented Oct 10, 2011

This comment was originally written by [email protected]


These instructions for Chromium may also be relevant, as it uses the same dependencies system. I have not personally verified.

http://code.google.com/p/chromium/wiki/Xcode4Tips

@sgjesse
Copy link
Contributor

sgjesse commented Oct 10, 2011

Issue #38 has been merged into this issue.

@DartBot
Copy link
Author

DartBot commented Oct 11, 2011

This comment was originally written by [email protected]


Set owner to @sgjesse.
Added Area-Compiler, Accepted labels.

@DartBot
Copy link
Author

DartBot commented Oct 11, 2011

This comment was originally written by [email protected]


Removed Area-Compiler label.
Added Area-VM label.

@iposva-google
Copy link
Contributor

Set owner to @iposva-google.

@iposva-google
Copy link
Contributor

Added Duplicate label.
Marked as being merged into #18.

@DartBot DartBot added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. closed-duplicate Closed in favor of an existing report labels Oct 12, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

3 participants