* Package: app-crypt/gpgstats-0.5-r2:0 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gpgstats-0.5.tgz to /var/tmp/portage/app-crypt/gpgstats-0.5-r2/work >>> Source unpacked in /var/tmp/portage/app-crypt/gpgstats-0.5-r2/work >>> Preparing source in /var/tmp/portage/app-crypt/gpgstats-0.5-r2/work/gpgstats-0.5 ... * Applying gpgstats-0.5-flags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-crypt/gpgstats-0.5-r2/work/gpgstats-0.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-crypt/gpgstats-0.5-r2/work/gpgstats-0.5 ... make -j4 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ DEBUG= x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall `gpgme-config --cflags` -DVERSION=\"0.5\" -D_FILE_OFFSET_BITS=64 -c -o error.o error.c x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall `gpgme-config --cflags` -DVERSION=\"0.5\" -D_FILE_OFFSET_BITS=64 -c -o utils.o utils.cpp x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall `gpgme-config --cflags` -DVERSION=\"0.5\" -D_FILE_OFFSET_BITS=64 -c -o array.o array.cpp x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall `gpgme-config --cflags` -DVERSION=\"0.5\" -D_FILE_OFFSET_BITS=64 -c -o iarray.o iarray.cpp /bin/sh: line 1: gpgme-config: command not found /bin/sh: line 1: gpgme-config: command not found /bin/sh: line 1: gpgme-config: command not found /bin/sh: line 1: gpgme-config: command not found iarray.cpp: In member function ‘int intarray::addvalue(int, int)’: iarray.cpp:49:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 49 | ues = (int *)myrealloc(values, sizeof(int) * (nin + 1), "values array"); | ^~~~~~~~~~~~~~ iarray.cpp:50:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 50 | nters = (int *)myrealloc(counters, sizeof(int) * (nin + 1), "counter array"); | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wall `gpgme-config --cflags` -DVERSION=\"0.5\" -D_FILE_OFFSET_BITS=64 -c -o s.o s.cpp array.cpp: In member function ‘int array::genhash(char*, char)’: array.cpp:80:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 80 | register int loop; | ^~~~ array.cpp:86:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 86 | register int dummy = (hash >> 8); | ^~~~~ array.cpp:96:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 96 | register int dummy = (hash >> 8); | ^~~~~ array.cpp: In member function ‘int array::addelement(char*, int)’: array.cpp:108:82: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 108 | har ** )myrealloc(strings, sizeof(char *) * (nin + 1), "string array"); | ^~~~~~~~~~~~~~ array.cpp:109:82: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 109 | nt * )myrealloc(hashes, sizeof(int) * (nin + 1), "hashes array"); | ^~~~~~~~~~~~~~ array.cpp:110:94: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 110 | realloc(counters, sizeof(long int) * ncounters * (nin + 1), "counter array"); | ^~~~~~~~~~~~~~~ /bin/sh: line 1: gpgme-config: command not found utils.cpp: In function ‘void* mymalloc(int, char*)’: utils.cpp:15:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 15 | error_exit("failed to allocate %d bytes for %s\n", size, what); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.cpp: In function ‘void* myrealloc(void*, int, char*)’: utils.cpp:24:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 24 | error_exit("failed to reallocate to %d bytes for %s\n", newsize, what); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.cpp: In function ‘char* mystrdup(char*)’: utils.cpp:33:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 33 | error_exit("failed to copy string '%s': out of memory?\n", in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ s.cpp: In function ‘char* escape(char*)’: s.cpp:35:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 35 | char *out = (char *)mymalloc(len*6 + 1, "unescape buffer"); | ^~~~~~~~~~~~~~~~~ s.cpp: In function ‘int main(int, char**)’: s.cpp:71:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | char *weekday[7+1] = { "", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; | ^~ s.cpp:71:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | char *weekday[7+1] = { "", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; | ^~~~~~~~ s.cpp:71:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | char *weekday[7+1] = { "", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; | ^~~~~~~~ s.cpp:71:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | char *weekday[7+1] = { "", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; | ^~~~~~~~~ s.cpp:71:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | *weekday[7+1] = { "", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; | ^~~~~~~~~~~ s.cpp:71:91: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | ay[7+1] = { "", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; | ^~~~~~~~~~ s.cpp:71:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | "", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; | ^~~~~~~~ s.cpp:71:113: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 71 | y", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; | ^~~~~~~~~~ s.cpp:72:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | char *month[12+1] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~ s.cpp:72:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | char *month[12+1] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | char *month[12+1] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | char *month[12+1] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | char *month[12+1] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | *month[12+1] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:82: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | *month[12+1] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:89: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | th[12+1] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | ] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:110: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | n", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:117: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | b", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:72:124: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; | ^~~~~ s.cpp:73:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 73 | char *validity[6] = { "Unknown", "Undefined", "Never", "Marginal", "Full", "Ultimate" }; | ^~~~~~~~~ s.cpp:73:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 73 | char *validity[6] = { "Unknown", "Undefined", "Never", "Marginal", "Full", "Ultimate" }; | ^~~~~~~~~~~ s.cpp:73:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 73 | char *validity[6] = { "Unknown", "Undefined", "Never", "Marginal", "Full", "Ultimate" }; | ^~~~~~~ s.cpp:73:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 73 | *validity[6] = { "Unknown", "Undefined", "Never", "Marginal", "Full", "Ultimate" }; | ^~~~~~~~~~ s.cpp:73:87: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 73 | alidity[6] = { "Unknown", "Undefined", "Never", "Marginal", "Full", "Ultimate" }; | ^~~~~~ s.cpp:73:95: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 73 | 6] = { "Unknown", "Undefined", "Never", "Marginal", "Full", "Ultimate" }; | ^~~~~~~~~~ s.cpp:428:114: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 428 | )mymalloc(strlen(uids -> name) + strlen(uids -> email) + 4, "max n sigs"); | ^~~~~~~~~~~~ s.cpp:438:120: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 438 | en(current_person_name) + strlen(current_person_email) + 4, "max n uids"); | ^~~~~~~~~~~~ s.cpp:441:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 441 | if (cur_n_uids > top_uids.getcounter(dummy_index, 0)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ s.cpp:484:104: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] 484 | subkey expiration for not already expired subkeys:%d\n", avg_subkey_expiration_after_now / dummy); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long long unsigned int | %lld s.cpp:505:104: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] 505 | signature expiration for not already expired sigs:%d\n", avg_sigs_expiration_after_now / dummy); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long long unsigned int | %lld s.cpp:73:26: warning: unused variable ‘validity’ [-Wunused-variable] 73 | char *validity[6] = { "Unknown", "Undefined", "Never", "Marginal", "Full", "Ultimate" }; | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wall -W error.o utils.o array.o iarray.o s.o -o gpgstats `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: s.o: in function `main': s.cpp:(.text.startup+0x205): 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: s.cpp:(.text.startup+0x212): undefined reference to `gpgme_new' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: s.cpp:(.text.startup+0x224): undefined reference to `gpgme_set_keylist_mode' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: s.cpp:(.text.startup+0x235): undefined reference to `gpgme_op_keylist_start' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: s.cpp:(.text.startup+0x5ee): undefined reference to `gpgme_op_keylist_next' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: s.cpp:(.text.startup+0xbb2): undefined reference to `gpgme_key_release' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: s.cpp:(.text.startup+0xdbe): undefined reference to `gpgme_op_keylist_end' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: s.cpp:(.text.startup+0x17ac): undefined reference to `gpgme_pubkey_algo_name' collect2: error: ld returned 1 exit status make: *** [Makefile:15: gpgstats] Error 1 * ERROR: app-crypt/gpgstats-0.5-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/gpgstats-0.5-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/gpgstats-0.5-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:gpgstats-0.5-r2:20221009-134508.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/gpgstats-0.5-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/gpgstats-0.5-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/gpgstats-0.5-r2/work/gpgstats-0.5' * S: '/var/tmp/portage/app-crypt/gpgstats-0.5-r2/work/gpgstats-0.5'