I am making progress on building amanda from the git repo. I have buit a new machine and populated it as needed.
So far, my build process is: ./autogen ./configure packaging/deb/buildpkg I am stopped at this point: -------------------------------------------------- charles@amanda:~/amanda$ packaging/deb/buildpkg ... + dpkg-buildpackage -rfakeroot -uc -us dpkg-buildpackage: info: source package amanda dpkg-buildpackage: info: source version 4.0.0alpha.git.583c3c34-1Debian99 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Zmanda <[email protected]> dpkg-buildpackage: info: host architecture amd64 ... Making distclean in po Making distclean in man Making distclean in example Making distclean in packaging Making distclean in installcheck rm -f build-stamp missing config/config.h common-src/genversion find . -type d -name .deps -exec rm -rf {} \; test -r /usr/share/misc/config.sub && \ cp -f /usr/share/misc/config.sub config/config.sub test -r /usr/share/misc/config.guess && \ cp -f /usr/share/misc/config.guess config/config.guess dh_clean >> /home/charles/amanda/build/debian/dpkg.log 2>&1 debian/rules:105: recipe for target 'clean' failed make: *** [clean] Error 25 dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2 charles@amanda:~/amanda$ -------------------------------------------------- dpkg.log is as follows: -------------------------------------------------- rm -f debian/debhelper-build-stamp rm -f debian/amanda-backup-server.substvars rm -f debian/amanda-backup-server.*.debhelper rm -rf debian/amanda-backup-server/ rm -f debian/amanda-backup-client.substvars rm -f debian/amanda-backup-client.*.debhelper rm -rf debian/amanda-backup-client/ rm -rf debian/.debhelper/ rm -f debian/*.debhelper.log dh_clean: Compatibility levels before 5 are no longer supported (level 4 requested) -------------------------------------------------- "man dh_clean" is not helpful. Running just "make" is fine, and seems to work. I have not tested it. After that I can run "make distclean", and that runs fine. Packages installed: -------------------------------------------------- # A script to build out a minimal installation of debian such that we # can build amanda on it. Much of this is installing tools. # We install no editors. # This should get you through ./autogen. apt install git autogen automake libglib2.0-dev # And this for ./configure && make. apt install make dpkg-dev debhelper dump flex gettext gnuplot libtool bsd-mailx mtx smbclient libcurl4-openssl-dev libncurses5-dev libreadline-dev libssl-dev bison swig -------------------------------------------------- -- "When we talk of civilization, we are too apt to limit the meaning of the word to its mere embellishments, such as arts and sciences; but the true distinction between it and barbarism is, that the one presents a state of society under the protection of just and well-administered law, and the other is left to the chance government of brute force." - The Rev. James White, Eighteen Christian Centuries, 1889 Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB https://charlescurley.com
