Translation(s): none
It would be useful to know why each of the build dependencies is required. Let's do a good job of eliminating unnecessary dependencies without creating new bugs.
mysql-5.6
Dependency |
Reason |
Reference |
bison |
used to generate SQL parsers |
|
chrpath |
used explicitly in debian/rules but is that still necessary |
n/a |
cmake |
Used since 5.5 |
|
debhelper (>= 8.1.3~) |
8.1.3 required for multiarch |
|
dh-apparmor |
install AppArmor profile |
|
dpkg-dev (>= 1.16.1~) |
This was a false Lintian warning, as dpkg-dev is part of build-essential |
|
gawk |
Builds fine without this. It seems that gawk is not needed but the dependency remains. |
|
libaio-dev[linux-any] |
linux native threads |
|
libedit-dev |
used by mysql-client |
|
libncurses5-dev (>= 5.0-6) |
cmake will complain if this is missing. |
n/a |
libwrap0-dev (>= 7.6-8.3) |
TCP wrappers |
|
lsb-release |
Used in init scripts but why a build dependency. |
|
perl |
Test scripts written in Perl |
n/a |
po-debconf |
support for internationalization of debconf |
|
psmisc |
probably needed for mysql_zap; not sure as a build dependency |
n/a |
zlib1g-dev (>= 1:1.1.3-5) |
I think was hasty in removing this |
Restored in repository |
mysql-5.5
Dependency |
Reason |
Reference |
bison |
used to generate SQL parsers |
|
chrpath |
used explicitly in debian/rules but is that still necessary |
n/a |
cmake |
Used since 5.5 |
|
debhelper (>= 8.1.3~) |
8.1.3 required for multiarch |
|
dh-apparmor |
install AppArmor profile |
|
libaio-dev[linux-any] |
linux native threads |
|
libncurses5-dev (>= 5.0-6) |
cmake will complain if this is missing. |
n/a |
libwrap0-dev (>= 7.6-8.3) |
TCP wrappers |
|
lsb-release |
Used in init scripts but why a build dependency. |
|
perl |
Test scripts written in Perl |
n/a |
po-debconf |
support for internationalization of debconf |
|
psmisc |
probably needed for mysql_zap; not sure as a build dependency |
n/a |
zlib1g-dev (>= 1:1.1.3-5) |
I think was hasty in removing this |
Restored in repository |
mariadb-5.5
In addition to above, in MariaDB 5.5 are needed: libjemalloc-dev, libssl-dev, libpam0g-dev, libboost1.xx-dev (xx= .42 - .53).
mariadb-10.0
There is a bundled pcre3 but if the system provides libpcre3-dev >= 8.35 it will be used. MariaDB will detect at build time if pcre_stack_guard symbol is found, and use it (and then binaries will also require it when run).
MariaDB still uses readline5-dev rather than libedit-dev as it seems most users still prefer readline (and it is still available in Debian).
Code-wise MariaDB supports libwrap but Debian is the only distro where it is still enabled, so we decided to deprecate it. Iptables and other much better tools are preferred over libwrap nowadays.