* 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=clang DEBUG= clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -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:87:16: warning: passing 'unsigned char[130]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(passphrase_template); ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ nasty.c:160:16: warning: passing 'unsigned char[130]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(passphrase_template); ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ nasty.c:181:14: warning: passing 'unsigned char[130]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!fgets(passphrase, MAX_PP_LEN, pp_file_in_fh)) ^~~~~~~~~~ /usr/include/stdio.h:592:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ nasty.c:197:9: warning: passing 'unsigned char[130]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(passphrase, "\n"); ^~~~~~~~~~ /usr/include/string.h:149:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ nasty.c:198:31: warning: passing 'unsigned char[130]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write(fd, passphrase, strlen(passphrase)); ^~~~~~~~~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ nasty.c:242:42: warning: passing 'unsigned char[130]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...int len = cvt_from_hex_string(dummy, passphrase_template); ^~~~~~~~~~~~~~~~~~~ nasty.c:64:41: note: passing argument to parameter 'out' here int cvt_from_hex_string(char *in, char *out) ^ nasty.c:249:44: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] charset_n = cvt_from_hex_string(dummy, charset); ^~~~~~~ nasty.c:64:41: note: passing argument to parameter 'out' here int cvt_from_hex_string(char *in, char *out) ^ 7 warnings generated. clang -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/bin/x86_64-pc-linux-gnu-ld: nasty.o: in function `error_exit': nasty.c:(.text+0x14): undefined reference to `gpgme_strerror' /usr/bin/x86_64-pc-linux-gnu-ld: nasty.o: in function `main': nasty.c:(.text+0x233f): undefined reference to `gpgme_check_version_internal' /usr/bin/x86_64-pc-linux-gnu-ld: nasty.c:(.text+0x2349): undefined reference to `gpgme_new' /usr/bin/x86_64-pc-linux-gnu-ld: nasty.c:(.text+0x2369): undefined reference to `gpgme_data_new_from_mem' /usr/bin/x86_64-pc-linux-gnu-ld: nasty.c:(.text+0x237b): undefined reference to `gpgme_data_new' /usr/bin/x86_64-pc-linux-gnu-ld: nasty.c:(.text+0x2396): undefined reference to `gpgme_set_passphrase_cb' /usr/bin/x86_64-pc-linux-gnu-ld: nasty.c:(.text+0x23d9): undefined reference to `gpgme_op_sign' /usr/bin/x86_64-pc-linux-gnu-ld: nasty.c:(.text+0x26bd): undefined reference to `gpgme_strerror' /usr/bin/x86_64-pc-linux-gnu-ld: nasty.c:(.text+0x26de): undefined reference to `gpgme_strerror' /usr/bin/x86_64-pc-linux-gnu-ld: nasty.c:(.text+0x26ff): undefined reference to `gpgme_strerror' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) 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-143527.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'