Opened 4 years ago

Closed 21 months ago

Last modified 21 months ago

#60265 closed defect (invalid)

gegl-0.4 and openCL

Reported by: rmottola (Riccardo) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard opencl Cc:
Port: gegl gegl-0.4

Description

gegl-0.4 fails to build for me on 10.5/i386 . OpenCL framework not found.

2cd4258@@gegl-0.4@sha/process_gegl-graph-traversal.c.o' 'gegl/2cd4258@@gegl-0.4@sha/process_gegl-processor.c.o' 'gegl/2cd4258@@gegl-0.4@sha/property-types_gegl-audio-fragment.c.o' 'gegl/2cd4258@@gegl-0.4@sha/property-types_gegl-color.c.o' 'gegl/2cd4258@@gegl-0.4@sha/property-types_gegl-curve.c.o' 'gegl/2cd4258@@gegl-0.4@sha/property-types_gegl-paramspecs.c.o' 'gegl/2cd4258@@gegl-0.4@sha/property-types_gegl-path.c.o' -I/opt/local/include/LegacySupport -L/opt/local/lib -Wl,-dead_strip_dylibs -Wl,-undefined,error -Wl,-headerpad_max_install_names -shared -install_name @rpath/libgegl-0.4.0.dylib -compatibility_version 0 -current_version 0 -pipe -Os -arch i386 -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch i386 -framework OpenCL /opt/local/lib/libbabl-0.1.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -Wl,-framework -Wl,CoreFoundation /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreFoundation -lm /opt/local/lib/libgmodule-2.0.dylib -Wl,-framework -Wl,CoreFoundation -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib
ld: framework not found OpenCL
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Is it just a missing dependency? Or something that should come from the OS and 10.5 does not have...

Change History (4)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to dbevans
Status: newassigned

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to mascguy

Reassign gegl-related tickets to me

comment:3 Changed 21 months ago by mascguy (Christopher Nielsen)

Resolution: invalid
Status: assignedclosed

AFAIK, OpenCL was introduced with 10.6, and simply isn't available on 10.5. Unless some adventurous souls implemented an open-source solution...

comment:4 Changed 21 months ago by kencu (Ken)

I fixed that one a few years ago, at least to turn off OpenCL on < 10.6

https://github.com/kencu/LeopardPorts/blob/master/graphics/gegl/files/patch-gegl-opencl-fix-Leopard-and-less-only.diff

but it's been a long long time since I tried to build that, so I'll leave that for someone to test if interested.

Note: See TracTickets for help on using tickets.