View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001286 | bareos-core | installer / packages | public | 2020-12-11 13:03 | 2021-04-26 15:46 |
Reporter | 4c4712a4141d261ec0ca8f9037950685 | Assigned To | arogge | ||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Platform | Linux | OS | Ubuntu | OS Version | 20.04 |
Product Version | 19.2.8 | ||||
Summary | 0001286: Fails to build ceph plugin on Ubuntu 20.04 | ||||
Description | Ceph plugin is fails to build on Ubuntu 20.04 with ceph 15.2. The same problem exists on Ubuntu 18.04 with updated ceph. Bareos version from version 18.2 to lastest git tree are affected. Build report: ``` [ 96%] Building CXX object src/plugins/filed/CMakeFiles/cephfs-fd.dir/cephfs-fd.cc.o cd /root/bareos/bareos19/bareos-19.2.7/obj-x86_64-linux-gnu/src/plugins/filed && /usr/bin/c++ -D_FILE_OFFSET_BITS=64 -Dcephfs_fd_EXPORTS -I/usr/include/tirpc -I/root/bareos/bareos19/bareos-19.2.7/src -isystem /usr/include/python2.7 -g -O2 -fdebug-prefix-map=/root/bareos/bareos19/bareos-19.2.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wsuggest-override -Wformat -Werror=format-security -fmacro-prefix-map=/root/bareos/bareos19/bareos-19.2.7=. -Wno-unknown-pragmas -Wall -fPIC -std=gnu++11 -o CMakeFiles/cephfs-fd.dir/cephfs-fd.cc.o -c /root/bareos/bareos19/bareos-19.2.7/src/plugins/filed/cephfs-fd.cc /root/bareos/bareos19/bareos-19.2.7/src/plugins/filed/cephfs-fd.cc: In function ‘bRC filedaemon::get_next_file_to_backup(bpContext*)’: /root/bareos/bareos19/bareos-19.2.7/src/plugins/filed/cephfs-fd.cc:457:33: error: cannot convert ‘stat*’ to ‘ceph_statx*’ 457 | &p_ctx->statp, &stmask); | ^~~~~~~~~~~~~ | | | stat* In file included from /root/bareos/bareos19/bareos-19.2.7/src/plugins/filed/cephfs-fd.cc:35: /usr/include/cephfs/libcephfs.h:564:29: note: initializing argument 4 of ‘int ceph_readdirplus_r(ceph_mount_info*, ceph_dir_result*, dirent*, ceph_statx*, unsigned int, unsigned int, Inode**)’ 564 | struct ceph_statx *stx, unsigned want, unsigned flags, struct Inode **out); | ~~~~~~~~~~~~~~~~~~~^~~ make[3]: *** [src/plugins/filed/CMakeFiles/cephfs-fd.dir/build.make:66: src/plugins/filed/CMakeFiles/cephfs-fd.dir/cephfs-fd.cc.o] Error 1 make[3]: Leaving directory '/root/bareos/bareos19/bareos-19.2.7/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:2803: src/plugins/filed/CMakeFiles/cephfs-fd.dir/all] Error 2 make[2]: Leaving directory '/root/bareos/bareos19/bareos-19.2.7/obj-x86_64-linux-gnu' make[1]: *** [Makefile:144: all] Error 2 make[1]: Leaving directory '/root/bareos/bareos19/bareos-19.2.7/obj-x86_64-linux-gnu' ``` | ||||
Tags | No tags attached. | ||||
You claim that building the latest master from git fails, please provide steps how to reproduce that. Out continous build infrastructure just built master, bareos-19.2 and bareos-18.2 a few minutes ago. On Ubuntu 20.04 using ceph packages versioned "15.2.5-0ubuntu0.20.04.1". I think you're not building the latest sources. This was a problem in 18.2, 19.2 and master. But it has been fixed for quite a while now. |
|
closing due to no feedback from reporter. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-11 13:03 | 4c4712a4141d261ec0ca8f9037950685 | New Issue | |
2020-12-11 17:38 | arogge_adm | Assigned To | => arogge |
2020-12-11 17:38 | arogge_adm | Status | new => feedback |
2020-12-11 17:38 | arogge_adm | Note Added: 0004064 | |
2021-04-26 15:46 | arogge | Status | feedback => resolved |
2021-04-26 15:46 | arogge | Resolution | open => unable to reproduce |
2021-04-26 15:46 | arogge | Note Added: 0004125 |