=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/dact", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for dact-0.8.42 gmake[1]: Entering directory '/home/pbulk/work/archivers/dact/work/dact-0.8.42' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/opt/pkg/dact.conf\" -DEXEEXT=\"\" -I/opt/pkg/include -c -o dact_common.o dact_common.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/opt/pkg/dact.conf\" -DEXEEXT=\"\" -I/opt/pkg/include -c -o comp_fail.o comp_fail.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/opt/pkg/dact.conf\" -DEXEEXT=\"\" -I/opt/pkg/include -c -o comp_plain.o comp_plain.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/opt/pkg/dact.conf\" -DEXEEXT=\"\" -I/opt/pkg/include -c -o buffer.o buffer.c In file included from dact_common.c:49: algorithms.h:52:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 52 | int (*(algorithms[256]))()={ comp_plain_algo, | ^~~~~~~~~~~~~~~ algorithms.h:52:33: note: (near initialization for 'algorithms[0]') In file included from algorithms.h:28: comp_plain.h:24:5: note: 'comp_plain_algo' declared here 24 | int comp_plain_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~~ In file included from dact_common.c:21: dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_rle.h:27:23: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_rle_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:53:33: note: in expansion of macro 'comp_rle_algo' 53 | comp_rle_algo, | ^~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[1]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_rle.h:27:23: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_rle_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:53:33: note: in expansion of macro 'comp_rle_algo' 53 | comp_rle_algo, | ^~~~~~~~~~~~~ In file included from dact.h:144: comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_delta.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_delta_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:54:33: note: in expansion of macro 'comp_delta_algo' 54 | comp_delta_algo, | ^~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[2]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_delta.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_delta_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:54:33: note: in expansion of macro 'comp_delta_algo' 54 | comp_delta_algo, | ^~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_text.h:27:24: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_text_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:55:33: note: in expansion of macro 'comp_text_algo' 55 | comp_text_algo, | ^~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[3]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_text.h:27:24: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_text_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:55:33: note: in expansion of macro 'comp_text_algo' 55 | comp_text_algo, | ^~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_zlib.h:27:24: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_zlib_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:57:33: note: in expansion of macro 'comp_zlib_algo' 57 | comp_zlib_algo, | ^~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[4]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_zlib.h:27:24: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_zlib_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:57:33: note: in expansion of macro 'comp_zlib_algo' 57 | comp_zlib_algo, | ^~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_mzlib.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_mzlib_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:58:33: note: in expansion of macro 'comp_mzlib_algo' 58 | comp_mzlib_algo, | ^~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[5]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_mzlib.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_mzlib_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:58:33: note: in expansion of macro 'comp_mzlib_algo' 58 | comp_mzlib_algo, | ^~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_snibble.h:27:27: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_snibble_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:63:33: note: in expansion of macro 'comp_snibble_algo' 63 | comp_snibble_algo, | ^~~~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[6]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_snibble.h:27:27: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_snibble_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:63:33: note: in expansion of macro 'comp_snibble_algo' 63 | comp_snibble_algo, | ^~~~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ algorithms.h:64:33: note: in expansion of macro 'DACT_FAILED_ALGO' 64 | DACT_FAILED_ALGO, | ^~~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[7]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ algorithms.h:64:33: note: in expansion of macro 'DACT_FAILED_ALGO' 64 | DACT_FAILED_ALGO, | ^~~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_mzlib2.h:27:26: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_mzlib2_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:66:33: note: in expansion of macro 'comp_mzlib2_algo' 66 | comp_mzlib2_algo, | ^~~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[8]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_mzlib2.h:27:26: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_mzlib2_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:66:33: note: in expansion of macro 'comp_mzlib2_algo' 66 | comp_mzlib2_algo, | ^~~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_bzlib.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_bzlib_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:71:33: note: in expansion of macro 'comp_bzlib_algo' 71 | comp_bzlib_algo, | ^~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[9]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_bzlib.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_bzlib_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:71:33: note: in expansion of macro 'comp_bzlib_algo' 71 | comp_bzlib_algo, | ^~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ algorithms.h:80:33: note: in expansion of macro 'DACT_FAILED_ALGO' 80 | DACT_FAILED_ALGO, | ^~~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[10]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ algorithms.h:80:33: note: in expansion of macro 'DACT_FAILED_ALGO' 80 | DACT_FAILED_ALGO, | ^~~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ algorithms.h:81:33: note: in expansion of macro 'DACT_FAILED_ALGO' 81 | DACT_FAILED_ALGO, | ^~~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[11]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ algorithms.h:81:33: note: in expansion of macro 'DACT_FAILED_ALGO' 81 | DACT_FAILED_ALGO, | ^~~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ algorithms.h:82:33: note: in expansion of macro 'DACT_FAILED_ALGO' 82 | DACT_FAILED_ALGO, | ^~~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[12]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ algorithms.h:82:33: note: in expansion of macro 'DACT_FAILED_ALGO' 82 | DACT_FAILED_ALGO, | ^~~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_lzoox.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_lzoox_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:84:33: note: in expansion of macro 'comp_lzoox_algo' 84 | comp_lzoox_algo, | ^~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[13]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_lzoox.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_lzoox_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:84:33: note: in expansion of macro 'comp_lzoox_algo' 84 | comp_lzoox_algo, | ^~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/opt/pkg/dact.conf\" -DEXEEXT=\"\" -I/opt/pkg/include -c -o header.o header.c comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_lzooy.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_lzooy_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:85:33: note: in expansion of macro 'comp_lzooy_algo' 85 | comp_lzooy_algo, | ^~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[14]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_lzooy.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_lzooy_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:85:33: note: in expansion of macro 'comp_lzooy_algo' 85 | comp_lzooy_algo, | ^~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_lzota.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_lzota_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:86:33: note: in expansion of macro 'comp_lzota_algo' 86 | comp_lzota_algo, | ^~~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'algorithms[15]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ comp_lzota.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define comp_lzota_algo DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ algorithms.h:86:33: note: in expansion of macro 'comp_lzota_algo' 86 | comp_lzota_algo, | ^~~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ algorithms.h:21: warning: header guard '_ALGORITHMS_H' followed by '#define' of a different macro [-Wheader-guard] 21 | #ifndef _ALGORITHMS_H algorithms.h:22: note: '_ALOGIRTHMS_H' is defined here; did you mean '_ALGORITHMS_H'? 22 | #define _ALOGIRTHMS_H gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/opt/pkg/dact.conf\" -DEXEEXT=\"\" -I/opt/pkg/include -c -o sort.o sort.c dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ cipher_chaos.h:27:22: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define cipher_chaos DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ ciphers.h:35:9: note: in expansion of macro 'cipher_chaos' 35 | cipher_chaos, | ^~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'ciphers[0]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ cipher_chaos.h:27:22: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define cipher_chaos DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ ciphers.h:35:9: note: in expansion of macro 'cipher_chaos' 35 | cipher_chaos, | ^~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ cipher_sub.h:27:20: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define cipher_sub DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ ciphers.h:36:9: note: in expansion of macro 'cipher_sub' 36 | cipher_sub, | ^~~~~~~~~~ dact.h:174:26: note: (near initialization for 'ciphers[1]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ cipher_sub.h:27:20: note: in expansion of macro 'DACT_FAILED_ALGO' 27 | #define cipher_sub DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ ciphers.h:36:9: note: in expansion of macro 'cipher_sub' 36 | cipher_sub, | ^~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ cipher_serpent.h:7:24: note: in expansion of macro 'DACT_FAILED_ALGO' 7 | #define cipher_serpent DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ ciphers.h:38:9: note: in expansion of macro 'cipher_serpent' 38 | cipher_serpent, | ^~~~~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'ciphers[2]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ cipher_serpent.h:7:24: note: in expansion of macro 'DACT_FAILED_ALGO' 7 | #define cipher_serpent DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ ciphers.h:38:9: note: in expansion of macro 'cipher_serpent' 38 | cipher_serpent, | ^~~~~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact.h:174:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ cipher_psub.h:26:21: note: in expansion of macro 'DACT_FAILED_ALGO' 26 | #define cipher_psub DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ ciphers.h:42:9: note: in expansion of macro 'cipher_psub' 42 | cipher_psub, | ^~~~~~~~~~~ dact.h:174:26: note: (near initialization for 'ciphers[3]') 174 | #define DACT_FAILED_ALGO comp_fail_algo | ^~~~~~~~~~~~~~ cipher_psub.h:26:21: note: in expansion of macro 'DACT_FAILED_ALGO' 26 | #define cipher_psub DACT_FAILED_ALGO | ^~~~~~~~~~~~~~~~ ciphers.h:42:9: note: in expansion of macro 'cipher_psub' 42 | cipher_psub, | ^~~~~~~~~~~ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact_common.c: In function 'dact_config_execute': dact_common.c:122:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int, unsigned char *, unsigned char *, char *, int, int)' [-Wincompatible-pointer-types] 122 | algorithms[i]=DACT_FAILED_ALGO; | ^ comp_fail.h:24:5: note: 'comp_fail_algo' declared here 24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize); | ^~~~~~~~~~~~~~ dact_common.c: In function 'dact_blk_decompress': dact_common.c:176:16: error: too many arguments to function 'algorithms[algo]'; expected 0, have 6 176 | retval=algorithms[algo](DACT_MODE_DECMP, NULL, srcbuf, ret, size, bufsize); | ^~~~~~~~~~ dact_common.c: In function 'dact_blk_compress': dact_common.c:196:57: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 196 | if (algorithms[i]!=NULL && algorithms[i]!=DACT_FAILED_ALGO) highest_algo=i; | ^~ dact_common.c:200:57: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 200 | if (algorithms[i]!=NULL && algorithms[i]!=DACT_FAILED_ALGO) { | ^~ dact_common.c:201:27: error: too many arguments to function 'algorithms[i]'; expected 0, have 6 201 | x=algorithms[i](DACT_MODE_COMPR, NULL, srcbuf, tmpbuf, size, bufsize); | ^~~~~~~~~~ dact_common.c:204:35: error: too many arguments to function 'algorithms[i]'; expected 0, have 6 204 | m=algorithms[i](DACT_MODE_DECMP, NULL, tmpbuf, verif_bf, x, size); | ^~~~~~~~~~ dact_common.c: In function 'dact_process_file': dact_common.c:299:25: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5 299 | ciphers[cipher](NULL, NULL, 0, keybuf, DACT_MODE_CINIT+DACT_MODE_CENC); | ^~~~~~~ ~~~~ dact_common.c:336:35: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5 336 | x=ciphers[cipher](out_buf, tmpbuf, retsize, keybuf, DACT_MODE_CENC); | ^~~~~~~ ~~~~~~~ dact_common.c:592:25: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5 592 | ciphers[cipher](NULL, NULL, 0, keybuf, DACT_MODE_CINIT+DACT_MODE_CDEC); | ^~~~~~~ ~~~~ dact_common.c:625:35: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5 625 | x=ciphers[cipher](in_buf, tmpbuf, blksize, keybuf, DACT_MODE_CDEC); | ^~~~~~~ ~~~~~~ dact_common.c:769:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 769 | printf("Compressed Size : %llu\n", fileoutsize); | ~~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu dact_common.c:770:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 770 | printf("Uncompressed Size : %llu\n", filesize); | ~~~^ ~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu dact_common.c:265:26: warning: variable 'canlseek' set but not used [-Wunused-but-set-variable] 265 | int x=0, new_fd, canlseek=0; | ^~~~~~~~ gmake[1]: *** [: dact_common.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/home/pbulk/work/archivers/dact/work/dact-0.8.42' gmake: *** [Makefile:50: module] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/dact *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/dact