py-libzfs icon indicating copy to clipboard operation
py-libzfs copied to clipboard

build breaks on systems without ZFS_PROP_USEROBJUSED, etc.

Open jhgit opened this issue 2 years ago • 1 comments

On FreeBSD 12.4 (at least):

libzfs.c:97129:53: error: use of undeclared identifier 'ZFS_PROP_USEROBJUSED'; did you mean 'ZFS_PROP_USERUSED'?
libzfs.c:97141:53: error: use of undeclared identifier 'ZFS_PROP_USEROBJQUOTA'; did you mean 'ZFS_PROP_USERQUOTA'?
libzfs.c:97153:53: error: use of undeclared identifier 'ZFS_PROP_GROUPOBJUSED'; did you mean 'ZFS_PROP_GROUPUSED'?
libzfs.c:97165:53: error: use of undeclared identifier 'ZFS_PROP_GROUPOBJQUOTA'; did you mean 'ZFS_PROP_GROUPQUOTA'?
libzfs.c:97177:53: error: use of undeclared identifier 'ZFS_PROP_PROJECTUSED'; did you mean 'ZFS_PROP_GROUPUSED'?
libzfs.c:97189:53: error: use of undeclared identifier 'ZFS_PROP_PROJECTQUOTA'
libzfs.c:97201:53: error: use of undeclared identifier 'ZFS_PROP_PROJECTOBJUSED'
libzfs.c:97213:53: error: use of undeclared identifier 'ZFS_PROP_PROJECTOBJQUOTA'

See also FreeBSD bug 269308

jhgit avatar Feb 03 '23 13:02 jhgit

See patch candidate

jhgit avatar Feb 03 '23 14:02 jhgit