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

Cannot compile on Ubuntu 14.04.5 with kernel 4.4.0-49 #5408

Closed
dimez opened this issue Nov 17, 2016 · 5 comments
Closed

Cannot compile on Ubuntu 14.04.5 with kernel 4.4.0-49 #5408

dimez opened this issue Nov 17, 2016 · 5 comments

Comments

@dimez
Copy link

dimez commented Nov 17, 2016

From make.log:
CC [M] /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.o
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c: In function ‘__zpl_xattr_acl_set_access’:
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:1293:4: warning: passing argument 1 of ‘posix_acl_valid’ from incompatible pointer type [enabled by default]
error = posix_acl_valid(acl);
^
In file included from /var/lib/dkms/zfs/0.6.5.7/build/include/linux/vfs_compat.h:204:0,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zpl.h:37,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zfs_vnops.h:34,
from /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:81:
include/linux/posix_acl.h:84:12: note: expected ‘struct user_namespace *’ but argument is of type ‘struct posix_acl *’
extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
^
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:1293:4: error: too few arguments to function ‘posix_acl_valid’
error = posix_acl_valid(acl);
^
In file included from /var/lib/dkms/zfs/0.6.5.7/build/include/linux/vfs_compat.h:204:0,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zpl.h:37,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zfs_vnops.h:34,
from /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:81:
include/linux/posix_acl.h:84:12: note: declared here
extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
^
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c: In function ‘__zpl_xattr_acl_set_default’:
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:1333:4: warning: passing argument 1 of ‘posix_acl_valid’ from incompatible pointer type [enabled by default]
error = posix_acl_valid(acl);
^
In file included from /var/lib/dkms/zfs/0.6.5.7/build/include/linux/vfs_compat.h:204:0,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zpl.h:37,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zfs_vnops.h:34,
from /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:81:
include/linux/posix_acl.h:84:12: note: expected ‘struct user_namespace *’ but argument is of type ‘struct posix_acl *’
extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
^
/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:1333:4: error: too few arguments to function ‘posix_acl_valid’
error = posix_acl_valid(acl);
^
In file included from /var/lib/dkms/zfs/0.6.5.7/build/include/linux/vfs_compat.h:204:0,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zpl.h:37,
from /var/lib/dkms/zfs/0.6.5.7/build/include/sys/zfs_vnops.h:34,
from /var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.c:81:
include/linux/posix_acl.h:84:12: note: declared here
extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
^
make[5]: *** [/var/lib/dkms/zfs/0.6.5.7/build/module/zfs/zpl_xattr.o] Error 1
make[4]: *** [/var/lib/dkms/zfs/0.6.5.7/build/module/zfs] Error 2
make[3]: *** [module/var/lib/dkms/zfs/0.6.5.7/build/module] Error 2
make[3]: Leaving directory /usr/src/linux-headers-4.4.0-49-generic' make[2]: *** [modules] Error 2 make[2]: Leaving directory /var/lib/dkms/zfs/0.6.5.7/build/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/lib/dkms/zfs/0.6.5.7/build'
make: *** [all] Error 2

@gmelikov
Copy link
Member

Did you use this instruction?

@dimez
Copy link
Author

dimez commented Nov 17, 2016

Hello
Thank you for fast reply
No, I use official zfs-native PPA for several years and all ok except kernel 4.4.0-49:

cat /etc/apt/sources.list.d/zfs-native-stable-trusty.list

deb http://ppa.launchpad.net/zfs-native/stable/ubuntu trusty main

deb-src http://ppa.launchpad.net/zfs-native/stable/ubuntu trusty main

Sorry, I can't use unstable version because it's working server with several VM's.

@gmelikov
Copy link
Member

gmelikov commented Nov 17, 2016

Last stable version is 0.6.5.8, i see 0.6.5.7 in your logs.

First try to upgrade ZFS packages.

@dimez
Copy link
Author

dimez commented Nov 17, 2016

Last stable version is 0.6.5.8, i see 0.6.5.7 in your logs

I can't update to 0.6.5.8. Last version in official PPA is 0.6.5.7.

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

No branches or pull requests

3 participants
@dimez @gmelikov and others