Unfortunately this package doesn't work on with my computer, it ends the installation with "==> ERROR: A failure occurred in package_bacula-common().
Aborting...
:: failed to build bacula-fd,bacula-common package(s)"
Additionally it shows during the installation errors related to crypto.
Anyone else also has this problems?
Search Criteria
Package Details: bacula-sd 15.0.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/bacula.git (read-only, click to copy) |
---|---|
Package Base: | bacula |
Description: | Bacula - A Network Backup Tool (Storage Daemon) |
Upstream URL: | https://www.bacula.org |
Licenses: | AGPL3 |
Submitter: | None |
Maintainer: | lifespirit |
Last Packager: | lifespirit |
Votes: | 36 |
Popularity: | 0.49 |
First Submitted: | 2014-04-25 13:59 (UTC) |
Last Updated: | 2024-06-05 06:28 (UTC) |
Dependencies (8)
- bacula-commonAUR
- libmariadbclient (libmysqlclient55AUR, libmysqlclient56AUR, mariadb-libs-gitAUR, libmysqlclient81AUR, libmysqlclient57AUR, libmysqlclientAUR, libmysqlclient80AUR, mariadb-libs, mariadb-lts-libs) (make)
- lzo (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- postgresql-libs (postgresql-libs-12AUR, postgresql13-libsAUR, postgresql-libs-gitAUR) (make)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (make)
- readline (readline-gitAUR) (make)
- sqlite (sqlite-fossilAUR) (make)
Required by (0)
Sources (5)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
sinnlos commented on 2017-10-31 01:51 (UTC) (edited on 2017-10-31 13:55 (UTC) by sinnlos)
mfulz commented on 2017-08-02 21:05 (UTC)
Here the new PKGBUILD working with 9.0.2:
# Maintainer: Marcin (CTRL) Wieczorek <marcin@marcin.co>
# Contributor: Tom Keller <tom@isochrono.us>
# Contributor: Daniel Albers <daniel@lbe.rs>
# Contributor: Steven Haigh <netwiz@crc.id.au>
# Contributor: Georg Altmann <george@george-net.de>
# bacula-fd.service by Christian Hesse <arch@eworm.de>
pkgbase=bacula
_dir_backends=("${pkgbase}-dir-sqlite3" "${pkgbase}-dir-mariadb" "${pkgbase}-dir-postgresql")
pkgname=("${pkgbase}-common" "${pkgbase}-bat" "${pkgbase}-console" "${pkgbase}-fd" "${pkgbase}-sd" "${pkgbase}-dir" ${_dir_backends[@]} "${pkgbase}-dir-mysql")
pkgver=9.0.2
pkgrel=1
arch=(i686 x86_64)
pkgdesc="${pkgbase^} - A Network Backup Tool "
url="http://www.${pkgbase}.org"
license=('AGPL3')
depends=('openssl-1.0')
#optdepends=('openssl: network encryption between daemons')
makedepends=('sqlite' 'libmariadbclient' 'postgresql-libs' 'qt4')
source=("http://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"
'bacula-dir.service'
'bacula-fd.service'
'bacula-sd.service'
'00-qmake4.patch')
sha1sums=('4848504e028c260c9e73a3bf65bb8376102ae77a'
'1a68381bd8d0b78cffe78634d160b1a287333c4e'
'151c6d8b06d8be029a9a50be4d6e64954c88f48c'
'a682cd35bf2a85fd7274f4241a91483c53c43f37'
'58a60e8af9b4735c564c7223c2bf0c25803927f3')
_workdir="/var/lib/${pkgbase}"
prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
patch -Np3 -i "${srcdir}/00-qmake4.patch" || true
}
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
env CPPFLAGS=-I/usr/include/openssl-1.0 \
LDFLAGS=-L/usr/lib/openssl-1.0 \
./configure \
--enable-smartalloc \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc/${pkgbase} \
--with-scriptdir=/etc/${pkgbase}/scripts \
--with-sqlite3 \
--with-mysql \
--with-postgresql \
--with-pid-dir=/run \
--with-systemd=/usr/lib/systemd/system \
--with-logdir=/var/log/${pkgbase} \
--with-working-dir="${_workdir}" \
--with-openssl \
--enable-bat
make DESTDIR="${srcdir}/install" install
}
package_bacula-bat() {
pkgdesc+="(management GUI)"
backup=("etc/${pkgbase}/bat.conf")
depends=("${pkgbase}-common=${pkgver}" 'qt4')
install="bacula.install"
cd "${srcdir}/install"
cp --parents -a usr/bin/bat "${pkgdir}"
cp --parents -a etc/${pkgbase}/bat.conf "${pkgdir}"
cp --parents -a usr/share/man/man1/bat.1.gz "${pkgdir}"
chmod 755 "${pkgdir}/etc/${pkgbase}" "${pkgdir}/usr/bin/bat"
chmod 644 "${pkgdir}/etc/${pkgbase}/bat.conf"
mkdir -p "${pkgdir}/usr/share/applications" "${pkgdir}/usr/share/pixmaps"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/bat.desktop" "${pkgdir}/usr/share/applications/"
cp -a "${srcdir}/${pkgbase}-${pkgver}/src/qt-console/images/bat_icon.png" "${pkgdir}/usr/share/pixmaps/"
}
package_bacula-fd() {
pkgdesc+="(file daemon)"
backup=("etc/${pkgbase}/${pkgname}.conf")
install="bacula.install"
optdepends=('openssl: network encryption between daemons'
'lzo: LZO compression for Storage Daemon')
depends=("${pkgbase}-common=${pkgver}")
cd "${srcdir}/install"
cp --parents -a etc/${pkgbase}/${pkgname}.conf "${pkgdir}"
cp --parents -a usr/bin/${pkgname} "${pkgdir}"
cp --parents -a usr/lib/bpipe-fd.so "${pkgdir}"
cp --parents -a usr/share/man/man8/${pkgname}.8.gz "${pkgdir}"
mkdir -p "${pkgdir}/usr/lib/systemd/system/"
cp -f "${srcdir}/${pkgbase}-fd.service" "${pkgdir}/usr/lib/systemd/system/"
}
package_bacula-common() {
pkgdesc+="(common files)"
cd "${srcdir}/install"
cp --parents -a etc/${pkgbase}/scripts/${pkgbase}_config "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/btraceback.gdb "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/btraceback.dbx "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/btraceback.mdb "${pkgdir}"
cp --parents -a usr/bin/btraceback "${pkgdir}"
cp --parents -a usr/lib/libbac-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/libbaccfg-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/libbacfind-${pkgver}.so "${pkgdir}"
cp --parents -a usr/share/man/man8/btraceback.8.gz "${pkgdir}"
#cp --parents -a usr/lib/libbacpy-${pkgver}.so "${pkgdir}"
mkdir -p "${pkgdir}${_workdir}"
mkdir -p "${pkgdir}/var/log/${pkgbase}"
}
package_bacula-console() {
pkgdesc+="(management CLI)"
backup=("etc/${pkgbase}/bconsole.conf")
install="bacula.install"
depends=("${pkgbase}-common=${pkgver}")
cd "${srcdir}/install"
cp --parents -a usr/bin/bconsole "${pkgdir}"
cp --parents -a etc/${pkgbase}/bconsole.conf "${pkgdir}"
cp --parents -a usr/share/man/man8/bconsole.8.gz "${pkgdir}"
chmod 755 "${pkgdir}/etc/${pkgbase}" "${pkgdir}/usr/bin/bconsole"
chmod 644 "${pkgdir}/etc/${pkgbase}/bconsole.conf"
}
package_bacula-dir() {
pkgdesc+="(Director)"
depends=("${pkgbase}-common=${pkgver}")
install="bacula.install"
optdepends=("${pkgname}-sqlite3: SQLite support"
"${pkgname}-mariadb: MariaDB support"
"${pkgname}-postgresql: PostgreSQL support")
backup=("etc/${pkgbase}/${pkgname}.conf")
cd "${srcdir}/install"
cp --parents -a etc/${pkgbase}/${pkgname}.conf "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/query.sql "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/create_${pkgbase}_database "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/delete_catalog_backup "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/drop_${pkgbase}_database "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/drop_${pkgbase}_tables "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/grant_${pkgbase}_privileges "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/make_${pkgbase}_tables "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/make_catalog_backup.pl "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/update_${pkgbase}_tables "${pkgdir}"
cp --parents -a usr/bin/${pkgname} "${pkgdir}"
cp --parents -a usr/bin/bregex "${pkgdir}"
cp --parents -a usr/bin/bsmtp "${pkgdir}"
cp --parents -a usr/bin/bwild "${pkgdir}"
cp --parents -a usr/bin/dbcheck "${pkgdir}"
cp --parents -a usr/share/man/man1/bsmtp.1.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/${pkgname}.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bregex.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bwild.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/dbcheck.8.gz "${pkgdir}"
cp --parents -a usr/lib/libbacsql-${pkgver}.so "${pkgdir}"
mkdir -p "${pkgdir}/usr/lib/systemd/system/"
cp -f "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/"
## Logwatch Support
mkdir -p "${pkgdir}/etc/logwatch/scripts/services/" "${pkgdir}/etc/logwatch/scripts/shared/"
mkdir -p "${pkgdir}/etc/logwatch/conf/logfiles/" "${pkgdir}/etc/logwatch/conf/services/"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/logwatch/${pkgbase}" "${pkgdir}/etc/logwatch/scripts/services/"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/logwatch/applybaculadate" "${pkgdir}/etc/logwatch/scripts/shared/"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/logwatch/logfile.${pkgbase}.conf" "${pkgdir}/etc/logwatch/conf/logfiles/${pkgbase}.conf"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/logwatch/services.${pkgbase}.conf" "${pkgdir}/etc/logwatch/conf/services/${pkgbase}.conf"
## Logrotate Support
mkdir -p ${pkgdir}/etc/logrotate.d/
cp -a ${srcdir}/${pkgbase}-${pkgver}/scripts/logrotate ${pkgdir}/etc/logrotate.d/${pkgbase}
}
package_bacula-dir-mariadb() {
pkgdesc+="(Director - MariaDB support)"
depends=("${pkgbase}-dir" 'libmariadbclient')
conflicts=(${_dir_backends[@]/${pkgname}})
install="bacula.install"
replaces=("${pkgbase}-dir-mysql")
provides=("${pkgbase}-dir-mysql")
cd "${srcdir}/install"
cp --parents -a usr/lib/libbaccats-mysql-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/libbaccats-mysql.so "${pkgdir}"
cp -d usr/lib/libbaccats-mysql.so ${pkgdir}/usr/lib/libbaccats-${pkgver}.so
for file in etc/${pkgbase}/scripts/*mysql*; do
cp --parents -a "${file}" "${pkgdir}"
done
}
package_bacula-dir-mysql() {
pkgdesc+="(transition package)"
depends=("${pkgbase}-dir-mariadb")
}
package_bacula-dir-postgresql() {
pkgdesc+="(Director - PostgreSQL support)"
depends=("${pkgbase}-dir" 'postgresql-libs')
install="bacula.install"
conflicts=(${_dir_backends[@]/${pkgname}})
cd "${srcdir}/install"
cp --parents -a usr/lib/libbaccats-postgresql-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/libbaccats-postgresql.so "${pkgdir}"
cp -d usr/lib/libbaccats-postgresql.so "${pkgdir}/usr/lib/libbaccats-${pkgver}.so"
for file in etc/${pkgbase}/scripts/*postgresql*; do
cp --parents -a "${file}" "${pkgdir}"
done
}
package_bacula-dir-sqlite3() {
pkgdesc+="(Director - SQLite3 support)"
depends=("${pkgbase}-dir" 'sqlite')
conflicts=(${_dir_backends[@]/${pkgname}})
install="bacula.install"
cd "${srcdir}/install"
cp --parents -a usr/lib/libbaccats-sqlite3-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/libbaccats-sqlite3.so "${pkgdir}"
cp -d usr/lib/libbaccats-sqlite3.so "${pkgdir}/usr/lib/libbaccats-${pkgver}.so"
for file in etc/${pkgbase}/scripts/*sqlite3*; do
cp --parents -a "${file}" "${pkgdir}"
done
}
package_bacula-sd() {
pkgdesc+="(Storage Daemon)"
backup=("etc/${pkgbase}/${pkgname}.conf")
install="bacula.install"
depends=("${pkgbase}-common")
optdepends=('openssl: network encryption between daemons'
'lzo: LZO compression for Storage Daemon')
cd "${srcdir}/install"
cp --parents -a etc/${pkgbase}/${pkgname}.conf "${pkgdir}"
cp --parents -a usr/lib/libbacsd-${pkgver}.so "${pkgdir}"
cp --parents -a usr/bin/${pkgname} "${pkgdir}"
cp --parents -a usr/bin/bextract "${pkgdir}"
cp --parents -a usr/bin/bls "${pkgdir}"
cp --parents -a usr/bin/bcopy "${pkgdir}"
cp --parents -a usr/bin/bscan "${pkgdir}"
cp --parents -a usr/bin/btape "${pkgdir}"
cp --parents -a usr/share/man/man8/${pkgname}.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bextract.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bls.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bcopy.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bscan.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/btape.8.gz "${pkgdir}"
mkdir -p "${pkgdir}${_workdir}"
mkdir -p "${pkgdir}/usr/lib/systemd/system/"
cp -f "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/"
}
mfulz commented on 2017-07-23 17:21 (UTC) (edited on 2017-07-23 20:07 (UTC) by mfulz)
Patch for the last 7.4.7 version. I've to test the 9.0.x when I've got some spare time before I'll switch. Will create an aur for it, if everything will be smooth.
--- PKGBUILD_OLD 2017-07-23 19:17:08.859149620 +0200
+++ PKGBUILD 2017-07-23 19:18:12.396152238 +0200
@@ -7,41 +7,32 @@
pkgbase=bacula
_dir_backends=("${pkgbase}-dir-sqlite3" "${pkgbase}-dir-mariadb" "${pkgbase}-dir-postgresql")
-pkgname=("${pkgbase}-common" "${pkgbase}-console" "${pkgbase}-fd" "${pkgbase}-bat" "${pkgbase}-sd" "${pkgbase}-dir" ${_dir_backends[@]} "${pkgbase}-dir-mysql")
-pkgver=7.4.5
+pkgname=("${pkgbase}-common" "${pkgbase}-console" "${pkgbase}-fd" "${pkgbase}-sd" "${pkgbase}-dir" ${_dir_backends[@]} "${pkgbase}-dir-mysql")
+pkgver=7.4.7
pkgrel=1
arch=(i686 x86_64)
pkgdesc="${pkgbase^} - A Network Backup Tool "
url="http://www.${pkgbase}.org"
license=('AGPL3')
-optdepends=('openssl: network encryption between daemons')
+depends=('openssl-1.0')
+#optdepends=('openssl: network encryption between daemons')
makedepends=('sqlite' 'libmariadbclient' 'postgresql-libs' 'qt4')
source=("http://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"
'bacula-dir.service'
'bacula-fd.service'
- 'bacula-sd.service'
- '00-qmake4.patch'
- '01-basename.patch')
+ 'bacula-sd.service')
-sha1sums=('2fa4bae903602965b89e000ba698ed7b2f1a42c1'
+sha1sums=('f484fdd9135769d5d053296d182d1dc1996bfc62'
'1a68381bd8d0b78cffe78634d160b1a287333c4e'
'151c6d8b06d8be029a9a50be4d6e64954c88f48c'
- 'a682cd35bf2a85fd7274f4241a91483c53c43f37'
- '58a60e8af9b4735c564c7223c2bf0c25803927f3'
- 'ff9549b8ea326654bad5987c820f6dfd629fce54')
+ 'a682cd35bf2a85fd7274f4241a91483c53c43f37')
_workdir="/var/lib/${pkgbase}"
-prepare() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- patch -Np3 -i "${srcdir}/00-qmake4.patch" || true
- patch -Np2 -i "${srcdir}/01-basename.patch" || true
-}
-
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
+ env CPPFLAGS=-I/usr/include/openssl-1.0 \
LDFLAGS=-L/usr/lib/openssl-1.0 \
./configure \
- --enable-bat \
--enable-smartalloc \
--prefix=/usr \
--sbindir=/usr/bin \
@@ -54,6 +45,7 @@
--with-systemd=/usr/lib/systemd/system \
--with-logdir=/var/log/${pkgbase} \
--with-working-dir="${_workdir}" \
+ --with-openssl=/usr/lib/openssl-1.0 \
--with-x
make DESTDIR="${srcdir}/install" install
barkley128 commented on 2017-07-21 10:12 (UTC) (edited on 2017-07-21 10:12 (UTC) by barkley128)
It's and old version (9.0.1 is already out) and it doesn't compile on my Arch.
Something wrong with the ./configure step.
maleckii commented on 2016-09-12 05:34 (UTC)
Unfortunately, I am no longer using Arch Linux and must disown this package.
mfulz commented on 2016-09-11 10:39 (UTC)
Could you update the package to 7.4.3 it fixes the issues with actual gcc and the crashes during status.
badbytes commented on 2016-07-13 19:06 (UTC)
==> Starting package_bacula-bat()...
~/aur_build/bacula/install ~/aur_build/bacula/src
cp: cannot stat 'usr/bin/bat': No such file or directory
==> ERROR: A failure occurred in package_bacula-bat().
Aborting...
SebiH commented on 2016-07-05 10:57 (UTC) (edited on 2016-07-05 10:58 (UTC) by SebiH)
Has anyone tried this with a recent version of GCC (e.g. gcc-6.1.1-2)?
bacula-sd seems to crash on startup due to either a bug within bacula-sd or GCC. I've filed a bug report against bacula [1], but he points towards GCC (since it works fine with -O0, or a previous version of GCC, e.g. gcc-5.4.x).
Haven't read about this anywhere else. Is this just an issue on my setup?
[1]: http://bugs.bacula.org/view.php?id=2231 (login is anonymous/anonymous)
ektich commented on 2016-03-27 17:14 (UTC) (edited on 2016-03-27 17:15 (UTC) by ektich)
alsa-utils 1.1.0-2 has been released that fixes the name conflict on /usr/bin/bat. There is no need to apply my patch anymore.
Pinned Comments
lifespirit commented on 2024-06-04 10:13 (UTC)
If you have error "GPG check failed" when you install, run
gpg --recv-keys C0BE2A5FE9DF3643
for user who build package.