Currently running Debian Buster (amd64). I have followed the instructions on the Debian Wiki regarding building your own custom backports, and have several times successfully built several packages. I was able to successfully build a Davmail backport (package name = davmail) from a previous version in testing that has since been superseded from the mirror.
https://wiki.debian.org/SimpleBackportCreation
Following the last rounds of updates, I seem to be getting two issues with making successful builds:
1. I can no longer pull from the testing or unstable sources [deb-src] without also adding the [deb] to /etc/apt/sources.list ; command output appears as:
Code: Select all
$ sudo apt-get source -t unstable davmail
Reading package lists... Done
E: The value 'unstable' is invalid for APT::Default-Release as such a release is not available in the sources
E: Unable to find a source package for
Code: Select all
# testing, only uncommenting SOURCE repository for making manual backports
#deb http://deb.debian.org/debian/ testing main contrib non-free
deb-src http://deb.debian.org/debian/ testing main contrib non-free
# sid, only uncommenting SOURCE repository for making manual backports
#deb http://deb.debian.org/debian/ unstable main contrib non-free
deb-src http://deb.debian.org/debian/ unstable main contrib non-free
2. When building the package after I do get the source downloaded via apt, when building, the output appears as:
Code: Select all
$ fakeroot debian/rules binary
dh binary --with javahelper
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
jh_linkjars
dpkg-query: package 'debhelper-compat' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
jh_linkjars: error: dpkg -L "debhelper-compat" returned exit code 1
make: *** [debian/rules:5: binary] Error 1
So for #1, that just seems like an apt pinning issue, does anyone know where I can tell apt to allow SOURCES from Testing or Unstable without having to resort to editing in the actual package themselves? This will save me from having to edit the sources.list every time I want to download sources for a backport. I am comfortable pulling the source from other means if apt is too much fuss.
For #2, is anyone else able to build Davmail successfully? This is an important package for me because they patched multifactor authentication upstream so we can at least get partial functionality via he O365Manual option until those developers can get the java issue for O365Interactive figured out for the Linux port.
Thanks!
-Mike
Update #1 - So it looks like some of the apt syntax on the Debian wiki is somewhat depriciated. If I use
Code: Select all
$ sudo apt source davmail/unstable