* Package: sys-cluster/dlm-lib-2.03.11 * Repository: gentoo * Maintainer: cluster@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 3.17.7-gentoo >>> Unpacking source... >>> Unpacking cluster-2.03.11.tar.gz to /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work >>> Source unpacked in /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work >>> Compiling source in /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib ... Configuring Makefiles for your system... Checking tree: nothing to do Building against OpenAIS Whitetank The following fence agents will be build on this system: vmware lpar rsa rps10 egenera xcat brocade mcdata ilo ipmilan bladecenter vixel drac sanbox2 apc ibmblade virsh gnbd rsb baytech apc_snmp rackswitch bullpap xvm scsi manual ifmib cpint wti zvm eps alom ldom NOTE: xvm will build only if --enable_xen has been specified Completed Makefile configuration make -j1 -j1 x86_64-pc-linux-gnu-gcc -O2 -pipe -Wall -I/var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/config -DDEFAULT_CONFIG_DIR=\"/etc/cluster\" -DDEFAULT_CONFIG_FILE=\"cluster.conf\" -DLOGDIR=\"/var/log/cluster\" -DRELEASE_VERSION=\"2.03.11\" -I/var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib -I/usr/include -I/usr/src/linux/include -D_REENTRANT -c -o libdlm.o /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:20:0: /usr/src/linux/include/linux/types.h:14:26: error: conflicting types for ‘fd_set’ typedef __kernel_fd_set fd_set; ^ In file included from /usr/include/sys/types.h:219:0, from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:4: /usr/include/sys/select.h:75:5: note: previous declaration of ‘fd_set’ was here } fd_set; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:20:0: /usr/src/linux/include/linux/types.h:15:25: error: conflicting types for ‘dev_t’ typedef __kernel_dev_t dev_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:4:0: /usr/include/sys/types.h:60:17: note: previous declaration of ‘dev_t’ was here typedef __dev_t dev_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:20:0: /usr/src/linux/include/linux/types.h:19:17: error: conflicting types for ‘nlink_t’ typedef __u32 nlink_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:4:0: /usr/include/sys/types.h:75:19: note: previous declaration of ‘nlink_t’ was here typedef __nlink_t nlink_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:20:0: /usr/src/linux/include/linux/types.h:25:26: error: conflicting types for ‘timer_t’ typedef __kernel_timer_t timer_t; ^ In file included from /usr/include/pthread.h:24:0, from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:2: /usr/include/time.h:103:19: note: previous declaration of ‘timer_t’ was here typedef __timer_t timer_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:20:0: /usr/src/linux/include/linux/types.h:45:26: error: conflicting types for ‘loff_t’ typedef __kernel_loff_t loff_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:4:0: /usr/include/sys/types.h:44:18: note: previous declaration of ‘loff_t’ was here typedef __loff_t loff_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:20:0: /usr/src/linux/include/linux/types.h:111:17: error: conflicting types for ‘uint64_t’ typedef __u64 uint64_t; ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/stdint.h:9:0, from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:8: /usr/include/stdint.h:55:27: note: previous declaration of ‘uint64_t’ was here typedef unsigned long int uint64_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:20:0: /usr/src/linux/include/linux/types.h:112:17: error: conflicting types for ‘u_int64_t’ typedef __u64 u_int64_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:4:0: /usr/include/sys/types.h:203:1: note: previous declaration of ‘u_int64_t’ was here __u_intN_t (64, __DI__); ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:20:0: /usr/src/linux/include/linux/types.h:113:17: error: conflicting types for ‘int64_t’ typedef __s64 int64_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:4:0: /usr/include/sys/types.h:197:1: note: previous declaration of ‘int64_t’ was here __intN_t (64, __DI__); ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:20:0: /usr/src/linux/include/linux/types.h:134:23: error: conflicting types for ‘blkcnt_t’ typedef unsigned long blkcnt_t; ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:4:0: /usr/include/sys/types.h:235:20: note: previous declaration of ‘blkcnt_t’ was here typedef __blkcnt_t blkcnt_t; /* Type to count number of disk blocks. */ ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:23:0: /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.h:60:12: error: conflicting types for ‘dlm_lock’ extern int dlm_lock(uint32_t mode, ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:21:0: /usr/src/linux/include/linux/dlm.h:135:5: note: previous declaration of ‘dlm_lock’ was here int dlm_lock(dlm_lockspace_t *lockspace, ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:23:0: /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.h:71:12: error: conflicting types for ‘dlm_unlock’ extern int dlm_unlock(uint32_t lkid, ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:21:0: /usr/src/linux/include/linux/dlm.h:166:5: note: previous declaration of ‘dlm_unlock’ was here int dlm_unlock(dlm_lockspace_t *lockspace, ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:23:0: /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.h:122:12: error: conflicting types for ‘dlm_release_lockspace’ extern int dlm_release_lockspace(const char *name, dlm_lshandle_t ls, ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:21:0: /usr/src/linux/include/linux/dlm.h:96:5: note: previous declaration of ‘dlm_release_lockspace’ was here int dlm_release_lockspace(dlm_lockspace_t *lockspace, int force); ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:23:0: /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.h:127:23: error: conflicting types for ‘dlm_new_lockspace’ extern dlm_lshandle_t dlm_new_lockspace(const char *name, mode_t mode, ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:21:0: /usr/src/linux/include/linux/dlm.h:85:5: note: previous declaration of ‘dlm_new_lockspace’ was here int dlm_new_lockspace(const char *name, const char *cluster, ^ /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:946:5: error: conflicting types for ‘dlm_lock’ int dlm_lock(uint32_t mode, ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:21:0: /usr/src/linux/include/linux/dlm.h:135:5: note: previous declaration of ‘dlm_lock’ was here int dlm_lock(dlm_lockspace_t *lockspace, ^ /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:1070:5: error: conflicting types for ‘dlm_unlock’ int dlm_unlock(uint32_t lkid, uint32_t flags, struct dlm_lksb *lksb, ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:21:0: /usr/src/linux/include/linux/dlm.h:166:5: note: previous declaration of ‘dlm_unlock’ was here int dlm_unlock(dlm_lockspace_t *lockspace, ^ /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c: In function ‘dlm_recv_thread’: /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:1193:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c: At top level: /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:1363:16: error: conflicting types for ‘dlm_new_lockspace’ dlm_lshandle_t dlm_new_lockspace(const char *name, mode_t mode, uint32_t flags) ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:21:0: /usr/src/linux/include/linux/dlm.h:85:5: note: previous declaration of ‘dlm_new_lockspace’ was here int dlm_new_lockspace(const char *name, const char *cluster, ^ /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:1405:5: error: conflicting types for ‘dlm_release_lockspace’ int dlm_release_lockspace(const char *name, dlm_lshandle_t ls, int force) ^ In file included from /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:21:0: /usr/src/linux/include/linux/dlm.h:96:5: note: previous declaration of ‘dlm_release_lockspace’ was here int dlm_release_lockspace(dlm_lockspace_t *lockspace, int force); ^ /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c: In function ‘create_control_device’: /var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib/libdlm.c:366:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pmisc, "%d %s\n", &minor, name); ^ Makefile:62: recipe for target 'libdlm.o' failed make: *** [libdlm.o] Error 1 emake failed * ERROR: sys-cluster/dlm-lib-2.03.11::gentoo failed (compile phase): * compile problem * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2938: Called die * The specific snippet of code: * emake -j1 || die "compile problem" * * If you need support, post the output of `emerge --info '=sys-cluster/dlm-lib-2.03.11::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-cluster/dlm-lib-2.03.11::gentoo'`. * The complete build log is located at '/var/log/portage/sys-cluster:dlm-lib-2.03.11:20141220-135037.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-cluster/dlm-lib-2.03.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/dlm-lib-2.03.11/temp/environment'. * Working directory: '/var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib' * S: '/var/tmp/portage/sys-cluster/dlm-lib-2.03.11/work/cluster-2.03.11/dlm/lib'