+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mupdf-1.26.7nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mupdf-1.26.7nb1/work.log ===> Building for mupdf-1.26.7nb1 CC build/release/source/fitz/archive.o CC build/release/source/fitz/bbox-device.o CC build/release/source/fitz/bidi-std.o CC build/release/source/fitz/bidi.o CC build/release/source/fitz/bitmap.o CC build/release/source/fitz/brotli.o CC build/release/source/fitz/buffer.o CC build/release/source/fitz/color-fast.o CC build/release/source/fitz/color-icc-create.o CC build/release/source/fitz/color-lcms.o CC build/release/source/fitz/colorspace.o CC build/release/source/fitz/compress.o CC build/release/source/fitz/compressed-buffer.o CC build/release/source/fitz/context.o CC build/release/source/fitz/crypt-aes.o CC build/release/source/fitz/crypt-arc4.o CC build/release/source/fitz/crypt-md5.o CC build/release/source/fitz/crypt-sha2.o CC build/release/source/fitz/deskew.o CC build/release/source/fitz/device.o source/fitz/deskew.c:264:3: error: conflicting types for 'index_t'; have 'struct ' 264 | } index_t; | ^~~~~~~ In file included from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:46, from include/mupdf/memento.h:232, from include/mupdf/fitz/system.h:67, from include/mupdf/fitz.h:32, from source/fitz/deskew.c:23: /usr/include/sys/types.h:129:25: note: previous declaration of 'index_t' with type 'index_t' {aka 'short int'} 129 | typedef short index_t; | ^~~~~~~ In file included from source/fitz/deskew.c:293: source/fitz/deskew_c.h: In function 'zoom_x': source/fitz/deskew_c.h:40:31: error: request for member 'first_pixel' in something not a structure or union 40 | int pn = index->first_pixel; | ^~ source/fitz/deskew_c.h:45:59: error: request for member 'index' in something not a structure or union 45 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:46:43: error: request for member 'n' in something not a structure or union 46 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:86:26: error: request for member 'slow' in something not a structure or union 86 | if (index->slow) | ^~ source/fitz/deskew_c.h:89:32: error: request for member 'first_pixel' in something not a structure or union 89 | sr = &src[index->first_pixel * channels]; | ^~ source/fitz/deskew_c.h:93:59: error: request for member 'index' in something not a structure or union 93 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:94:43: error: request for member 'n' in something not a structure or union 94 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:97:39: error: request for member 'n' in something not a structure or union 97 | for (j = index->n; j > 0; j--, s += channels) | ^~ source/fitz/deskew_c.h: In function 'zoom_x1': source/fitz/deskew_c.h:123:36: error: request for member 'first_pixel' in something not a structure or union 123 | int pix_num = index->first_pixel; | ^~ source/fitz/deskew_c.h:125:51: error: request for member 'index' in something not a structure or union 125 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:126:35: error: request for member 'n' in something not a structure or union 126 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:162:26: error: request for member 'slow' in something not a structure or union 162 | if (index->slow) | ^~ source/fitz/deskew_c.h:165:31: error: request for member 'first_pixel' in something not a structure or union 165 | s = &src[index->first_pixel]; | ^~ source/fitz/deskew_c.h:168:59: error: request for member 'index' in something not a structure or union 168 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:169:43: error: request for member 'n' in something not a structure or union 169 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:171:39: error: request for member 'n' in something not a structure or union 171 | for (j = index->n; j > 0; j--) | ^~ source/fitz/deskew_c.h: In function 'zoom_x3': source/fitz/deskew_c.h:197:57: error: request for member 'first_pixel' in something not a structure or union 197 | int pix_num = index->first_pixel; | ^~ source/fitz/deskew_c.h:199:51: error: request for member 'index' in something not a structure or union 199 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:200:35: error: request for member 'n' in something not a structure or union 200 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:250:26: error: request for member 'slow' in something not a structure or union 250 | if (index->slow) | ^~ source/fitz/deskew_c.h:253:31: error: request for member 'first_pixel' in something not a structure or union 253 | s = &src[index->first_pixel * 3]; | ^~ source/fitz/deskew_c.h:256:59: error: request for member 'index' in something not a structure or union 256 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:257:43: error: request for member 'n' in something not a structure or union 257 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:261:39: error: request for member 'n' in something not a structure or union 261 | for (j = index->n; j > 0; j--) | ^~ source/fitz/deskew_c.h: In function 'zoom_x4': source/fitz/deskew_c.h:294:31: error: request for member 'first_pixel' in something not a structure or union 294 | int pn = index->first_pixel; | ^~ source/fitz/deskew_c.h:296:51: error: request for member 'index' in something not a structure or union 296 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:297:35: error: request for member 'n' in something not a structure or union 297 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:354:26: error: request for member 'slow' in something not a structure or union 354 | if (index->slow) | ^~ source/fitz/deskew_c.h:357:31: error: request for member 'first_pixel' in something not a structure or union 357 | s = &src[index->first_pixel * 4]; | ^~ source/fitz/deskew_c.h:360:59: error: request for member 'index' in something not a structure or union 360 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:361:43: error: request for member 'n' in something not a structure or union 361 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:366:39: error: request for member 'n' in something not a structure or union 366 | for (j = index->n; j > 0; j--) | ^~ source/fitz/deskew_c.h: In function 'zoom_y': source/fitz/deskew_c.h:404:38: error: request for member 'first_pixel' in something not a structure or union 404 | uint32_t off = (index->first_pixel + y) * stride + offset; | ^~ source/fitz/deskew_c.h:412:59: error: request for member 'index' in something not a structure or union 412 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:413:43: error: request for member 'n' in something not a structure or union 413 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:417:39: error: request for member 'n' in something not a structure or union 417 | for (j = index->n; j > 0; j--) | ^~ source/fitz/deskew_c.h: In function 'zoom_y1': source/fitz/deskew_c.h:446:38: error: request for member 'first_pixel' in something not a structure or union 446 | uint32_t off = (index->first_pixel + y) * stride + offset; | ^~ source/fitz/deskew_c.h:453:59: error: request for member 'index' in something not a structure or union 453 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:454:43: error: request for member 'n' in something not a structure or union 454 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:457:39: error: request for member 'n' in something not a structure or union 457 | for (j = index->n; j > 0; j--) | ^~ source/fitz/deskew_c.h: In function 'zoom_y3': source/fitz/deskew_c.h:486:38: error: request for member 'first_pixel' in something not a structure or union 486 | uint32_t off = (index->first_pixel + y) * stride + offset; | ^~ source/fitz/deskew_c.h:493:59: error: request for member 'index' in something not a structure or union 493 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:494:43: error: request for member 'n' in something not a structure or union 494 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:499:39: error: request for member 'n' in something not a structure or union 499 | for (j = index->n; j > 0; j--) | ^~ source/fitz/deskew_c.h: In function 'zoom_y4': source/fitz/deskew_c.h:535:38: error: request for member 'first_pixel' in something not a structure or union 535 | uint32_t off = (index->first_pixel + y) * stride + offset; | ^~ source/fitz/deskew_c.h:542:59: error: request for member 'index' in something not a structure or union 542 | const weight_t *w = &weights[index->index]; | ^~ source/fitz/deskew_c.h:543:43: error: request for member 'n' in something not a structure or union 543 | uint32_t j = index->n; | ^~ source/fitz/deskew_c.h:549:39: error: request for member 'n' in something not a structure or union 549 | for (j = index->n; j > 0; j--) | ^~ source/fitz/deskew.c: In function 'make_x_weights': source/fitz/deskew.c:456:22: error: request for member 'index' in something not a structure or union 456 | index->index = idx; | ^~ source/fitz/deskew.c:482:22: error: request for member 'first_pixel' in something not a structure or union 482 | index->first_pixel = left; | ^~ source/fitz/deskew.c:483:22: error: request for member 'last_pixel' in something not a structure or union 483 | index->last_pixel = k; | ^~ source/fitz/deskew.c:484:22: error: request for member 'n' in something not a structure or union 484 | index->n = k-left+1; | ^~ source/fitz/deskew.c:485:22: error: request for member 'slow' in something not a structure or union 485 | index->slow = left < 0 || k >= (int32_t)src_w; | ^~ source/fitz/deskew.c:487:30: error: request for member 'slow' in something not a structure or union 487 | index->slow = 1; | ^~ source/fitz/deskew.c: In function 'make_y_weights': source/fitz/deskew.c:571:22: error: request for member 'index' in something not a structure or union 571 | index->index = idx; | ^~ source/fitz/deskew.c:577:22: error: request for member 'last_pixel' in something not a structure or union 577 | index->last_pixel = right; | ^~ source/fitz/deskew.c:578:22: error: request for member 'n' in something not a structure or union 578 | index->n = right-left+1; | ^~ source/fitz/deskew.c:581:22: error: request for member 'first_pixel' in something not a structure or union 581 | index->first_pixel = left; | ^~ source/fitz/deskew.c:582:22: error: request for member 'slow' in something not a structure or union 582 | index->slow = 0; | ^~ source/fitz/deskew.c: In function 'rejig_for_zoom_y1': source/fitz/deskew.c:633:62: error: request for member 'index' in something not a structure or union 633 | weight_t *neww = new_weights + (index->index * 4); | ^~ source/fitz/deskew.c:634:46: error: request for member 'n' in something not a structure or union 634 | uint32_t n = index[0].n; | ^ source/fitz/deskew.c:636:60: error: request for member 'index' in something not a structure or union 636 | neww[4 * z] = weights[index->index + z]; | ^~ source/fitz/deskew.c:639:45: error: request for member 'n' in something not a structure or union 639 | if (index[0].n != index[k].n) | ^ source/fitz/deskew.c:639:59: error: request for member 'n' in something not a structure or union 639 | if (index[0].n != index[k].n) | ^ source/fitz/deskew.c:641:45: error: request for member 'first_pixel' in something not a structure or union 641 | if (index[0].first_pixel != index[k].first_pixel) | ^ source/fitz/deskew.c:641:69: error: request for member 'first_pixel' in something not a structure or union 641 | if (index[0].first_pixel != index[k].first_pixel) | ^ source/fitz/deskew.c:644:75: error: request for member 'index' in something not a structure or union 644 | neww[k + 4 * z] = weights[index[k].index + z]; | ^ source/fitz/deskew.c:647:30: error: request for member 'slow' in something not a structure or union 647 | index->slow = k; | ^~ source/fitz/deskew.c:627:27: warning: variable 'weights' set but not used [-Wunused-but-set-variable] 627 | weight_t *weights; | ^~~~~~~ source/fitz/deskew.c: In function 'fz_deskewer_band_pull': source/fitz/deskew.c:1032:120: error: request for member 'last_pixel' in something not a structure or union 1032 | int need_y = deskewer->index_y[which_y][deskewer->t_degrees >= 0 ? bander->dst_x1 - 1 : bander->dst_x0].last_pixel + iy; | ^ gmake: *** [Makefile:139: build/release/source/fitz/deskew.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/mupdf *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/mupdf