Opened 2 weeks ago

Last modified 6 days ago

#66299 assigned defect

octave: install infinite loop info:destroot

Reported by: wcvinyard (Bill) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc: SpikeLightfoot
Port: octave

Description (last modified by wcvinyard (Bill))

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

Attachments (2)

python27_hang.txt (7.2 KB) - added by wcvinyard (Bill) 2 weeks ago.
search for "fail" or "error" in _opt...python27...main.log
octave_main_log_20221119.txt (6.0 MB) - added by wcvinyard (Bill) 2 weeks ago.
octave install main.log file

Change History (9)

Changed 2 weeks ago by wcvinyard (Bill)

Attachment: python27_hang.txt added

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

comment:1 Changed 2 weeks 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 2 weeks ago by ryandesign (Ryan 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

comment:3 Changed 2 weeks ago by jmroot (Joshua Root)

I'm not in a position to reproduce this issue, and Python 2.7 is of course no longer being updated upstream. If someone comes up with a reasonable patch that prevents this, I can add it.

comment:4 Changed 2 weeks ago by wcvinyard (Bill)

Description: modified (diff)
Port: octave added; python27 removed
Summary: python27: install hangs when vpn is enabledoctave: install infinite loop info:destroot

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.
Last edited 6 days ago by ryandesign (Ryan Schmidt) (previous) (diff)

Changed 2 weeks ago by wcvinyard (Bill)

octave install main.log file

comment:5 Changed 2 weeks ago by wcvinyard (Bill)

attached octave main.log file starting line 25075 may be where the looping started.

comment:6 Changed 13 days ago by SpikeLightfoot

Cc: SpikeLightfoot added

comment:7 Changed 6 days ago by ryandesign (Ryan Schmidt)

Keywords: arm64 removed
Owner: changed from jmroot to MarcusCalhoun-Lopez

Has duplicate #66300.

Note: See TracTickets for help on using tickets.