* Package: app-crypt/signify-24 * Repository: gentoo * Maintainer: patrick@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking signify-24.tar.gz to /var/tmp/portage/app-crypt/signify-24/work >>> Source unpacked in /var/tmp/portage/app-crypt/signify-24/work >>> Preparing source in /var/tmp/portage/app-crypt/signify-24/work/signify-24 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-crypt/signify-24/work/signify-24 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-crypt/signify-24/work/signify-24 ... make -j1 fatal: not a git repository (or any parent up to mount point /var/tmp) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o crypto_api.o crypto_api.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o mod_ed25519.o mod_ed25519.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o mod_ge25519.o mod_ge25519.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o fe25519.o fe25519.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o sc25519.o sc25519.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o bcrypt_pbkdf.o bcrypt_pbkdf.c bcrypt_pbkdf.c: In function ‘bcrypt_pbkdf’: bcrypt_pbkdf.c:122:21: warning: pointer targets in passing argument 2 of ‘SHA512Update’ differ in signedness [-Wpointer-sign] 122 | SHA512Update(&ctx, pass, passlen); | ^~~~ | | | const char * In file included from bcrypt_pbkdf.c:23: sha2.h:126:31: note: expected ‘const u_int8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 126 | void SHA512Update(SHA2_CTX *, const u_int8_t *, size_t) | ^~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o timingsafe_bcmp.o timingsafe_bcmp.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o blowfish.o blowfish.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o base64.o base64.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o sha2.o sha2.c sed -e 's/hashinc/sha2.h/g' \ -e 's/HASH/SHA256/g' \ -e 's/SHA[0-9][0-9][0-9]_CTX/SHA2_CTX/g' helper.c > sha256hl.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o sha256hl.o sha256hl.c sed -e 's/hashinc/sha2.h/g' \ -e 's/HASH/SHA512/g' \ -e 's/SHA[0-9][0-9][0-9]_CTX/SHA2_CTX/g' helper.c > sha512hl.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o sha512hl.o sha512hl.c sed -e 's/hashinc/sha2.h/g' \ -e 's/HASH/SHA512_256/g' \ -e 's/SHA512_256_CTX/SHA2_CTX/g' helper.c > sha512_256hl.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o sha512_256hl.o sha512_256hl.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o signify.o signify.c signify.c: In function ‘parseb64file’: signify.c:146:6: warning: implicit declaration of function ‘b64_pton’ [-Wimplicit-function-declaration] 146 | if (b64_pton(commentend + 1, buf, buflen) != buflen) | ^~~~~~~~ signify.c: In function ‘createheader’: signify.c:231:6: warning: implicit declaration of function ‘b64_ntop’ [-Wimplicit-function-declaration] 231 | if (b64_ntop(buf, buflen, b64, sizeof(b64)) == -1) | ^~~~~~~~ signify.c: In function ‘createsig’: signify.c:431:9: warning: pointer targets in returning ‘char *’ from a function with return type ‘uint8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 431 | return sighdr; | ^~~~~~ signify.c: In function ‘sign’: signify.c:445:9: warning: pointer targets in assignment from ‘uint8_t *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 445 | sighdr = createsig(seckeyfile, msgfile, msg, msglen); | ^ signify.c: In function ‘verifyembedded’: signify.c:557:33: warning: pointer targets in passing argument 2 of ‘parseb64file’ differ in signedness [-Wpointer-sign] 557 | siglen = parseb64file(sigfile, msg, &sig, sizeof(sig), sigcomment); | ^~~ | | | uint8_t * {aka unsigned char *} signify.c:127:42: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 127 | parseb64file(const char *filename, char *b64, void *buf, size_t buflen, | ~~~~~~^~~ signify.c: In function ‘verifyzdata’: signify.c:739:34: warning: pointer targets in passing argument 2 of ‘parseb64file’ differ in signedness [-Wpointer-sign] 739 | siglen = parseb64file(filename, zdata, &sig, sizeof(sig), | ^~~~~ | | | uint8_t * {aka unsigned char *} signify.c:127:42: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 127 | parseb64file(const char *filename, char *b64, void *buf, size_t buflen, | ~~~~~~^~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -include compat.h -DBUNDLED_BZERO=1 -c -o zsig.o zsig.c In file included from zsig.c:24: sha2.h:62:3: error: unknown type name ‘u_int32_t’ 62 | u_int32_t st32[8]; | ^~~~~~~~~ sha2.h:63:3: error: unknown type name ‘u_int64_t’ 63 | u_int64_t st64[8]; | ^~~~~~~~~ sha2.h:65:2: error: unknown type name ‘u_int64_t’ 65 | u_int64_t bitcount[2]; | ^~~~~~~~~ sha2.h:66:2: error: unknown type name ‘u_int8_t’ 66 | u_int8_t buffer[SHA512_BLOCK_LENGTH]; | ^~~~~~~~ sha2.h:74:22: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 74 | void SHA224Transform(u_int32_t state[8], const u_int8_t [SHA224_BLOCK_LENGTH]); | ^~~~~~~~~ | uint32_t sha2.h:74:48: warning: type defaults to ‘int’ in declaration of ‘u_int8_t’ [-Wimplicit-int] 74 | void SHA224Transform(u_int32_t state[8], const u_int8_t [SHA224_BLOCK_LENGTH]); | ^~~~~~~~ sha2.h:75:37: error: unknown type name ‘u_int8_t’ 75 | void SHA224Update(SHA2_CTX *, const u_int8_t *, size_t) | ^~~~~~~~ sha2.h:78:18: error: unknown type name ‘u_int8_t’; did you mean ‘uint8_t’? 78 | void SHA224Final(u_int8_t [SHA224_DIGEST_LENGTH], SHA2_CTX *) | ^~~~~~~~ | uint8_t sha2.h:86:24: error: unknown type name ‘u_int8_t’ 86 | char *SHA224Data(const u_int8_t *, size_t, char *) | ^~~~~~~~ sha2.h:91:22: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 91 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~~ | uint32_t sha2.h:91:48: warning: type defaults to ‘int’ in declaration of ‘u_int8_t’ [-Wimplicit-int] 91 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~ sha2.h:92:37: error: unknown type name ‘u_int8_t’ 92 | void SHA256Update(SHA2_CTX *, const u_int8_t *, size_t) | ^~~~~~~~ sha2.h:95:18: error: unknown type name ‘u_int8_t’; did you mean ‘uint8_t’? 95 | void SHA256Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA2_CTX *) | ^~~~~~~~ | uint8_t sha2.h:103:24: error: unknown type name ‘u_int8_t’ 103 | char *SHA256Data(const u_int8_t *, size_t, char *) | ^~~~~~~~ sha2.h:108:22: error: unknown type name ‘u_int64_t’; did you mean ‘uint64_t’? 108 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t sha2.h:108:48: warning: type defaults to ‘int’ in declaration of ‘u_int8_t’ [-Wimplicit-int] 108 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~ sha2.h:109:37: error: unknown type name ‘u_int8_t’ 109 | void SHA384Update(SHA2_CTX *, const u_int8_t *, size_t) | ^~~~~~~~ sha2.h:112:18: error: unknown type name ‘u_int8_t’; did you mean ‘uint8_t’? 112 | void SHA384Final(u_int8_t [SHA384_DIGEST_LENGTH], SHA2_CTX *) | ^~~~~~~~ | uint8_t sha2.h:120:24: error: unknown type name ‘u_int8_t’ 120 | char *SHA384Data(const u_int8_t *, size_t, char *) | ^~~~~~~~ sha2.h:125:22: error: unknown type name ‘u_int64_t’; did you mean ‘uint64_t’? 125 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t sha2.h:125:48: warning: type defaults to ‘int’ in declaration of ‘u_int8_t’ [-Wimplicit-int] 125 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~ sha2.h:126:37: error: unknown type name ‘u_int8_t’ 126 | void SHA512Update(SHA2_CTX *, const u_int8_t *, size_t) | ^~~~~~~~ sha2.h:129:18: error: unknown type name ‘u_int8_t’; did you mean ‘uint8_t’? 129 | void SHA512Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA2_CTX *) | ^~~~~~~~ | uint8_t sha2.h:137:24: error: unknown type name ‘u_int8_t’ 137 | char *SHA512Data(const u_int8_t *, size_t, char *) | ^~~~~~~~ sha2.h:142:26: error: unknown type name ‘u_int64_t’; did you mean ‘uint64_t’? 142 | void SHA512_256Transform(u_int64_t state[8], const u_int8_t [SHA512_256_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t sha2.h:142:52: warning: type defaults to ‘int’ in declaration of ‘u_int8_t’ [-Wimplicit-int] 142 | void SHA512_256Transform(u_int64_t state[8], const u_int8_t [SHA512_256_BLOCK_LENGTH]); | ^~~~~~~~ sha2.h:143:41: error: unknown type name ‘u_int8_t’ 143 | void SHA512_256Update(SHA2_CTX *, const u_int8_t *, size_t) | ^~~~~~~~ sha2.h:146:22: error: unknown type name ‘u_int8_t’; did you mean ‘uint8_t’? 146 | void SHA512_256Final(u_int8_t [SHA512_256_DIGEST_LENGTH], SHA2_CTX *) | ^~~~~~~~ | uint8_t sha2.h:154:28: error: unknown type name ‘u_int8_t’ 154 | char *SHA512_256Data(const u_int8_t *, size_t, char *) | ^~~~~~~~ zsig.c: In function ‘copy_blocks’: zsig.c:163:18: warning: passing argument 1 of ‘SHA512_256Data’ from incompatible pointer type [-Wincompatible-pointer-types] 163 | SHA512_256Data(buffer, n, output); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from zsig.c:24: sha2.h:154:7: note: expected ‘const int *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 154 | char *SHA512_256Data(const u_int8_t *, size_t, char *) | ^~~~~~~~~~~~~~ zsig.c:163:29: warning: pointer targets in passing argument 3 of ‘SHA512_256Data’ differ in signedness [-Wpointer-sign] 163 | SHA512_256Data(buffer, n, output); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from zsig.c:24: sha2.h:154:7: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 154 | char *SHA512_256Data(const u_int8_t *, size_t, char *) | ^~~~~~~~~~~~~~ zsig.c: In function ‘zverify’: zsig.c:227:31: warning: pointer targets in passing argument 4 of ‘copy_blocks’ differ in signedness [-Wpointer-sign] 227 | copy_blocks(fdout, fdin, p, h.endcomment, bufsize, bufend); | ~^~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} zsig.c:133:63: note: expected ‘const char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 133 | copy_blocks(int fdout, int fdin, const char *sha, const char *endsha, | ~~~~~~~~~~~~^~~~~~ zsig.c: In function ‘zsign’: zsig.c:280:18: warning: passing argument 1 of ‘SHA512_256Data’ from incompatible pointer type [-Wincompatible-pointer-types] 280 | SHA512_256Data(buffer, n, p); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from zsig.c:24: sha2.h:154:7: note: expected ‘const int *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 154 | char *SHA512_256Data(const u_int8_t *, size_t, char *) | ^~~~~~~~~~~~~~ zsig.c:289:42: warning: pointer targets in passing argument 3 of ‘createsig’ differ in signedness [-Wpointer-sign] 289 | sighdr = createsig(seckeyfile, msgfile, msg, p-msg); | ^~~ | | | char * In file included from zsig.c:29: signify.h:29:17: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 29 | extern uint8_t *createsig(const char *, const char *, uint8_t *, | ^~~~~~~~~ zsig.c:293:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 293 | writeall(fdout, sighdr, strlen(sighdr), sigfile); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from zsig.c:25: /usr/include/string.h:52:16: note: expected ‘const char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 52 | size_t strlen (const char *); | ^~~~~~~~~~~~ make: *** [: zsig.o] Error 1 * ERROR: app-crypt/signify-24::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/signify-24::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/signify-24::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:signify-24:20200318-015508.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/signify-24/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/signify-24/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/signify-24/work/signify-24' * S: '/var/tmp/portage/app-crypt/signify-24/work/signify-24'