* Package: sys-apps/frandom-1.1 * Repository: gentoo * Maintainer: zerochaos@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/4.12.0-gentoo/build * Found sources for kernel version: * 4.12.0-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking frandom-1.1.tar.gz to /var/tmp/portage/sys-apps/frandom-1.1/work >>> Source unpacked in /var/tmp/portage/sys-apps/frandom-1.1/work >>> Preparing source in /var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1 ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing frandom 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.12.0-gentoo/build SUBDIRS=/var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1 modules make[1]: Entering directory '/usr/src/linux-4.12.0-gentoo' CC [M] /var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1/frandom.o /var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1/frandom.c: In function ‘frandom_read’: /var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1/frandom.c:267:7: error: implicit declaration of function ‘copy_to_user’ [-Werror=implicit-function-declaration] if (copy_to_user(buf, state->buf, dobytes)) { ^~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:309: /var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1/frandom.o] Error 1 make[1]: *** [Makefile:1512: _module_/var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1] Error 2 make[1]: Leaving directory '/usr/src/linux-4.12.0-gentoo' make: *** [Makefile:11: default] Error 2 * ERROR: sys-apps/frandom-1.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/frandom-1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/frandom-1.1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:frandom-1.1:20170708-214540.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/frandom-1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/frandom-1.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1' * S: '/var/tmp/portage/sys-apps/frandom-1.1/work/frandom-1.1'