Created attachment 910397 [details] app-crypt/mhash-0.9.9.9-r3 build log libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/mutils -I../include -O2 -pipe -c stdfns.c -fPIC -DPIC -o .libs/stdfns.o keygen.c:29:16: error: conflicting types for 'mhash_keygen_uses_hash_algorithm'; have '_Bool(keygenid)' {aka '_Bool(enum __keygenid)'} 29 | mutils_boolean mhash_keygen_uses_hash_algorithm(keygenid type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from keygen.c:25: ./mhash_int.h:50:16: note: previous declaration of 'mhash_keygen_uses_hash_algorithm' with type '_Bool(void)' 50 | mutils_boolean mhash_keygen_uses_hash_algorithm(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keygen.c:37:16: error: conflicting types for 'mhash_keygen_uses_count'; have '_Bool(keygenid)' {aka '_Bool(enum __keygenid)'} 37 | mutils_boolean mhash_keygen_uses_count(keygenid type) | ^~~~~~~~~~~~~~~~~~~~~~~ ./mhash_int.h:49:16: note: previous declaration of 'mhash_keygen_uses_count' with type '_Bool(void)' 49 | mutils_boolean mhash_keygen_uses_count(); | ^~~~~~~~~~~~~~~~~~~~~~~ keygen.c:45:16: error: conflicting types for 'mhash_keygen_uses_salt'; have '_Bool(keygenid)' {aka '_Bool(enum __keygenid)'} 45 | mutils_boolean mhash_keygen_uses_salt(keygenid type) | ^~~~~~~~~~~~~~~~~~~~~~ ./mhash_int.h:48:16: note: previous declaration of 'mhash_keygen_uses_salt' with type '_Bool(void)' 48 | mutils_boolean mhash_keygen_uses_salt(); | ^~~~~~~~~~~~~~~~~~~~~~ keygen.c:67:15: error: conflicting types for 'mhash_get_keygen_salt_size'; have 'uint32_t(keygenid)' {aka 'unsigned int(enum __keygenid)'} 67 | mutils_word32 mhash_get_keygen_salt_size(keygenid type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./mhash_int.h:46:15: note: previous declaration of 'mhash_get_keygen_salt_size' with type 'uint32_t(void)' {aka 'unsigned int(void)'} 46 | mutils_word32 mhash_get_keygen_salt_size(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ keygen.c:87:15: error: conflicting types for 'mhash_get_keygen_name'; have 'uint8_t *(hashid)' {aka 'unsigned char *(enum __hashid)'} 87 | mutils_word8 *mhash_get_keygen_name(hashid type) | ^~~~~~~~~~~~~~~~~~~~~ ./mhash_int.h:45:15: note: previous declaration of 'mhash_get_keygen_name' with type 'uint8_t *(void)' {aka 'unsigned char *(void)'} 45 | mutils_word8 *mhash_get_keygen_name(); | ^~~~~~~~~~~~~~~~~~~~~ keygen.c:118:14: error: conflicting types for 'mhash_keygen'; have 'uint32_t(keygenid, hashid, uint64_t, void *, uint32_t, void *, uint32_t, uint8_t *, uint32_t)' {aka 'unsigned int(enum __keygenid, enum __hashid, long unsigned int, void *, unsigned int, void *, unsigned int, unsigned char *, unsigned int)'} 118 | mutils_error mhash_keygen(keygenid algorithm, hashid opt_algorithm, | ^~~~~~~~~~~~ ./mhash_int.h:43:14: note: previous declaration of 'mhash_keygen' with type 'uint32_t(void)' {aka 'unsigned int(void)'} 43 | mutils_error mhash_keygen(); | ^~~~~~~~~~~~ keygen.c:171:14: error: conflicting types for 'mhash_keygen_ext'; have 'uint32_t(keygenid, KEYGEN, void *, uint32_t, uint8_t *, uint32_t)' {aka 'unsigned int(enum __keygenid, struct __KEYGEN, void *, unsigned int, unsigned char *, unsigned int)'} 171 | mutils_error mhash_keygen_ext(keygenid algorithm, KEYGEN data, | ^~~~~~~~~~~~~~~~ ./mhash_int.h:44:14: note: previous declaration of 'mhash_keygen_ext' with type 'uint32_t(void)' {aka 'unsigned int(void)'} 44 | mutils_error mhash_keygen_ext(); | ^~~~~~~~~~~~~~~~ make[1]: *** [Makefile:508: keygen.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... stdfns.c: In function 'mutils_memset': stdfns.c:192:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 192 | remainder = (-(mutils_word32)s) & 0x3; | ^ stdfns.c: In function 'mutils_memcpy': stdfns.c:246:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 246 | if ((n < 16) || ((mutils_word32)ptr1 & 0x3) || ((mutils_word32)ptr2 | ^ stdfns.c:246:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 246 | if ((n < 16) || ((mutils_word32)ptr1 & 0x3) || ((mutils_word32)ptr2 | ^ stdfns.c: In function 'mutils_word32nswap': stdfns.c:326:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 326 | if ((mutils_word32)x & 0x3) | ^ stdfns.c: In function 'mutils_memmove': stdfns.c:381:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 381 | if ((n < 16) || ((mutils_word32)dest & 0x3) || ((mutils_word32)src & 0x3)) | ^ stdfns.c:381:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 381 | if ((n < 16) || ((mutils_word32)dest & 0x3) || ((mutils_word32)src & 0x3)) | ^ make[1]: Leaving directory '/var/tmp/portage/app-crypt/mhash-0.9.9.9-r3/work/mhash-0.9.9.9/lib' make: *** [Makefile:430: all-recursive] Error 1 * ERROR: app-crypt/mhash-0.9.9.9-r3::gentoo failed (compile phase): * emake failed
Created attachment 910398 [details] OldManSeph emerge --info
*** This bug has been marked as a duplicate of bug 943753 ***