#18156: XCode 6.3 broken
--------------------------+------------------------
       Reporter:  vbraun  |        Owner:
           Type:  defect  |       Status:  new
       Priority:  major   |    Milestone:  sage-6.7
      Component:  build   |   Resolution:
       Keywords:          |    Merged in:
        Authors:          |    Reviewers:
Report Upstream:  N/A     |  Work issues:
         Branch:          |       Commit:
   Dependencies:          |     Stopgaps:
--------------------------+------------------------

Comment (by dimpase):

 Replying to [comment:8 jhpalmieri]:
 > It works for me, too. With only the 6.3.1 command line tools installed
 (not the gui Xcode app), gcc fails without the workaround, builds with it.
 `R` fails (#18254), so if I also fake the installation of `R` and `rpy2`
 by touching the appropriate files in `local/var/lib/sage/installed`, the
 rest of Sage builds and passes most tests. The only failures are related
 to the absence of `R` and `rpy2`.
 >
 > For the record, I used this change:
 > {{{
 > #!diff
 > diff --git a/build/pkgs/gcc/spkg-install b/build/pkgs/gcc/spkg-install
 > index 54ec8a5..72ad913 100755
 > --- a/build/pkgs/gcc/spkg-install
 > +++ b/build/pkgs/gcc/spkg-install
 > @@ -79,6 +79,9 @@ if { uname -sr | grep 'Darwin 14\.' ;} &>/dev/null;
 then
 >      else
 >          echo "Warning: header /usr/include/dispatch/object.h not found,
 not applying fix."
 >      fi
 > +    # Use 'bootstrap-debug' build configuration to force stripping of
 object
 > +    # files prior to comparison during bootstrap (broken by Xcode 6.3).
 > +    GCC_CONFIGURE="--with-build-config=bootstrap-debug $GCC_CONFIGURE"
 >  fi
 >
 >  # On OSX: isl/cloog libraries are almost certainly from Homebrew and
 won't work
 > }}}

 should we check for the version of Xcode, too?
 (this patch is not needed on Xcode <= 6.2)

--
Ticket URL: <http://trac.sagemath.org/ticket/18156#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to