> 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 they should build against the system gnutls and system wolfssl. I believe the server now builds against the system gnutls but there are still bundled codes in the sources. > 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 pass > -DCMAKE_SYSTEM_NAME=..., which is required for cross compiling mariadb. The cmake line has been manually defined in the debian/rules files since the beginning of time and mysql-5.0 packaging or something. There are so many customizations – I don't know if we can dismantle it.

