#18254: osx R spkg error: expected ',' or '}' before '__attribute__'
-------------------------------------+-------------------------------------
Reporter: buck | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-
Component: packages: | duplicate/invalid/wontfix
standard | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by buck):
It's this one: http://trac.sagemath.org/ticket/17204
That ticket doesn't describe how to reproduce the relevant issue, or how
to check my libtool version. The version I find doesn't seem to be in the
same scheme as the one mentioned (2.4.3).
{{{
$ libtool -V
Apple Inc. version cctools-862
}}}
I'm interested because this patch *seems to* work, and I'm trying to see
if I've thereby regressed #17204:
{{{#!diff
diff --git a/src/bin/sage-env b/src/bin/sage-env
index 43f265b..8b26eda 100644
--- a/src/bin/sage-env
+++ b/src/bin/sage-env
@@ -268,17 +268,10 @@ fi
# Mac OS X-specific setup
if [ `uname` = "Darwin" ]; then
- # set MACOSX_DEPLOYMENT_TARGET -- if set incorrectly, this can
+ # unset MACOSX_DEPLOYMENT_TARGET -- if set incorrectly, this can
# cause lots of random "Abort trap" issues on OSX. see trac
# #7095 for an example.
- MACOSX_VERSION=`uname -r | awk -F. '{print $1}'`
- MACOSX_DEPLOYMENT_TARGET=10.$[$MACOSX_VERSION-4]
- if [ $MACOSX_DEPLOYMENT_TARGET = '10.10' ]; then
- # Workaround for the libtool version detection bug
- # See http://trac.sagemath.org/ticket/17204
- MACOSX_DEPLOYMENT_TARGET=10.9
- fi
- export MACOSX_DEPLOYMENT_TARGET
+ unset MACOSX_DEPLOYMENT_TARGET
fi
# Compile-time path for libraries. This is the equivalent of
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/18254#comment:30>
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.