Opened 3 years ago

Closed 2 years ago

#64533 closed defect (fixed)

glfw fails to build for ppc on 10.6.8 (Rosetta): expected specifier-qualifier-list before ‘CGDisplayModeRef’

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, snowleopard, rosetta Cc:
Port: glfw

Description

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glfw/glfw/work/glfw-a94a84b507b0d6d11e8a3f257cb21f4bd6553516/src/internal.h:91,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glfw/glfw/work/glfw-a94a84b507b0d6d11e8a3f257cb21f4bd6553516/src/context.c:28:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glfw/glfw/work/glfw-a94a84b507b0d6d11e8a3f257cb21f4bd6553516/src/cocoa_platform.h:92: error: expected specifier-qualifier-list before ‘CGDisplayModeRef’
make[2]: *** [src/CMakeFiles/glfw.dir/init.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/CMakeFiles/glfw.dir/input.c.o] Error 1
make[2]: *** [src/CMakeFiles/glfw.dir/context.c.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glfw/glfw/work/build'
make[1]: *** [src/CMakeFiles/glfw.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/bin/sh: line 1: 46750 Bus error               /opt/local/bin/doxygen
make[2]: *** [docs/CMakeFiles/docs] Error 138
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glfw/glfw/work/build'
make[1]: *** [docs/CMakeFiles/docs.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glfw/glfw/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glfw/glfw/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_glfw/glfw/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON 
Exit code: 2
Error: Failed to build glfw: command execution failed

Attachments (1)

main.log (27.3 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 2 years ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In 5ac335e512f09e74b18a1c8fd98aab047d1b4205/macports-ports (master):

glfw: disable docs on PPC, fixes Rosetta build
Fixes: #64533

Note: See TracTickets for help on using tickets.