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

2020-10-04 Thread Helmut Grohne
Hi Otto, On Sun, Oct 04, 2020 at 12:39:06PM +0300, Otto Kekäläinen wrote: > So far I've only done > https://salsa.debian.org/mariadb-team/mariadb-10.5/-/commit/3759ce315280328098d4ed8032e91bdb295f98bc > and I am not sure what the ultimate solution here is. Please advise if > you have an opinion on

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

2020-10-04 Thread Otto Kekäläinen
Hello! > Keep in mind however what the goal is. Whenever you think about > multiarching a -dev package, the only use case is cross building. But > most of the time, cross building never requires marking -dev packages > multiarch. It just makes it more convenient for developers. So really, > removi

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

2020-09-29 Thread Helmut Grohne
Hi Otto, On Wed, Sep 30, 2020 at 12:14:20AM +0300, Otto Kekäläinen wrote: > If I move just the header file but not all of > /usr/include/mariadb/server, will there be issues with paths at some > point? Likely yes. For using these headers, you specify a custo -I flag (that likely comes from pkg-co

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

2020-09-29 Thread Otto Kekäläinen
> $ wget > http://deb.debian.org/debian/pool/main/m/mariadb-10.5/libmariadbd-dev_10.5.5-1_amd64.deb > ... > $ wget > http://deb.debian.org/debian/pool/main/m/mariadb-10.5/libmariadbd-dev_10.5.5-1_arm64.deb > ... > $ dpkg-deb -x libmariadbd-dev_10.5.5-1_amd64.deb amd64 > $ dpkg-deb -x libmariadbd-

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

2020-09-29 Thread Helmut Grohne
Hi Otto, On Tue, Sep 29, 2020 at 11:46:26PM +0300, Otto Kekäläinen wrote: > Multiarch-hinter says: libmariadbd-dev conflicts on > /usr/include/mariadb/server/my_config.h on any two of amd64, arm64, > armel, armhf, and 5 more > > I don't understand this, since my_config.h is supposed to be an ASCI

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

2020-09-29 Thread Otto Kekäläinen
> > 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 mar

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

2020-09-29 Thread Helmut Grohne
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

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

2020-09-29 Thread Otto Kekäläinen
Thanks! 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. The topic of cross-building tangents the multi-arch definitions in the control file which currently

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

2020-09-28 Thread Helmut Grohne
Hi Otto, On Mon, Sep 28, 2020 at 10:24:16PM +0300, Otto Kekäläinen wrote: > > While looking into it anyway, I was wondering why you are running cmake > > directly instead of running it through dh_auto_configure. Can you shed > > light on that question? Using dh_auto_configure would automatically p

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

2020-09-28 Thread Otto Kekäläinen
> I've started looking into it. I noticed a few embedded code copies. I've > filed #971005 about readline. Bundling an ssl library seems like a very > bad idea to me. The outcome of these will have significant impact on how > cross compilation can be implemented. I've filed issues upstream that th

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

2020-09-21 Thread Otto Kekäläinen
Hello Helmut! Would you be kind and check out mariadb-10.5 currently in Debian experimental, and report what the status is and what changes would still be needed? Thanks!