=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/www/swiggle", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for swiggle-0.4nb4 --- swiggle.o --- --- resize.o --- --- swiggle.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -I/usr/local/include -I/usr/local/include/libexif -I/opt/pkg/include -c swiggle.c --- resize.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -I/usr/local/include -I/usr/local/include/libexif -I/opt/pkg/include -c resize.c resize.c: In function 'resize_bicubic': resize.c:110:17: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 110 | bzero(y_vector, s_row_width * sizeof(double)); | ^~~~~ resize.c:110:17: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] resize.c:65:19: warning: variable 'i' set but not used [-Wunused-but-set-variable] 65 | int comp, i, next_col, next_row, num_rows; | ^ --- swiggle.o --- swiggle.c: In function 'main': swiggle.c:116:19: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(const void *, const void *)' [-Wincompatible-pointer-types] 116 | sort_func = sort_by_filename; | ^ swiggle.c:88:9: note: 'sort_by_filename' declared here 88 | int sort_by_filename(const void *, const void *); | ^~~~~~~~~~~~~~~~ swiggle.c:157:43: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(const void *, const void *)' [-Wincompatible-pointer-types] 157 | sort_func = sort_by_filename; | ^ swiggle.c:88:9: note: 'sort_by_filename' declared here 88 | int sort_by_filename(const void *, const void *); | ^~~~~~~~~~~~~~~~ swiggle.c:159:43: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(const void *, const void *)' [-Wincompatible-pointer-types] 159 | sort_func = sort_by_filesize; | ^ swiggle.c:89:9: note: 'sort_by_filesize' declared here 89 | int sort_by_filesize(const void *, const void *); | ^~~~~~~~~~~~~~~~ swiggle.c:161:43: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(const void *, const void *)' [-Wincompatible-pointer-types] 161 | sort_func = sort_by_mtime; | ^ swiggle.c:90:9: note: 'sort_by_mtime' declared here 90 | int sort_by_mtime(const void *, const void *); | ^~~~~~~~~~~~~ swiggle.c:272:30: error: 'struct dirent' has no member named 'd_type' 272 | if (albums[i].d_type == DT_DIR && albums[i].d_name[0] != '.') { | ^ swiggle.c:272:41: error: 'DT_DIR' undeclared (first use in this function) 272 | if (albums[i].d_type == DT_DIR && albums[i].d_name[0] != '.') { | ^~~~~~ swiggle.c:272:41: note: each undeclared identifier is reported only once for each function it appears in swiggle.c: In function 'processdir': swiggle.c:341:26: error: 'struct dirent' has no member named 'd_type' 341 | if ((dent->d_type != DT_REG) || | ^~ swiggle.c:341:38: error: 'DT_REG' undeclared (first use in this function) 341 | if ((dent->d_type != DT_REG) || | ^~~~~~ swiggle.c:380:66: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 380 | qsort(imglist, imgcount, sizeof(struct imginfo), sort_func); | ^~~~~~~~~ | | | int (*)(void) In file included from /usr/include/stdlib.h:41, from swiggle.c:48: /usr/include/iso/stdlib_iso.h:147:43: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void)' 147 | extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ swiggle.c: In function 'create_images': swiggle.c:433:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(struct jpeg_decompress_struct *, struct jpeg_compress_struct *, const unsigned char *, unsigned char **)' [-Wincompatible-pointer-types] 433 | resize_func = resize_bilinear; | ^ In file included from swiggle.c:59: swiggle.h:79:5: note: 'resize_bilinear' declared here 79 | int resize_bilinear(struct jpeg_decompress_struct *, | ^~~~~~~~~~~~~~~ swiggle.c:435:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(struct jpeg_decompress_struct *, struct jpeg_compress_struct *, const unsigned char *, unsigned char **)' [-Wincompatible-pointer-types] 435 | resize_func = resize_bicubic; | ^ swiggle.h:77:5: note: 'resize_bicubic' declared here 77 | int resize_bicubic(struct jpeg_decompress_struct *, | ^~~~~~~~~~~~~~ swiggle.c:577:29: error: too many arguments to function 'resize_func'; expected 0, have 4 577 | if (resize_func(&dinfo, &cinfo, p, &o)) { | ^~~~~~~~~~~ ~~~~~~ swiggle.c:688:29: error: too many arguments to function 'resize_func'; expected 0, have 4 688 | if (resize_func(&dinfo, &cinfo, p, &o)) { | ^~~~~~~~~~~ ~~~~~~ swiggle.c: In function 'find_orphans': swiggle.c:834:34: error: 'struct dirent' has no member named 'd_type' 834 | if ((dent->d_type != DT_REG) || | ^~ swiggle.c:834:46: error: 'DT_REG' undeclared (first use in this function) 834 | if ((dent->d_type != DT_REG) || | ^~~~~~ --- resize.o --- *** [resize.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/www/swiggle/work/swiggle-0.4 --- swiggle.o --- *** [swiggle.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/www/swiggle/work/swiggle-0.4 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/www/swiggle/work/swiggle-0.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/swiggle *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/swiggle