I was able to build on Raspberry Pi recently and older veriosns. I only do the sd and fd the dir runs on another system for me.
PDF attached with old notes. These nodes refer to 21 release but I did it with much newer release just a few months ago.
Look at bareos github
.travis/
.travis.yml (in repo root not .travis/)
Look at end of travis_before_install.sh for dpk-builddeps
Will need extra mariadb-dev packages for backup plugin to be built.
git clone
https://github.com/bareos/bareos.git
git checkout Release/21.1.4 -b 21.1.4
sudo apt install dh-make
cmake -P write_version_files.cmake
BAREOS_VERSION=$(cmake -P get_version.cmake | sed -e 's/-- //')
printf "bareos (%s) unstable; urgency=low\n\n * dummy\n\n -- nobody <
nob...@example.com> %s\n\n" "${BAREOS_VERSION}" "${NOW}" | tee debian/changelog
fakeroot debian/rules binary
# packages are then in /tmp/
# bareos-common requires this
sudo apt install gawk bsd-mailx
# use apt to avoid issues and add pageages until sd is installed
sudo apt install ./bareos_<tab>