[MacPorts] #66617: p5-opengl configure failure: Illegal instruction: 4 (was: p5-opengl configure failure:)

MacPorts noreply at macports.org
Thu Jan 5 10:35:42 UTC 2023


#66617: p5-opengl configure failure: Illegal instruction: 4
------------------------+--------------------
  Reporter:  d-lamb     |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.0
Resolution:             |   Keywords:
      Port:  p5-opengl  |
------------------------+--------------------

Old description:

> 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.

New description:

 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.

--

Comment (by ryandesign):

 Yes, please attach the crash log.

-- 
Ticket URL: <https://trac.macports.org/ticket/66617#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list