* Package: sys-block/rts5229-1.07-r6  * Repository: gentoo  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: network-sandbox 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: * 5.0.0-gentoo * Checking for suitable kernel configuration options...  [ ok ] >>> Unpacking source... >>> Unpacking rts5229-1.07.tar.bz2 to /var/tmp/portage/sys-block/rts5229-1.07-r6/work >>> Source unpacked in /var/tmp/portage/sys-block/rts5229-1.07-r6/work >>> Preparing source in /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229 ... * Applying rts5229-linux-3.8.patch ...  [ ok ] * Applying rts5229-linux-3.10.patch ...  [ ok ] * Applying rts5229-vmalloc.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229 ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing rts5229 module make -j7 -l5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux default cp -f ./define.release ./define.h make -C /usr/src/linux SUBDIRS=/var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229 modules make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/usr/src/linux-5.0.0-gentoo' Makefile:189: ================= WARNING ================ Makefile:190: 'SUBDIRS' will be removed after Linux 5.3 Makefile:191: Please use 'M=' or 'KBUILD_EXTMOD' instead Makefile:192: ========================================== CC [M] /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.o In file included from /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:28: /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.h: In function ‘get_current_time’: /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.h:193:2: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 In file included from /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:29: /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx_chip.h: At top level: /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx_chip.h:317: warning: "SG_END" redefined #define SG_END 0x02 In file included from ./include/linux/blkdev.h:28, from /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:23: ./include/linux/scatterlist.h:65: note: this is the location of the previous definition #define SG_END 0x02UL /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:276:3: error: ‘struct scsi_host_template’ has no member named ‘use_clustering’ .use_clustering = 1, ^~~~~~~~~~~~~~ In file included from ./include/linux/printk.h:7, from ./include/linux/kernel.h:14, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/blkdev.h:5, from /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:23: /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c: In function ‘rtsx_control_thread’: ./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^~~~~~ ./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’ #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:500:11: note: in expansion of macro ‘KERN_ERR’ printk(KERN_ERR "Bad target number (%d:%d)\n", ^~~~~~~~ /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:500:44: note: format string is defined here printk(KERN_ERR "Bad target number (%d:%d)\n", ~^ %lld In file included from ./include/linux/printk.h:7, from ./include/linux/kernel.h:14, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/blkdev.h:5, from /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:23: ./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^~~~~~ ./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’ #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:506:11: note: in expansion of macro ‘KERN_ERR’ printk(KERN_ERR "Bad LUN (%d:%d)\n", ^~~~~~~~ /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.c:506:34: note: format string is defined here printk(KERN_ERR "Bad LUN (%d:%d)\n", ~^ %lld cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:277: /var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229/rtsx.o] Error 1 make[1]: *** [Makefile:1553: _module_/var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229] Error 2 make[1]: Leaving directory '/usr/src/linux-5.0.0-gentoo' make: *** [Makefile:36: default] Error 2 * ERROR: sys-block/rts5229-1.07-r6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-block/rts5229-1.07-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-block/rts5229-1.07-r6::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-block/rts5229-1.07-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-block/rts5229-1.07-r6/temp/environment'. * Working directory: '/var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229' * S: '/var/tmp/portage/sys-block/rts5229-1.07-r6/work/rts5229'