[MacPorts] #66299: octave: install infinite loop info:destroot (was: python27: install hangs when vpn is enabled)
MacPorts
noreply at macports.org
Sun Nov 20 04:51:50 UTC 2022
#66299: octave: install infinite loop info:destroot
------------------------+---------------------------
Reporter: wcvinyard | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords: ventura arm64
Port: octave |
------------------------+---------------------------
Changes (by wcvinyard):
* port: python27 => octave
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'
}}}
After disconnecting from VPN, above issue resolved and python27 installed.
However, octave install appeared to be stuck in endless loop; see ticket
modify comment below
--
Comment:
Changed summary title from python27 to octave.
The following is the last line of the infinite loop followed by output
after I entered Cntrl+C to terminate the command:
sudo port install octave
I was watching the install using tail -f
/opt/local/var/.../octave/main.log
and saw following line repeating endlessly:
:info:destroot Use of uninitialized value $_ in pattern match (m//) at
./doc/interpreter/mk-qthelp.pl line 30, <$HTML> line 831.
I entered Ctrl+c to terminate the install command and the following is
termination output:
{{{
:info:destroot Use of uninitialized value $_ in pattern match (m//) at
./doc/interpreter/mk-qthelp.pl line 30, <$HTML> line 831.
:info:destroot make[2]: *** [doc/interpreter/octave_interpreter.qhc]
Interrupt: 2
:info:destroot make[1]: *** [install-recursive] Interrupt: 2
:info:destroot make: *** [install] Interrupt: 2
:info:destroot Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-7.3.0"
&& /usr/bin/make -w install
DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/destroot
:info:destroot Killed by signal: 2
:debug:destroot process_cmd aborted: interrupted by signal
:debug:destroot while executing
:debug:destroot "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:destroot invoked from within
:debug:destroot "catch {system {*}$notty {*}$callback {*}$nice
$fullcmdstring} result"
:debug:destroot (procedure "command_exec" line 106)
:debug:destroot invoked from within
:debug:destroot "command_exec -callback
portprogress::target_progress_callback destroot"
:debug:destroot (procedure "portdestroot::destroot_main" line 2)
:debug:destroot invoked from within
:debug:destroot "$procedure $targetname"
:debug:destroot invoked from within
:debug:destroot "catch {$procedure $targetname} errstr"
:debug:destroot (procedure "target_run" line 172)
:debug:destroot invoked from within
:debug:destroot "{*}$handler $ditem"
:debug:destroot invoked from within
:debug:destroot "catch {{*}$handler $ditem} result"
:debug:destroot (procedure "dlist_eval" line 33)
:debug:destroot invoked from within
:debug:destroot "dlist_eval $dlist "" target_run"
:debug:destroot (procedure "eval_targets" line 41)
:debug:destroot invoked from within
:debug:destroot "eval_targets activate"
:debug:destroot invoked from within
:debug:destroot "$workername eval "eval_targets $target""
:debug:destroot (procedure "mportexec" line 152)
:debug:destroot invoked from within
:debug:destroot "mportexec $workername $target"
:debug:destroot invoked from within
:debug:destroot "catch {mportexec $workername $target} result"
:debug:destroot ("uplevel" body line 99)
:debug:destroot invoked from within
:debug:destroot "uplevel 1 $block"
:debug:destroot (procedure "foreachport" line 24)
:debug:destroot invoked from within
:debug:destroot "foreachport $portlist {
:debug:destroot array unset portinfo
:debug:destroot # If we have a url, use that, since it's most
specific
:debug:destroot # otherwise try to map the..."
:debug:destroot (procedure "action_target" line 10)
:debug:destroot invoked from within
:debug:destroot "$action_proc $action $portlist [array get
global_options]"
:debug:destroot (procedure "process_cmd" line 110)
:debug:destroot invoked from within
:debug:destroot "process_cmd $remaining_args"
:debug:destroot ("try" body line 3)
:error:destroot Aborted: SIGINT received.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66299#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list