[MacPorts] #49848: Glew 1.13 does not build with Leopard PPC

MacPorts noreply at macports.org
Sun Nov 29 11:11:11 PST 2015


#49848: Glew 1.13 does not build with Leopard PPC
--------------------------+--------------------------------
 Reporter:  snakecoils@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.4
 Keywords:                |       Port:  glew
--------------------------+--------------------------------
 Hello,
 while the version 1.12 builds correctly under OSX 10.5.8 PPC, the new 1.13
 doesn't. Here is the error log:


 {{{
 :notice:build --->  Building glew
 :debug:build Executing org.macports.build (glew)
 :debug:build Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_glew/glew/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 GLEW_DEST='/opt/local'
 GLEW_PREFIX='/opt/local'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.5'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_glew/glew/work/glew-1.13.0"
 && /usr/bin/make -j2 -w all CC=/usr/bin/gcc-4.2 LD=/usr/bin/gcc-4.2
 POPT="-Os" STRIP= CFLAGS.ARCH="-arch ppc" LDFLAGS.ARCH="-arch ppc"'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_glew/glew/work/glew-1.13.0"
 && /usr/bin/make -j2 -w all CC=/usr/bin/gcc-4.2 LD=/usr/bin/gcc-4.2
 POPT="-Os" STRIP= CFLAGS.ARCH="-arch ppc" LDFLAGS.ARCH="-arch ppc"
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_glew/glew/work/glew-1.13.0'
 :info:build sed \
 :info:build             -e "s|@prefix@|/opt/local|g" \
 :info:build             -e "s|@libdir@|/opt/local/lib|g" \
 :info:build             -e "s|@exec_prefix@|/opt/local/bin|g" \
 :info:build             -e "s|@includedir@|/opt/local/include/GL|g" \
 :info:build             -e "s|@version@|1.13.0|g" \
 :info:build             -e "s|@cflags@||g" \
 :info:build             -e "s|@libname@|GLEW|g" \
 :info:build             -e "s|@requireslib@|glu|g" \
 :info:build             < glew.pc.in > glew.pc
 :info:build sed \
 :info:build             -e "s|@prefix@|/opt/local|g" \
 :info:build             -e "s|@libdir@|/opt/local/lib|g" \
 :info:build             -e "s|@exec_prefix@|/opt/local/bin|g" \
 :info:build             -e "s|@includedir@|/opt/local/include/GL|g" \
 :info:build             -e "s|@version@|1.13.0|g" \
 :info:build             -e "s|@cflags@|-DGLEW_MX|g" \
 :info:build             -e "s|@libname@|GLEWmx|g" \
 :info:build             -e "s|@requireslib@|glu|g" \
 :info:build             < glew.pc.in > glewmx.pc
 :info:build /usr/bin/gcc-4.2 -DGLEW_NO_GLU -Os -Wall -W -Iinclude -dynamic
 -fno-common -ansi -pedantic -arch ppc -fPIC  -o
 tmp/darwin/default/shared/glewinfo.o -c src/glewinfo.c
 :info:build src/glewinfo.c: In function ‘glewCreateContext’:
 :info:build src/glewinfo.c:11855: error: ‘kCGLPFAOpenGLProfile’ undeclared
 (first use in this function)
 :info:build src/glewinfo.c:11855: error: (Each undeclared identifier is
 reported only once
 :info:build src/glewinfo.c:11855: error: for each function it appears in.)
 :info:build src/glewinfo.c:11856: error: ‘kCGLOGLPVersion_3_2_Core’
 undeclared (first use in this function)
 :info:build make: *** [tmp/darwin/default/shared/glewinfo.o] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_glew/glew/work/glew-1.13.0'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_glew/glew/work/glew-1.13.0"
 && /usr/bin/make -j2 -w all CC=/usr/bin/gcc-4.2 LD=/usr/bin/gcc-4.2
 POPT="-Os" STRIP= CFLAGS.ARCH="-arch ppc" LDFLAGS.ARCH="-arch ppc"
 :info:build Exit code: 2
 :error:build org.macports.build for port glew returned: command execution
 failed
 :debug:build Error code: CHILDSTATUS 41329 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "portbuild::build_main org.macports.build"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 :info:build Warning: targets not executed for glew: org.macports.install
 org.macports.build org.macports.destroot
 :notice:build Please see the log file for port glew for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_glew/glew/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49848>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list