Package: langford-dkms
Version: 0.0.20130228-3
Severity: serious
Tags: sid stretch
User: [email protected]
Usertags: piuparts
Hi,
from make.log:
DKMS make.log for langford-0.0.20130108 for kernel 4.0.0-2-586 (x86_64)
Tue Jun 9 21:11:10 UTC 2015
make: Entering directory '/usr/src/linux-headers-4.0.0-2-586'
LD /var/lib/dkms/langford/0.0.20130108/build/built-in.o
CC [M] /var/lib/dkms/langford/0.0.20130108/build/langford.o
/var/lib/dkms/langford/0.0.20130108/build/langford.c: In function 'cdev_open':
/var/lib/dkms/langford/0.0.20130108/build/langford.c:804:77: warning: cast from
pointer to integer of different size [-Wpointer-to-int-cast]
printk(KERN_ERR DRIVER_NAME " Unable to start read thread: 0x%016llx\n",
(uint64_t) dev_read_thread);
^
/var/lib/dkms/langford/0.0.20130108/build/langford.c:810:78: warning: cast from
pointer to integer of different size [-Wpointer-to-int-cast]
printk(KERN_ERR DRIVER_NAME " Unable to start write thread: 0x%016llx\n",
(uint64_t) dev_write_thread);
^
/var/lib/dkms/langford/0.0.20130108/build/langford.c: In function
'driver_probe':
/var/lib/dkms/langford/0.0.20130108/build/langford.c:1001:88: warning: cast
from pointer to integer of different size [-Wpointer-to-int-cast]
printk(KERN_DEBUG DRIVER_NAME " BAR0 accessible through memory address:
0x%016llx\n", (int64_t)DevPrivData->pBar0);
^
/var/lib/dkms/langford/0.0.20130108/build/langford.c:1007:88: warning: cast
from pointer to integer of different size [-Wpointer-to-int-cast]
printk(KERN_DEBUG DRIVER_NAME " BAR1 accessible through memory address:
0x%016llx\n", (int64_t)DevPrivData->pBar1);
^
/var/lib/dkms/langford/0.0.20130108/build/langford.c: In function
'driver_initial':
/var/lib/dkms/langford/0.0.20130108/build/langford.c:1090:53: error: macro
"__DATE__" might prevent reproducible builds [-Werror=date-time]
printk(KERN_INFO DRIVER_NAME " Loading... (build " __DATE__ " " __TIME__
")\n");
^
/var/lib/dkms/langford/0.0.20130108/build/langford.c:1090:66: error: macro
"__TIME__" might prevent reproducible builds [-Werror=date-time]
printk(KERN_INFO DRIVER_NAME " Loading... (build " __DATE__ " " __TIME__
")\n");
^
/var/lib/dkms/langford/0.0.20130108/build/langford.c: In function 'cdev_write':
/var/lib/dkms/langford/0.0.20130108/build/langford.c:428:3: warning: ignoring
return value of 'copy_from_user', declared with attribute warn_unused_result
[-Wunused-result]
copy_from_user(cdev_write_buff + cdev_write_buff_end, buf, MIN(len,
CDEVBUFFSIZE - cdev_write_buff_end));
^
/var/lib/dkms/langford/0.0.20130108/build/langford.c:431:4: warning: ignoring
return value of 'copy_from_user', declared with attribute warn_unused_result
[-Wunused-result]
copy_from_user(cdev_write_buff, buf + CDEVBUFFSIZE - cdev_write_buff_end,
len - CDEVBUFFSIZE + cdev_write_buff_end);
^
/var/lib/dkms/langford/0.0.20130108/build/langford.c: In function 'cdev_read':
/var/lib/dkms/langford/0.0.20130108/build/langford.c:383:3: warning: ignoring
return value of 'copy_to_user', declared with attribute warn_unused_result
[-Wunused-result]
copy_to_user(buf, cdev_read_buff + cdev_read_buff_start, MIN(len,
CDEVBUFFSIZE - cdev_read_buff_start));
^
/var/lib/dkms/langford/0.0.20130108/build/langford.c:386:4: warning: ignoring
return value of 'copy_to_user', declared with attribute warn_unused_result
[-Wunused-result]
copy_to_user(buf + CDEVBUFFSIZE - cdev_read_buff_start, cdev_read_buff, len
- CDEVBUFFSIZE + cdev_read_buff_start);
^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.0.0-2-common/scripts/Makefile.build:269: recipe for
target '/var/lib/dkms/langford/0.0.20130108/build/langford.o' failed
make[3]: *** [/var/lib/dkms/langford/0.0.20130108/build/langford.o] Error 1
/usr/src/linux-headers-4.0.0-2-common/Makefile:1407: recipe for target
'_module_/var/lib/dkms/langford/0.0.20130108/build' failed
make[2]: *** [_module_/var/lib/dkms/langford/0.0.20130108/build] Error 2
Makefile:145: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.0.0-2-586'
Looks like the kernel compile flags now contain something like
-Werror=date-time
Andreas
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]