Package Base Details: bareos

Git Clone URL: https://aur.archlinux.org/bareos.git (read-only)
Keywords: Backup bacula bareos
Submitter: AlD
Maintainer: spradlim
Last Packager: spradlim
Votes: 10
Popularity: 0.010726
First Submitted: 2014-07-23 09:45
Last Updated: 2018-09-03 01:27

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

spradlim commented on 2017-05-10 12:31

Change made freaknils.

@CarstenF, I didn't read your comment on libbareosndmp right. Now that should work for both of you.

freaknils commented on 2017-05-10 11:59

Hmm now the build is working fine, but if I want to try to execute bareos I get the same error like CarstenF wrote:

:/usr/lib/bareos > bareos-dir -t
bareos-dir: error while loading shared libraries: libbareosndmp-16.2.5.so: cannot open shared object file: No such file or directory

libbareosndmp-16.2.5.so is there in ./install/usr/lib/bareos/libbareosndmp-16.2.5.so but it is missing in the package.

It seems that you created this problem in PKGBUILD.common:97-99
If I remove these lines from PKGBUILD it works fine.

spradlim commented on 2017-05-10 00:56

All: CartstenF workaround for openssl-1.0 is now installed. I left the ticket open upstream for support with openssl-1.0 support.

There should be no issues with the package, let me know if anyone sees anything wrong.

spradlim commented on 2017-05-09 22:32

@CarstenF: Thanks for the possible solutions, this is very helpful and I will add one of those in the build.

libbareosndmp: I fixed this dependency in the latest pkgbuild. Did you try version version 16.2.5-2?

All config files have a backup entry: You can see them listed here: https://aur.archlinux.org/cgit/aur.git/tree/.SRCINFO?h=bareos
What version did you upgrade from? I added backup entrys on 2015-11-20. If you installed or upgraded after that you shouldn't have backup entries. Did you see pacnew files or is it fixable with pacdiff?

CarstenF commented on 2017-05-09 20:19

@spradlim: I have found a solution.
Change the optdepend.
optdepends=('openssl-1.0: network encryption between daemons')

and add this two build lines to the build part.
build() {
export CFLAGS="${CFLAGS} -L /usr/include/openssl-1.0"
export LIBS="${LIBS} -I /usr/include/openssl-1.0"

another solution is to fix the configure script. Which denys the Path in --with-openssl=/usr/include/openssl-1.0

The following file is missing in the install dir. But not available in the system.
/usr/lib/bareos/libbareosndmp-16.2.5.so
I hope this is fixable.

And Please add for all Config Files in /etc/bareos a backup entry.
Because after an Update the Config files changes and I need to fix wrong keys and so on.

Thanks for your work to get bareos working.

freaknils commented on 2017-05-09 13:04

@spradlim: Big thanks for your work! I thought something like this.
I hope they will fix it soon!

spradlim commented on 2017-05-09 12:40

@freaknils

I see the message now. I was building on a different box and hadn't updated to openssl 1.1. Someone mentioned a openssl 1.1 compatibility problem and I think they are correct. Unfortunately this is related to the bareos project itself and this doesn't have anything to do with the package. I am submitting a ticket upstream.

freaknils commented on 2017-05-09 12:10

@spradlim: I think so: https://pastebin.com/PWy9GZDM

spradlim commented on 2017-05-09 12:01

Do you have openssl installed? I wonder if this is a required dependency. Can you try it with openssl installed if you don't have it installed.

freaknils commented on 2017-05-08 19:26

Building bareos-common.

This is the output of the build: https://pastebin.com/z8qUJcQt

If I do it in a fresh VM I get the same error.