[debian-mysql] Bug#920365: Bug#920365: Bug#920365: mariadb_config: improve cross compilation support

Helmut Grohne helmut at subdivi.de
Tue Sep 29 20:11:42 BST 2020


Hi Otto,

On Tue, Sep 29, 2020 at 08:59:49PM +0300, Otto Kekäläinen wrote:
> Tested patch in
> https://salsa.debian.org/mariadb-team/mariadb-10.5/-/commit/2a8304051a3107fe828314b66b33aca7ecb863d4
> 
> Builds went fine, so I'll add this commit on top of the master branch.

Cool. My build environment must be buggy then.

In any case, this change makes cross building mariadb a lot easier.

> The topic of cross-building tangents the multi-arch definitions in the
> control file which currently are not correct and I am not sure on how
> to correctly solve it without regressions:
> 
> W dependency-is-not-multi-archified libmariadb-dev-compat depends on
> libmariadb-dev (multi-arch: no)
> W dependency-is-not-multi-archified libmariadbd-dev depends on
> libmariadb-dev (multi-arch: no)
> W dependency-is-not-multi-archified mariadb-plugin-gssapi-client
> depends on mariadb-client-10.5 (multi-arch: no)

I fear that there is little you can do here. The hinter likely told you
that you can mark libmariadb-dev-compat Multi-Arch: same. Lintian told
you that Multi-Arch: same is useless since libmariadb-dev is not thus
marked. Both are correct. The idea of the hinter is that by
parallelizing the addition of M-A:same, we get everything marked quicker
while having some useless (but correct) markings in the interim. The
lintian stance is that useless markings issue a warning.

Helmut



More information about the pkg-mysql-maint mailing list