Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exfat-dkms Install Fails At Build (As does removal, to clean up files left behind) #14813

Open
antonio-malcolm opened this issue Sep 29, 2019 · 0 comments

Comments

@antonio-malcolm
Copy link
Contributor

commented Sep 29, 2019

System

  • xuname:
    Void 5.2.17_1 x86_64 GenuineIntel notuptodate rrFF

  • package:
    exfat-dkms 1.2.8 revision 5

Expected behavior

Successful build of the exfat kernel module

Actual behavior

Kernel module build fails, and leaves behind files:

make log:
DKMS make.log for exfat-1.2.8 for kernel 5.2.17_1 (x86_64) Sun 29 Sep 2019 03:46:07 AM PDT make -C /lib/modules/5.2.17_1/build M=/var/lib/dkms/exfat/1.2.8/build modules make[1]: Entering directory '/usr/src/kernel-headers-5.2.17_1' CC [M] /var/lib/dkms/exfat/1.2.8/build/exfat_core.o /var/lib/dkms/exfat/1.2.8/build/exfat_core.c: In function 'fs_error': /var/lib/dkms/exfat/1.2.8/build/exfat_core.c:1760:64: error: 'MS_RDONLY' undeclared (first use in this function); did you mean 'IS_RDONLY'? 1760 | else if ((opts->errors == EXFAT_ERRORS_RO) && !(sb->s_flags & MS_RDONLY)) { | ^~~~~~~~~ | IS_RDONLY /var/lib/dkms/exfat/1.2.8/build/exfat_core.c:1760:64: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [scripts/Makefile.build:279: /var/lib/dkms/exfat/1.2.8/build/exfat_core.o] Error 1 make[1]: *** [Makefile:1597: _module_/var/lib/dkms/exfat/1.2.8/build] Error 2 make[1]: Leaving directory '/usr/src/kernel-headers-5.2.17_1' make: *** [Makefile:35: all] Error 2

Subsequently, xbps-remove -Ryv fails to remove files left behind, under /var/lib/dkms.

Steps to reproduce the behavior

run xbps-install -Suv exfat-utils
then...
run xbps-remove -Ryv exfat-utils

@antonio-malcolm antonio-malcolm changed the title exfat-dkms Install Fails At Build (As does removal, to clean up) exfat-dkms Install Fails At Build (As does removal, to clean up files left behind) Sep 29, 2019
@Hoshpak Hoshpak added the bug label Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.