Opened 4 months ago

Last modified 4 weeks ago

#65584 assigned defect

asymptote 2.70_3 fails to build under macOS Monterey 12.5 on M1

Reported by: murrayE Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: monterey, arm64 Cc:
Port: asymptote

Description

Error seems to be around here:

:info:build ../asy -dir ../base -config "" -render=0 -f pdf -noprc diatom.asy
:info:build   implicitshipout=false;
:info:build                  ^
:info:build ../base/plain.asy: 58.18: runtime: Stack overflow or segmentation fault: rerun with -nothreads
:info:build make[1]: *** [diagonal.pdf] Abort trap: 6
:info:build make[1]: *** Deleting file `diagonal.pdf'
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build perl ./asy-list.pl asy.list 2.70
:info:build   implicitshipout=false;
:info:build                  ^
:info:build ../base/plain.asy: 58.18: runtime: Stack overflow or segmentation fault: rerun with -nothreads
:info:build make[1]: *** [diatom.pdf] Abort trap: 6
:info:build make[1]: *** Deleting file `diatom.pdf'
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70/doc'
:info:build make: *** [man] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70" && /usr/bin/make -j10 -w all 
:info:build Exit code: 2
:error:build Failed to build asymptote: command execution failed
:debug:build Error code: CHILDSTATUS 7125 2
:debug:build Backtrace: command execution failed

Attachments (2)

main.log (267.1 KB) - added by murrayE 4 months ago.
main.log
asy-crashlog-ventura-Intel.txt (24.1 KB) - added by kencu (Ken) 4 weeks ago.

Download all attachments as: .zip

Change History (6)

Changed 4 months ago by murrayE

Attachment: main.log added

main.log

comment:1 Changed 4 months ago by jmroot (Joshua Root)

Cc: mojca removed
Owner: set to mojca
Status: newassigned

comment:2 Changed 3 months ago by barracuda156

The latest version fails on Rosetta also with PDF-related errors:

cd doc && /usr/bin/make man
cd doc && /usr/bin/make faq
Creating asy-keywords.el
./asy -dir base -config "" -render=0 -l > asy.list
make[1]: Entering directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_graphics_asymptote/asymptote/work/asymptote-2.81/doc'
make[1]: `faq' is up to date.
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_graphics_asymptote/asymptote/work/asymptote-2.81/doc'
make[1]: Entering directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_graphics_asymptote/asymptote/work/asymptote-2.81/doc'
../asy -dir ../base -config "" -render=0 -h 2>&1 | grep -iv Asymptote > options
../asy -dir ../base -config "" -render=0 -f pdf -noprc Bode.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc CAD1.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc CDlabel.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc GaussianSurface.asy
make[1]: *** [Bode.pdf] Bus error
make[1]: *** Waiting for unfinished jobs....
/bin/sh: line 1: 99860 Bus error               ./asy -dir base -config "" -render=0 -l > asy.list
make: *** [asy-keywords.el] Error 138
make: *** Waiting for unfinished jobs....
make[1]: *** [GaussianSurface.pdf] Bus error
make[1]: *** [CAD1.pdf] Bus error
make[1]: *** [CDlabel.pdf] Bus error
make[1]: *** [options] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_graphics_asymptote/asymptote/work/asymptote-2.81/doc'
make: *** [man] Error 2

Changed 4 weeks ago by kencu (Ken)

comment:3 Changed 4 weeks ago by kencu (Ken)

something similar happens on Ventura, but much different build.

make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70/doc'
../asy -dir ../base -config "" -render=0 -h 2>&1 | grep -iv Asymptote > options
../asy -dir ../base -config "" -render=0 -f pdf -noprc Bode.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc CAD1.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc CDlabel.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc GaussianSurface.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc HermiteSpline.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc Hobbycontrol.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc Hobbydir.asy
ls base/*.asy | grep -v plain\* | \
          grep -v three_\* | grep -v featpost3D | xargs ./asy -dir base -config "" -render=0 -l >> asy.list
make[1]: *** [Hobbycontrol.pdf] Abort trap: 6
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CAD1.pdf] Abort trap: 6
make[1]: *** [Hobbydir.pdf] Abort trap: 6
make[1]: *** [CDlabel.pdf] Abort trap: 6
make[1]: *** [HermiteSpline.pdf] Abort trap: 6
make[1]: *** [Bode.pdf] Abort trap: 6
make[1]: *** [GaussianSurface.pdf] Abort trap: 6
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70/doc'

comment:4 Changed 4 weeks ago by murrayE

Under Ventura I'm seeing slightly different build make log entries there before getting build make: [man] Error 2

:info:build ls base/*.asy | grep -v plain\* | \
:info:build           grep -v three_\* | grep -v featpost3D | xargs ./asy -dir base -config "" -render=0 -l >> asy.list
:info:build make[1]: *** [bezier.pdf] Abort trap: 6
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: *** [Hobbycontrol.pdf] Abort trap: 6
:info:build make[1]: *** [CAD1.pdf] Abort trap: 6
:info:build make[1]: *** [Hobbydir.pdf] Abort trap: 6
:info:build make[1]: *** [CDlabel.pdf] Abort trap: 6
:info:build make[1]: *** [HermiteSpline.pdf] Abort trap: 6
:info:build make[1]: *** [Bode.pdf] Abort trap: 6
:info:build make[1]: *** [GaussianSurface.pdf] Abort trap: 6
:info:build make[1]: *** [axis3.pdf] Abort trap: 6
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70/doc'
Note: See TracTickets for help on using tickets.