* Package: dev-db/ctdb-1.0.114_p1 * Repository: gentoo * Maintainer: samba@gentoo.org * USE: elibc_glibc kernel_linux test userland_GNU x86 * FEATURES: sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking ctdb-1.0.114-1.src.rpm to /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work >>> Unpacking ./ctdb-1.0.114.tar.gz to /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work >>> Source unpacked in /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work >>> Preparing source in /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114 ... * Running autoheader -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/replace -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/talloc -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/tdb -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/popt -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/events ... [ ok ] * Running autoconf -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/replace -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/talloc -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/tdb -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/popt -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/events -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/replace -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/talloc -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/tdb -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/popt -I /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114/lib/events ... [ ok ] * Applying ctdb-50.samba_gentoo.patch ... [ ok ] * Applying ctdb-1.0.114_p1-functions.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114 ... * econf: updating ctdb-1.0.114/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ctdb-1.0.114/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ctdb-1.0.114/lib/talloc/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ctdb-1.0.114/lib/talloc/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ctdb-1.0.114/lib/replace/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ctdb-1.0.114/lib/replace/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ctdb-1.0.114/lib/tdb/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ctdb-1.0.114/lib/tdb/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux configure: loading site script /usr/share/crossdev/include/site/i686-linux-gnu checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu LIBREPLACE_LOCATION_CHECKS: START LIBREPLACE_LOCATION_CHECKS: END LIBREPLACE_CC_CHECKS: START checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for version of gcc... 4.6.0 checking how to run the C preprocessor... i686-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 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for C99 designated initializers... yes checking for a BSD-compatible install... /usr/bin/install -c checking for library containing strerror... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking standards.h usability... no checking standards.h presence... no checking for standards.h... no checking for long long... yes checking for uint_t... no checking for int8_t... yes checking for uint8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for int64_t... yes checking for uint64_t... yes checking for size_t... yes checking for ssize_t... yes checking size of int... 4 checking size of char... 1 checking size of short... 2 checking size of long... 4 checking size of long long... 8 checking size of off_t... 8 checking size of size_t... 4 checking size of ssize_t... 4 checking for intptr_t... yes checking for ptrdiff_t... yes checking for immediate structures... yes LIBREPLACE_CC_CHECKS: END LIBREPLACE_BROKEN_CHECKS: START checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for size_t... (cached) yes checking for pid_t... yes checking for struct stat.st_rdev... yes checking for ino_t... yes checking for loff_t... yes checking for offset_t... no checking for working memcmp... yes checking for pipe... yes checking for strftime... yes checking for srandom... yes checking for random... yes checking for srand... yes checking for rand... yes checking for usleep... yes checking for setbuffer... yes checking for lstat... yes checking for getpgrp... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for stdint.h... (cached) yes checking for stdbool.h... (cached) yes checking for bool... yes checking for _Bool... yes checking for working mmap... no checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking vararg.h usability... no checking vararg.h presence... no checking for vararg.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/in_ip.h usability... no checking netinet/in_ip.h presence... no checking for netinet/in_ip.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for usable net/if.h... yes checking for broken inet_ntoa... no checking for socklen_t... yes checking for sa_family_t... yes checking for struct addrinfo... yes checking for struct sockaddr... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct sockaddr_storage.ss_family... yes checking for seteuid... yes checking for setresuid... yes checking for setegid... yes checking for setresgid... yes checking for chroot... yes checking for bzero... yes checking for strerror... yes checking for vsyslog... yes checking for setlinebuf... yes checking for mktime... yes checking for ftruncate... yes checking for chsize... no checking for rename... yes checking for waitpid... yes checking for strlcpy... no checking for strlcat... no checking for initgroups... yes checking for memmove... yes checking for strdup... yes checking for pread... yes checking for pwrite... yes checking for strndup... yes checking for strcasestr... yes checking for strtok_r... yes checking for mkdtemp... yes checking for socketpair... yes checking for isatty... yes checking for setresuid declaration... yes checking for setresgid declaration... yes checking for errno declaration... yes checking for secure mkstemp... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for strings.h... (cached) yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking for snprintf... yes checking for vsnprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for va_copy... yes checking for __FUNCTION__ macro... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for comparison_fn_t... yes checking for setenv declaration... yes checking for setenv... yes checking for unsetenv... yes checking for strnlen... yes checking for strtoull... yes checking for __strtoull... no checking for strtouq... yes checking for strtoll... yes checking for __strtoll... no checking for strtoq... yes checking for sig_atomic_t type... yes checking for O_DIRECT flag to open(2)... no checking that the C compiler understands volatile... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mode.h usability... no checking sys/mode.h presence... no checking for sys/mode.h... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/filsys.h usability... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking acl/libacl.h usability... yes checking acl/libacl.h presence... yes checking for acl/libacl.h... yes checking for sys/select.h... (cached) yes checking for sys/time.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.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 sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for broken RedHat 7.2 system header files... no checking for broken RHEL5 sys/capability.h... no checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sys/id.h usability... no checking sys/id.h presence... no checking for sys/id.h... no checking compat.h usability... no checking compat.h presence... no checking for compat.h... no checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking sys/priv.h usability... no checking sys/priv.h presence... no checking for sys/priv.h... no checking for pwd.h... (cached) yes checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking for getpwnam_r... yes checking for getpwuid_r... yes checking for getpwent_r... yes checking for getpwent_r declaration... yes checking for prototype struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)... ./configure: line 7478: ac_cv_c_prototype_struct_passwd_pgetpwent_r_struct_passwd_psrc__char_pbuf__int_buflen_=no: command not found checking for getgrnam_r... yes checking for getgrgid_r... yes checking for getgrent_r... yes checking for getgrent_r declaration... yes checking for prototype struct group *getgrent_r(struct group *src, char *buf, int buflen)... ./configure: line 7573: ac_cv_c_prototype_struct_group_pgetgrent_r_struct_group_psrc__char_pbuf__int_buflen_=no: command not found checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking for library containing dlopen... -ldl checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen... yes checking for dlsym... yes checking for dlerror... yes checking for dlclose... yes checking for library containing shl_load... no checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking for shl_load... no checking for shl_unload... no checking for shl_findsym... no checking for prototype void *dlopen(const char* filename, unsigned int flags)... ./configure: line 7849: ac_cv_c_prototype_void_pdlopen_const_charp_filename__unsigned_int_flags_=no: command not found checking whether getpass should be replaced... yes checking whether strptime is available and works... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking whether mkdir supports mode... yes checking for timegm... yes checking for inet_ntop... yes checking for inet_pton... yes checking for getaddrinfo... yes checking for broken readdir... yes checking for getdirentries... yes checking for prototype long telldir(const DIR *dir)... ./configure: line 8183: ac_cv_c_prototype_long_telldir_const_DIR_pdir_=no: command not found checking for prototype int seekdir(DIR *dir, long ofs)... ./configure: line 8227: ac_cv_c_prototype_int_seekdir_DIR_pdir__long_ofs_=no: command not found checking for replacing readdir using getdirentries()... no checking for getdents... no checking for replacing readdir using getdents()... no checking a usable readdir()... no configure: WARNING: the provided readdir() is broken checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for struct sockaddr.sa_len... no checking for getifaddrs and freeifaddrs... yes checking for iface getifaddrs... eth0 lo lo IP=127.0.0.1 NETMASK=255.0.0.0 eth0 eth0 lo yes checking for syslog... yes checking for printf... yes checking for memset... yes checking for memcpy... yes LIBREPLACE_BROKEN_CHECKS: END checking popt.h usability... yes checking popt.h presence... yes checking for popt.h... yes checking for poptGetContext in -lpopt... yes checking whether to use included popt... no checking size of size_t... (cached) 4 checking size of void *... 4 checking for mmap... yes checking for pread... (cached) yes checking for pwrite... (cached) yes checking for getpagesize... yes checking for utime... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for sys/select.h... (cached) yes checking for sys/time.h... (cached) yes checking for pread declaration... yes checking for pwrite declaration... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking for epoll_create... yes checking for sigprocmask... yes checking for sigblock... yes checking for sigaction... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for library containing backtrace... none required checking for backtrace... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for sched_setscheduler... yes checking for mlockall... yes checking for sin_len in sock... no configure: creating ./config.status config.status: creating Makefile config.status: creating ctdb.pc config.status: creating config.h config.status: executing rm-stdint.h commands config.status: executing rm-stdbool.h commands >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114 ... make -j14 ctdb will be compiled with flags: CFLAGS = -g -I./include -Iinclude -Ilib -Ilib/util -I. -I./lib/talloc -Ilib/tdb/include -I./lib/replace -DVARDIR=\"/var/lib\" -DETCDIR=\"/etc\" -DLOGDIR=\"/var/lib/log\" -DUSE_MMAP=1 -O2 -pipe -I./lib/replace -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings Compiling server/ctdbd.c LIBS = Compiling server/ctdb_daemon.c Compiling server/ctdb_lockwait.c Compiling server/ctdb_recoverd.c Compiling server/ctdb_recover.c Compiling server/ctdb_freeze.c Compiling server/ctdb_tunables.c Compiling server/ctdb_monitor.c Compiling server/ctdb_server.c Compiling server/ctdb_control.c Compiling server/ctdb_call.c Compiling server/ctdb_ltdb_server.c Compiling server/ctdb_traverse.c Compiling server/eventscript.c server/ctdb_recoverd.c: In function ‘monitor_handler’: server/ctdb_recoverd.c:2114:11: warning: variable ‘changed_flags’ set but not used [-Wunused-but-set-variable] server/ctdb_lockwait.c: In function ‘ctdb_lockwait’: server/ctdb_lockwait.c:140:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] server/ctdb_daemon.c: In function ‘ctdb_start_daemon’: server/ctdb_daemon.c:838:7: warning: zero-length gnu_printf format string [-Wformat-zero-length] server/ctdb_daemon.c:719:19: warning: variable ‘fde’ set but not used [-Wunused-but-set-variable] server/ctdb_recover.c: In function ‘ctdb_control_set_recmode’: server/ctdb_recover.c:736:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] server/ctdb_recover.c:740:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] server/ctdb_recoverd.c: In function ‘check_recovery_lock’: server/ctdb_recoverd.c:2705:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] server/ctdb_recoverd.c:2709:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] Compiling server/ctdb_takeover.c server/ctdb_call.c: In function ‘ctdb_call_local_send’: server/ctdb_call.c:658:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Compiling server/ctdb_serverids.c server/eventscript.c: In function ‘fork_child_for_script’: server/eventscript.c:416:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] server/eventscript.c: In function ‘sigterm’: server/eventscript.c:53:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] Compiling server/ctdb_persistent.c Compiling server/ctdb_keepalive.c server/ctdb_persistent.c: In function ‘ctdb_childwrite’: server/ctdb_persistent.c:552:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] Compiling server/ctdb_logging.c Compiling server/ctdb_uptime.c Compiling server/ctdb_vacuum.c Compiling server/ctdb_banning.c Compiling client/ctdb_client.c Compiling common/ctdb_io.c Compiling common/ctdb_util.c server/ctdb_vacuum.c: In function ‘ctdb_vacuum_event’:server/ctdb_logging.c: In function ‘ctdb_logfile_log_add’: server/ctdb_vacuum.c:854:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]server/ctdb_logging.c:301:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] server/ctdb_logging.c:306:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] server/ctdb_logging.c: In function ‘ctdb_logfile_log’: server/ctdb_logging.c:269:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] server/ctdb_logging.c:283:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] server/ctdb_logging.c:287:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] Compiling common/ctdb_ltdb.c Compiling common/ctdb_message.c Compiling common/cmdline.c Compiling lib/util/debug.c client/ctdb_client.c: In function ‘ctdb_client_call_local_send’: client/ctdb_client.c:358:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] client/ctdb_client.c: In function ‘invoke_control_callback’: client/ctdb_client.c:691:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Compiling common/rb_tree.c Compiling common/system_linux.c Compiling common/system_common.c Compiling lib/util/idtree.c Compiling lib/util/db_wrap.c Compiling lib/util/strlist.c Compiling lib/util/util.c Compiling lib/util/util_time.c Compiling lib/util/util_file.c Compiling lib/util/fault.c Compiling lib/util/substitute.c Compiling lib/util/signal.c Compiling talloc.c Compiling common/tdb.c Compiling common/dump.c Compiling common/transaction.c Compiling common/error.c Compiling common/traverse.c Compiling common/freelist.c Compiling common/freelistcheck.c Compiling common/io.c Compiling common/lock.c Compiling common/open.c Compiling common/check.c Compiling replace.c Compiling snprintf.c Compiling getpass.c Compiling strptime.c Compiling lib/events/events.c Compiling lib/events/events_select.c ./lib/replace/getpass.c: In function ‘rep_getpass’: ./lib/replace/getpass.c:188:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] ./lib/replace/strptime.c: In function ‘strptime_internal’: ./lib/replace/strptime.c:266:21: warning: variable ‘era’ set but not used [-Wunused-but-set-variable] ./lib/replace/strptime.c:254:15: warning: variable ‘rp_backup’ set but not used [-Wunused-but-set-variable] Compiling lib/events/events_signal.c Compiling lib/events/events_timed.c Compiling lib/events/events_standard.c Compiling lib/events/events_epoll.c lib/events/events_select.c: In function ‘select_event_set_fd_flags’: lib/events/events_select.c:160:31: warning: variable ‘select_ev’ set but not used [-Wunused-but-set-variable] Compiling tcp/tcp_connect.c Compiling tcp/tcp_io.c lib/events/events_signal.c: In function ‘common_event_add_signal’: lib/events/events_signal.c:219:8: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] lib/events/events_signal.c: In function ‘signal_pipe_handler’: lib/events/events_signal.c:137:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] lib/events/events_signal.c: In function ‘signal_handler’: lib/events/events_signal.c:81:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] Compiling tcp/tcp_init.c Compiling tools/ctdb.c Compiling tools/ctdb_vacuum.c Compiling utils/scsi_io/scsi_io.c Generating utils/smnotify/smnotify.h rpcgen -h utils/smnotify/smnotify.x > utils/smnotify/smnotify.h Compiling utils/ping_pong/ping_pong.c Compiling tests/src/ctdb_bench.c utils/scsi_io/scsi_io.c: In function ‘scsi_inquiry’: utils/scsi_io/scsi_io.c:233:11: warning: variable ‘alen’ set but not used [-Wunused-but-set-variable] Compiling tests/src/ctdb_fetch.c Compiling tests/src/ctdb_fetch_one.c Compiling tests/src/ctdb_store.c Compiling tests/src/ctdb_randrec.c tools/ctdb.c: In function ‘control_dumpdbbackup’: tools/ctdb.c:3818:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] tools/ctdb.c:3833:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] tests/src/ctdb_bench.c: In function ‘main’: tests/src/ctdb_bench.c:195:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] tools/ctdb.c: In function ‘control_restoredb’: tools/ctdb.c:3631:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] tools/ctdb.c:3646:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] tools/ctdb.c: In function ‘mem_dump_handler’: tools/ctdb.c:4108:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] tools/ctdb.c: In function ‘control_dumpmemory’: tools/ctdb.c:4097:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] Compiling tests/src/ctdb_persistent.c Compiling tests/src/ctdb_traverse.c Compiling tests/src/rb_test.c Compiling tests/src/ctdb_transaction.c Generating utils/smnotify/gen_xdr.c rpcgen -c utils/smnotify/smnotify.x > utils/smnotify/gen_xdr.c Generating utils/smnotify/gen_smnotify.c rpcgen -l utils/smnotify/smnotify.x > utils/smnotify/gen_smnotify.c Compiling utils/smnotify/smnotify.c Linking bin/ping_pong Compiling utils/smnotify/gen_xdr.c Compiling utils/smnotify/gen_smnotify.c Linking bin/ctdbd Linking tests/bin/ctdb_bench tests/src/rb_test.c: In function ‘main’: tests/src/rb_test.c:101:24: warning: variable ‘ev’ set but not used [-Wunused-but-set-variable] In file included from utils/smnotify/gen_xdr.c:6:0: ./utils/smnotify/smnotify.h:9:21: fatal error: rpc/rpc.h: No such file or directory compilation terminated. make: *** [utils/smnotify/gen_xdr.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from utils/smnotify/smnotify.c:26:0: utils/smnotify/smnotify.h:9:21: fatal error: rpc/rpc.h: No such file or directory compilation terminated. In file included from utils/smnotify/gen_smnotify.c:7:0: ./utils/smnotify/smnotify.h:9:21: fatal error: rpc/rpc.h: No such file or directory compilation terminated. make: *** [utils/smnotify/smnotify.o] Error 1 make: *** [utils/smnotify/gen_smnotify.o] Error 1 tools/ctdb.c: In function ‘control_scriptstatus’: tools/ctdb.c:895:2: warning: ‘max’ may be used uninitialized in this function [-Wuninitialized] tools/ctdb.c:895:2: warning: ‘min’ may be used uninitialized in this function [-Wuninitialized] tools/ctdb.c:778:6: warning: ‘type’ may be used uninitialized in this function [-Wuninitialized] tools/ctdb.c:861:29: note: ‘type’ was declared here emake failed * ERROR: dev-db/ctdb-1.0.114_p1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3003: Called _eapi2_src_compile * ebuild.sh, line 666: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-db/ctdb-1.0.114_p1', * the complete build log and the output of 'emerge -pqv =dev-db/ctdb-1.0.114_p1'. * The complete build log is located at '/var/log/portage/build/dev-db/ctdb-1.0.114_p1:20110719-000442.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/ctdb-1.0.114_p1/temp/environment'. * S: '/var/tmp/portage/dev-db/ctdb-1.0.114_p1/work/ctdb-1.0.114'