<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Running the basic build command by hand yields a successful build:<div class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class=""><div class="">/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg build -j12</div></div></blockquote></div><br class=""></div></div><div class="">This suggests that one of the environment variables is causing the issue.</div><div class=""><br class=""></div><div class="">How does one remove all environment variables from the build phase?</div><div class=""><br class=""></div><div class="">Simply invoking</div><div class=""><br class=""></div><div class="">build.env</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">doesn’t change anything and the default build environment is visible in the log:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build Environment:</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build CC='/usr/bin/clang'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build CC_PRINT_OPTIONS='YES'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_ports_python_py-note-seq/py37-note-seq/work/.CC_PRINT_OPTIONS'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build CFLAGS='-arch x86_64 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build CPATH='/opt/local/include'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build CXX='/usr/bin/clang++'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build CXXFLAGS='-arch x86_64 -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build DEVELOPER_DIR='/Applications/Xcode.app/Contents/Developer'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build F90FLAGS='-m64'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build FCFLAGS='-m64'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build FFLAGS='-m64'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build LDFLAGS='-arch x86_64'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build LIBRARY_PATH='/opt/local/lib'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build MACOSX_DEPLOYMENT_TARGET='10.15'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build OBJC='/usr/bin/clang'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build OBJCFLAGS='-arch x86_64 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 14px;" class="">:debug:build SDKROOT='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'</span></div></blockquote></div></body></html>