[MacPorts] #68151: Upgrade rust 1.70.0_0 < 1.71.1_1 error —thread 'main' has overflowed its stack

MacPorts noreply at macports.org
Mon Sep 11 16:09:57 UTC 2023


#68151: Upgrade rust 1.70.0_0 < 1.71.1_1 error —thread 'main' has overflowed its
stack
------------------------+----------------------------
 Reporter:  cave-canem  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:  Mavericks   |       Port:  rust @1.71.1_1
------------------------+----------------------------
 Headnotes:


 {{{
 port select --summary | rg "(Name|====|clang|llvm)" | rg -v "mpi"
 Name       Selected               Options
 ====       ========               =======
 clang      mp-clang-16            mp-clang-10 mp-clang-11 mp-clang-13 mp-
 clang-14 mp-clang-15 mp-clang-16 mp-clang-3.7 mp-clang-5.0 mp-clang-9.0
 mp-clang-devel none
 llvm       mp-llvm-16             mp-llvm-10 mp-llvm-11 mp-llvm-12 mp-
 llvm-13 mp-llvm-14 mp-llvm-15 mp-llvm-16 mp-llvm-3.7 mp-llvm-5.0 mp-
 llvm-9.0 mp-llvm-devel none
 }}}
 {{{
 cat /opt/MacPorts/etc/macports/macports.conf | rg "default_compilers"
 default_compilers macports-clang macports-gcc clang
 }}}
 Body (essence):

 {{{
 sudo port -vd upgrade rust | tee "./rust_vd.log"
 DEBUG: Copying /Users/ES/Library/Preferences/com.apple.dt.Xcode.plist to
 /opt/MacPorts/var/macports/home/Library/Preferences
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: rust 1.71.1_0 exists in the ports tree
 DEBUG: rust 1.70.0_0  is the latest installed
 DEBUG: rust 1.70.0_0  is active
 ...
     Finished dev [unoptimized] target(s) in 13m 27s

 thread 'main' has overflowed its stack
 fatal runtime error: stack overflow
 Build completed unsuccessfully in 0:13:29
 make: *** [Makefile:12: all] Error 1
 make: Leaving directory '/opt/MacPorts/var/macports/build/_opt_macports-
 ports_lang_rust/rust/work/rustc-1.71.1-src'
 Command failed:  cd "/opt/MacPorts/var/macports/build/_opt_macports-
 ports_lang_rust/rust/work/rustc-1.71.1-src" && /usr/bin/make -j4 -w all
 BOOTSTRAP_ARGS="-j4"
 Exit code: 2
 Error: Failed to build rust: command execution failed
 DEBUG: Error code: CHILDSTATUS 39898 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
     invoked from within
 "command_exec -callback portprogress::target_progress_callback build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Error: See /opt/MacPorts/var/macports/logs/_opt_macports-
 ports_lang_rust/rust/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}
 Footnotes:

 {{{
 awk '{print $0"\n"}' ./rust_vd.log | gnl -b t -d "\\" -n rz -w 5
 # Insert a blank line after each line of the source log file, and then
 number all non-blank lines with five-digit numbers.
 }}}

 '''See the archived numbered debug log in the attachment.'''.

-- 
Ticket URL: <https://trac.macports.org/ticket/68151>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list