[MacPorts] #61583: py38-graph-tool @2.33_0 +openmp Build Failure
MacPorts
noreply at macports.org
Wed Jun 9 16:12:00 UTC 2021
#61583: py38-graph-tool @2.33_0 +openmp Build Failure
----------------------------+----------------------
Reporter: bakergilx | Owner: (none)
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur
Port: py-graph-tool |
----------------------------+----------------------
Comment (by essandess):
I believe that I've isolated the cause: the environment variable
{{{MACOSX_DEPLOYMENT_TARGET}}} set during configurations causes this
issue.
When not set, {{{graph-tool}}} builds correctly, shown using the MWE build
below.
I'll post a PR with a {{{graph-tool}}} update.
Is there a quick way of preventing the environment variable
{{{MACOSX_DEPLOYMENT_TARGET}}} from being set?
MWE {{{graph-tool}}} build:
{{{
export CC=/opt/local/bin/clang-mp-9.0
export CXX=/opt/local/bin/clang++-mp-9.0
export CC_PRINT_OPTIONS='YES' CC_PRINT_OPTIONS_FILE='./.CC_PRINT_OPTIONS'
export CFLAGS='-pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
x86_64'
export CPATH='/opt/local/include'
export CXXFLAGS='-pipe -isystem/opt/local/libexec/boost/1.76/include -Os
-stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
x86_64'
export INSTALL='/usr/bin/install -c'
export LDFLAGS='-L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib
-Wl,-headerpad_max_install_names -L/opt/local/lib
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-arch x86_64'
export LIBRARY_PATH='/opt/local/lib'
export
PYTHON='/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9'
export
PYTHON_CPPFLAGS='-I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9'
export
PYTHON_EXTRA_LDFLAGS='-L/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/..
-lpython3.9'
export
PYTHON_LDFLAGS='-L/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/..
-lpython3.9'
export PYTHON_VERSION='3.9'
export DEVELOPER_DIR='/Library/Developer/CommandLineTools'
export SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk'
# export MACOSX_DEPLOYMENT_TARGET='11.0'
./configure --prefix=/opt/local --with-boost=/opt/local/libexec/boost/1.71
--with-boost-python=boost_python39-mt --with-boost-coroutine
=boost_coroutine-mt --exec-
prefix=/opt/local/Library/Frameworks/Python.framework/Versions/3.9 --with-
expat=yes --with-expat-inc=/opt/local/include --with-expat-
lib="-L/opt/local/lib -lexpat" --enable-openmp
make
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61583#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list