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 fails to build #3168

Closed
rapha8l opened this issue Sep 27, 2018 · 2 comments · Fixed by #3171
Closed

Exfat fails to build #3168

rapha8l opened this issue Sep 27, 2018 · 2 comments · Fixed by #3171

Comments

@rapha8l
Copy link

rapha8l commented Sep 27, 2018

Exfat DKMs fails to build


DKMS make.log for exfat-1.2.8 for kernel 4.18.10_1 (x86_64)
jeu. sept. 27 20:52:51 CEST 2018
make -C /lib/modules/4.18.10_1/build M=/var/lib/dkms/exfat/1.2.8/build modules
make[1] : on entre dans le répertoire « /usr/src/kernel-headers-4.18.10_1 »
  CC [M]  /var/lib/dkms/exfat/1.2.8/build/exfat_core.o
  CC [M]  /var/lib/dkms/exfat/1.2.8/build/exfat_super.o
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c: In function 'exfat_fill_inode':
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:1927:27: error: passing argument 2 of 'exfat_time_fat2unix' from incompatible pointer type [-Werror=incompatible-pointer-types]
  exfat_time_fat2unix(sbi, &inode->i_mtime, &info.ModifyTimestamp);
                           ^~~~~~~~~~~~~~~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:150:70: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
 void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec *ts,
                                                     ~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:1928:27: error: passing argument 2 of 'exfat_time_fat2unix' from incompatible pointer type [-Werror=incompatible-pointer-types]
  exfat_time_fat2unix(sbi, &inode->i_ctime, &info.CreateTimestamp);
                           ^~~~~~~~~~~~~~~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:150:70: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
 void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec *ts,
                                                     ~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:1929:27: error: passing argument 2 of 'exfat_time_fat2unix' from incompatible pointer type [-Werror=incompatible-pointer-types]
  exfat_time_fat2unix(sbi, &inode->i_atime, &info.AccessTimestamp);
                           ^~~~~~~~~~~~~~~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:150:70: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
 void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec *ts,
                                                     ~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c: In function 'exfat_write_inode':
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:2010:27: error: passing argument 2 of 'exfat_time_unix2fat' from incompatible pointer type [-Werror=incompatible-pointer-types]
  exfat_time_unix2fat(sbi, &inode->i_mtime, &info.ModifyTimestamp);
                           ^~~~~~~~~~~~~~~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:169:70: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
 void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec *ts,
                                                     ~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:2011:27: error: passing argument 2 of 'exfat_time_unix2fat' from incompatible pointer type [-Werror=incompatible-pointer-types]
  exfat_time_unix2fat(sbi, &inode->i_ctime, &info.CreateTimestamp);
                           ^~~~~~~~~~~~~~~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:169:70: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
 void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec *ts,
                                                     ~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:2012:27: error: passing argument 2 of 'exfat_time_unix2fat' from incompatible pointer type [-Werror=incompatible-pointer-types]
  exfat_time_unix2fat(sbi, &inode->i_atime, &info.AccessTimestamp);
                           ^~~~~~~~~~~~~~~
/var/lib/dkms/exfat/1.2.8/build/exfat_super.c:169:70: note: expected 'struct timespec *' but argument is of type 'struct timespec64 *'
 void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec *ts,
                                                     ~~~~~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:318: /var/lib/dkms/exfat/1.2.8/build/exfat_super.o] Error 1
make[1]: *** [Makefile:1517: _module_/var/lib/dkms/exfat/1.2.8/build] Error 2
make[1] : on quitte le répertoire « /usr/src/kernel-headers-4.18.10_1 »
make: *** [Makefile:35: all] Error 2

Thanks

@Johnnynator
Copy link
Member

dorimanx/exfat-nofuse#137
This affects only linux 4.18+

Johnnynator added a commit to Johnnynator/void-packages that referenced this issue Sep 27, 2018
Johnnynator added a commit to Johnnynator/void-packages that referenced this issue Sep 27, 2018
Hoshpak pushed a commit that referenced this issue Sep 27, 2018
@rapha8l
Copy link
Author

rapha8l commented Sep 28, 2018

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants