+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=38 WRKLOG=/tmp/bulklog/py38-pillow_heif-0.10.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=38 WRKLOG=/tmp/bulklog/py38-pillow_heif-0.10.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for py38-pillow_heif-0.10.0 * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-38 creating build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/heif.py -> build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/constants.py -> build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/misc.py -> build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/_version.py -> build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/as_plugin.py -> build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/__init__.py -> build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/AvifImagePlugin.py -> build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/_lib_info.py -> build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/options.py -> build/lib.linux-x86_64-cpython-38/pillow_heif copying pillow_heif/HeifImagePlugin.py -> build/lib.linux-x86_64-cpython-38/pillow_heif running build_ext libheif is already present. building '_pillow_heif' extension creating build/temp.linux-x86_64-cpython-38 creating build/temp.linux-x86_64-cpython-38/pillow_heif cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include/db4 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include/db4 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include/db4 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/python3.8 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.8 -I/usr/pkg/include -fPIC -I/usr/include -I/usr/pkg/include/python3.8 -I/usr/pkg/include -I/usr/pkg/include/python3.8 -c pillow_heif/_pillow_heif.c -o build/temp.linux-x86_64-cpython-38/pillow_heif/_pillow_heif.o -Ofast -Werror pillow_heif/_pillow_heif.c: In function '_CtxWriteImage_add_plane': pillow_heif/_pillow_heif.c:143:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) ^ pillow_heif/_pillow_heif.c:143:13: note: use option -std=c99 or -std=gnu99 to compile your code pillow_heif/_pillow_heif.c:146:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:143:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) ^ pillow_heif/_pillow_heif.c:146:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:147:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:156:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:146:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:156:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:157:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:167:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:156:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:167:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:168:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:177:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:167:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:177:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:178:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:192:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:193:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:202:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:192:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:202:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:203:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:213:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:202:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:213:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:214:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:223:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:213:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:223:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:224:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:234:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:223:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:234:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:235:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:244:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:234:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:244:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:245:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c: In function '_CtxWriteImage_add_plane_la': pillow_heif/_pillow_heif.c:317:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:318:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:328:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:329:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:339:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:340:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:349:18: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:339:18: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:349:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:350:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c: In function '_CtxWriteImage_add_plane_l': pillow_heif/_pillow_heif.c:408:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) ^ pillow_heif/_pillow_heif.c:411:18: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:408:18: note: previous definition of 'i' was here for (int i = 0; i < height; i++) ^ pillow_heif/_pillow_heif.c:411:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:412:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) ^ pillow_heif/_pillow_heif.c:418:18: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:411:18: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:418:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:419:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) ^ pillow_heif/_pillow_heif.c: In function '_CtxImage_metadata': pillow_heif/_pillow_heif.c:794:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < n_metas; i++) { ^ pillow_heif/_pillow_heif.c: In function '_CtxImage_thumbnails': pillow_heif/_pillow_heif.c:837:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < n_images; i++) { ^ pillow_heif/_pillow_heif.c: In function 'decode_image': pillow_heif/_pillow_heif.c:901:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:909:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:910:25: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c:920:30: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:909:30: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:920:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:921:25: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c:938:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:939:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c:949:26: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:938:26: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:949:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:950:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c:961:26: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:949:26: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:961:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:962:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c:971:26: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:961:26: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:971:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:972:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c:982:26: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:971:26: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:982:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:983:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c:993:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:994:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c:1006:26: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:982:26: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:1006:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:1007:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c:1016:26: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:1006:26: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:1016:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:1017:21: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < self->width; i2++) { ^ pillow_heif/_pillow_heif.c: In function '_load_file': pillow_heif/_pillow_heif.c:1148:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < n_images; i++) { ^ error: command '/home/pbulk/build/graphics/py-pillow_heif/work/.cwrapper/bin/cc' failed with exit code 1 ERROR Backend subprocess exited when trying to invoke build_wheel *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/graphics/py-pillow_heif *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/graphics/py-pillow_heif