Opened 8 months ago

Closed 8 months ago

#68151 closed defect (duplicate)

Upgrade rust 1.70.0_0 < 1.71.1_1 error —thread 'main' has overflowed its stack

Reported by: cave-canem Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Mavericks Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), cave-canem, mascguy (Christopher Nielsen)
Port: rust

Description (last modified by cave-canem)

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 2>&1 ./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.

Attachments (1)

rust_vd_num.log.tar.xz (114.4 KB) - added by cave-canem 8 months ago.
Аrchived numbered debug log

Download all attachments as: .zip

Change History (4)

Changed 8 months ago by cave-canem

Attachment: rust_vd_num.log.tar.xz added

Аrchived numbered debug log

comment:1 Changed 8 months ago by cave-canem

Description: modified (diff)

comment:2 Changed 8 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 8 months ago by mascguy (Christopher Nielsen)

Port: @1.71.1_1 removed
Resolution: duplicate
Status: newclosed

Duplicate of issue:68015

Note: See TracTickets for help on using tickets.