Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2020 22:13:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246686] graphics/ufraw fails to build using poudriere on 12.1 Stable amd64 with error variable 'noise' must have explicitly specified data sharing attributes
Message-ID:  <bug-246686-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246686

            Bug ID: 246686
           Summary: graphics/ufraw fails to build using poudriere on 12.1
                    Stable  amd64 with error variable 'noise' must have
                    explicitly specified data sharing attributes
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: transitive@gmail.com
          Assignee: rodrigo@FreeBSD.org
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
 Attachment #214796 text/plain
         mime type:

Created attachment 214796
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214796&action=
=3Dedit
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 =3D 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=20
-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=20
-I/usr/local/include/libpng16   -DDCRAW_NOMAIN
-DUFRAW_LOCALEDIR=3D\"/usr/local/share/locale\" -I/usr/local/include  -O2 -=
pipe=20
-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 =3D 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 speci=
fied
data sharing attributes
            thold =3D 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 specifi=
ed
data sharing attributes
            for (row =3D 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=3D0; 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 =3D (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 =3D 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 specifi=
ed
data sharing attributes
                color =3D 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 specifi=
ed
data sharing attributes
            for (col =3D 3 + (FC(row, 3) & 1), c =3D FC(row, col); col < wi=
dth - 3;
col +=3D 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 =3D 3 + (FC(row, 3) & 1), c =3D FC(row, col); col < wi=
dth - 3;
col +=3D 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 =3D 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 =3D 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 =3D (gint64)(get_pixel(h, dark, i, cc, pixels)=
 -
black) *
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
^~~~~
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 =3D 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) *
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
 ^~~~~
/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'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/ufraw
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for ufraw-0.22_15
build of graphics/ufraw | ufraw-0.22_15 ended at Sat May 23 18:07:47 EDT 20=
20
build time: 00:00:30
!!! build failure encountered !!!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246686-7788>