* Package: mail-client/etpan-ng-0.7.1-r1 * Repository: gentoo * Maintainer: net-mail@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ldap test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking etpan-ng-0.7.1.tar.gz to /var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work * Applying etpan-ng-0.7.1-as-needed.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work/etpan-ng-0.7.1' ... * Running aclocal ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: etpan-ng-0.7.1/ >>> Source unpacked in /var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work >>> Compiling source in /var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work/etpan-ng-0.7.1 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-debug checking whether debug flag was used... no checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for stdint.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking return type of signal handlers... void checking for sigaction... yes checking for snprintf... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create with libc... no checking for pthread_create with -pthreads... no checking for pthread_create with -pthread... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for initscr in -lncurses... yes checking for libetpan-config... /usr/bin/libetpan-config checking libetpan/libetpan.h usability... yes checking libetpan/libetpan.h presence... yes checking for libetpan/libetpan.h... yes checking whether libetpan-config hints compiles and links fine... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking for ldap_search in -lldap... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: WARNING: 'src/Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h make -j1 Making all in src make[1]: Entering directory '/var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work/etpan-ng-0.7.1/src' Making all in libversit make[2]: Entering directory '/var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work/etpan-ng-0.7.1/src/libversit' yacc vcc.y vcc.y:222.16-17: warning: symbol ID redeclared [-Wother] STRING ID ^^ vcc.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr] mv y.tab.c vcc.c cc -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o vcc.o vcc.c cc -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o vobject.o vobject.c make[2]: Leaving directory '/var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work/etpan-ng-0.7.1/src/libversit' x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-config.o etpan-config.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-common.o etpan-cfg-common.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-account.o etpan-cfg-account.c etpan-cfg-account.c: In function ‘etpan_cfg_account_write’: etpan-cfg-account.c:382:3: warning: implicit declaration of function ‘unlink’; did you mean ‘unix’? [-Wimplicit-function-declaration] unlink(filename); ^~~~~~ unix x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-mime.o etpan-cfg-mime.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-color.o etpan-cfg-color.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-key.o etpan-cfg-key.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-smime.o etpan-cfg-smime.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-storage.o etpan-cfg-storage.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-vfolder.o etpan-cfg-vfolder.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-local-abook.o etpan-cfg-local-abook.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-abook.o etpan-cfg-abook.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-global.o etpan-cfg-global.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-imf-helper.o etpan-imf-helper.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-mime-tools.o etpan-mime-tools.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-ncurses.o etpan-ncurses.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-tools.o etpan-tools.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-thread-manager.o etpan-thread-manager.c etpan-thread-manager.c: In function ‘etpan_thread_op_end_notify’: etpan-thread-manager.c:6222:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(op->thread_data->fd[1], &ack, sizeof(ack)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ etpan-thread-manager.c: In function ‘etpan_thread_op_ack_wait’: etpan-thread-manager.c:6229:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(op->thread_data->fd[1], &ack, sizeof(ack)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ etpan-thread-manager.c: In function ‘etpan_thread_op_wait’: etpan-thread-manager.c:6206:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(op->thread_data->fd[0], &ack, sizeof(ack)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ etpan-thread-manager.c: In function ‘etpan_thread_op_ack’: etpan-thread-manager.c:6214:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(op->thread_data->fd[0], &ack, sizeof(ack)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-msg-renderer.o etpan-msg-renderer.c etpan-msg-renderer.c: In function ‘render_process_pipe’: etpan-msg-renderer.c:212:5: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] pipe(renderer_input_fds); ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-db-read.o etpan-db-read.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan.o etpan.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-app.o etpan-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-subapp.o etpan-subapp.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-app-subapp.o etpan-app-subapp.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-subapp-thread.o etpan-subapp-thread.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-msg-new.o etpan-msg-new.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-msg-reply.o etpan-msg-reply.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-msg-list-app.o etpan-msg-list-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-msg-params.o etpan-msg-params.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-folder-common.o etpan-folder-common.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-folder-list-app.o etpan-folder-list-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-folder-sel-app.o etpan-folder-sel-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-folder-params.o etpan-folder-params.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-console-app.o etpan-console-app.c etpan-console-app.c: In function ‘handle_fd’: etpan-console-app.c:122:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(state->update_fd[0], &ack, sizeof(ack)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ etpan-console-app.c: In function ‘etpan_console_log’: etpan-console-app.c:492:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(state->update_fd[1], &ack, sizeof(ack)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-viewer-common.o etpan-viewer-common.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-msg-viewer-app.o etpan-msg-viewer-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-part-viewer-app.o etpan-part-viewer-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-mime-common.o etpan-mime-common.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-mime-params.o etpan-mime-params.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-mime-list-app.o etpan-mime-list-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-mime-edit-app.o etpan-mime-edit-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-input-common.o etpan-input-common.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-search-input.o etpan-search-input.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-address-input.o etpan-address-input.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-header-common.o etpan-header-common.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-header-editor-app.o etpan-header-editor-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-compose-app.o etpan-compose-app.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-mime-viewer.o etpan-mime-viewer.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-msg-supersedes.o etpan-msg-supersedes.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-filename-input.o etpan-filename-input.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-header-input.o etpan-header-input.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-storage-common.o etpan-storage-common.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-storage-sel.o etpan-storage-sel.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-edit-common.o etpan-cfg-edit-common.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-storage-edit.o etpan-storage-edit.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-folder-edit.o etpan-folder-edit.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-nntp.o etpan-nntp.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-nntp-input.o etpan-nntp-input.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-imap.o etpan-imap.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-imap-input.o etpan-imap-input.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-folder-conf.o etpan-folder-conf.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-account-common.o etpan-account-common.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-account-sel.o etpan-account-sel.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-account-edit.o etpan-account-edit.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-help-viewer.o etpan-help-viewer.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-global-edit.o etpan-cfg-global-edit.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-search.o etpan-search.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-ldap.o etpan-ldap.c etpan-ldap.c: In function ‘etpan_ldap_connect’: etpan-ldap.c:127:17: warning: implicit declaration of function ‘ldap_init’; did you mean ‘ldap_turn’? [-Wimplicit-function-declaration] session->ld = ldap_init(session->config->hostname, session->config->port); ^~~~~~~~~ ldap_turn etpan-ldap.c:127:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] session->ld = ldap_init(session->config->hostname, session->config->port); ^ etpan-ldap.c:178:29: warning: implicit declaration of function ‘ldap_simple_bind_s’; did you mean ‘ldap_sasl_bind_s’? [-Wimplicit-function-declaration] ((session->ld_errno = ldap_simple_bind_s(session->ld, session->config->binddn, ^~~~~~~~~~~~~~~~~~ ldap_sasl_bind_s etpan-ldap.c:187:5: warning: implicit declaration of function ‘ldap_unbind’; did you mean ‘ldap_unbind_ext’? [-Wimplicit-function-declaration] ldap_unbind(session->ld); ^~~~~~~~~~~ ldap_unbind_ext etpan-ldap.c: In function ‘etpan_ldap_dosearch’: etpan-ldap.c:271:27: warning: implicit declaration of function ‘ldap_search_st’; did you mean ‘ldap_search_ext’? [-Wimplicit-function-declaration] session->ld_errno = ldap_search_st(session->ld, base, scope, filter, ^~~~~~~~~~~~~~ ldap_search_ext etpan-ldap.c:274:27: warning: implicit declaration of function ‘ldap_search_s’; did you mean ‘ldap_search_ext’? [-Wimplicit-function-declaration] session->ld_errno = ldap_search_s(session->ld, base, scope, filter, ^~~~~~~~~~~~~ ldap_search_ext etpan-ldap.c: In function ‘etpan_ldap_search’: etpan-ldap.c:346:17: warning: implicit declaration of function ‘ldap_get_values’; did you mean ‘ldap_get_values_len’? [-Wimplicit-function-declaration] if ((mail = ldap_get_values(session->ld, entry, attrs[0])) == NULL || ^~~~~~~~~~~~~~~ ldap_get_values_len etpan-ldap.c:346:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if ((mail = ldap_get_values(session->ld, entry, attrs[0])) == NULL || ^ etpan-ldap.c:349:2: warning: implicit declaration of function ‘ldap_value_free’; did you mean ‘ldap_value_free_len’? [-Wimplicit-function-declaration] ldap_value_free(mail); ^~~~~~~~~~~~~~~ ldap_value_free_len etpan-ldap.c:354:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if ((cn = ldap_get_values(session->ld, entry, attrs[1])) != NULL) { ^ etpan-ldap.c:362:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] sn = ldap_get_values(session->ld, entry, attrs[2]); ^ etpan-ldap.c:363:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] givenname = ldap_get_values(session->ld, entry, attrs[3]); ^ x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-abook-driver.o etpan-abook-driver.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-abook-local.o etpan-abook-local.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-abook-ldap.o etpan-abook-ldap.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-abook-vcard.o etpan-abook-vcard.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-folder-discover.o etpan-folder-discover.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-discover.o etpan-cfg-discover.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-cfg-sender.o etpan-cfg-sender.c x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-sender.o etpan-sender.c etpan-sender.c: In function ‘command_send_message’: etpan-sender.c:523:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I.. -Ilibversit -D_REENTRANT -DHAVE_CONFIG_H -O2 -pipe -march=native -D_REENTRANT -c -o etpan-3paned.o etpan-3paned.c x86_64-pc-linux-gnu-gcc -o etpan etpan-config.o etpan-cfg-common.o etpan-cfg-account.o etpan-cfg-mime.o etpan-cfg-color.o etpan-cfg-key.o etpan-cfg-smime.o etpan-cfg-storage.o etpan-cfg-vfolder.o etpan-cfg-local-abook.o etpan-cfg-abook.o etpan-cfg-global.o etpan-imf-helper.o etpan-mime-tools.o etpan-ncurses.o etpan-tools.o etpan-thread-manager.o etpan-msg-renderer.o etpan-db-read.o etpan.o etpan-app.o etpan-subapp.o etpan-app-subapp.o etpan-subapp-thread.o etpan-msg-new.o etpan-msg-reply.o etpan-msg-list-app.o etpan-msg-params.o etpan-folder-common.o etpan-folder-list-app.o etpan-folder-sel-app.o etpan-folder-params.o etpan-console-app.o etpan-viewer-common.o etpan-msg-viewer-app.o etpan-part-viewer-app.o etpan-mime-common.o etpan-mime-params.o etpan-mime-list-app.o etpan-mime-edit-app.o etpan-input-common.o etpan-search-input.o etpan-address-input.o etpan-header-common.o etpan-header-editor-app.o etpan-compose-app.o etpan-mime-viewer.o etpan-msg-supersedes.o etpan-filename-input.o etpan-header-input.o etpan-storage-common.o etpan-storage-sel.o etpan-cfg-edit-common.o etpan-storage-edit.o etpan-folder-edit.o etpan-nntp.o etpan-nntp-input.o etpan-imap.o etpan-imap-input.o etpan-folder-conf.o etpan-account-common.o etpan-account-sel.o etpan-account-edit.o etpan-help-viewer.o etpan-cfg-global-edit.o etpan-search.o etpan-ldap.o etpan-abook-driver.o etpan-abook-local.o etpan-abook-ldap.o etpan-abook-vcard.o etpan-folder-discover.o etpan-cfg-discover.o etpan-cfg-sender.o etpan-sender.o etpan-3paned.o libversit/vcc.o libversit/vobject.o -Wl,-O1 -Wl,--as-needed -pthread -lncurses -L/usr/lib64 -letpan -Wl,-O1 -Wl,--as-needed -lz -lssl -lcrypto -ldb-6.0 -lz -pthread -lldap -lldap /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: etpan-app-subapp.o: undefined reference to symbol 'curs_set' /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [Makefile:107: etpan] Error 1 make[1]: Leaving directory '/var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work/etpan-ng-0.7.1/src' make: *** [Makefile:21: all-recursive] Error 1 emake failed * ERROR: mail-client/etpan-ng-0.7.1-r1::gentoo failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2234: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of `emerge --info '=mail-client/etpan-ng-0.7.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-client/etpan-ng-0.7.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/mail-client:etpan-ng-0.7.1-r1:20180208-063619.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work/etpan-ng-0.7.1' * S: '/var/tmp/portage/mail-client/etpan-ng-0.7.1-r1/work/etpan-ng-0.7.1'