Article 4XEPY Failure when trying to rebuild ufraw

Failure when trying to rebuild ufraw

by
kgha
from LinuxQuestions.org on (#4XEPY)
Occasionally I edit raw pics and have used ufraw for this. After upgrading lensfun to Eric's 0.3.95 version, ufraw stopped working (no liblensfun.so.1). I tried to rebuild ufraw but make ended with

Code:dcraw_api.cc: In function 'void dcraw_finalize_raw(dcraw_data*, dcraw_data*, int*)':
dcraw_api.cc:692:13: error: 'pixels' not specified in enclosing 'parallel'
692 | for (int i = 0; i < pixels; i++) {
| ^~~
dcraw_api.cc:689:21: error: enclosing 'parallel'
689 | #pragma omp parallel for schedule(static) default(none) \
| ^~~
dcraw_api.cc:695:77: error: 'black' not specified in enclosing 'parallel'
695 | gint32 p = (gint64)(get_pixel(h, dark, i, cc, pixels) - black) *
| ^~~~~

dcraw_api.cc:689:21: error: enclosing 'parallel'
689 | #pragma omp parallel for schedule(static) default(none) \
| ^~~
dcraw_api.cc:705:13: error: 'pixels' not specified in enclosing 'parallel'
705 | for (int i = 0; i < pixels; i++) {
| ^~~
dcraw_api.cc:702:21: error: enclosing 'parallel'
702 | #pragma omp parallel for schedule(static) default(none) \
| ^~~
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9,
from /usr/include/glib-2.0/glib/gtypes.h:32,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from uf_glib.h:20,
from dcraw_api.cc:27:
dcraw_api.cc:709:82: error: 'black' not specified in enclosing 'parallel'
709 | ((gint64)h->raw.image[i][cc] - black) *
| ^~~~~

/usr/include/glib-2.0/glib/gmacros.h:805:23: note: in definition of macro 'MIN'
805 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
| ^
dcraw_api.cc:708:47: note: in expansion of macro 'MAX'
708 | h->raw.image[i][cc] = MIN(MAX(
| ^~~
dcraw_api.cc:702:21: error: enclosing 'parallel'
702 | #pragma omp parallel for schedule(static) default(none) \
| ^~~
make[2]: *** [Makefile:886: dcraw_api.o] Error 1
make[2]: Leaving directory '/tmp/SBo/ufraw-0.22'
make[1]: *** [Makefile:1026: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/ufraw-0.22'
make: *** [Makefile:581: all] Error 2Not sure how to interpret this. I rebuilt dcraw, but no change.

Managed to build rawtherapee-5.7 using the SBo buildscript, so I'm still able to dabble with raw files. Maybe I should just accept that dcraw and ufraw no longer works on -current?latest?d=yIl2AUoC8zA latest?i=VudLDAyFt6w:g5A2z5StcHY:F7zBnMy latest?i=VudLDAyFt6w:g5A2z5StcHY:V_sGLiP latest?d=qj6IDK7rITs latest?i=VudLDAyFt6w:g5A2z5StcHY:gIN9vFwVudLDAyFt6w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments