You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, everyone , have everyone ever meet the following error ?
OS version: Linux version 5.4.0-62-generic (buildd@lgw01-amd64-045) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #70-Ubuntu SMP Tue Jan 12 12:45:47 UTC 2021
lustre version: 2.15.5
zfs version: zfs-2.1.15-1
CC [M] /root/lustre-release/lustre/obdclass/lu_tgt_pool.o
LD [M] /root/lustre-release/lustre/osc/osc.o
CC [M] /root/lustre-release/lustre/osd-zfs/osd_handler.o
CC [M] /root/lustre-release/lustre/obdclass/range_lock.o
CC [M] /root/lustre-release/lustre/obdclass/interval_tree.o
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h: In function ‘osd_find_dnsize’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:787:9: error: ‘DN_MAX_BONUSLEN’ undeclared (first use in this function); did you mean ‘DN_MAX_BONUS_LEN’?
787 | return DN_MAX_BONUSLEN;
| ^~~~~~~~~~~~~~~
| DN_MAX_BONUS_LEN
/root/lustre-release/lustre/osd-zfs/osd_internal.h:787:9: note: each undeclared identifier is reported only once for each function it appears in
/root/lustre-release/lustre/osd-zfs/osd_internal.h: At top level:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:848:20: error: static declaration of ‘dsl_pool_config_enter’ follows non-static declaration
848 | static inline void dsl_pool_config_enter(dsl_pool_t *dp, void *name)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/dsl_deleg.h:30,
from /root/zfs/include/sys/zfs_ioctl.h:34,
from /root/zfs/include/os/linux/zfs/sys/zfs_vfsops_os.h:38,
from /root/zfs/include/sys/zfs_vfsops.h:30,
from /root/zfs/include/sys/zfs_fuid.h:32,
from /root/zfs/include/sys/zfs_acl.h:35,
from /root/zfs/include/sys/zfs_znode.h:30,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:56,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dsl_pool.h:181:6: note: previous declaration of ‘dsl_pool_config_enter’ was here
181 | void dsl_pool_config_enter(dsl_pool_t *dp, void *tag);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:852:20: error: static declaration of ‘dsl_pool_config_exit’ follows non-static declaration
852 | static inline void dsl_pool_config_exit(dsl_pool_t *dp, void *name)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/dsl_deleg.h:30,
from /root/zfs/include/sys/zfs_ioctl.h:34,
from /root/zfs/include/os/linux/zfs/sys/zfs_vfsops_os.h:38,
from /root/zfs/include/sys/zfs_vfsops.h:30,
from /root/zfs/include/sys/zfs_fuid.h:32,
from /root/zfs/include/sys/zfs_acl.h:35,
from /root/zfs/include/sys/zfs_znode.h:30,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:56,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dsl_pool.h:183:6: note: previous declaration of ‘dsl_pool_config_exit’ was here
183 | void dsl_pool_config_exit(dsl_pool_t *dp, void *tag);
| ^~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:863: error: "SPA_OLD_MAXBLOCKSIZE" redefined [-Werror]
863 | #define SPA_OLD_MAXBLOCKSIZE SPA_MAXBLOCKSIZE
|
In file included from /root/zfs/include/sys/spa.h:44,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/fs/zfs.h:1642: note: this is the location of the previous definition
1642 | #define SPA_OLD_MAXBLOCKSIZE (1ULL << SPA_OLD_MAXBLOCKSHIFT)
|
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h: In function ‘osd_dmu_object_alloc’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:937:5: error: ‘DN_MAX_BONUSLEN’ undeclared (first use in this function); did you mean ‘DN_MAX_BONUS_LEN’?
937 | DN_MAX_BONUSLEN, tx);
| ^~~~~~~~~~~~~~~
| DN_MAX_BONUS_LEN
/root/lustre-release/lustre/osd-zfs/osd_internal.h: In function ‘osd_zap_create_flags’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:947:5: error: ‘DN_MAX_BONUSLEN’ undeclared (first use in this function); did you mean ‘DN_MAX_BONUS_LEN’?
947 | DN_MAX_BONUSLEN, tx);
| ^~~~~~~~~~~~~~~
| DN_MAX_BONUS_LEN
/root/lustre-release/lustre/osd-zfs/osd_internal.h: In function ‘osd_obj_bonuslen’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:953:9: error: ‘DN_MAX_BONUSLEN’ undeclared (first use in this function); did you mean ‘DN_MAX_BONUS_LEN’?
953 | return DN_MAX_BONUSLEN;
| ^~~~~~~~~~~~~~~
| DN_MAX_BONUS_LEN
/root/lustre-release/lustre/osd-zfs/osd_handler.c: In function ‘osd_objset_open’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1125:42: error: incompatible type for argument 4 of ‘dmu_objset_own’
1125 | dmu_objset_own((name), (type), (ronly), (tag), (os))
| ^~~~~
| |
| struct osd_device *
/root/lustre-release/lustre/osd-zfs/osd_handler.c:937:8: note: in expansion of macro ‘osd_dmu_objset_own’
937 | rc = -osd_dmu_objset_own(o->od_mntdev, DMU_OST_ZFS,
| ^~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/spa.h:46,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu.h:331:35: note: expected ‘boolean_t’ {aka ‘enum ’} but argument is of type ‘struct osd_device *’
331 | boolean_t readonly, boolean_t key_required, void *tag, objset_t **osp);
| ~~~~~~~~~~^~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1125:2: error: too few arguments to function ‘dmu_objset_own’
1125 | dmu_objset_own((name), (type), (ronly), (tag), (os))
| ^~~~~~~~~~~~~~
/root/lustre-release/lustre/osd-zfs/osd_handler.c:937:8: note: in expansion of macro ‘osd_dmu_objset_own’
937 | rc = -osd_dmu_objset_own(o->od_mntdev, DMU_OST_ZFS,
| ^~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_internal.h:59,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu_objset.h:214:5: note: declared here
214 | int dmu_objset_own(const char *name, dmu_objset_type_t type,
| ^~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:26: error: incompatible type for argument 2 of ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~
| |
| struct osd_device *
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1004:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1004 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/spa.h:46,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu.h:333:48: note: expected ‘boolean_t’ {aka ‘enum ’} but argument is of type ‘struct osd_device *’
333 | void dmu_objset_disown(objset_t *os, boolean_t key_required, void *tag);
| ~~~~~~~~~~^~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:2: error: too few arguments to function ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~~~~~~~~~~~~~
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1004:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1004 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_internal.h:59,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu_objset.h:223:6: note: declared here
223 | void dmu_objset_disown(objset_t *os, boolean_t decrypt, void *tag);
| ^~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_handler.c: In function ‘osd_mount’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:26: error: incompatible type for argument 2 of ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~
| |
| struct osd_device *
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1248:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1248 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/spa.h:46,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu.h:333:48: note: expected ‘boolean_t’ {aka ‘enum ’} but argument is of type ‘struct osd_device *’
333 | void dmu_objset_disown(objset_t *os, boolean_t key_required, void *tag);
| ~~~~~~~~~~^~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:2: error: too few arguments to function ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~~~~~~~~~~~~~
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1248:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1248 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_internal.h:59,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu_objset.h:223:6: note: declared here
223 | void dmu_objset_disown(objset_t *os, boolean_t decrypt, void *tag);
| ^~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_handler.c: In function ‘osd_umount’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:26: error: incompatible type for argument 2 of ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~
| |
| struct osd_device *
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1295:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1295 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/spa.h:46,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu.h:333:48: note: expected ‘boolean_t’ {aka ‘enum ’} but argument is of type ‘struct osd_device *’
333 | void dmu_objset_disown(objset_t *os, boolean_t key_required, void *tag);
| ~~~~~~~~~~^~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:2: error: too few arguments to function ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~~~~~~~~~~~~~
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1295:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1295 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_internal.h:59,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu_objset.h:223:6: note: declared here
223 | void dmu_objset_disown(objset_t *os, boolean_t decrypt, void *tag);
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[8]: *** [scripts/Makefile.build:275: /root/lustre-release/lustre/osd-zfs/osd_handler.o] Error 1
make[7]: *** [scripts/Makefile.build:522: /root/lustre-release/lustre/osd-zfs] Error 2
make[7]: *** Waiting for unfinished jobs....
CC [M] /root/lustre-release/lustre/obdclass/idmap.o
CC [M] /root/lustre-release/lustre/obdclass/upcall_cache.o
CC [M] /root/lustre-release/lustre/obdclass/lprocfs_jobstats.o
CC [M] /root/lustre-release/lustre/obdclass/lprocfs_status_server.o
CC [M] /root/lustre-release/lustre/obdclass/lu_ucred.o
CC [M] /root/lustre-release/lustre/obdclass/md_attrs.o
CC [M] /root/lustre-release/lustre/obdclass/obd_mount_server.o
CC [M] /root/lustre-release/lustre/obdclass/obdo_server.o
CC [M] /root/lustre-release/lustre/obdclass/scrub.o
CC [M] /root/lustre-release/lustre/obdclass/llog_test.o
LD [M] /root/lustre-release/lustre/obdclass/obdclass.o
make[6]: *** [scripts/Makefile.build:522: /root/lustre-release/lustre] Error 2
make[5]: *** [Makefile:1757: /root/lustre-release] Error 2
make[5]: Leaving directory '/usr/src/linux-headers-5.4.0-62-generic'
make[4]: *** [autoMakefile:1151: modules] Error 2
make[4]: Leaving directory '/root/lustre-release'
make[3]: *** [autoMakefile:689: all-recursive] Error 1
make[3]: Leaving directory '/root/lustre-release'
make[2]: *** [autoMakefile:551: all] Error 2
make[2]: Leaving directory '/root/lustre-release'
make[1]: *** [debian/rules:229: build-stamp] Error 2
make[1]: Leaving directory '/root/lustre-release'
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
cp: cannot stat '/control.bkp': No such file or directory
cp: cannot stat '/control.main.bkp': No such file or directory
cp: cannot stat '/control.modules.in.bkp': No such file or directory
make: *** [autoMakefile:1301: debs] Error 2
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi, everyone , have everyone ever meet the following error ?
OS version: Linux version 5.4.0-62-generic (buildd@lgw01-amd64-045) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #70-Ubuntu SMP Tue Jan 12 12:45:47 UTC 2021
lustre version: 2.15.5
zfs version: zfs-2.1.15-1
CC [M] /root/lustre-release/lustre/obdclass/lu_tgt_pool.o
LD [M] /root/lustre-release/lustre/osc/osc.o
CC [M] /root/lustre-release/lustre/osd-zfs/osd_handler.o
CC [M] /root/lustre-release/lustre/obdclass/range_lock.o
CC [M] /root/lustre-release/lustre/obdclass/interval_tree.o
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h: In function ‘osd_find_dnsize’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:787:9: error: ‘DN_MAX_BONUSLEN’ undeclared (first use in this function); did you mean ‘DN_MAX_BONUS_LEN’?
787 | return DN_MAX_BONUSLEN;
| ^~~~~~~~~~~~~~~
| DN_MAX_BONUS_LEN
/root/lustre-release/lustre/osd-zfs/osd_internal.h:787:9: note: each undeclared identifier is reported only once for each function it appears in
/root/lustre-release/lustre/osd-zfs/osd_internal.h: At top level:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:848:20: error: static declaration of ‘dsl_pool_config_enter’ follows non-static declaration
848 | static inline void dsl_pool_config_enter(dsl_pool_t *dp, void *name)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/dsl_deleg.h:30,
from /root/zfs/include/sys/zfs_ioctl.h:34,
from /root/zfs/include/os/linux/zfs/sys/zfs_vfsops_os.h:38,
from /root/zfs/include/sys/zfs_vfsops.h:30,
from /root/zfs/include/sys/zfs_fuid.h:32,
from /root/zfs/include/sys/zfs_acl.h:35,
from /root/zfs/include/sys/zfs_znode.h:30,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:56,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dsl_pool.h:181:6: note: previous declaration of ‘dsl_pool_config_enter’ was here
181 | void dsl_pool_config_enter(dsl_pool_t *dp, void *tag);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:852:20: error: static declaration of ‘dsl_pool_config_exit’ follows non-static declaration
852 | static inline void dsl_pool_config_exit(dsl_pool_t *dp, void *name)
| ^~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/dsl_deleg.h:30,
from /root/zfs/include/sys/zfs_ioctl.h:34,
from /root/zfs/include/os/linux/zfs/sys/zfs_vfsops_os.h:38,
from /root/zfs/include/sys/zfs_vfsops.h:30,
from /root/zfs/include/sys/zfs_fuid.h:32,
from /root/zfs/include/sys/zfs_acl.h:35,
from /root/zfs/include/sys/zfs_znode.h:30,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:56,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dsl_pool.h:183:6: note: previous declaration of ‘dsl_pool_config_exit’ was here
183 | void dsl_pool_config_exit(dsl_pool_t *dp, void *tag);
| ^~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:863: error: "SPA_OLD_MAXBLOCKSIZE" redefined [-Werror]
863 | #define SPA_OLD_MAXBLOCKSIZE SPA_MAXBLOCKSIZE
|
In file included from /root/zfs/include/sys/spa.h:44,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/fs/zfs.h:1642: note: this is the location of the previous definition
1642 | #define SPA_OLD_MAXBLOCKSIZE (1ULL << SPA_OLD_MAXBLOCKSHIFT)
|
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h: In function ‘osd_dmu_object_alloc’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:937:5: error: ‘DN_MAX_BONUSLEN’ undeclared (first use in this function); did you mean ‘DN_MAX_BONUS_LEN’?
937 | DN_MAX_BONUSLEN, tx);
| ^~~~~~~~~~~~~~~
| DN_MAX_BONUS_LEN
/root/lustre-release/lustre/osd-zfs/osd_internal.h: In function ‘osd_zap_create_flags’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:947:5: error: ‘DN_MAX_BONUSLEN’ undeclared (first use in this function); did you mean ‘DN_MAX_BONUS_LEN’?
947 | DN_MAX_BONUSLEN, tx);
| ^~~~~~~~~~~~~~~
| DN_MAX_BONUS_LEN
/root/lustre-release/lustre/osd-zfs/osd_internal.h: In function ‘osd_obj_bonuslen’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:953:9: error: ‘DN_MAX_BONUSLEN’ undeclared (first use in this function); did you mean ‘DN_MAX_BONUS_LEN’?
953 | return DN_MAX_BONUSLEN;
| ^~~~~~~~~~~~~~~
| DN_MAX_BONUS_LEN
/root/lustre-release/lustre/osd-zfs/osd_handler.c: In function ‘osd_objset_open’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1125:42: error: incompatible type for argument 4 of ‘dmu_objset_own’
1125 | dmu_objset_own((name), (type), (ronly), (tag), (os))
| ^~~~~
| |
| struct osd_device *
/root/lustre-release/lustre/osd-zfs/osd_handler.c:937:8: note: in expansion of macro ‘osd_dmu_objset_own’
937 | rc = -osd_dmu_objset_own(o->od_mntdev, DMU_OST_ZFS,
| ^~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/spa.h:46,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu.h:331:35: note: expected ‘boolean_t’ {aka ‘enum ’} but argument is of type ‘struct osd_device *’
331 | boolean_t readonly, boolean_t key_required, void *tag, objset_t **osp);
| ~~~~~~~~~~^~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1125:2: error: too few arguments to function ‘dmu_objset_own’
1125 | dmu_objset_own((name), (type), (ronly), (tag), (os))
| ^~~~~~~~~~~~~~
/root/lustre-release/lustre/osd-zfs/osd_handler.c:937:8: note: in expansion of macro ‘osd_dmu_objset_own’
937 | rc = -osd_dmu_objset_own(o->od_mntdev, DMU_OST_ZFS,
| ^~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_internal.h:59,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu_objset.h:214:5: note: declared here
214 | int dmu_objset_own(const char *name, dmu_objset_type_t type,
| ^~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:26: error: incompatible type for argument 2 of ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~
| |
| struct osd_device *
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1004:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1004 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/spa.h:46,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu.h:333:48: note: expected ‘boolean_t’ {aka ‘enum ’} but argument is of type ‘struct osd_device *’
333 | void dmu_objset_disown(objset_t *os, boolean_t key_required, void *tag);
| ~~~~~~~~~~^~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:2: error: too few arguments to function ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~~~~~~~~~~~~~
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1004:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1004 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_internal.h:59,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu_objset.h:223:6: note: declared here
223 | void dmu_objset_disown(objset_t *os, boolean_t decrypt, void *tag);
| ^~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_handler.c: In function ‘osd_mount’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:26: error: incompatible type for argument 2 of ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~
| |
| struct osd_device *
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1248:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1248 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/spa.h:46,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu.h:333:48: note: expected ‘boolean_t’ {aka ‘enum ’} but argument is of type ‘struct osd_device *’
333 | void dmu_objset_disown(objset_t *os, boolean_t key_required, void *tag);
| ~~~~~~~~~~^~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:2: error: too few arguments to function ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~~~~~~~~~~~~~
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1248:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1248 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_internal.h:59,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu_objset.h:223:6: note: declared here
223 | void dmu_objset_disown(objset_t *os, boolean_t decrypt, void *tag);
| ^~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_handler.c: In function ‘osd_umount’:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:26: error: incompatible type for argument 2 of ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~
| |
| struct osd_device *
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1295:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1295 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/zfs/include/sys/spa.h:46,
from /root/zfs/include/sys/zio.h:39,
from /root/zfs/include/sys/arc.h:38,
from /root/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu.h:333:48: note: expected ‘boolean_t’ {aka ‘enum ’} but argument is of type ‘struct osd_device *’
333 | void dmu_objset_disown(objset_t *os, boolean_t key_required, void *tag);
| ~~~~~~~~~~^~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/lustre-release/lustre/osd-zfs/osd_internal.h:1133:2: error: too few arguments to function ‘dmu_objset_disown’
1133 | dmu_objset_disown((os), (tag))
| ^~~~~~~~~~~~~~~~~
/root/lustre-release/lustre/osd-zfs/osd_handler.c:1295:3: note: in expansion of macro ‘osd_dmu_objset_disown’
1295 | osd_dmu_objset_disown(o->od_os, B_TRUE, o);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre/osd-zfs/osd_internal.h:59,
from /root/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/root/zfs/include/sys/dmu_objset.h:223:6: note: declared here
223 | void dmu_objset_disown(objset_t *os, boolean_t decrypt, void *tag);
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[8]: *** [scripts/Makefile.build:275: /root/lustre-release/lustre/osd-zfs/osd_handler.o] Error 1
make[7]: *** [scripts/Makefile.build:522: /root/lustre-release/lustre/osd-zfs] Error 2
make[7]: *** Waiting for unfinished jobs....
CC [M] /root/lustre-release/lustre/obdclass/idmap.o
CC [M] /root/lustre-release/lustre/obdclass/upcall_cache.o
CC [M] /root/lustre-release/lustre/obdclass/lprocfs_jobstats.o
CC [M] /root/lustre-release/lustre/obdclass/lprocfs_status_server.o
CC [M] /root/lustre-release/lustre/obdclass/lu_ucred.o
CC [M] /root/lustre-release/lustre/obdclass/md_attrs.o
CC [M] /root/lustre-release/lustre/obdclass/obd_mount_server.o
CC [M] /root/lustre-release/lustre/obdclass/obdo_server.o
CC [M] /root/lustre-release/lustre/obdclass/scrub.o
CC [M] /root/lustre-release/lustre/obdclass/llog_test.o
LD [M] /root/lustre-release/lustre/obdclass/obdclass.o
make[6]: *** [scripts/Makefile.build:522: /root/lustre-release/lustre] Error 2
make[5]: *** [Makefile:1757: /root/lustre-release] Error 2
make[5]: Leaving directory '/usr/src/linux-headers-5.4.0-62-generic'
make[4]: *** [autoMakefile:1151: modules] Error 2
make[4]: Leaving directory '/root/lustre-release'
make[3]: *** [autoMakefile:689: all-recursive] Error 1
make[3]: Leaving directory '/root/lustre-release'
make[2]: *** [autoMakefile:551: all] Error 2
make[2]: Leaving directory '/root/lustre-release'
make[1]: *** [debian/rules:229: build-stamp] Error 2
make[1]: Leaving directory '/root/lustre-release'
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
cp: cannot stat '/control.bkp': No such file or directory
cp: cannot stat '/control.main.bkp': No such file or directory
cp: cannot stat '/control.modules.in.bkp': No such file or directory
make: *** [autoMakefile:1301: debs] Error 2
Beta Was this translation helpful? Give feedback.
All reactions