Package Details: bacula-fd 15.0.2-1

Git Clone URL: https://aur.archlinux.org/bacula.git (read-only, click to copy)
Package Base: bacula
Description: Bacula - A Network Backup Tool (file daemon)
Upstream URL: https://www.bacula.org
Licenses: AGPL3
Submitter: None
Maintainer: lifespirit
Last Packager: lifespirit
Votes: 35
Popularity: 0.94
First Submitted: 2014-04-25 13:59 (UTC)
Last Updated: 2024-05-20 07:24 (UTC)

Latest Comments

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

kkaczmar commented on 2021-07-28 11:53 (UTC)

bacula-tray-monitor now builds, even with qt4 installed.

kkaczmar commented on 2021-07-28 08:56 (UTC)

Remove qt4. Unless you really need it.

Changing the order of dnl look for in configure.in might also help? See comment on 2021-01-17 00:51.

It would be more elegant to break this base package into separate, small ones.

pharaoh commented on 2021-07-28 06:16 (UTC) (edited on 2021-07-28 06:19 (UTC) by pharaoh)

11.0.5 did not build on my system:

install: cannot stat 'src/qt-console/tray-monitor/bacula-tray-monitor': No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
error making: bacula (bacula-common bacula-bat bacula-console bacula-dir bacula-dir-postgresql bacula-fd bacula-sd)

qt5 is installed.

benalexau commented on 2021-07-03 02:05 (UTC) (edited on 2021-07-03 02:05 (UTC) by benalexau)

Patch to 11.0.5:

-pkgver=9.6.7
+pkgver=11.0.5

-sha256sums=('df0f8525ecdba380e74b537ca71adf3b7596593f02189b59ab0ebffc85ccc8de'
+sha256sums=('ef5b3b67810442201b80dc1d47ccef77b5ed378fe1285406f3a73401b6e8111a'

kkaczmar commented on 2021-01-16 23:51 (UTC)

According to configure.in, tray monitor is not built with qt4:

BAT_DIR=
if test x$support_bat = xyes; then
dnl look for Qt4
   abc=`$PKGCONFIG QtGui`
   pkg=$?
   if test $pkg = 0; then
      BAT_DIR=src/qt-console
   else
dnl look for Qt5
     abc=`$PKGCONFIG Qt5Gui`
     pkg=$?
     if test $pkg = 0; then
        BAT_DIR="src/qt-console src/qt-console/tray-monitor"
     else
        AC_MSG_ERROR(Unable to find either Qt4 or Qt5 installation needed by bat)
     fi
   fi
fi

I've pushed PKGBUILD that now depends on qt5. Also, openssl 1.0 seems unnecessary, 1.1 is being used. bacula-console now uses readline instead of conio.

xisberto commented on 2020-12-16 14:35 (UTC)

I'm getting the following output when trying to create bacula-bat:


==> Entering fakeroot environment...
==> Starting package_bacula-common()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "bacula-common"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_bacula-console()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "bacula-console"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_bacula-fd()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "bacula-fd"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_bacula-bat()...
cp: cannot stat 'usr/bin/bacula-tray-monitor': No such file or directory
==> ERROR: A failure occurred in package_bacula-bat().
    Aborting...
error making: bacula (bacula-common bacula-bat)

jboxberger commented on 2020-08-17 09:12 (UTC)

reply to myself:

dowload the latest key

https://www.bacula.org/bacula-distribution-verification-public-keys/

execute

gpg --import Bacula-4096-Distribution-Verification-key.asc

jboxberger commented on 2020-08-12 09:58 (UTC)

On Manjaro 20.0.3 (5.7.9-1) it fails wit a sig error.

Building bacula...
==> Making package: bacula 9.6.5-2 (Mi 12 Aug 2020 11:49:24 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading bacula-9.6.5.tar.gz...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   374  100   374    0     0    534      0 --:--:-- --:--:-- --:--:--   534

0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
100   345  100   345    0     0    127      0  0:00:02  0:00:02 --:--:--   344

5 4152k    5  239k    0     0  81812      0  0:00:51  0:00:03  0:00:48 81812
100 4152k  100 4152k    0     0  1326k      0  0:00:03  0:00:03 --:--:-- 29.8M
-> Downloading bacula-9.6.5.tar.gz.sig...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   382  100   382    0     0    246      0  0:00:01  0:00:01 --:--:--   246
100   382  100   382    0     0    246      0  0:00:01  0:00:01 --:--:--   246

0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
100   363  100   363    0     0    102      0  0:00:03  0:00:03 --:--:--   363
100   363  100   363    0     0    102      0  0:00:03  0:00:03 --:--:--   363

100   833  100   833    0     0    228      0  0:00:03  0:00:03 --:--:--   228
-> Found bacula-dir.service
-> Found bacula-fd.service
-> Found bacula-sd.service
==> Validating source files with sha256sums...
    bacula-9.6.5.tar.gz ... Passed
    bacula-9.6.5.tar.gz.sig ... Skipped
    bacula-dir.service ... Passed
    bacula-fd.service ... Passed
    bacula-sd.service ... Passed
==> Verifying source file signatures with gpg...
    bacula-9.6.5.tar.gz ... FAILED (unknown public key C0BE2A5FE9DF3643)
==> ERROR: One or more PGP signatures could not be verified!
Failed to build bacula

I've already tried to import the key into pacman but with no luck (https://aur.archlinux.org/packages/bacula-fd#comment-743367).

sudo pacman-key --recv-keys C0BE2A5FE9DF3643
gpg: key C0BE2A5FE9DF3643: public key "Bacula 4096 Distribution Verification Key (www.bacula.org) <kern@bacula.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1

sudo pacman-key --lsign-key C0BE2A5FE9DF3643
-> Locally signing key C0BE2A5FE9DF3643...
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:  24  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:  24  signed:  78  trust: 1-, 0q, 0n, 23m, 0f, 0u
gpg: depth: 2  valid:  75  signed:  24  trust: 75-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2020-10-17

sudo gpg --recv-keys C0BE2A5FE9DF3643
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: keyserver receive failed: General error

sudo pacman-key --refresh-keys
...
gpg: key C0BE2A5FE9DF3643: "Bacula 4096 Distribution Verification Key (www.bacula.org) <kern@bacula.org>" not changed
...

# now i am getting
sudo gpg --recv-keys C0BE2A5FE9DF3643
gpg: keyserver receive failed: General error

Kind Regards!

pharaoh commented on 2020-06-19 20:21 (UTC) (edited on 2020-06-19 20:24 (UTC) by pharaoh)

One more minor thing, all packages have /etc/bacula with 0770 except console and bat, which uses 0755, why? I think, all packages should use the same permissions, either 0755 or 0770.

(1/1) reinstalling bacula-console
warning: directory permissions differ on /etc/bacula/
filesystem: 770  package: 755

pharaoh commented on 2020-06-18 21:10 (UTC) (edited on 2020-06-18 21:15 (UTC) by pharaoh)

9.6.5 does not build on my system:

==> Starting prepare()...
configure.in:3474: error: `src/qt-console/tray-monitor/install_conf_file' is already registered with AC_CONFIG_FILES.
../../lib/autoconf/status.m4:288: AC_CONFIG_FILES is expanded from...
configure.in:3474: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
==> ERROR: A failure occurred in prepare().
Aborting...
error making: bacula (bacula-common bacula-fd bacula-sd bacula-console bacula-dir bacula-dir-postgresql)

Removing these lines fixes the issue:

# Enable tray-monitor
sed -i '/src\/qt-console\/install_conf_file \\/asrc\/qt-console\/tray-monitor\/install_conf_file \
\' configure.in