Package Details: bareos-database-sqlite3 19.2.6-1

Git Clone URL: https://aur.archlinux.org/bareos.git (read-only, click to copy)
Package Base: bareos
Description: Bareos - Backup Archiving REcovery Open Sourced - Libs and tools for sqlite3 catalog
Upstream URL: http://www.bareos.org
Keywords: Backup bacula bareos
Licenses: AGPL3
Groups: bareos
Provides: bareos-database=19.2.6
Submitter: AlD
Maintainer: spradlim
Last Packager: mfulz
Votes: 15
Popularity: 0.102518
First Submitted: 2014-07-23 09:45
Last Updated: 2020-02-19 22:31

Latest Comments

1 2 3 4 5 6 ... Next › Last »

hirnschmalz commented on 2021-01-17 12:16

I tried to install bareos on one of my machines. During the build I go the following error

/home/XXXXX/.cache/rua/build/bareos/src/bareos/core/src/plugins/filed/cephfs-fd.cc:457:33: error: cannot convert 'stat*' to 'ceph_statx*'
EDIT

I had samba installed which requires ceph-libs. After removing those two packages the build did finish successfully.

deep_thought commented on 2021-01-09 21:48

This makes version 20.0.0 compile for me - not sure, if this is the right thing to do, though.

--- a/core/src/droplet/libdroplet/src/utils.c   2020-12-16 08:46:16.000000000 +0100
+++ b/core/src/droplet/libdroplet/src/utils.c   2021-01-09 21:28:43.099999815 +0100
@@ -33,7 +33,7 @@
  */
 #include <dropletp.h>
 #include <linux/xattr.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 #include <errno.h>

 /** @file */
--- a/core/src/droplet/libdroplet/include/droplet/cdmi/crcmodel.h   2020-12-16 08:46:16.000000000 +0100
+++ b/core/src/droplet/libdroplet/include/droplet/cdmi/crcmodel.h   2021-01-09 21:50:10.506666487 +0100
@@ -78,7 +78,6 @@
 #ifndef DONE_STYLE

 typedef unsigned long   ulong;
-typedef unsigned        bool;
 typedef unsigned char * p_ubyte_;

 #ifndef TRUE
@@ -106,8 +106,8 @@
    int   cm_width;   /* Parameter: Width in bits [8,32].       */
    ulong cm_poly;    /* Parameter: The algorithm's polynomial. */
    ulong cm_init;    /* Parameter: Initial register value.     */
-   bool  cm_refin;   /* Parameter: Reflect input bytes?        */
-   bool  cm_refot;   /* Parameter: Reflect output CRC?         */
+   _Bool cm_refin;   /* Parameter: Reflect input bytes?        */
+   _Bool cm_refot;   /* Parameter: Reflect output CRC?         */
    ulong cm_xorot;   /* Parameter: XOR this to output CRC.     */

    ulong cm_reg;     /* Context: Context during execution.     */
--- a/core/src/droplet/libdroplet/src/backend/posix/reqbuilder.c    2020-12-16 08:46:16.000000000 +0100
+++ b/core/src/droplet/libdroplet/src/backend/posix/reqbuilder.c    2021-01-09 22:27:57.346666239 +0100
@@ -39,7 +39,7 @@
 #include <dirent.h>
 #include <sys/types.h>
 #include <linux/xattr.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 #include <utime.h>
 #include <pwd.h>
 #include <grp.h>

keijko commented on 2020-12-21 15:01

Is it possible that you remove or comment (also at the services of the other bareos-packages) the parameter "StandardOutput=syslog" in service section of the daemon service? Because this feature is outdated and normally bareos is logging to systemd-journald.

alphacent commented on 2020-08-26 19:15

build fails, I get:

ERROR: A failure occurred in build(). Aborting...

error making: %!s(func() string=0x563f3a164bb0)

I am unable to install bareos-common regardless if I meet the dependencies

arsirc commented on 2020-04-19 15:35

EDIT: 26.04.2020

I have found the problem, at least on my installation of Manjaro Linux.

The output of the build process tells me that:

CMake Error at core/cmake/BareosGetDistInfo.cmake:36 (list):

list index: 1 out of range (-1, 0)

Call Stack (most recent call first):

core/CMakeLists.txt:151 (include)

After some investigation i found out that the script bareos/core/cmake/distname.sh does not provide a DISTVER.

The output of the script is "archlinux;;;;;"

The second field of that string is empty.

After some further investigation i found out that this script tries to get the DISTVER with lsb_release if it is available. But because i am on Manjaro Linux this does not work, so we fall back testing if /etc/arch-release is existing. But then we dont get the DISTVER set at all.

So a quick fix for everyone running on Manjaro Linux would be to just echo out the needed return of this script with something like this:

echo "archlinux;20.0;$OBS_PROJECT;$OBS_DISTRIBUTION;$OBS_ARCH;$OBS_SRCMD5"

Hope that helps someone ...

Best regards

Andreas

ORIGINAL:

I have problems compiling bareos-common

Here are some logs: https://gist.github.com/apachler/be87c7454b512873db0fb8fe5de34271 https://gist.github.com/apachler/f712da912965fe84afbcf14387afa05c https://gist.github.com/apachler/c7ed4cff8096e2c02b7759ad2d464ec8

Maybe you have an idea?

mfulz commented on 2020-04-09 08:26

Why OOD? still 19.2.6 is the last version....

AlD commented on 2020-02-19 21:05

'gmock' appears to be a make dependency now.

mfulz commented on 2020-01-30 23:47

I'll check your comments out the next days: - update to 19.2.5 will be ready in a few minutes - web-ui.conf and logrotate added

The chmod makes sense to me, as the files contains sensitive data which shouldn't be readable worldwide. Of course in /usr/share it's arguable, but better safe than sorry ;)

khvalera commented on 2020-01-28 19:51

@spradlim need to add: _cp $srcdir/install/etc/httpd/conf.d/bareos-webui.conf ${pkgdir}/etc/httpd/conf/extra/bareos-webui.conf and _cp $srcdir/install/etc/logrotate.d $pkgdir/etc/logrotate.d

khvalera commented on 2020-01-25 21:35

Why is this? : chmod -R 750 /usr/share/bareos/config/bareos-dir.d