Created attachment 214796 [details] graphics/ufraw poudriere build log with failure to compile The port graphics/ufraw fails to build for me using poudriere on 12.1 Stable amd64 with error: dcraw_indi.c:167:33: error: variable 'noise' must have explicitly specified data sharing attributes thold = threshold * noise[lev]; Below is an excerpt of the build log that I have also attached: mv -f .deps/iccjpeg.Tpo .deps/iccjpeg.Po cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include -I/usr/local/include -I/usr/local/include/lensfun -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -DDCRAW_NOMAIN -DUFRAW_LOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fopenmp -MT ufraw_saver.o -MD -MP -MF .deps/ufraw_saver.Tpo -c -o ufraw_saver.o ufraw_saver.c dcraw_indi.c:167:33: error: variable 'noise' must have explicitly specified data sharing attributes thold = threshold * noise[lev]; ^~~~~ dcraw_indi.c:145:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:167:21: error: variable 'threshold' must have explicitly specified data sharing attributes thold = threshold * noise[lev]; ^~~~~~~~~ dcraw_indi.c:145:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:158:58: error: variable 'iwidth' must have explicitly specified data sharing attributes hat_transform(temp, fimg + hpass + row * iwidth, 1, iwidth, 1 << lev); ^~~~~~ dcraw_indi.c:145:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:157:33: error: variable 'iheight' must have explicitly specified data sharing attributes for (row = 0; row < iheight; row++) { ^~~~~~~ dcraw_indi.c:145:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:456:25: error: variable 'colors' must have explicitly specified data sharing attributes FORCC ^~~~~ dcraw_indi.c:51:20: note: expanded from macro 'FORCC' #define FORCC FORC(colors) ^~~~~~ dcraw_indi.c:48:33: note: expanded from macro 'FORC' #define FORC(cnt) for (c=0; c < cnt; c++) ^~~ dcraw_indi.c:416:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:421:22: error: variable 'height' must have explicitly specified data sharing attributes int slice = (height - 4) / uf_omp_get_num_threads(); ^~~~~~ dcraw_indi.c:416:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:428:33: error: variable 'width' must have explicitly specified data sharing attributes for (col = 2; col < width - 2; col++) { ^~~~~ dcraw_indi.c:416:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:453:35: error: variable 'filters' must have explicitly specified data sharing attributes color = fcol_INDI(filters, row, col, h->top_margin, h->left_margin, h->xtrans); ^~~~~~~ dcraw_indi.c:416:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:509:29: error: variable 'filters' must have explicitly specified data sharing attributes for (col = 3 + (FC(row, 3) & 1), c = FC(row, col); col < width - 3; col += 2) { ^~~~~~~~~~ dcraw_indi.c:67:11: note: expanded from macro 'FC' (int)(filters >> ((((row) << 1 & 14) + ((col) & 1)) << 1) & 3) ^~~~~~~ dcraw_indi.c:499:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:509:70: error: variable 'width' must have explicitly specified data sharing attributes for (col = 3 + (FC(row, 3) & 1), c = FC(row, col); col < width - 3; col += 2) { ^~~~~ dcraw_indi.c:499:13: note: explicit data sharing attribute requested here default(none) \ ^ dcraw_indi.c:508:29: error: variable 'height' must have explicitly specified data sharing attributes for (row = 3; row < height - 3; row++) { ^~~~~~ dcraw_indi.c:499:13: note: explicit data sharing attribute requested here default(none) \ ^ 11 errors generated. gmake[3]: *** [Makefile:864: dcraw_indi.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... dcraw_api.cc:906:33: error: variable 'pixels' must have explicitly specified data sharing attributes for (int i = 0; i < pixels; i++) { ^~~~~~ dcraw_api.cc:903:63: note: explicit data sharing attribute requested here #pragma omp parallel for schedule(static) default(none) \ ^ dcraw_api.cc:909:77: error: variable 'black' must have explicitly specified data sharing attributes gint32 p = (gint64)(get_pixel(h, dark, i, cc, pixels) - black) * ^~~~~ dcraw_api.cc:903:63: note: explicit data sharing attribute requested here #pragma omp parallel for schedule(static) default(none) \ ^ dcraw_api.cc:919:33: error: variable 'pixels' must have explicitly specified data sharing attributes for (int i = 0; i < pixels; i++) { ^~~~~~ dcraw_api.cc:916:63: note: explicit data sharing attribute requested here #pragma omp parallel for schedule(static) default(none) \ ^ dcraw_api.cc:923:82: error: variable 'black' must have explicitly specified data sharing attributes ((gint64)h->raw.image[i][cc] - black) * ^~~~~ /usr/local/include/glib-2.0/glib/gmacros.h:297:23: note: expanded from macro 'MAX' #define MAX(a, b) (((a) > (b)) ? (a) : (b)) ^ /usr/local/include/glib-2.0/glib/gmacros.h:300:23: note: expanded from macro 'MIN' #define MIN(a, b) (((a) < (b)) ? (a) : (b)) ^ dcraw_api.cc:916:63: note: explicit data sharing attribute requested here #pragma omp parallel for schedule(static) default(none) \ ^ 4 errors generated. gmake[3]: *** [Makefile:920: dcraw_api.o] Error 1 mv -f .deps/ufraw_saver.Tpo .deps/ufraw_saver.Po mv -f .deps/ufraw_preview.Tpo .deps/ufraw_preview.Po gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/ufraw/work/ufraw-6d3259a' gmake[2]: *** [Makefile:1060: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/ufraw/work/ufraw-6d3259a' gmake[1]: *** [Makefile:610: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/ufraw/work/ufraw-6d3259a' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/ufraw =>> Cleaning up wrkdir ===> Cleaning for ufraw-0.22_15 build of graphics/ufraw | ufraw-0.22_15 ended at Sat May 23 18:07:47 EDT 2020 build time: 00:00:30 !!! build failure encountered !!!
Can't reproduce the issue in my poudriere. Did you have special options for any port in your tree ?
I don't have any special options set on other ports that I am aware of that could affect this port. Not sure why it is failing to build for me.
Do you still having the issue ? Which stable version are you using ?
Sorry for not reporting that the issue has been fixed and the port builds for me now. I guess this bug can be closed. Thanks.