* Package: dev-util/lttng-modules-2.8.0 * Repository: gentoo * Maintainer: dlan@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 kernel object directory: * /lib/modules/4.11.0/build * Found sources for kernel version: * 4.11.0 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking lttng-modules-2.8.0.tar.bz2 to /var/tmp/portage/dev-util/lttng-modules-2.8.0/work >>> Source unpacked in /var/tmp/portage/dev-util/lttng-modules-2.8.0/work >>> Preparing source in /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0 ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing module make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' default make -C /lib/modules/4.11.0/build M=/var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0 CONFIG_LTTNG=m modules make[1]: Entering directory '/usr/src/linux-4.11.0' CC [M] /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-ring-buffer-client-discard.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-ring-buffer-client-overwrite.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-ring-buffer-metadata-client.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-ring-buffer-client-mmap-discard.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-ring-buffer-client-mmap-overwrite.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-ring-buffer-metadata-mmap-client.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-clock.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-events.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-abi.o In file included from /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-abi.c:53:0: /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/wrapper/kref.h: In function ‘lttng_kref_get’: /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/wrapper/kref.h:39:24: error: passing argument 1 of ‘atomic_add_unless’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (atomic_add_unless(&kref->refcount, 1, INT_MAX) != INT_MAX) { ^ In file included from ./include/linux/tracepoint-defs.h:10:0, from ./arch/x86/include/asm/msr.h:67, from ./arch/x86/include/asm/processor.h:20, from ./arch/x86/include/asm/cpufeature.h:4, from ./arch/x86/include/asm/thread_info.h:52, from ./include/linux/thread_info.h:25, from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:80, from ./include/linux/spinlock.h:50, from ./include/linux/seqlock.h:35, from ./include/linux/time.h:5, from ./include/linux/stat.h:18, from ./include/linux/module.h:10, from /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-abi.c:40: ./include/linux/atomic.h:504:19: note: expected ‘atomic_t * {aka struct *}’ but argument is of type ‘refcount_t * {aka struct refcount_struct *}’ static inline int atomic_add_unless(atomic_t *v, int a, int u) ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:295: /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-abi.o] Error 1 make[1]: *** [Makefile:1492: _module_/var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0] Error 2 make[1]: Leaving directory '/usr/src/linux-4.11.0' make: *** [Makefile:110: modules] Error 2 * ERROR: dev-util/lttng-modules-2.8.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/lttng-modules-2.8.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/lttng-modules-2.8.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:lttng-modules-2.8.0:20170512-012300.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/lttng-modules-2.8.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/lttng-modules-2.8.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0' * S: '/var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0'