I am wanting to build MariaDB 10.5.5 on my Raspberry Pi 3B (Kernel version 5.4.65-v7+) since it has some nice features I want to play with. The first step involves setting up the build environment described here: Build Environment Setup for Linux
However the first step used to install all the dependencies doesn't work:
sudo apt build-dep mariadb-server
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
The documentation is aware of this problem and asks that you include the source repositories in your sources.list file:
Note: On Debian-based distributions, you may receive a "You must put some 'source' URIs in your sources.list" error. To avoid this, ensure that /etc/apt/sources.list contains the source repositories.
So I uncommented the deb-src command from my /etc/apt/sources.list file:
deb http://archive.raspberrypi.org/debian/ buster main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://archive.raspberrypi.org/debian/ buster main
After saving the changes and running sudo apt-get update I then get the following error after running apt build-dep mariadb-server:
sudo apt build-dep mariadb-server
Reading package lists... Done
Picking 'mariadb-10.3' as source package instead of 'mariadb-server'
E: Unable to find a source package for mariadb-server
Does anyone know how I can run apt build-dep mariadb-server for MariaDB 10.5?