* Package: app-crypt/nasty-0.6-r2:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nasty-0.6.tgz to /var/tmp/portage/app-crypt/nasty-0.6-r2/work >>> Source unpacked in /var/tmp/portage/app-crypt/nasty-0.6-r2/work >>> Preparing source in /var/tmp/portage/app-crypt/nasty-0.6-r2/work/nasty-0.6 ... * Applying nasty-0.6-flags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-crypt/nasty-0.6-r2/work/nasty-0.6 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-crypt/nasty-0.6-r2/work/nasty-0.6 ... make -j4 CC=x86_64-pc-linux-gnu-gcc DEBUG= x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall `gpgme-config --cflags` -DVERSION=\"0.6\" -D_FILE_OFFSET_BITS=64 -c -o nasty.o nasty.c /bin/sh: line 1: gpgme-config: command not found nasty.c: In function ‘sighandler’: nasty.c:87:30: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 87 | len = strlen(passphrase_template); | ^~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from nasty.c:5: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ nasty.c: In function ‘passphrase_cb’: nasty.c:160:30: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 160 | len = strlen(passphrase_template); | ^~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ nasty.c:181:28: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 181 | if (!fgets(passphrase, MAX_PP_LEN, pp_file_in_fh)) | ^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:906, from nasty.c:1: /usr/include/bits/stdio2.h:209:25: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ nasty.c:197:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 197 | strcat(passphrase, "\n"); | ^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27: /usr/include/bits/string_fortified.h:128:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ nasty.c:198:38: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 198 | write(fd, passphrase, strlen(passphrase)); | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ nasty.c: In function ‘load_state’: nasty.c:242:70: warning: pointer targets in passing argument 2 of ‘cvt_from_hex_string’ differ in signedness [-Wpointer-sign] 242 | int len = cvt_from_hex_string(dummy, passphrase_template); | ^~~~~~~~~~~~~~~~~~~ | | | unsigned char * nasty.c:64:41: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 64 | int cvt_from_hex_string(char *in, char *out) | ~~~~~~^~~ nasty.c:249:72: warning: pointer targets in passing argument 2 of ‘cvt_from_hex_string’ differ in signedness [-Wpointer-sign] 249 | charset_n = cvt_from_hex_string(dummy, charset); | ^~~~~~~ | | | unsigned char * nasty.c:64:41: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 64 | int cvt_from_hex_string(char *in, char *out) | ~~~~~~^~~ nasty.c: In function ‘passphrase_cb’: nasty.c:198:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 198 | write(fd, passphrase, strlen(passphrase)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 nasty.o -o nasty `gpgme-config --libs` /bin/sh: line 1: gpgme-config: command not found /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nasty.o: in function `error_exit': nasty.c:(.text+0x2a7): undefined reference to `gpgme_strerror' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nasty.o: in function `main': nasty.c:(.text.startup+0x105): undefined reference to `gpgme_check_version_internal' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nasty.c:(.text.startup+0x10e): undefined reference to `gpgme_new' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nasty.c:(.text.startup+0x12d): undefined reference to `gpgme_data_new_from_mem' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nasty.c:(.text.startup+0x13e): undefined reference to `gpgme_data_new' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nasty.c:(.text.startup+0x15f): undefined reference to `gpgme_set_passphrase_cb' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nasty.c:(.text.startup+0x186): undefined reference to `gpgme_op_sign' collect2: error: ld returned 1 exit status make: *** [Makefile:13: nasty] Error 1 * ERROR: app-crypt/nasty-0.6-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/nasty-0.6-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/nasty-0.6-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:nasty-0.6-r2:20221009-140940.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/nasty-0.6-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/nasty-0.6-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/nasty-0.6-r2/work/nasty-0.6' * S: '/var/tmp/portage/app-crypt/nasty-0.6-r2/work/nasty-0.6'