Opened 23 months ago

Last modified 23 months ago

#66617 new defect

p5-opengl configure failure: Illegal instruction: 4

Reported by: d-lamb (Derek Lamb) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: p5-opengl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

After recently upgrading from macOS Monterey to Ventura 13.1, I am reinstalling my ports and get a configure failure while trying to install p5-opengl:

$ sudo port install p5-opengl 
p5-opengl is replaced by p5.34-opengl
--->  Computing dependencies for p5.34-opengl
--->  Fetching distfiles for p5.34-opengl
--->  Verifying checksums for p5.34-opengl
--->  Extracting p5.34-opengl
--->  Applying patches to p5.34-opengl
--->  Configuring p5.34-opengl
Error: Failed to configure p5.34-opengl: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-opengl/p5.34-opengl/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port p5.34-opengl failed

I will attach main.log. My cursory read shows that everything is fine until:

:info:configure Testing for OpenGL Extensions
:info:configure Testing GLUT version
:info:configure glversion: cd utils;make -f Makefile.macosx GLUT_LIB=glut GLUT_DEF=HAVE_FREEGLUT  clean;make -f Makefile.macosx GLUT_LIB=glut GLUT_DEF=HAVE_FREEGLUT 
:info:configure /bin/sh: line 1: 40596 Illegal instruction: 4  ./glversion > glversion.txt
:info:configure make: *** [glversion.txt] Error 132
:info:configure get_extensions: no extensions found in utils/glversion.txt

When I run the glversion command independently and save the output, many extensions are listed.

$ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-opengl/p5.34-opengl/work/OpenGL-0.70/utils
$ ./glversion >~/Desktop/glversion.txt

After the port install command fails, I get a macOS dialog box that saying that the program glversion quit unexpectedly, and asking if I would like to send the report to Apple. I can attach the macOS Problem Report for glversion if that would help.

Attachments (3)

main.log (67.6 KB) - added by d-lamb (Derek Lamb) 23 months ago.
glversion.txt (3.3 KB) - added by d-lamb (Derek Lamb) 23 months ago.
Problem_Report_for_glversion.txt (19.0 KB) - added by d-lamb (Derek Lamb) 23 months ago.
Text of the Apple crash report tool

Download all attachments as: .zip

Change History (4)

Changed 23 months ago by d-lamb (Derek Lamb)

Attachment: main.log added

Changed 23 months ago by d-lamb (Derek Lamb)

Attachment: glversion.txt added

comment:1 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: p5-opengl configure failure:p5-opengl configure failure: Illegal instruction: 4

Yes, please attach the crash log.

Changed 23 months ago by d-lamb (Derek Lamb)

Text of the Apple crash report tool

Note: See TracTickets for help on using tickets.