I'm trying to build the latest bareos version in my ArchlinuxARM but it won't finish because of errors I can't detected.
I've just:
1) clone it from git
2) cd bareos
3) mkdir build
4) cd build
5) cmake -Dmysql=yes -Dpostgresql=no -Dsqlite3=no -Dpython=yes -Dtraymonitor=yes ../
6) Then it started the building process and it stopped as described int the "printout.txt" file attached.
As there are several erro messages I would like a help from you guys to try to point out the main problem.
Also, I attached the and error and output logs.
Tks in advance!
Rafael
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
You will also need to build mtx (at least if you use my PKGBUILD):
https://git.eckner.net/Erich/archlinuxewe/tree/mtx-svn
https://git.eckner.net/Erich/archlinuxewe/tree/bareos
though, I have to admit, I did not actually *test* this on armv6h /
armv7h.
regards,
Erich
On Thu, 18 Jul 2019, bareos-user wrote:
>> As there are several erro messages I would like a help from you guys to try
>> to point out the main problem.
>
> Let's try attached PKGBUILD
>
> --
> You received this message because you are subscribed to the Google Groups
> "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bareos...@googlegroups.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to bareos...@googlegroups.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to bareos...@googlegroups.com.
/home/rafael/tmp/archlinuxewe/bareos/src/bareos-Release-18.2.6/core/src/stored/backends/gfapi_device.cc: In member function ‘virtual bool storagedaemon::gfapi_device::d_truncate(storagedaemon::DeviceControlRecord*)’:
/home/rafael/tmp/archlinuxewe/bareos/src/bareos-Release-18.2.6/core/src/stored/backends/gfapi_device.cc:553:33: error: too few arguments to function ‘int glfs_ftruncate(glfs_fd_t*, off_t, glfs_stat*, glfs_stat*)’
553 | if (glfs_ftruncate(gfd_, 0) != 0) {
| ^
In file included from /home/rafael/tmp/archlinuxewe/bareos/src/bareos-Release-18.2.6/core/src/stored/backends/gfapi_device.h:31,
from /home/rafael/tmp/archlinuxewe/bareos/src/bareos-Release-18.2.6/core/src/stored/backends/gfapi_device.cc:34:
/usr/include/glusterfs/api/glfs.h:768:1: note: declared here
768 | glfs_ftruncate(glfs_fd_t *fd, off_t length, struct glfs_stat *prestat,
| ^~~~~~~~~~~~~~
make[2]: *** [core/src/stored/backends/CMakeFiles/bareossd-gfapi.dir/build.make:63: core/src/stored/backends/CMakeFiles/bareossd-gfapi.dir/gfapi_device.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1291: core/src/stored/backends/CMakeFiles/bareossd-gfapi.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERRO: Uma falha ocorreu em build().
Abortando...