* Package: app-crypt/sign-1.0.7 * Repository: gentoo * Maintainer: alicef@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux libressl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking sign-1.0.7.tar.gz to /var/tmp/portage/app-crypt/sign-1.0.7/work >>> Source unpacked in /var/tmp/portage/app-crypt/sign-1.0.7/work >>> Preparing source in /var/tmp/portage/app-crypt/sign-1.0.7/work/sign-1.0.7 ... * Applying 1.0.7-openssl-0.9.8.patch ... [ ok ] * Applying 1.0.7-as-needed.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-crypt/sign-1.0.7/work/sign-1.0.7 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-crypt/sign-1.0.7/work/sign-1.0.7 ... make -j1 CC=x86_64-pc-linux-gnu-gcc make -C src make[1]: Entering directory '/var/tmp/portage/app-crypt/sign-1.0.7/work/sign-1.0.7/src' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o buf.o buf.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o die.o die.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o msg.o msg.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o digest.o digest.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o uue.o uue.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o pki.o pki.c pki.c: In function ‘pubkey_parse_openssh_text’: pki.c:148:22: warning: pointer targets in passing argument 1 of ‘uudecode_len’ differ in signedness [-Wpointer-sign] 148 | len = uudecode_len(b.p, buf_size(&b)); | ~^~ | | | uchar * {aka unsigned char *} In file included from pki.c:3: uue.h:6:34: note: expected ‘const char *’ but argument is of type ‘uchar *’ {aka ‘unsigned char *’} 6 | size_t uudecode_len(const char * enc, size_t enc_len); | ~~~~~~~~~~~~~^~~ pki.c:156:18: warning: pointer targets in passing argument 1 of ‘uudecode’ differ in signedness [-Wpointer-sign] 156 | if (! uudecode(b.p, buf_size(&b), kb.p)) | ~^~ | | | uchar * {aka unsigned char *} In file included from pki.c:3: uue.h:7:30: note: expected ‘const char *’ but argument is of type ‘uchar *’ {aka ‘unsigned char *’} 7 | bool_t uudecode(const char * enc, size_t enc_len, char * dec); | ~~~~~~~~~~~~~^~~ pki.c:156:38: warning: pointer targets in passing argument 3 of ‘uudecode’ differ in signedness [-Wpointer-sign] 156 | if (! uudecode(b.p, buf_size(&b), kb.p)) | ~~^~ | | | uchar * {aka unsigned char *} In file included from pki.c:3: uue.h:7:58: note: expected ‘char *’ but argument is of type ‘uchar *’ {aka ‘unsigned char *’} 7 | bool_t uudecode(const char * enc, size_t enc_len, char * dec); | ~~~~~~~^~~ pki.c: In function ‘pubkey_store_openssh_text’: pki.c:194:13: warning: pointer targets in passing argument 1 of ‘uuencode’ differ in signedness [-Wpointer-sign] 194 | uuencode(kb.p, len, b->p + 4); | ~~^~ | | | uchar * {aka unsigned char *} In file included from pki.c:3: uue.h:10:30: note: expected ‘const char *’ but argument is of type ‘uchar *’ {aka ‘unsigned char *’} 10 | void uuencode(const char * raw, size_t raw_len, char * enc); | ~~~~~~~~~~~~~^~~ pki.c:194:27: warning: pointer targets in passing argument 3 of ‘uuencode’ differ in signedness [-Wpointer-sign] 194 | uuencode(kb.p, len, b->p + 4); | ~~~~~^~~ | | | uchar * {aka unsigned char *} In file included from pki.c:3: uue.h:10:58: note: expected ‘char *’ but argument is of type ‘uchar *’ {aka ‘unsigned char *’} 10 | void uuencode(const char * raw, size_t raw_len, char * enc); | ~~~~~~~^~~ pki.c: In function ‘prikey_parse_pem’: pki.c:295:13: warning: pointer targets in assignment from ‘uchar * const’ {aka ‘unsigned char * const’} to ‘char *’ differ in signedness [-Wpointer-sign] 295 | mem->data = buf->p; | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o str.o str.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o system-nix.o system-nix.c system-nix.c: In function ‘sys_copy_fileattr’: system-nix.c:84:2: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result] 84 | chown(dst, st.st_uid, st.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o system-nix-readpass.o system-nix-readpass.c system-nix-readpass.c: In function ‘readpassphrase’: system-nix-readpass.c:146:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 146 | (void)write(output, prompt, strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system-nix-readpass.c:164:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 164 | (void)write(output, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -c -o util.o util.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DNDEBUG -Wl,-O1 -Wl,--as-needed sign.c buf.o die.o msg.o digest.o uue.o pki.o str.o system-nix.o system-nix-readpass.o util.o -lcrypto -o sign In file included from sign.h:5, from sign.c:10: sign.c: In function ‘parse_args’: buf.h:22:40: warning: pointer targets in assignment from ‘char *’ to ‘uchar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 22 | #define buf_string(b, str) ((b)->p = (str), (b)->e = (str) + strlen(str)) | ^ sign.c:359:5: note: in expansion of macro ‘buf_string’ 359 | buf_string(&ctx->s.title, q); | ^~~~~~~~~~ buf.h:22:56: warning: pointer targets in assignment from ‘char *’ to ‘uchar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 22 | #define buf_string(b, str) ((b)->p = (str), (b)->e = (str) + strlen(str)) | ^ sign.c:359:5: note: in expansion of macro ‘buf_string’ 359 | buf_string(&ctx->s.title, q); | ^~~~~~~~~~ sign.c: In function ‘load_u_config’: sign.c:505:12: warning: pointer targets in assignment from ‘char *’ to ‘uchar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 505 | t.name.e = p; | ^ sign.c:507:8: warning: pointer targets in assignment from ‘char *’ to ‘uchar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 507 | b->p = p+1; | ^ In file included from sign.h:5, from sign.c:10: sign.c: In function ‘do_unsign’: buf.h:21:40: warning: pointer targets in assignment from ‘char *’ to ‘uchar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 21 | #define buf_assign(b, ptr, n) ((b)->e = (ptr)+(n), (b)->p = (ptr)) | ^ sign.c:1025:2: note: in expansion of macro ‘buf_assign’ 1025 | buf_assign(&hash, hval, hlen); | ^~~~~~~~~~ buf.h:21:60: warning: pointer targets in assignment from ‘char *’ to ‘uchar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 21 | #define buf_assign(b, ptr, n) ((b)->e = (ptr)+(n), (b)->p = (ptr)) | ^ sign.c:1025:2: note: in expansion of macro ‘buf_assign’ 1025 | buf_assign(&hash, hval, hlen); | ^~~~~~~~~~ buf.h:21:40: warning: pointer targets in assignment from ‘char *’ to ‘uchar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 21 | #define buf_assign(b, ptr, n) ((b)->e = (ptr)+(n), (b)->p = (ptr)) | ^ sign.c:1037:2: note: in expansion of macro ‘buf_assign’ 1037 | buf_assign(&kfp, hval, md5_alg->hlen); | ^~~~~~~~~~ buf.h:21:60: warning: pointer targets in assignment from ‘char *’ to ‘uchar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 21 | #define buf_assign(b, ptr, n) ((b)->e = (ptr)+(n), (b)->p = (ptr)) | ^ sign.c:1037:2: note: in expansion of macro ‘buf_assign’ 1037 | buf_assign(&kfp, hval, md5_alg->hlen); | ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: buf.o:(.bss+0x0): multiple definition of `xrealloc'; /var/tmp/portage/app-crypt/sign-1.0.7/temp/cc9o86TS.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: digest.o:(.bss+0x0): multiple definition of `xrealloc'; /var/tmp/portage/app-crypt/sign-1.0.7/temp/cc9o86TS.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: pki.o:(.bss+0x0): multiple definition of `xrealloc'; /var/tmp/portage/app-crypt/sign-1.0.7/temp/cc9o86TS.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: str.o:(.bss+0x0): multiple definition of `xrealloc'; /var/tmp/portage/app-crypt/sign-1.0.7/temp/cc9o86TS.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: util.o:(.bss+0x0): multiple definition of `xrealloc'; /var/tmp/portage/app-crypt/sign-1.0.7/temp/cc9o86TS.o:(.bss+0x8): first defined here collect2: error: ld returned 1 exit status make[1]: *** [: sign] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-crypt/sign-1.0.7/work/sign-1.0.7/src' make: *** [Makefile:4: all] Error 2 * ERROR: app-crypt/sign-1.0.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/sign-1.0.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/sign-1.0.7::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:sign-1.0.7:20200128-191016.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/sign-1.0.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/sign-1.0.7/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/sign-1.0.7/work/sign-1.0.7' * S: '/var/tmp/portage/app-crypt/sign-1.0.7/work/sign-1.0.7'