sudo port -v install python27 . . . copy/paste last few lines preceding install hanging 0:02:20 load avg: 1.42 [271/400] test_pydoc 0:02:21 load avg: 1.42 [272/400] test_pyexpat -- test_pydoc failed (env changed) 0:02:21 load avg: 1.42 [273/400] test_queue 0:02:25 load avg: 1.42 [274/400] test_quopri 0:02:25 load avg: 1.42 [275/400] test_random -- test_quopri failed (env changed) 0:02:25 load avg: 1.46 [276/400] test_re 0:02:25 load avg: 1.46 [277/400] test_readline 0:02:25 load avg: 1.46 [278/400] test_regrtest -- test_readline failed 0:02:27 load avg: 1.46 [279/400] test_repr -- test_regrtest failed (env changed) 0:02:27 load avg: 1.46 [280/400] test_resource 0:02:27 load avg: 1.46 [281/400] test_rfc822 0:02:28 load avg: 1.46 [282/400] test_richcmp 0:02:28 load avg: 1.46 [283/400] test_rlcompleter 0:02:28 load avg: 1.46 [284/400] test_robotparser 0:02:28 load avg: 1.46 [285/400] test_runpy 0:02:31 load avg: 1.43 [286/400] test_sax 0:02:31 load avg: 1.43 [287/400] test_scope 0:02:31 load avg: 1.43 [288/400] test_scriptpackages 0:02:31 load avg: 1.43 [289/400] test_select 0:02:42 load avg: 1.36 [290/400] test_set 0:02:43 load avg: 1.36 [291/400] test_setcomps 0:02:43 load avg: 1.36 [292/400] test_sets 0:02:43 load avg: 1.36 [293/400] test_sgmllib 0:02:43 load avg: 1.36 [294/400] test_sha 0:02:43 load avg: 1.36 [295/400] test_shelve 0:02:45 load avg: 1.36 [296/400] test_shlex 0:02:45 load avg: 1.36 [297/400] test_shutil 0:02:45 load avg: 1.36 [298/400] test_signal 0:03:51 load avg: 1.11 [299/400] test_site -- test_signal passed in 1 min 6 sec 0:03:51 load avg: 1.11 [300/400] test_slice -- test_site failed (env changed) 0:03:51 load avg: 1.11 [301/400] test_smtplib 0:03:52 load avg: 1.11 [302/400] test_smtpnet 0:03:52 load avg: 1.11 [303/400] test_socket -- test_smtpnet skipped (resource denied) Unhandled exception in thread started by > Traceback (most recent call last): File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/work/Python-2.7.18/Lib/test/test_socket.py", line 163, in clientRun self.clientTearDown() File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/work/Python-2.7.18/Lib/test/test_socket.py", line 1404, in clientTearDown self.cli.close() AttributeError: 'NetworkConnectionAttributesTest' object has no attribute 'cli' Search main.log for fail or error. . . billvinyard@Bills-MacBook-Pro ~ % egrep 'error|fail' /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/main.log :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 :info:configure checking for gai_strerror... yes :info:configure checking for hstrerror... yes :info:build /usr/bin/clang -c -fno-strict-aliasing -fno-common -dynamic -pipe -I/opt/local/libexec/openssl11/include -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fprofile-instr-generate -flto -g -I. -IInclude -I./Include -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include/db48 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DPy_BUILD_CORE -o Python/errors.o Python/errors.c :info:build ar rc libpython2.7.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o Python/mactoolboxglue.o Python/thread.o :info:build echo "generate-posix-vars failed" ; \ :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build failure. :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build failure. :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build failure. :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build 0:00:02 load avg: 1.46 [ 25/400] test_array -- test_argparse failed :info:build 0:00:02 load avg: 1.46 [ 27/400] test_ast -- test_ascii_formatd failed :info:build 0:00:08 load avg: 1.32 [ 50/400] test_call -- test_calendar failed (env changed) :info:build 0:00:12 load avg: 1.32 [ 61/400] test_cmd_line_script -- test_cmd_line failed (env changed) :info:build 0:00:12 load avg: 1.32 [ 62/400] test_code -- test_cmd_line_script failed (env changed) :info:build 0:00:14 load avg: 1.37 [ 83/400] test_compileall -- test_compile failed (env changed) :info:build 0:00:15 load avg: 1.37 [ 95/400] test_crypt -- test_cprofile failed (env changed) :info:build 0:00:15 load avg: 1.37 [ 98/400] test_curses -- test_ctypes failed :info:build 0:00:20 load avg: 1.34 [113/400] test_dl -- test_distutils failed :info:build 0:00:34 load avg: 1.57 [131/400] test_file_eintr -- test_file2k failed (env changed) :info:build 0:00:35 load avg: 1.57 [132/400] test_filecmp -- test_file_eintr failed (env changed) :info:build 0:00:35 load avg: 1.57 [135/400] test_float -- test_fileio failed (env changed) :info:build obj.handle_error() :info:build obj.handle_error() :info:build 0:01:01 load avg: 1.35 [143/400] test_funcattrs -- test_ftplib failed :info:build 0:01:04 load avg: 1.49 [165/400] test_hashlib -- test_hash failed (env changed) :info:build 0:01:05 load avg: 1.49 [172/400] test_httpservers -- test_httplib failed :info:build 0:01:08 load avg: 1.49 [173/400] test_idle -- test_httpservers failed :info:build 0:01:08 load avg: 1.49 [180/400] test_import_magic -- test_import failed (env changed) :info:build 0:01:39 load avg: 1.41 [194/400] test_kqueue -- test_json failed (env changed) :info:build 0:01:46 load avg: 1.35 [197/400] test_linecache -- test_lib2to3 failed (env changed) :info:build 0:02:01 load avg: 1.27 [219/400] test_mmap -- test_minidom failed :info:build 0:02:04 load avg: 1.27 [239/400] test_ossaudiodev -- test_os failed (env changed) :info:build 0:02:04 load avg: 1.27 [241/400] test_pdb -- test_parser failed (env changed) :info:build 0:02:04 load avg: 1.27 [242/400] test_peepholer -- test_pdb failed (env changed) :info:build 0:02:06 load avg: 1.33 [253/400] test_plistlib -- test_platform failed (env changed) :info:build 0:02:17 load avg: 1.28 [256/400] test_popen2 -- test_popen failed