Project

General

Profile

Bug #16940

feature/buster FTBFS: fails to build virtualbox-guest-dkms

Added by segfault 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

From https://jenkins.tails.boum.org/job/build_Tails_ISO_feature-buster/867/console:

21:20:05   CC [M]  /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/VBoxGuestR0LibSharedFolders.o
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c: In function 'sf_init_inode':
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:165:28: error: passing argument 1 of 'sf_ftime_from_timespec' from incompatible pointer type [-Werror=incompatible-pointer-types]
21:20:05      sf_ftime_from_timespec(&inode->i_atime, &info->AccessTime);
21:20:05                             ^~~~~~~~~~~~~~~
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:53:53: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
21:20:05  static void sf_ftime_from_timespec(struct timespec *tv, RTTIMESPEC *ts)
21:20:05                                     ~~~~~~~~~~~~~~~~~^~
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:166:28: error: passing argument 1 of 'sf_ftime_from_timespec' from incompatible pointer type [-Werror=incompatible-pointer-types]
21:20:05      sf_ftime_from_timespec(&inode->i_ctime, &info->ChangeTime);
21:20:05                             ^~~~~~~~~~~~~~~
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:53:53: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
21:20:05  static void sf_ftime_from_timespec(struct timespec *tv, RTTIMESPEC *ts)
21:20:05                                     ~~~~~~~~~~~~~~~~~^~
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:167:28: error: passing argument 1 of 'sf_ftime_from_timespec' from incompatible pointer type [-Werror=incompatible-pointer-types]
21:20:05      sf_ftime_from_timespec(&inode->i_mtime, &info->ModificationTime);
21:20:05                             ^~~~~~~~~~~~~~~
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:53:53: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
21:20:05  static void sf_ftime_from_timespec(struct timespec *tv, RTTIMESPEC *ts)
21:20:05                                     ~~~~~~~~~~~~~~~~~^~
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c: In function 'sf_setattr':
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:377:54: error: passing argument 2 of 'sf_timespec_from_ftime' from incompatible pointer type [-Werror=incompatible-pointer-types]
21:20:05              sf_timespec_from_ftime(&info.AccessTime, &iattr->ia_atime);
21:20:05                                                       ^~~~~~~~~~~~~~~~
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:63:69: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
21:20:05  static void sf_timespec_from_ftime(RTTIMESPEC *ts, struct timespec *tv)
21:20:05                                                     ~~~~~~~~~~~~~~~~~^~
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:379:60: error: passing argument 2 of 'sf_timespec_from_ftime' from incompatible pointer type [-Werror=incompatible-pointer-types]
21:20:05              sf_timespec_from_ftime(&info.ModificationTime, &iattr->ia_mtime);
21:20:05                                                             ^~~~~~~~~~~~~~~~
21:20:05 /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.c:63:69: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
21:20:05  static void sf_timespec_from_ftime(RTTIMESPEC *ts, struct timespec *tv)
21:20:05                                                     ~~~~~~~~~~~~~~~~~^~
21:20:05 cc1: some warnings being treated as errors
21:20:05 make[4]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf/utils.o] Error 1
21:20:05 make[3]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:549: /var/lib/dkms/virtualbox-guest/5.2.12/build/vboxsf] Error 2
21:20:05 make[2]: *** [/usr/src/linux-headers-4.19.0-5-common/Makefile:1539: _module_/var/lib/dkms/virtualbox-guest/5.2.12/build] Error 2
21:20:05 make[1]: *** [Makefile:146: sub-make] Error 2
21:20:05 make: *** [Makefile:8: all] Error 2
21:20:05 make: Leaving directory '/usr/src/linux-headers-4.19.0-5-amd64'
21:20:05 + find /lib/modules/4.19.0-5-amd64 -name vboxguest.ko
21:20:05 + wc -l
21:20:06 + found=1
21:20:06 + [ 1 = 0 ]
21:20:06 + find /lib/modules/4.19.0-5-amd64 -name vboxsf.ko
21:20:06 + wc -l
21:20:06 + found=0
21:20:06 + [ 0 = 0 ]
21:20:06 + echo Can not find vboxsf module in '/lib/modules/4.19.0-5-amd64
21:20:06 Can not find vboxsf module in '/lib/modules/4.19.0-5-amd64
21:20:06 + exit 1
21:20:06 E: config/chroot_local-hooks/50-dkms failed (exit non-zero). You should check for errors.

Related issues

Blocks Tails - Feature #16209: Core work: Foundations Team Confirmed

History

#1 Updated by segfault 7 months ago

#2 Updated by segfault 7 months ago

  • Target version set to Tails_4.0

#3 Updated by intrigeri 7 months ago

  • Status changed from Confirmed to Resolved

Current devel branch builds fine.

Also available in: Atom PDF