#66777 closed defect (fixed)

gegl fails to buld against new libraw version

Reported by: rmottola (Riccardo) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gegl libraw

Description

I get this issue:

FAILED: operations/external/raw-load.dylib.p/raw-load.c.o 
/opt/local/bin/clang-mp-11 -Ioperations/external/raw-load.dylib.p -Ioperations/external -I../gegl-0.4.32/operations/external -I. -I../gegl-0.4.32 -Igegl -I../gegl-0.4.32/gegl -Igegl/buffer -I../gegl-0.4.32/gegl/buffer -Igegl/graph -I../gegl-0.4.32/gegl/graph -Igegl/module -I../gegl-0.4.32/gegl/module -Igegl/opencl -I../gegl-0.4.32/gegl/opencl -Igegl/operation -I../gegl-0.4.32/gegl/operation -Igegl/process -I../gegl-0.4.32/gegl/process -Igegl/property-types -I../gegl-0.4.32/gegl/property-types -Igegl/ctx -I../gegl-0.4.32/gegl/ctx -I/opt/local/include/babl-0.1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/libraw -I/opt/local/include -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu11 -O2 -g -DHAVE_CONFIG_H -Ofast -DGEGL_ENABLE_DEBUG -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -pipe -Os -arch x86_64 -MD -MQ operations/external/raw-load.dylib.p/raw-load.c.o -MF operations/external/raw-load.dylib.p/raw-load.c.o.d -o operations/external/raw-load.dylib.p/raw-load.c.o -c ../gegl-0.4.32/operations/external/raw-load.c
../gegl-0.4.32/operations/external/raw-load.c:117:29: error: no member named 'shot_select' in 'libraw_output_params_t'
          p->LibRaw->params.shot_select = o->image_num;
          ~~~~~~~~~~~~~~~~~ ^
1 error generated.

at a glance, this doesn't seem an old OS issue, any clues?

Change History (4)

comment:1 Changed 22 months ago by kencu (Ken)

libraw was updated, and there was an ABI change, so everything that uses it has broken.

most things haven’t yet been updated upstream for the new libraw yet when I checked.

So look upstream at gegl for a fix, but if nothing yet, have to either wait or fix it ourselves.

comment:2 Changed 21 months ago by rmottola (Riccardo)

I still had old libraw - a luck not to run reclaim that much :) But I guess you are right, either patch or downgrade libraw until dependencies are fine.

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

Keywords: snowleopard removed
Port: libraw added
Summary: gegl fails to buld Leopard SnowLeopardgegl fails to buld against new libraw version

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

Owner: set to kencu
Resolution: fixed
Status: newclosed

In b677d20802eced2270439120140259f4f6eee168/macports-ports (master):

gegl: fix build errors

  1. fix error with new libraw

closes: #66777

  1. fix error with chained fixups on new systems

closes: #67002

Note: See TracTickets for help on using tickets.