[MacPorts] #66299: python27: install hangs when vpn is enabled (was: macOS Ventura M1 Max python27 install hangs)

MacPorts noreply at macports.org
Sun Nov 20 03:25:01 UTC 2022


#66299: python27: install hangs when vpn is enabled
------------------------+---------------------------
  Reporter:  wcvinyard  |      Owner:  jmroot
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.0
Resolution:             |   Keywords:  ventura arm64
      Port:  python27   |
------------------------+---------------------------
Changes (by ryandesign):

 * owner:  (none) => jmroot
 * status:  new => assigned
 * keywords:   => ventura arm64


Old description:

> 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'

New description:

 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'
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/66299#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list