Build Failure on MacOS (Mac Air)

Issue #1 resolved
Scott Baden created an issue

This is for hashtag: 18f90c9b194ee0fe1907c852267d290532a7bf83

After doing . sourceme I attempt the first test

$ nobs run test/dist_object.cp /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'run': [Errno 2] No such file or directory

When I run python, I get

$ python Python 3.6.0 |Anaconda 4.3.1 (x86_64)| (default, Dec 23 2016, 13:19:00) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin

Python2 yields the following $ python2 Python 2.7.13 (default, Jul 18 2017, 09:17:00) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin Type "help", "copyright", "credits" or "license" for more information.

$ uname -a Darwin Scotts-MacBook-Air.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64 i386 MacBookAir7,2 Darwin

gcc -v gcc version 5.2.0 (GCC)

Comments (10)

  1. Scott Baden reporter

    This failed in the same way

    $ nobs exe test/dist_object.cpp /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'exe': [Errno 2] No such file or directory

  2. Dan Bonachea

    Your error message looks like something related to Python, which sounds like a question for John.

    It's worth mentioning that "/usr/bin/gcc" on modern OSX systems is actually clang, and I'm not sure John has ported the headers to clang yet. When I try on the OSX Yosemite test system in our machine room I get a bunch of template errors with clang (LLVM v7.0.0 / GNU 4.2.1). You may need to install an actual, recent gcc to make it work on OS X until that's fixed. Or maybe try a Linux system with modern gcc.

  3. Amir Kamil

    Is this still a problem? I don't know enough about nobs to know whether or not the referenced commit is relevant.

  4. Scott Baden reporter

    It's ok on my machine

    From bitbucket.org:berkeleylab/upcxx a5cdaca..25f6f26 develop -> origin/develop + 66870d0...cee3146 gen-completion -> origin/gen-completion (forced update) Updating a5cdaca..25f6f26

    ./install ~/bin/upcxx/ UPCXX revision: upcxx-2017.9.1-55-g25f6f26 System: Darwin Scotts-iMac.local 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64 i386 iMac16,2 Darwin ProductName: Mac OS X ProductVersion: 10.13.2 BuildVersion: 17C205

    UPC++ successfully installed

  5. Log in to comment