sudo make install-dependencies-ubuntu fails on Debian Testing/Bookworm.
sudo make install-dependencies-ubuntu
Debian is replacing ttf-unifont with fonts-unifont.
In Debian Bullseye (current stable), ttf-unifont is just a dummy package to pull in fonts-unifont. (This appears to be the case for Ubuntu 21.04 as well.)
In Debian Bookworm (current testing), ttf-unifont has apparently been removed altogether.
sudo make install-dependencies-ubuntu tries to install ttf-unifont, causing it to fail on Debian Testing.
Modify https://notabug.org/libreboot/lbmk/src/master/resources/scripts/build/dependencies/ubuntu2004 to install the correct package.
Sorry for not just submitting a patch. This should be a very simple fix, but I don't know which is the best way to go about it.
As of 2021-11-12, I have confirmed that after replacing "ttf-unifont" with "fonts-unifont" in resources/scripts/build/dependencies/ubuntu2004, Libreboot builds successfully on Debian Testing.
(Sorry, I forgot to say that the bullet list in "Proposed solution" is 3 different possible solutions, not 3 parts of the same solution.)
I prefer: Add a separate dependencies file for newer Debian/Ubuntu versions.
the ubuntu2004 script can just be deleted after ubuntu 20.04 is no longer supported by canonical, or ensuring that lbmk builds on that distro is no longer viable, whichever happens sooner
simply name the new file: debian
please submit a patch
please also update lbwww.git accordingly, on pages that reference the ubuntu2004 script
i've recently had someone test artix, which is based on arch, so parabola should also be fine
i ended up just doing it myself. thank you for bringing this to my attention
this is now a thing. as is: