The package has been updated but not tested yet. So check. @bsdice thanks!
Search Criteria
Package Details: bareos-webui-apache 22.0.3-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/bareos.git (read-only, click to copy) |
---|---|
Package Base: | bareos |
Description: | Bareos - Backup Archiving Recovery Open Sourced - Webui Apache |
Upstream URL: | http://www.bareos.org |
Keywords: | Backup bacula bareos |
Licenses: | AGPL3 |
Submitter: | AlD |
Maintainer: | khvalera |
Last Packager: | khvalera |
Votes: | 22 |
Popularity: | 0.078018 |
First Submitted: | 2014-07-23 09:45 (UTC) |
Last Updated: | 2023-05-08 22:33 (UTC) |
Dependencies (18)
- apache (apache-git)
- php (php-zts, php-legacy-symlinks, php7-symlinks)
- php-apache (php-zts-apache)
- php-fpm (php-zts-fpm)
- php-pgsql (php-zts-pgsql)
- cmake (cmake-git) (make)
- gcc (gccrs-git, gcc-git, gcc11) (make)
- git (git-vfs, git-run-command-patch-git, git-git, git-fc) (make)
- glusterfs (make)
- jansson (jansson-git) (make)
- libmariadbclient (libmysqlclient55, libmysqlclient56, libmysqlclient57, libmysqlclient, mariadb-libs-git, mariadb-libs) (make)
- lsb-release (make)
- pam_wrapper (make)
- postgresql-libs (agensgraph-git, postgresql-libs-1c, postgresql-libs-9.5, postgresql-libs-9.4, postgresql-src-beta-libs, postgresql-libs-9.6, postgresql-libs-11, postgresql-libs-10, postgresql-libs-12, postgresql13-libs, postgresql-src-libs, postgresql-lts-libs) (make)
- python (nogil-python, python36, python32, python39, python38, python37, python312, python310) (make)
- python-setuptools (make)
- qt5-base (qt5-base-git, qt5-base-headless) (make)
- rpcsvc-proto (make)
Required by (0)
Sources (9)
khvalera commented on 2023-05-08 22:35 (UTC)
hablitzel commented on 2023-05-08 20:30 (UTC)
@bsdice Thanks again for your help. It was the first that I changed a PKGBUILD file and patched source files. I've had some trouble with the patch you advised me to download. In my first attempts an error was thrown:
Applying patch 0007-gcc13.patch...
can't find file to patch at input line 23
Perhaps you used the wrong -p or --strip option?
I manually removed the first directory in the patch file in order to make it work with the patch
command (something like patch -p0...
in the PKGBUILD. Maybe there is a more elegant way to do this but at least it worked for me.
bsdice commented on 2023-05-05 19:32 (UTC)
You upgraded to gcc-13 and that has broken a bunch of stuff.
For 21 you need https://github.com/bareos/bareos/commit/2bb7d74215bf6ae4f350de11bff04b68cf3c82b3.patch
Also in PKGBUILD build() .. -DCMAKE_CXX_FLAGS="-Wno-use-after-free" \ -DCMAKE_C_FLAGS="-Wno-use-after-free" \ because otherwise some test fails.
And you need
+#include <system_error> +
in core/src/stored/dev.cc.
hablitzel commented on 2023-05-05 13:46 (UTC)
I'm just trying to update the package and I get this compiling error:
❯ LC_ALL=C yay -S bareos-filedaemon
AUR Explicit (1): bareos-filedaemon-22.0.3-1
AUR Dependency (1): bareos-common-22.0.3-1
....
[ 29%] Building CXX object core/src/lib/CMakeFiles/bareos.dir/thread_list.cc.o
/home/jens/.cache/yay/bareos/src/bareos/core/src/lib/thread_list.cc: In member function 'bool ThreadList::CreateAndAddNewThread(ConfigurationParser*, void*)':
/home/jens/.cache/yay/bareos/src/bareos/core/src/lib/thread_list.cc:227:35: error: expected unqualified-id before '&' token
227 | } catch (const std::system_error& e) {
| ^
/home/jens/.cache/yay/bareos/src/bareos/core/src/lib/thread_list.cc:227:35: error: expected ')' before '&' token
227 | } catch (const std::system_error& e) {
| ~ ^
| )
/home/jens/.cache/yay/bareos/src/bareos/core/src/lib/thread_list.cc:227:35: error: expected '{' before '&' token
/home/jens/.cache/yay/bareos/src/bareos/core/src/lib/thread_list.cc:227:37: error: 'e' was not declared in this scope
227 | } catch (const std::system_error& e) {
| ^
make[2]: *** [core/src/lib/CMakeFiles/bareos.dir/build.make:986: core/src/lib/CMakeFiles/bareos.dir/thread_list.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3844: core/src/lib/CMakeFiles/bareos.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Has anyone an idea what goes wrong here?
FabioLolix commented on 2023-02-25 16:53 (UTC)
Hello, your though about dropping python2 from this pkgbuild?
fsyy commented on 2023-02-22 08:59 (UTC)
i am using bareos-fd and after compiling it it won't start.
Error:
bareos-fd: error while loading shared libraries: libbareos.so.22: cannot open shared object file: No such file or directory
I had to link every .so.22.0.1 file to .so.22 in /usr/lib/bareos
For example:
ln -s libbareos.so.22.0.1 libbareos.so.22
hablitzel commented on 2023-01-31 17:38 (UTC)
@bsdice Thank you, that helped. Now the package compiled without problems. :+1
bsdice commented on 2023-01-31 16:44 (UTC)
@hablitzel I don't have any package ceph installed. Can you uninstall it?
From https://github.com/bareos/bareos/blob/bareos-22/CHANGELOG.md:
"Previously deprecated rados/ceph backend and cephfs plugin have been removed. Instead, please use the droplet backend to store into ceph via S3, and backup cephfs filesystems by backing up a mount point."
hablitzel commented on 2023-01-31 16:33 (UTC)
@bsdice I'm a newbie to Arch and former Ubuntu user. We're using Bareos at our company and I would like to backup parts of my laptop with bareos. Installing the AUR-package fails as @rafael.castellar pointed out. You suggested to try your package.
I downloaded the files and entered LC_ALL=C makepkg -Ccfi
. It compiles all the source code files, at least it shows [100%] Building CXX object core/src/plugins/filed/CMakeFiles/cephfs-fd.dir/cephfs/cephfs-fd.cc.o
before it fails with:
/home/jens/bareos/seitics.de/files/bareos/src/bareos/core/src/plugins/filed/cephfs/cephfs-fd.cc: In function 'bRC filedaemon::get_next_file_to_backup(PluginContext*)':
/home/jens/bareos/seitics.de/files/bareos/src/bareos/core/src/plugins/filed/cephfs/cephfs-fd.cc:421:33: error: cannot convert 'stat*' to 'ceph_statx*'
421 | &p_ctx->statp, &stmask);
| ^~~~~~~~~~~~~
| |
| stat*
In file included from /home/jens/bareos/seitics.de/files/bareos/src/bareos/core/src/plugins/filed/cephfs/cephfs-fd.cc:35:
/usr/include/cephfs/libcephfs.h:605:43: note: initializing argument 4 of 'int ceph_readdirplus_r(ceph_mount_info*, ceph_dir_result*, dirent*, ceph_statx*, unsigned int, unsigned int, Inode**)'
605 | struct ceph_statx *stx, unsigned want, unsigned flags, struct Inode **out);
| ~~~~~~~~~~~~~~~~~~~^~~
make[2]: *** [core/src/plugins/filed/CMakeFiles/cephfs-fd.dir/build.make:76: core/src/plugins/filed/CMakeFiles/cephfs-fd.dir/cephfs/cephfs-fd.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5258: core/src/plugins/filed/CMakeFiles/cephfs-fd.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in package().
Aborting...
Ive installed
aur/ceph-libs-bin` already but maybe something more is still missing?
bsdice commented on 2023-01-17 21:42 (UTC)
Oh hey Erich, small world. Thank you for keeping archlinux32 current! Still got about five Alix 2D13 for small jobs. Only thing those need is a new 2032 and new PSU every 15 years. ;-)
Pinned Comments