+ 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=39 WRKLOG=/tmp/bulklog/py39-pillow_heif-0.11.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/py39-pillow_heif-0.11.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for py39-pillow_heif-0.11.0 * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-39 creating build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/heif.py -> build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/constants.py -> build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/misc.py -> build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/_version.py -> build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/as_plugin.py -> build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/__init__.py -> build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/AvifImagePlugin.py -> build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/_lib_info.py -> build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/options.py -> build/lib.linux-x86_64-cpython-39/pillow_heif copying pillow_heif/HeifImagePlugin.py -> build/lib.linux-x86_64-cpython-39/pillow_heif running build_ext libheif is already present. building '_pillow_heif' extension creating build/temp.linux-x86_64-cpython-39 creating build/temp.linux-x86_64-cpython-39/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.9 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.9 -I/usr/pkg/include -fPIC -I/usr/include -I/usr/pkg/include/python3.9 -I/usr/pkg/include -I/usr/pkg/include/python3.9 -c pillow_heif/_pillow_heif.c -o build/temp.linux-x86_64-cpython-39/pillow_heif/_pillow_heif.o -Ofast -Werror pillow_heif/_pillow_heif.c: In function '_CtxWriteImage_add_plane': pillow_heif/_pillow_heif.c:144:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) ^ pillow_heif/_pillow_heif.c:144:13: note: use option -std=c99 or -std=gnu99 to compile your code pillow_heif/_pillow_heif.c:147:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:144:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) ^ pillow_heif/_pillow_heif.c:147:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:148:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:157:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:147:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:157:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:158:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:168:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:157:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:168:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:169:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:178:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:168:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:178:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:179:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:193:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:194:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:203:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:193:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:203:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:204:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:214:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:203:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:214:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:215:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:224:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:214:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:224:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:225:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:235:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:224:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:235:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:236:17: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:245:22: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:235:22: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:245:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:246: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:318:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:319:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:329:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:330:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:340:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:341:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) { ^ pillow_heif/_pillow_heif.c:350:18: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:340:18: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:350:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:351: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:409: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:18: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:409:18: note: previous definition of 'i' was here for (int i = 0; i < height; i++) ^ pillow_heif/_pillow_heif.c:412:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:413:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i2 = 0; i2 < width; i2++) ^ pillow_heif/_pillow_heif.c:419:18: error: redefinition of 'i' for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:412:18: note: previous definition of 'i' was here for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:419:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < height; i++) { ^ pillow_heif/_pillow_heif.c:420: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:799: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:842: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:912: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: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:931:30: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:920:30: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:931: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:932: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: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:960: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:960: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:961: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:972:26: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:960:26: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:972: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:973: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:972: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: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: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:1004: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:1005: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:1017:26: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:993:26: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:1017: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:1018: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:1027:26: error: redefinition of 'i' for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:1017:26: note: previous definition of 'i' was here for (int i = 0; i < self->height; i++) { ^ pillow_heif/_pillow_heif.c:1027: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:1028: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:1166: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