=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for hydan-0.13nb5 --- libdis --- --- lns --- --- hdn_common.o --- --- hdn_embed.o --- --- hdn_decode.o --- --- hdn_stats.o --- --- libdis --- cd libdisasm/src/arch/i386/libdisasm && make libdisasm --- lns --- ln -fs hydan hydan-decode --- hdn_common.o --- gcc -Wall -Ilibdisasm/src/arch/i386/libdisasm -g -DVARBITS -I/usr/include -c hdn_common.c --- hdn_embed.o --- gcc -Wall -Ilibdisasm/src/arch/i386/libdisasm -g -DVARBITS -I/usr/include -c hdn_embed.c --- hdn_decode.o --- gcc -Wall -Ilibdisasm/src/arch/i386/libdisasm -g -DVARBITS -I/usr/include -c hdn_decode.c --- hdn_stats.o --- gcc -Wall -Ilibdisasm/src/arch/i386/libdisasm -g -DVARBITS -I/usr/include -c hdn_stats.c --- lns --- ln -fs hydan hydan-stats --- libdis --- --- libdis.o --- --- hdn_crypto.o --- --- libdis --- gcc -I. -O3 -ggdb -I/usr/include -c libdis.c --- hdn_crypto.o --- gcc -Wall -Ilibdisasm/src/arch/i386/libdisasm -g -DVARBITS -I/usr/include -c hdn_crypto.c --- hdn_decode.o --- hdn_decode.c: In function '_decode_message': hdn_decode.c:88:43: warning: pointer targets in passing argument 2 of 'hdn_crypto_decrypt' differ in signedness [-Wpointer-sign] hdn_crypto_decrypt (&tmp, key); ^~~ In file included from hydan.h:119:0, from hdn_decode.h:12, from hdn_decode.c:9: hdn_crypto.h:18:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' void hdn_crypto_decrypt (hdn_data_t **inout, uint8_t *key); ^~~~~~~~~~~~~~~~~~ hdn_decode.c: In function 'hdn_decode_main': hdn_decode.c:121:38: warning: pointer targets in passing argument 1 of 'hdn_exe_get_sections' differ in signedness [-Wpointer-sign] if (!(sh = hdn_exe_get_sections (host_data->content))) ^~~~~~~~~ In file included from hydan.h:122:0, from hdn_decode.h:12, from hdn_decode.c:9: hdn_exe.h:17:24: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' hdn_sections_header_t *hdn_exe_get_sections (uint8_t *file_start); ^~~~~~~~~~~~~~~~~~~~ In file included from hydan.h:123:0, from hdn_decode.h:12, from hdn_decode.c:9: hdn_io.h:15:22: warning: too many arguments for format [-Wformat-extra-args] fprintf (stderr, "%s: " s "\n", __func__, ## args); \ ^ hdn_decode.c:123:9: note: in expansion of macro 'HDN_WARN' HDN_WARN ("Error extracting sections from host file", ""); ^~~~~~~~ hdn_decode.c:152:37: warning: pointer targets in passing argument 2 of 'hdn_crypto_decrypt' differ in signedness [-Wpointer-sign] hdn_crypto_decrypt (&mesg_data, password); ^~~~~~~~ In file included from hydan.h:119:0, from hdn_decode.h:12, from hdn_decode.c:9: hdn_crypto.h:18:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' void hdn_crypto_decrypt (hdn_data_t **inout, uint8_t *key); ^~~~~~~~~~~~~~~~~~ In file included from hydan.h:122:0, from hdn_decode.h:12, from hdn_decode.c:9: hdn_decode.c: At top level: hdn_exe.h:22:13: warning: inline function 'hdn_exe_section_is_code' declared but never defined inline char hdn_exe_section_is_code (hdn_sections_t *hs); ^~~~~~~~~~~~~~~~~~~~~~~ --- hdn_crypto.o --- In file included from hydan.h:123:0, from hdn_crypto.h:12, from hdn_crypto.c:9: hdn_crypto.c: In function 'hdn_crypto_srandom': hdn_io.h:15:22: warning: too many arguments for format [-Wformat-extra-args] fprintf (stderr, "%s: " s "\n", __func__, ## args); \ ^ hdn_crypto.c:39:9: note: in expansion of macro 'HDN_WARN' HDN_WARN ("Error: Invalid pass. Using default seed instead", ""); ^~~~~~~~ hdn_crypto.c: In function 'hdn_crypto_hash': hdn_crypto.c:71:16: error: storage size of 'ctx' isn't known EVP_MD_CTX ctx; ^~~ hdn_crypto.c:71:16: warning: unused variable 'ctx' [-Wunused-variable] hdn_crypto.c: In function 'hdn_crypto_encrypt': hdn_crypto.c:91:20: error: storage size of 'ctx' isn't known EVP_CIPHER_CTX ctx; ^~~ hdn_crypto.c:115:45: warning: pointer targets in passing argument 1 of 'hdn_crypto_hash' differ in signedness [-Wpointer-sign] hdn_math_xor (&in->sz, hdn_crypto_hash (key), sizeof (in->sz)); ^~~ hdn_crypto.c:68:10: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' uint8_t *hdn_crypto_hash (char *in) ^~~~~~~~~~~~~~~ hdn_crypto.c:120:38: warning: pointer targets in passing argument 3 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] EVP_EncryptUpdate (&ctx, cipher, &out_sz, (char *)in, sizeof(in->sz) + sz); ^ --- hdn_common.o --- hdn_common.c: In function 'hdn_disassemble_all': --- hdn_crypto.o --- In file included from hydan.h:24:0, from hdn_crypto.h:12, from hdn_crypto.c:9: /usr/include/openssl/evp.h:586:16: note: expected 'int *' but argument is of type 'uint32_t * {aka unsigned int *}' /*__owur*/ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ --- hdn_common.o --- hdn_common.c:32:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.memaddr = hs->data.content + host_curr_pos; ^ --- hdn_crypto.o --- hdn_crypto.c:120:47: warning: pointer targets in passing argument 4 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] EVP_EncryptUpdate (&ctx, cipher, &out_sz, (char *)in, sizeof(in->sz) + sz); ^ In file included from hydan.h:24:0, from hdn_crypto.h:12, from hdn_crypto.c:9: /usr/include/openssl/evp.h:586:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ --- hdn_common.o --- hdn_common.c:36:21: warning: pointer targets in passing argument 1 of 'x86_disasm' differ in signedness [-Wpointer-sign] x86_disasm (hs->data.content, ^~ --- hdn_crypto.o --- hdn_crypto.c:123:48: warning: pointer targets in passing argument 3 of 'EVP_EncryptFinal' differ in signedness [-Wpointer-sign] EVP_EncryptFinal (&ctx, cipher + total_sz, &out_sz); ^ In file included from hydan.h:24:0, from hdn_crypto.h:12, from hdn_crypto.c:9: /usr/include/openssl/evp.h:590:16: note: expected 'int *' but argument is of type 'uint32_t * {aka unsigned int *}' /*__owur*/ int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~ --- hdn_common.o --- In file included from hydan.h:35:0, from hdn_common.h:12, from hdn_common.c:9: libdisasm/src/arch/i386/libdisasm/libdis.h:399:5: note: expected 'unsigned char *' but argument is of type 'char *' int x86_disasm( unsigned char *buf, unsigned int buf_len, ^~~~~~~~~~ --- hdn_crypto.o --- hdn_crypto.c:91:20: warning: unused variable 'ctx' [-Wunused-variable] EVP_CIPHER_CTX ctx; ^~~ hdn_crypto.c: In function 'hdn_crypto_decrypt': hdn_crypto.c:150:20: error: storage size of 'ctx' isn't known EVP_CIPHER_CTX ctx; ^~~ --- hdn_common.o --- In file included from hydan.h:122:0, from hdn_common.h:12, from hdn_common.c:9: hdn_common.c: At top level: --- hdn_crypto.o --- hdn_crypto.c:165:37: warning: pointer targets in passing argument 3 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] EVP_DecryptUpdate (&ctx, plain, &out_sz, in->content, in->sz); ^ --- hdn_common.o --- hdn_exe.h:22:13: warning: inline function 'hdn_exe_section_is_code' declared but never defined inline char hdn_exe_section_is_code (hdn_sections_t *hs); ^~~~~~~~~~~~~~~~~~~~~~~ --- hdn_crypto.o --- In file included from hydan.h:24:0, from hdn_crypto.h:12, from hdn_crypto.c:9: /usr/include/openssl/evp.h:599:16: note: expected 'int *' but argument is of type 'uint32_t * {aka unsigned int *}' /*__owur*/ int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ hdn_crypto.c:165:46: warning: pointer targets in passing argument 4 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] EVP_DecryptUpdate (&ctx, plain, &out_sz, in->content, in->sz); ^~ In file included from hydan.h:24:0, from hdn_crypto.h:12, from hdn_crypto.c:9: /usr/include/openssl/evp.h:599:16: note: expected 'const unsigned char *' but argument is of type 'char *' /*__owur*/ int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^~~~~~~~~~~~~~~~~ hdn_crypto.c:166:45: warning: pointer targets in passing argument 3 of 'EVP_DecryptFinal' differ in signedness [-Wpointer-sign] EVP_DecryptFinal (&ctx, plain + out_sz, &out_sz); ^ In file included from hydan.h:24:0, from hdn_crypto.h:12, from hdn_crypto.c:9: /usr/include/openssl/evp.h:601:12: note: expected 'int *' but argument is of type 'uint32_t * {aka unsigned int *}' __owur int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, ^~~~~~~~~~~~~~~~ hdn_crypto.c:172:45: warning: pointer targets in passing argument 1 of 'hdn_crypto_hash' differ in signedness [-Wpointer-sign] hdn_math_xor (&in->sz, hdn_crypto_hash (key), sizeof (in->sz)); ^~~ hdn_crypto.c:68:10: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' uint8_t *hdn_crypto_hash (char *in) ^~~~~~~~~~~~~~~ hdn_crypto.c:150:20: warning: unused variable 'ctx' [-Wunused-variable] EVP_CIPHER_CTX ctx; ^~~ In file included from hydan.h:122:0, from hdn_crypto.h:12, from hdn_crypto.c:9: hdn_crypto.c: At top level: hdn_exe.h:22:13: warning: inline function 'hdn_exe_section_is_code' declared but never defined inline char hdn_exe_section_is_code (hdn_sections_t *hs); ^~~~~~~~~~~~~~~~~~~~~~~ *** [hdn_crypto.o] Error code 1 make: stopped in /tmp/pkgbuild/security/hydan/work.i386/hydan --- hdn_stats.o --- hdn_stats.c: In function 'hdn_stats_embeddable_bits': hdn_stats.c:22:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.memaddr = data->content + curr_pos; ^ hdn_stats.c:24:21: warning: pointer targets in passing argument 1 of 'x86_disasm' differ in signedness [-Wpointer-sign] x86_disasm (data->content, data->sz, 0, curr_pos, &d.insn); ^~~~ In file included from hydan.h:35:0, from hdn_stats.h:12, from hdn_stats.c:9: libdisasm/src/arch/i386/libdisasm/libdis.h:399:5: note: expected 'unsigned char *' but argument is of type 'char *' int x86_disasm( unsigned char *buf, unsigned int buf_len, ^~~~~~~~~~ --- hdn_embed.o --- hdn_embed.c: In function '_embed': hdn_embed.c:94:34: warning: pointer targets in passing argument 3 of 'hdn_subst_insns' differ in signedness [-Wpointer-sign] mesg_data->content + mesg_curr_pos, ^~~~~~~~~ In file included from hydan.h:127:0, from hdn_embed.h:12, from hdn_embed.c:9: hdn_subst_insns.h:48:10: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' uint32_t hdn_subst_insns (x86_insn_t *insn, uint8_t *host_loc, ^~~~~~~~~~~~~~~ --- hdn_stats.o --- hdn_stats.c: In function '_count_fns': --- hdn_embed.o --- hdn_embed.c: In function 'hdn_embed_main': --- hdn_stats.o --- hdn_stats.c:100:38: warning: pointer targets in passing argument 1 of 'hdn_exe_get_sections' differ in signedness [-Wpointer-sign] if (!(sh = hdn_exe_get_sections (host_data->content))) ^~~~~~~~~ --- hdn_embed.o --- hdn_embed.c:148:37: warning: pointer targets in passing argument 2 of 'hdn_crypto_encrypt' differ in signedness [-Wpointer-sign] hdn_crypto_encrypt (&mesg_data, password); ^~~~~~~~ --- hdn_stats.o --- In file included from hydan.h:122:0, from hdn_stats.h:12, from hdn_stats.c:9: hdn_exe.h:17:24: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' hdn_sections_header_t *hdn_exe_get_sections (uint8_t *file_start); ^~~~~~~~~~~~~~~~~~~~ --- hdn_embed.o --- In file included from hydan.h:119:0, from hdn_embed.h:12, from hdn_embed.c:9: hdn_crypto.h:17:6: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' void hdn_crypto_encrypt (hdn_data_t **inout, uint8_t *key); ^~~~~~~~~~~~~~~~~~ hdn_embed.c:161:38: warning: pointer targets in passing argument 1 of 'hdn_exe_get_sections' differ in signedness [-Wpointer-sign] if (!(sh = hdn_exe_get_sections (host_data->content))) ^~~~~~~~~ --- hdn_stats.o --- In file included from hydan.h:123:0, from hdn_stats.h:12, from hdn_stats.c:9: hdn_io.h:15:22: warning: too many arguments for format [-Wformat-extra-args] fprintf (stderr, "%s: " s "\n", __func__, ## args); \ ^ hdn_stats.c:102:9: note: in expansion of macro 'HDN_WARN' HDN_WARN ("Error extracting .text segment from host file", ""); ^~~~~~~~ --- hdn_embed.o --- In file included from hydan.h:122:0, from hdn_embed.h:12, from hdn_embed.c:9: hdn_exe.h:17:24: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' hdn_sections_header_t *hdn_exe_get_sections (uint8_t *file_start); ^~~~~~~~~~~~~~~~~~~~ --- hdn_stats.o --- hdn_stats.c:122:25: warning: pointer targets in passing argument 1 of 'x86_disasm' differ in signedness [-Wpointer-sign] x86_disasm (tmp_sections->data.content, ^~~~~~~~~~~~ In file included from hydan.h:35:0, from hdn_stats.h:12, from hdn_stats.c:9: libdisasm/src/arch/i386/libdisasm/libdis.h:399:5: note: expected 'unsigned char *' but argument is of type 'char *' int x86_disasm( unsigned char *buf, unsigned int buf_len, ^~~~~~~~~~ --- hdn_embed.o --- hdn_embed.c: At top level: hdn_exe.h:22:13: warning: inline function 'hdn_exe_section_is_code' declared but never defined inline char hdn_exe_section_is_code (hdn_sections_t *hs); ^~~~~~~~~~~~~~~~~~~~~~~ --- hdn_stats.o --- hdn_stats.c: In function '_do_stats': hdn_stats.c:249:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dis.memaddr = data->content + curr_pos; ^ hdn_stats.c:251:21: warning: pointer targets in passing argument 1 of 'x86_disasm' differ in signedness [-Wpointer-sign] x86_disasm (data->content, data->sz, 0, curr_pos, &dis.insn); ^~~~ In file included from hydan.h:35:0, from hdn_stats.h:12, from hdn_stats.c:9: libdisasm/src/arch/i386/libdisasm/libdis.h:399:5: note: expected 'unsigned char *' but argument is of type 'char *' int x86_disasm( unsigned char *buf, unsigned int buf_len, ^~~~~~~~~~ hdn_stats.c: In function 'hdn_stats_main': hdn_stats.c:328:42: warning: pointer targets in passing argument 1 of 'hdn_exe_get_sections' differ in signedness [-Wpointer-sign] if (!(sh = hdn_exe_get_sections (host_data->content))) ^~~~~~~~~ In file included from hydan.h:122:0, from hdn_stats.h:12, from hdn_stats.c:9: hdn_exe.h:17:24: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' hdn_sections_header_t *hdn_exe_get_sections (uint8_t *file_start); ^~~~~~~~~~~~~~~~~~~~ In file included from hydan.h:123:0, from hdn_stats.h:12, from hdn_stats.c:9: hdn_io.h:15:22: warning: too many arguments for format [-Wformat-extra-args] fprintf (stderr, "%s: " s "\n", __func__, ## args); \ ^ hdn_stats.c:330:13: note: in expansion of macro 'HDN_WARN' HDN_WARN ("Error extracting .text segment from host file", ""); ^~~~~~~~ In file included from hydan.h:122:0, from hdn_stats.h:12, from hdn_stats.c:9: hdn_stats.c: At top level: hdn_exe.h:22:13: warning: inline function 'hdn_exe_section_is_code' declared but never defined inline char hdn_exe_section_is_code (hdn_sections_t *hs); ^~~~~~~~~~~~~~~~~~~~~~~ --- libdis --- A failure has been detected in another branch of the parallel make make[1]: stopped in /tmp/pkgbuild/security/hydan/work.i386/hydan/libdisasm/src/arch/i386/libdisasm *** [libdis] Error code 2 make: stopped in /tmp/pkgbuild/security/hydan/work.i386/hydan 2 errors make: stopped in /tmp/pkgbuild/security/hydan/work.i386/hydan *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/security/hydan *** Error code 1 Stop. make: stopped in /usr/pkgsrc/security/hydan