Opened 18 months ago

Last modified 17 months ago

#66299 closed defect

python27: install hangs when vpn is enabled — at Version 2

Reported by: wcvinyard (Bill) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: octave

Description (last modified by ryandesign (Ryan Carsten Schmidt))

macbook pro 16 late 2021 M1 Max
macOS Ventura 13.0

xcodebuild -version
Xcode 14.1
Build version 14B47b

Attempted to install octave. Install hanged at python27 dependency install. Attempted clean then install of python27 only. Same issue, python install hanged.

Tried sudo port clean python27 and attempted install python27 again using:

Used sudo port -v install python27 and also watched tail -f main.log

Following is final line of port -v install python27 where the install stopped:

0:03:52 load avg: 1.11 [303/400] test_socket -- test_smtpnet skipped (resource denied)
Unhandled exception in thread started by <bound method NetworkConnectionAttributesTest.clientRun of <test.test_socket.NetworkConnectionAttributesTest testMethod=testSourceAddress>>
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'

Change History (3)

Changed 18 months ago by wcvinyard (Bill)

Attachment: python27_hang.txt added

search for "fail" or "error" in _opt...python27...main.log

comment:1 Changed 18 months ago by wcvinyard (Bill)

On a whim, I turned off my VPN and tried again. . .after a reboot. . .and python27 installed successfully.

comment:2 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: ventura arm64 added
Owner: set to jmroot
Status: newassigned
Summary: macOS Ventura M1 Max python27 install hangspython27: install hangs when vpn is enabled
Note: See TracTickets for help on using tickets.