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 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop-gnome_20170706-211748 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) [2] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.4.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm
Created attachment 482468 [details] emerge-info.txt
Created attachment 482470 [details] emerge-history.txt
Created attachment 482472 [details] environment
Created attachment 482474 [details] etc.portage.tbz2
Created attachment 482476 [details] sys-apps:frandom-1.1:20170708-214540.log
Created attachment 482478 [details] temp.tbz2
Created attachment 491112 [details, diff] frandom-copy-from-user.patch Patch for version 1.1, the new version 1.2 [1] fix problem. [1] http://billauer.co.il/download/frandom-1.2.tar.gz
The author has uploaded the version 1.2 to SourceForge. This version compiles successfully with newer kernels. Now all that is needed to fix this bug is to bump the ebuild version to 1.2, I.E. copy the frandom-1.1.ebuild to frandom-1.2.ebuild.