[MacPorts] #35287: gegl 0.2 fails

MacPorts noreply at macports.org
Mon Jul 23 10:00:29 PDT 2012


#35287: gegl 0.2 fails
------------------------------------+---------------------------------------
 Reporter:  malte.stroem@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  2.1.1                                
 Keywords:  gegl                    |        Port:                                       
------------------------------------+---------------------------------------
 Hello!

 I am not able to handle the following error while installing gegl 0.2.

 Tried almost every compiler. Error messages look always similar.

 This is the debug log using mp-clang-3.2:

 In file included from gegl-buffer.c:1:
 In file included from gegl-buffer.c:51:
 In file included from ./gegl-buffer-private.h:27:
 In file included from ./gegl-buffer-cl-iterator.h:5:
 In file included from ../../gegl/opencl/gegl-cl.h:4:
 In file included from ../../gegl/opencl/gegl-cl-types.h:6:
 ../../gegl/opencl/cl.h:479:35: error: expected ')'
                 void (CL_CALLBACK * )(const char *, const void *, size_t,
 void *),
                                   ^
 ../../gegl/opencl/cl.h:479:22: note: to match this '('
                 void (CL_CALLBACK * )(const char *, const void *, size_t,
 void *),
                      ^
 ../../gegl/opencl/cl.h:486:43: error: expected ')'
                         void (CL_CALLBACK * )(const char *, const void *,
 size_t, void *),
                                           ^
 ../../gegl/opencl/cl.h:486:30: note: to match this '('
                         void (CL_CALLBACK * )(const char *, const void *,
 size_t, void *),
                              ^
 ../../gegl/opencl/cl.h:555:30: error: expected function body after
 function declarator
                   cl_int * ) CL_API_SUFFIX__VERSION_1_1;
                              ^
 ../../gegl/opencl/cl.h:609:55: error: expected ')'
                                     void (CL_CALLBACK * )( cl_mem , void*
 ),
                                                       ^
 ../../gegl/opencl/cl.h:609:42: note: to match this '('
                                     void (CL_CALLBACK * )( cl_mem , void*
 ),
                                          ^
 ../../gegl/opencl/cl.h:610:46: error: expected function body after
 function declarator
                                     void * ) CL_API_SUFFIX__VERSION_1_1;
                                              ^
 ../../gegl/opencl/cl.h:661:34: error: expected ')'
                void (CL_CALLBACK * )(cl_program , void * ),
                                  ^
 ../../gegl/opencl/cl.h:661:21: note: to match this '('
                void (CL_CALLBACK * )(cl_program , void * ),
                     ^
 ../../gegl/opencl/cl.h:735:30: error: expected function body after
 function declarator
                   cl_int * ) CL_API_SUFFIX__VERSION_1_1;
                              ^
 ../../gegl/opencl/cl.h:745:31: error: expected function body after
 function declarator
                      cl_int ) CL_API_SUFFIX__VERSION_1_1;
                               ^
 ../../gegl/opencl/cl.h:750:39: error: expected ')'
                     void (CL_CALLBACK * )(cl_event, cl_int, void *),
                                       ^
 ../../gegl/opencl/cl.h:750:26: note: to match this '('
                     void (CL_CALLBACK * )(cl_event, cl_int, void *),
                          ^
 ../../gegl/opencl/cl.h:751:30: error: expected function body after
 function declarator
                     void * ) CL_API_SUFFIX__VERSION_1_1;
                              ^
 ../../gegl/opencl/cl.h:794:38: error: expected function body after
 function declarator
                         cl_event * ) CL_API_SUFFIX__VERSION_1_1;
                                      ^
 ../../gegl/opencl/cl.h:821:39: error: expected function body after
 function declarator
                          cl_event * ) CL_API_SUFFIX__VERSION_1_1;
                                       ^
 ../../gegl/opencl/cl.h:847:38: error: expected function body after
 function declarator
                         cl_event * ) CL_API_SUFFIX__VERSION_1_1;
                                      ^
 In file included from gegl-buffer.c:1:
 In file included from gegl-buffer.c:51:
 In file included from ./gegl-buffer-private.h:27:
 In file included from ./gegl-buffer-cl-iterator.h:5:
 In file included from ../../gegl/opencl/gegl-cl.h:4:
 In file included from ../../gegl/opencl/gegl-cl-types.h:7:
 ../../gegl/opencl/cl_gl.h:64:22: warning: type specifier missing, defaults
 to 'int' [-Wimplicit-int]
                      cl_GLuint ,
                      ^~~~~~~~~
 ../../gegl/opencl/cl_gl.h:70:25: warning: type specifier missing, defaults
 to 'int' [-Wimplicit-int]
                         cl_GLenum ,
                         ^~~~~~~~~
 ../../gegl/opencl/cl_gl.h:71:25: warning: type specifier missing, defaults
 to 'int' [-Wimplicit-int]
                         cl_GLint ,
                         ^~~~~~~~
 ../../gegl/opencl/cl_gl.h:72:25: warning: type specifier missing, defaults
 to 'int' [-Wimplicit-int]
                         cl_GLuint ,
                         ^~~~~~~~~
 ../../gegl/opencl/cl_gl.h:78:25: warning: type specifier missing, defaults
 to 'int' [-Wimplicit-int]
                         cl_GLenum ,
                         ^~~~~~~~~
 ../../gegl/opencl/cl_gl.h:79:25: warning: type specifier missing, defaults
 to 'int' [-Wimplicit-int]
                         cl_GLint ,
                         ^~~~~~~~
 ../../gegl/opencl/cl_gl.h:80:25: warning: type specifier missing, defaults
 to 'int' [-Wimplicit-int]
                         cl_GLuint ,
                         ^~~~~~~~~
 ../../gegl/opencl/cl_gl.h:86:28: warning: type specifier missing, defaults
 to 'int' [-Wimplicit-int]
                            cl_GLuint ,
                            ^~~~~~~~~
 ../../gegl/opencl/cl_gl.h:92:19: error: unknown type name 'cl_GLuint'; did
 you mean 'cl_uint'?
                   cl_GLuint * ) ;
                   ^~~~~~~~~
                   cl_uint
 /System/Library/Frameworks/OpenCL.framework/Headers/cl_platform.h:174:18:
 note: 'cl_uint' declared here
 typedef uint32_t cl_uint __attribute__((aligned(4)));
                  ^
 In file included from gegl-buffer.c:1:
 In file included from gegl-buffer.c:51:
 In file included from ./gegl-buffer-private.h:27:
 In file included from ./gegl-buffer-cl-iterator.h:5:
 In file included from ../../gegl/opencl/gegl-cl.h:4:
 In file included from ../../gegl/opencl/gegl-cl-types.h:8:
 ../../gegl/opencl/cl_gl_ext.h:63:39: error: expected function body after
 function declarator
                            cl_int * ) CL_EXT_SUFFIX__VERSION_1_1;
                                       ^
 In file included from gegl-buffer.c:1:
 In file included from gegl-buffer.c:51:
 In file included from ./gegl-buffer-private.h:27:
 In file included from ./gegl-buffer-cl-iterator.h:5:
 In file included from ../../gegl/opencl/gegl-cl.h:4:
 In file included from ../../gegl/opencl/gegl-cl-types.h:9:
 ../../gegl/opencl/cl_ext.h:69:50: error: expected function body after
 function declarator
                                         void * )
 CL_EXT_SUFFIX__VERSION_1_0;
                                                  ^
 ../../gegl/opencl/cl_ext.h:84:54: error: expected function body after
 function declarator
                                             void * )
 CL_EXT_SUFFIX__VERSION_1_0;
                                                      ^
 ../../gegl/opencl/cl_ext.h:90:52: error: expected function body after
 function declarator
                                           void * )
 CL_EXT_SUFFIX__VERSION_1_0;
                                                    ^
 ../../gegl/opencl/cl_ext.h:96:52: error: expected function body after
 function declarator
                                           void * )
 CL_EXT_SUFFIX__VERSION_1_0;
                                                    ^
 fatal error: too many errors emitted, stopping now [-ferror-limit=]
 8 warnings and 20 errors generated.
 make[3]: *** [gegl-buffer.lo] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gegl/gegl/work/gegl-0.2.0/gegl/buffer'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gegl/gegl/work/gegl-0.2.0/gegl'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gegl/gegl/work/gegl-0.2.0'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gegl/gegl/work/gegl-0.2.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gegl/gegl/work/gegl-0.2.0"
 && /usr/bin/make -w all
 Exit code: 2
 Error: org.macports.build for port gegl returned: command execution failed
 DEBUG: Error code: CHILDSTATUS 80315 2
 DEBUG: 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
 "$procedure $targetname"
 Warning: targets not executed for gegl: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port gegl for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gegl/gegl/main.log

 Error: Processing of port gegl failed

 Goodbye,
 Malte

-- 
Ticket URL: <https://trac.macports.org/ticket/35287>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list