[MDEV-21869] Make MariaDB 10.5 Lintian clean (Debian quality assurance tool) Created: 2020-03-04  Updated: 2023-12-15

Status: Stalled
Project: MariaDB Server
Component/s: Packaging, Platform Debian
Affects Version/s: 10.5.2
Fix Version/s: 10.5

Type: Bug Priority: Minor
Reporter: Otto Kekäläinen Assignee: Otto Kekäläinen
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by MDEV-21653 test binaries my_safe_process and wsr... Open
is blocked by MDEV-21654 binary library file pam_mariadb_mtr.s... In Testing
PartOf
includes MDEV-23789 Fix man pages: groff syntax creates u... Open
Relates
relates to MDEV-23538 Rename mariadb.pc to mariadbd.pc to a... Open

 Description   

Lintian is a tool that does automatic QA for software packages. It checks that packages follow the Debian Policy among others, but it is universally useful since it also complains about spelling, errors, missing man pages, security issues etc that are not Debian specific but should be fixed in all open source projects in general.

Current 10.5 head as of today reports:

$ lintian -EvIL +pedantic --color=always *.changes
N: Using profile ubuntu/main.
N: Starting on group mariadb-10.5/1:10.5.2+maria~sid
N: Unpacking packages in group mariadb-10.5/1:10.5.2+maria~sid
N: ----
N: Processing changes file mariadb-10.5 (version 1:10.5.2+maria~sid, arch source amd64 all) ...
E: mariadb-10.5 changes: bad-distribution-in-changes-file sid
N: ----
N: Processing source package mariadb-10.5 (version 1:10.5.2+maria~sid, arch source) ...
P: mariadb-10.5 source: source-contains-autogenerated-visual-c++-file win/upgrade_wizard/resource.h
P: mariadb-10.5 source: source-contains-autogenerated-visual-c++-file win/upgrade_wizard/upgrade.rc
P: mariadb-10.5 source: source-contains-empty-directory extra/wolfssl/wolfssl/
P: mariadb-10.5 source: source-contains-empty-directory storage/maria/libmarias3/
P: mariadb-10.5 source: source-contains-empty-directory wsrep-lib/
P: mariadb-10.5 source: package-uses-old-debhelper-compat-version 9
W: mariadb-10.5 source: build-depends-on-obsolete-package build-depends: dh-systemd => use debhelper (>= 9.20160709)
W: mariadb-10.5 source: dependency-is-not-multi-archified libmariadb3 depends on mariadb-common (multi-arch: no)
P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/JavaWrappers.jar
P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/JavaWrappers.jar
P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/JdbcMariaDB.jar
P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/Mongo2.jar
P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/Mongo3.jar
I: mariadb-10.5 source: no-complete-debconf-translation
P: mariadb-10.5 source: no-dep5-copyright
W: mariadb-10.5 source: ancient-standards-version 3.8.2 (released 2009-06-16) (current is 4.3.0)
I: mariadb-10.5 source: testsuite-autopkgtest-missing
E: mariadb-10.5 source: version-substvar-for-external-package mariadb-client-core-10.5 -> mysql-client-5.1
E: mariadb-10.5 source: version-substvar-for-external-package mariadb-client-core-10.5 -> mysql-client-5.5
E: mariadb-10.5 source: version-substvar-for-external-package mariadb-server-10.5 -> mysql-server
E: mariadb-10.5 source: version-substvar-for-external-package mariadb-server-10.5 -> mysql-server
X: mariadb-10.5 source: maybe-not-arch-all-binnmuable mariadb-test -> mariadb-test-data
N: ----
N: Processing buildinfo package mariadb-10.5 (version 1:10.5.2+maria~sid, arch all amd64 source) ...
N: ----
N: Processing binary package mariadb-test (version 1:10.5.2+maria~sid, arch amd64) ...
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test inital initial
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded yuR your
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded occurence occurrence
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded noone no one
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded thats that's
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded theres there's
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded allow to allow one to
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest inital initial
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded yuR your
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded occurence occurrence
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded noone no one
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded thats that's
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded theres there's
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded allow to allow one to
W: mariadb-test: shared-lib-without-dependency-information usr/lib/mysql/plugin/auth_0x0100.so
W: mariadb-test: shared-lib-without-dependency-information usr/lib/mysql/plugin/debug_key_management.so
I: mariadb-test: spelling-error-in-binary usr/lib/mysql/plugin/qa_auth_interface.so userA users
E: mariadb-test: arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
E: mariadb-test: arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/lib/My/SafeProcess/wsrep_check_version
I: mariadb-test: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/README
I: mariadb-test: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/README-gcov
I: mariadb-test: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/README.stress
W: mariadb-test: manpage-has-errors-from-man usr/share/man/man1/mysql-test-run.pl.1.gz 246: warning [p 2, 6.0i, div `3tbd1,1', 0.3i]: can't break line
N: ----
N: Processing binary package mysql-common (version 1:10.5.2+maria~sid, arch all) ...
I: mysql-common: description-synopsis-might-not-be-phrased-properly "MariaDB database common files (e.g. /etc/mysql/my.cnf)"
P: mysql-common: maintainer-script-without-set-e postrm
N: ----
N: Processing binary package mariadb-server-core-10.5 (version 1:10.5.2+maria~sid, arch amd64) ...
I: mariadb-server-core-10.5: spelling-error-in-binary usr/sbin/mysqld yuR your
I: mariadb-server-core-10.5: spelling-error-in-binary usr/sbin/mysqld occurence occurrence
I: mariadb-server-core-10.5: spelling-error-in-binary usr/sbin/mysqld noone no one
I: mariadb-server-core-10.5: spelling-error-in-binary usr/sbin/mysqld thats that's
I: mariadb-server-core-10.5: spelling-error-in-binary usr/sbin/mysqld theres there's
I: mariadb-server-core-10.5: spelling-error-in-binary usr/sbin/mysqld Preceeding Preceding
I: mariadb-server-core-10.5: spelling-error-in-binary usr/sbin/mysqld succesfully successfully
I: mariadb-server-core-10.5: spelling-error-in-binary usr/sbin/mysqld allow to allow one to
I: mariadb-server-core-10.5: package-contains-documentation-outside-usr-share-doc usr/share/mysql/charsets/README
N: ----
N: Processing binary package mariadb-test-data (version 1:10.5.2+maria~sid, arch all) ...
E: mariadb-test-data: arch-independent-package-contains-binary-or-object usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so
E: mariadb-test-data: arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so
W: mariadb-test-data: missing-depends-line
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/collections/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/collections/README.experimental
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/plugin/example/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/plugin/heap/mtr2/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/plugin/myisam/mtr2/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/plugin/tokudb/README.tokudb
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/std_data/mysql5613mysql/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/engines/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/funcs_1/README.txt
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/funcs_2/readme.txt
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/large_tests/README.TXT
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/optimizer_unfixed_bugs/README.txt
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/perfschema_stress/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/rpl/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/rpl/extension/README.checksum
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/wsrep/README
N: ----
N: Processing binary package mariadb-plugin-rocksdb (version 1:10.5.2+maria~sid, arch amd64) ...
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/bin/mysql_ldb nam name
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/bin/mysql_ldb dont don't
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/lib/mysql/plugin/ha_rocksdb.so nam name
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/lib/mysql/plugin/ha_rocksdb.so COMMITED COMMITTED
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/lib/mysql/plugin/ha_rocksdb.so dont don't
W: mariadb-plugin-rocksdb: binary-without-manpage usr/bin/myrocks_hotbackup
E: mariadb-plugin-rocksdb: python-script-but-no-python-dep usr/bin/myrocks_hotbackup #!python
N: ----
N: Processing binary package libmariadbd-dev (version 1:10.5.2+maria~sid, arch amd64) ...
N: ----
N: Processing binary package libmysqlclient18 (version 1:10.5.2+maria~sid, arch amd64) ...
N: ----
N: Processing binary package libmariadb3 (version 1:10.5.2+maria~sid, arch amd64) ...
I: libmariadb3: hardening-no-fortify-functions usr/lib/mysql/plugin/dialog.so
I: libmariadb3: hardening-no-fortify-functions usr/lib/mysql/plugin/sha256_password.so
E: libmariadb3: arch-dependent-file-not-in-arch-specific-directory usr/lib/mysql/plugin/client_ed25519.so
E: libmariadb3: arch-dependent-file-not-in-arch-specific-directory usr/lib/mysql/plugin/dialog.so
E: libmariadb3: arch-dependent-file-not-in-arch-specific-directory usr/lib/mysql/plugin/mysql_clear_password.so
E: libmariadb3: arch-dependent-file-not-in-arch-specific-directory usr/lib/mysql/plugin/sha256_password.so
I: libmariadb3: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadb.so.3 inital initial
I: libmariadb3: conflicts-with-version libmariadbclient18 (<< 10.2.0)
I: libmariadb3: conflicts-with-version mariadb-galera-server-10.0 (<< 10.0.5)
I: libmariadb3: conflicts-with-version mariadb-galera-server-5.5 (<< 5.5.33)
I: libmariadb3: conflicts-with-version mariadb-server-10.0 (<< 10.0.5)
I: libmariadb3: conflicts-with-version mariadb-server-5.5 (<< 5.5.33)
W: libmariadb3: maintainer-script-empty postinst
P: libmariadb3: maintainer-script-without-set-e postinst
I: libmariadb3: no-symbols-control-file usr/lib/x86_64-linux-gnu/libmariadb.so.3
N: ----
N: Processing binary package mariadb-client (version 1:10.5.2+maria~sid, arch all) ...
N: ----
N: Processing binary package mariadb-backup (version 1:10.5.2+maria~sid, arch amd64) ...
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup yuR your
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup occurence occurrence
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup noone no one
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup thats that's
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup theres there's
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup Preceeding Preceding
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup succesfully successfully
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup allow to allow one to
W: mariadb-backup: binary-without-manpage usr/bin/mbstream
N: ----
N: Processing binary package mariadb-plugin-cracklib-password-check (version 1:10.5.2+maria~sid, arch amd64) ...
N: ----
N: Processing binary package libmariadb-dev-compat (version 1:10.5.2+maria~sid, arch amd64) ...
W: libmariadb-dev-compat: priority-extra-is-replaced-by-priority-optional
N: ----
N: Processing binary package mariadb-plugin-connect (version 1:10.5.2+maria~sid, arch amd64) ...
N: ----
N: Processing binary package libmariadbclient18 (version 1:10.5.2+maria~sid, arch amd64) ...
N: ----
N: Processing binary package libmariadbd19 (version 1:10.5.2+maria~sid, arch amd64) ...
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 yuR your
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 occurence occurrence
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 noone no one
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 thats that's
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 theres there's
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 allow to allow one to
X: libmariadbd19: shlib-calls-exit usr/lib/x86_64-linux-gnu/libmariadbd.so.19
I: libmariadbd19: no-symbols-control-file usr/lib/x86_64-linux-gnu/libmariadbd.so.19
N: ----
N: Processing binary package mariadb-plugin-mroonga (version 1:10.5.2+maria~sid, arch amd64) ...
I: mariadb-plugin-mroonga: extra-license-file usr/share/mysql/mroonga/COPYING
N: ----
N: Processing binary package mariadb-client-10.5 (version 1:10.5.2+maria~sid, arch amd64) ...
I: mariadb-client-10.5: spelling-error-in-binary usr/bin/mysqladmin inital initial
I: mariadb-client-10.5: spelling-error-in-binary usr/bin/mysqldump inital initial
I: mariadb-client-10.5: spelling-error-in-binary usr/bin/mysqlimport inital initial
I: mariadb-client-10.5: spelling-error-in-binary usr/bin/mysqlshow inital initial
I: mariadb-client-10.5: spelling-error-in-binary usr/bin/mysqlslap inital initial
I: mariadb-client-10.5: conflicts-with-version mariadb-client (<< 1:10.5.2+maria~sid)
I: mariadb-client-10.5: conflicts-with-version mysql-client (<< 5.0.51)
E: mariadb-client-10.5: bad-so-link-within-manual-page usr/share/man/man1/mariadb-binlog.1.gz
E: mariadb-client-10.5: bad-so-link-within-manual-page usr/share/man/man1/mariadb-plugin.1.gz
W: mariadb-client-10.5: binary-without-manpage usr/bin/mariadb-conv
W: mariadb-client-10.5: incorrect-path-for-interpreter usr/bin/innotop (#!/usr/bin/env perl != /usr/bin/perl)
N: ----
N: Processing binary package mariadb-plugin-oqgraph (version 1:10.5.2+maria~sid, arch amd64) ...
N: ----
N: Processing binary package mariadb-plugin-gssapi-server (version 1:10.5.2+maria~sid, arch amd64) ...
N: ----
N: Processing binary package libmariadb3-compat (version 1:10.5.2+maria~sid, arch amd64) ...
N: ----
N: Processing binary package libmariadb-dev (version 1:10.5.2+maria~sid, arch amd64) ...
E: libmariadb-dev: arch-dependent-file-not-in-arch-specific-directory usr/bin/mariadb_config
X: libmariadb-dev: development-package-ships-elf-binary-in-path usr/bin/mariadb_config
E: libmariadb-dev: pkg-config-multi-arch-wrong-dir usr/share/pkgconfig/mariadb.pc full text contains architecture specific dir x86_64-linux-gnu
W: libmariadb-dev: pkg-config-references-unknown-shared-library usr/share/pkgconfig/mariadb.pc -lz (line 22)
W: libmariadb-dev: pkg-config-references-unknown-shared-library usr/share/pkgconfig/mariadb.pc -lssl (line 22)
W: libmariadb-dev: pkg-config-references-unknown-shared-library usr/share/pkgconfig/mariadb.pc -lcrypto (line 22)
N: ----
N: Processing binary package mariadb-server-10.5 (version 1:10.5.2+maria~sid, arch amd64) ...
I: mariadb-server-10.5: hardening-no-fortify-functions lib/x86_64-linux-gnu/security/pam_user_map.so
I: mariadb-server-10.5: hardening-no-fortify-functions usr/lib/mysql/plugin/auth_pam.so
I: mariadb-server-10.5: hardening-no-fortify-functions usr/lib/mysql/plugin/auth_pam_v1.so
I: mariadb-server-10.5: hardening-no-fortify-functions usr/lib/mysql/plugin/file_key_management.so
I: mariadb-server-10.5: hardening-no-fortify-functions usr/lib/mysql/plugin/ha_archive.so
I: mariadb-server-10.5: hardening-no-fortify-functions usr/lib/mysql/plugin/ha_blackhole.so
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_chk noone no one
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_chk thats that's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_chk theres there's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_dump_log noone no one
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_dump_log thats that's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_dump_log theres there's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_ftdump noone no one
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_ftdump thats that's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_ftdump theres there's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_pack noone no one
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_pack thats that's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_pack theres there's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_read_log noone no one
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_read_log thats that's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/aria_read_log theres there's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisam_ftdump noone no one
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisam_ftdump thats that's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisam_ftdump theres there's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisamchk noone no one
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisamchk thats that's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisamchk theres there's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisamlog noone no one
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisamlog thats that's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisamlog theres there's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisampack noone no one
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisampack thats that's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/myisampack theres there's
I: mariadb-server-10.5: spelling-error-in-binary usr/bin/mysqlbinlog inital initial
I: mariadb-server-10.5: spelling-error-in-binary usr/lib/mysql/plugin/ha_federated.so Allows to Allows one to
I: mariadb-server-10.5: spelling-error-in-binary usr/lib/mysql/plugin/ha_federatedx.so Allows to Allows one to
I: mariadb-server-10.5: unused-debconf-template mariadb-server-10.5/nis_warning
I: mariadb-server-10.5: unused-debconf-template mysql-server/root_password
I: mariadb-server-10.5: unused-debconf-template mysql-server/root_password_again
I: mariadb-server-10.5: unused-debconf-template mysql-server/error_setting_password
I: mariadb-server-10.5: unused-debconf-template mysql-server/password_mismatch
I: mariadb-server-10.5: conflicts-with-version mariadb-server (<< 1:10.5.2+maria~sid)
I: mariadb-server-10.5: conflicts-with-version mysql-server (<< 1:10.5.2+maria~sid)
W: mariadb-server-10.5: non-standard-dir-perm usr/lib/mysql/plugin/auth_pam_tool_dir/ 0700 != 0755
W: mariadb-server-10.5: setuid-binary usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool 4755 root/root
E: mariadb-server-10.5: bad-so-link-within-manual-page usr/share/man/man1/mariadb-show.1.gz
W: mariadb-server-10.5: script-not-executable usr/share/mysql/mysql.init
W: mariadb-server-10.5: executable-not-elf-or-script usr/bin/wsrep_sst_common
W: mariadb-server-10.5: maintainer-script-should-not-use-recursive-chown-or-chmod postinst:91
W: mariadb-server-10.5: maintainer-script-should-not-use-recursive-chown-or-chmod postinst:93
W: mariadb-server-10.5: command-with-path-in-maintainer-script postinst:160 /usr/bin/mariadb-service-convert
W: mariadb-server-10.5: maintainer-script-calls-systemctl postinst:20
W: mariadb-server-10.5: maintainer-script-calls-systemctl postrm:15
W: mariadb-server-10.5: maintainer-script-calls-systemctl preinst:28
N: ----
N: Processing binary package mariadb-server (version 1:10.5.2+maria~sid, arch all) ...
N: ----
N: Processing binary package mariadb-common (version 1:10.5.2+maria~sid, arch all) ...
I: mariadb-common: description-synopsis-might-not-be-phrased-properly "MariaDB database common files (e.g. /etc/mysql/conf.d/mariadb.cnf)"
P: mariadb-common: maintainer-script-without-set-e postrm
N: ----
N: Processing binary package mariadb-plugin-gssapi-client (version 1:10.5.2+maria~sid, arch amd64) ...
N: ----
N: Processing binary package mariadb-client-core-10.5 (version 1:10.5.2+maria~sid, arch amd64) ...
I: mariadb-client-core-10.5: spelling-error-in-binary usr/bin/mysql inital initial
I: mariadb-client-core-10.5: spelling-error-in-binary usr/bin/mysqlcheck inital initial
I: mariadb-client-core-10.5: conflicts-with-version mysql-client (<< 5.0.51)
I: mariadb-client-core-10.5: conflicts-with-version mysql-client-5.1 (<< 1:10.5.2+maria~sid)
I: mariadb-client-core-10.5: conflicts-with-version mysql-client-5.5 (<< 1:10.5.2+maria~sid)
N: ----
N: Processing binary package mariadb-plugin-spider (version 1:10.5.2+maria~sid, arch amd64) ...
N: Finished processing group mariadb-10.5/1:10.5.2+maria~sid

The latest MariaDB 10.4.12 in Debian with the official packaging and most issues fixed reports:

pkg-mariadb-10.4$ cat lintian-9290f5d56.log
N: Using profile ubuntu/main.
N: Starting on group mariadb-10.4/1:10.4.12-1~exp2
N: Unpacking packages in group mariadb-10.4/1:10.4.12-1~exp2
N: ----
N: Processing changes file mariadb-10.4 (version 1:10.4.12-1~exp2, arch source amd64 all) ...
N: ----
N: Processing source package mariadb-10.4 (version 1:10.4.12-1~exp2, arch source) ...
P: mariadb-10.4 source: source-contains-autogenerated-visual-c++-file win/upgrade_wizard/resource.h
P: mariadb-10.4 source: source-contains-autogenerated-visual-c++-file win/upgrade_wizard/upgrade.rc
P: mariadb-10.4 source: source-contains-autogenerated-visual-c++-file extra/wolfssl/wolfssl/resource.h
P: mariadb-10.4 source: source-contains-prebuilt-doxygen-documentation extra/wolfssl/wolfssl/doc/formats/html/header.html
P: mariadb-10.4 source: package-uses-old-debhelper-compat-version 10
W: mariadb-10.4 source: dependency-is-not-multi-archified mariadb-plugin-oqgraph depends on mariadb-server-10.4 (multi-arch: no)
W: mariadb-10.4 source: dependency-is-not-multi-archified libmariadbd-dev depends on libmariadb-dev (multi-arch: no)
W: mariadb-10.4 source: dependency-is-not-multi-archified mariadb-plugin-gssapi-client depends on mariadb-client-10.4 (multi-arch: no)
W: mariadb-10.4 source: dependency-is-not-multi-archified libmariadbclient-dev depends on libmariadb-dev (multi-arch: no)
W: mariadb-10.4 source: dependency-is-not-multi-archified mariadb-plugin-connect depends on mariadb-server-10.4 (multi-arch: no)
W: mariadb-10.4 source: dependency-is-not-multi-archified mariadb-plugin-cracklib-password-check depends on mariadb-server-10.4 (multi-arch: no)
W: mariadb-10.4 source: dependency-is-not-multi-archified mariadb-plugin-gssapi-server depends on mariadb-server-10.4 (multi-arch: no)
W: mariadb-10.4 source: dependency-is-not-multi-archified libmariadb-dev-compat depends on libmariadb-dev (multi-arch: no)
P: mariadb-10.4 source: source-contains-prebuilt-java-object storage/connect/JavaWrappers.jar
P: mariadb-10.4 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/JavaWrappers.jar
P: mariadb-10.4 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/JdbcMariaDB.jar
P: mariadb-10.4 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/Mongo2.jar
P: mariadb-10.4 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/Mongo3.jar
I: mariadb-10.4 source: quilt-patch-missing-description 930314-cross-build.patch
I: mariadb-10.4 source: quilt-patch-missing-description rocksdb-kfreebsd.patch
I: mariadb-10.4 source: quilt-patch-missing-description libmariadb-kfreebsd.patch
I: mariadb-10.4 source: unused-file-paragraph-in-dep5-copyright paragraph at line 439
I: mariadb-10.4 source: unused-file-paragraph-in-dep5-copyright paragraph at line 443
W: mariadb-10.4 source: newer-standards-version 4.5.0 (current is 4.3.0)
X: mariadb-10.4 source: maybe-not-arch-all-binnmuable mariadb-test -> mariadb-test-data
I: mariadb-10.4 source: debian-watch-uses-insecure-uri ftp://ftp.osuosl.org/pub/mariadb/mariadb-10.4.([\d\.]*(?:-beta|-rc)?)/source/mariadb-([\d\.]*(?:-beta|-rc)?).tar.gz
N: ----
N: Processing buildinfo package mariadb-10.4 (version 1:10.4.12-1~exp2, arch all amd64 source) ...
N: ----
N: Processing binary package mariadb-plugin-spider (version 1:10.4.12-1~exp2, arch amd64) ...
N: ----
N: Processing binary package mariadb-server (version 1:10.4.12-1~exp2, arch all) ...
N: ----
N: Processing binary package mariadb-plugin-oqgraph (version 1:10.4.12-1~exp2, arch amd64) ...
N: ----
N: Processing binary package libmariadbd19 (version 1:10.4.12-1~exp2, arch amd64) ...
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 yuR your
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 occurence occurrence
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 noone no one
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 thats that's
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 theres there's
I: libmariadbd19: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 allow to allow one to
X: libmariadbd19: shlib-calls-exit usr/lib/x86_64-linux-gnu/libmariadbd.so.19
I: libmariadbd19: no-symbols-control-file usr/lib/x86_64-linux-gnu/libmariadbd.so.19
N: ----
N: Processing binary package mariadb-common (version 1:10.4.12-1~exp2, arch all) ...
N: ----
N: Processing binary package mariadb-server-core-10.4 (version 1:10.4.12-1~exp2, arch amd64) ...
I: mariadb-server-core-10.4: spelling-error-in-binary usr/sbin/mysqld yuR your
I: mariadb-server-core-10.4: spelling-error-in-binary usr/sbin/mysqld rovider provider
I: mariadb-server-core-10.4: spelling-error-in-binary usr/sbin/mysqld occurence occurrence
I: mariadb-server-core-10.4: spelling-error-in-binary usr/sbin/mysqld noone no one
I: mariadb-server-core-10.4: spelling-error-in-binary usr/sbin/mysqld thats that's
I: mariadb-server-core-10.4: spelling-error-in-binary usr/sbin/mysqld theres there's
I: mariadb-server-core-10.4: spelling-error-in-binary usr/sbin/mysqld Preceeding Preceding
I: mariadb-server-core-10.4: spelling-error-in-binary usr/sbin/mysqld succesfully successfully
I: mariadb-server-core-10.4: spelling-error-in-binary usr/sbin/mysqld allow to allow one to
I: mariadb-server-core-10.4: package-contains-documentation-outside-usr-share-doc usr/share/mysql/charsets/README
N: ----
N: Processing binary package mariadb-plugin-tokudb (version 1:10.4.12-1~exp2, arch amd64) ...
I: mariadb-plugin-tokudb: spelling-error-in-binary usr/bin/tokuftdump dont don't
I: mariadb-plugin-tokudb: spelling-error-in-binary usr/lib/x86_64-linux-gnu/mariadb19/plugin/ha_tokudb.so dont don't
N: ----
N: Processing binary package mariadb-plugin-rocksdb (version 1:10.4.12-1~exp2, arch amd64) ...
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/bin/mysql_ldb nam name
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/bin/mysql_ldb dont don't
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/lib/x86_64-linux-gnu/mariadb19/plugin/ha_rocksdb.so nam name
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/lib/x86_64-linux-gnu/mariadb19/plugin/ha_rocksdb.so COMMITED COMMITTED
I: mariadb-plugin-rocksdb: spelling-error-in-binary usr/lib/x86_64-linux-gnu/mariadb19/plugin/ha_rocksdb.so dont don't
W: mariadb-plugin-rocksdb: binary-without-manpage usr/bin/myrocks_hotbackup
N: ----
N: Processing binary package mariadb-test (version 1:10.4.12-1~exp2, arch amd64) ...
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test inital initial
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded yuR your
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded occurence occurrence
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded noone no one
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded thats that's
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded theres there's
I: mariadb-test: spelling-error-in-binary usr/bin/mysql_client_test_embedded allow to allow one to
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest inital initial
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded yuR your
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded occurence occurrence
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded noone no one
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded thats that's
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded theres there's
I: mariadb-test: spelling-error-in-binary usr/bin/mysqltest_embedded allow to allow one to
I: mariadb-test: spelling-error-in-binary usr/bin/test-connect-t yuR your
I: mariadb-test: spelling-error-in-binary usr/bin/test-connect-t occurence occurrence
I: mariadb-test: spelling-error-in-binary usr/bin/test-connect-t noone no one
I: mariadb-test: spelling-error-in-binary usr/bin/test-connect-t thats that's
I: mariadb-test: spelling-error-in-binary usr/bin/test-connect-t theres there's
I: mariadb-test: spelling-error-in-binary usr/bin/test-connect-t allow to allow one to
I: mariadb-test: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/README
I: mariadb-test: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/README-gcov
I: mariadb-test: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/README.stress
W: mariadb-test: manpage-has-errors-from-man usr/share/man/man1/mysql-test-run.pl.1.gz 246: warning [p 2, 6.0i, div `3tbd1,1', 0.3i]: can't break line
W: mariadb-test: binary-without-manpage usr/bin/test-connect-t
N: ----
N: Processing binary package libmariadbd-dev (version 1:10.4.12-1~exp2, arch amd64) ...
N: ----
N: Processing binary package mariadb-plugin-gssapi-client (version 1:10.4.12-1~exp2, arch amd64) ...
N: ----
N: Processing binary package mariadb-plugin-mroonga (version 1:10.4.12-1~exp2, arch amd64) ...
I: mariadb-plugin-mroonga: extra-license-file usr/share/mysql/mroonga/COPYING
N: ----
N: Processing binary package mariadb-server-10.4 (version 1:10.4.12-1~exp2, arch amd64) ...
I: mariadb-server-10.4: hardening-no-fortify-functions lib/x86_64-linux-gnu/security/pam_user_map.so
I: mariadb-server-10.4: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/mariadb19/plugin/auth_pam_tool_dir/auth_pam_tool
I: mariadb-server-10.4: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/mariadb19/plugin/auth_pam_v1.so
I: mariadb-server-10.4: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/mariadb19/plugin/file_key_management.so
I: mariadb-server-10.4: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/mariadb19/plugin/ha_archive.so
I: mariadb-server-10.4: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/mariadb19/plugin/ha_blackhole.so
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_chk noone no one
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_chk thats that's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_chk theres there's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_dump_log noone no one
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_dump_log thats that's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_dump_log theres there's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_ftdump noone no one
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_ftdump thats that's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_ftdump theres there's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_pack noone no one
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_pack thats that's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_pack theres there's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_read_log noone no one
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_read_log thats that's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/aria_read_log theres there's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisam_ftdump noone no one
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisam_ftdump thats that's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisam_ftdump theres there's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisamchk noone no one
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisamchk thats that's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisamchk theres there's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisamlog noone no one
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisamlog thats that's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisamlog theres there's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisampack noone no one
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisampack thats that's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/myisampack theres there's
I: mariadb-server-10.4: spelling-error-in-binary usr/bin/mysqlbinlog inital initial
I: mariadb-server-10.4: spelling-error-in-binary usr/lib/x86_64-linux-gnu/mariadb19/plugin/caching_sha2_password.so Encrytion Encryption
I: mariadb-server-10.4: spelling-error-in-binary usr/lib/x86_64-linux-gnu/mariadb19/plugin/ha_federated.so Allows to Allows one to
I: mariadb-server-10.4: spelling-error-in-binary usr/lib/x86_64-linux-gnu/mariadb19/plugin/ha_federatedx.so Allows to Allows one to
I: mariadb-server-10.4: unused-debconf-template mariadb-server-10.4/old_data_directory_saved
I: mariadb-server-10.4: unused-debconf-template mariadb-server-10.4/postrm_remove_databases
I: mariadb-server-10.4: package-contains-documentation-outside-usr-share-doc usr/share/mysql/policy/apparmor/README
I: mariadb-server-10.4: package-contains-documentation-outside-usr-share-doc usr/share/mysql/policy/selinux/README
W: mariadb-server-10.4: executable-not-elf-or-script usr/bin/wsrep_sst_common
W: mariadb-server-10.4: executable-not-elf-or-script usr/share/mysql/mysql-log-rotate
W: mariadb-server-10.4: maintainer-script-should-not-use-recursive-chown-or-chmod postinst:91
W: mariadb-server-10.4: maintainer-script-should-not-use-recursive-chown-or-chmod postinst:93
N: ----
N: Processing binary package mariadb-client-10.4 (version 1:10.4.12-1~exp2, arch amd64) ...
I: mariadb-client-10.4: spelling-error-in-binary usr/bin/mysqladmin inital initial
I: mariadb-client-10.4: spelling-error-in-binary usr/bin/mysqldump inital initial
I: mariadb-client-10.4: spelling-error-in-binary usr/bin/mysqlimport inital initial
I: mariadb-client-10.4: spelling-error-in-binary usr/bin/mysqlshow inital initial
I: mariadb-client-10.4: spelling-error-in-binary usr/bin/mysqlslap inital initial
W: mariadb-client-10.4: binary-without-manpage usr/bin/mariadb-tzinfo-to-sql
W: mariadb-client-10.4: binary-without-manpage usr/bin/mytop
N: ----
N: Processing binary package mariadb-client (version 1:10.4.12-1~exp2, arch all) ...
N: ----
N: Processing binary package libmariadbclient-dev (version 1:10.4.12-1~exp2, arch amd64) ...
N: ----
N: Processing binary package libmariadb-dev (version 1:10.4.12-1~exp2, arch amd64) ...
X: libmariadb-dev: development-package-ships-elf-binary-in-path usr/bin/mariadb_config
W: libmariadb-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/mariadb.pc -lz (line 22)
W: libmariadb-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/mariadb.pc -lgnutls (line 22)
N: ----
N: Processing binary package mariadb-plugin-connect (version 1:10.4.12-1~exp2, arch amd64) ...
N: ----
N: Processing binary package mariadb-plugin-cracklib-password-check (version 1:10.4.12-1~exp2, arch amd64) ...
N: ----
N: Processing binary package mariadb-plugin-gssapi-server (version 1:10.4.12-1~exp2, arch amd64) ...
N: ----
N: Processing binary package mariadb-backup (version 1:10.4.12-1~exp2, arch amd64) ...
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup yuR your
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup rovider provider
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup occurence occurrence
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup noone no one
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup thats that's
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup theres there's
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup Preceeding Preceding
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup succesfully successfully
I: mariadb-backup: spelling-error-in-binary usr/bin/mariabackup allow to allow one to
N: ----
N: Processing binary package libmariadb-dev-compat (version 1:10.4.12-1~exp2, arch amd64) ...
N: ----
N: Processing binary package libmariadb3 (version 1:10.4.12-1~exp2, arch amd64) ...
I: libmariadb3: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/mariadb19/plugin/dialog.so
I: libmariadb3: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadb.so.3 inital initial
N: ----
N: Processing binary package mariadb-client-core-10.4 (version 1:10.4.12-1~exp2, arch amd64) ...
I: mariadb-client-core-10.4: spelling-error-in-binary usr/bin/mysql inital initial
I: mariadb-client-core-10.4: spelling-error-in-binary usr/bin/mysql_embedded yuR your
I: mariadb-client-core-10.4: spelling-error-in-binary usr/bin/mysql_embedded occurence occurrence
I: mariadb-client-core-10.4: spelling-error-in-binary usr/bin/mysql_embedded noone no one
I: mariadb-client-core-10.4: spelling-error-in-binary usr/bin/mysql_embedded thats that's
I: mariadb-client-core-10.4: spelling-error-in-binary usr/bin/mysql_embedded theres there's
I: mariadb-client-core-10.4: spelling-error-in-binary usr/bin/mysql_embedded allow to allow one to
I: mariadb-client-core-10.4: spelling-error-in-binary usr/bin/mysqlcheck inital initial
N: ----
N: Processing binary package mariadb-test-data (version 1:10.4.12-1~exp2, arch all) ...
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/collections/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/collections/README.experimental
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/plugin/example/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/plugin/heap/mtr2/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/plugin/myisam/mtr2/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/plugin/tokudb/README.tokudb
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/std_data/mysql5613mysql/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/engines/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/funcs_1/README.txt
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/funcs_2/readme.txt
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/large_tests/README.TXT
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/optimizer_unfixed_bugs/README.txt
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/perfschema_stress/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/rpl/README
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/rpl/extension/README.checksum
I: mariadb-test-data: package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/suite/wsrep/README
N: Finished processing group mariadb-10.4/1:10.4.12-1~exp2
N: 8 tags overridden (7 errors, 1 info)

I opened this as a meta issue stating the goal: making MariaDB 10.5 Lintian clean.

It will happen when the Debian packaging is upstreamed and in addition some extra fixes are done directly at upstream (add missing man pages, fix spelling errors etc).

Related previous similar issues: https://jira.mariadb.org/browse/MDEV-6153, https://jira.mariadb.org/browse/MDEV-14927



 Comments   
Comment by Otto Kekäläinen [ 2020-03-04 ]

Filed now:

Comment by Otto Kekäläinen [ 2020-03-04 ]

The bulk of man page issues are now fixed in: https://github.com/MariaDB/server/pull/1460. Once that is merged, maybe greenman and ratzpo want to continue tweaking it.

Comment by Otto Kekäläinen [ 2020-03-04 ]

Most spelling fixes are in https://github.com/MariaDB/server/pull/1459 (that apply for the MariaDB server repo itself). Once that PR is merged maybe faust could hunt down and fix the remaining ones later this spring.

Comment by Otto Kekäläinen [ 2020-04-23 ]

I have fixed all issues that I can fix, and added overrides for those that depend on something to be fixed elsewhere: https://github.com/MariaDB/server/commit/8c41a1df86c396b6006e7f9ac8da94b3f6d1cf63

Comment by Otto Kekäläinen [ 2020-05-29 ]

julien.fritsch Note that this is blocked by MDEV-21653 and MDEV-21654. This issue can stay assigned to me and I'll complete it once those files have been moved - I need help with the CMake part to move them + permission to do it from Serg.

Comment by Otto Kekäläinen [ 2021-04-04 ]

This issue still continues to be blocked by MDEV-21653 and MDEV-21654.

Comment by Otto Kekäläinen [ 2021-05-30 ]

The following lines in the Lintian report have been around for a long time but the recent build regression on 10.5 branch caused by https://github.com/MariaDB/server/commit/d7321893d8c50071632a102e17a7869da9cb03a5 now surfaced that there is interest to fix this.

P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/JavaWrappers.jar
P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/JavaWrappers.jar
P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/JdbcMariaDB.jar
P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/Mongo2.jar
P: mariadb-10.5 source: source-contains-prebuilt-java-object storage/connect/mysql-test/connect/std_data/Mongo3.jar

Hopefully we could solve this for 10.6 so the packaging is again one step closer being Lintian clean, right serg?

Comment by Sergei Golubchik [ 2021-06-05 ]

I can see that in CONNECT one java file is compiled, and others are stored as prebuilt objects. I don't know why it was done this way, supposedly because building these files brings too many dependencies?

bertrandop, want to comment on otto's concerns?

Comment by Olivier Bertrand [ 2021-06-05 ]

It is a legacy of what was progressively done. When I realized that compiling could failed because Java was not present on the machine making the distribution, I decided to add prebuilt jar files instead of Java source files.

Doing so, all Java wrappers were packed in only one jar file: JavaWrappers.jar. Two more jar files are used for the Mongo table type: Mongo2.jar and Mongo3.jar. These three files are now in the Connect source directory just to simplify their distribution.

The Java source files of all these are still in the Connect source directory but for information only or for users compiling MariaDB from source if they also want to compile the java files. However, the compilation done in the the CMakeLists.txt file is not useful anymore.

About the ones contained in storage/connect/mysql-test/connect/std_data, they are there to be used by some of the Connect tests and are a duplicate of the main useful three, plus the JdbcMariaDB.jar that is used by the tests but is not a Connect item.

Maybe all this could be simplified, depending on how the distribution is done.

Comment by Sergei Golubchik [ 2021-06-05 ]

perhaps, we can do like we used to for *.yy bison files. Only *.yy files are stored in the git repository, but generated sql_yacc.cc/etc files are included into the source tar.gz archive, so that users could compile mariadb even if they don't have bison installed.

that would mean that only java source files are in a git repo, but jar files are included in the source tarball.

and debian builds could filter out jar files from the source deb, and hopefully it'll be enough to calm down lintian

Comment by Olivier Bertrand [ 2021-06-05 ]

Not sure. The .jar files are used in binary distributions (remember we changed their locations from plugin to mysql share) not only in source deb. If they are not stored in the git repository, how can they be generated when Java is not available when making the distribution?

Comment by Sergei Golubchik [ 2021-06-05 ]

jars will be built on our tarbake builder when creating a source tarball. Distributions use source tarball, they don't pull from git repository

Comment by Otto Kekäläinen [ 2021-06-06 ]

Git repositories should have only code, not any kind of pre-built binaries whatsoever. This should be a no-brainer, I don't understand why you are even discussing options. Have the source and document the dependencies and build process. Ideally running 'make' builds everything needed and complains about missing dependencies.

Developers have urges to add binary files in git repositories occasionally when they don't know anything better. It is for sure always the wrong solution however. Good that e.g. ColumnStore removed libjemalloc.so in https://github.com/mariadb-corporation/mariadb-columnstore-engine/commit/c74beb617858bf4a8f9ae95ad25451cd99764c8a. Same should follow for all binaries/pre-built objects.

When I realized that compiling could failed because Java was not present on the machine making the distribution, I decided to add pre-built jar files instead of Java source files.

Please remove them and just add instructions on what are the build dependencies, so people who use the source can build them. Consumers of source packages do know where to get their dependencies from, there is no need to distribute the source with parts pre-built.

Comment by Olivier Bertrand [ 2021-06-06 ]

Currently, the java source files are parts of Eclipse neon3 packages and the jar files are generated by Eclipse.
The source files are also copied in the Connect source directory and pushed in the git repository.

The generated jar files were also copied in the storage/connect/mysql-test/connect/std_data to be used by tests.
Recently, they have been also copied in the Connect source directory. This was to make possible to install them by the CMakeLists.txt file:

IF(CONNECT_WITH_JDBC AND JAVA_FOUND AND JNI_FOUND)
  # TODO: Find how to compile and install the java wrapper classes
  # Find required libraries and include directories
  SET (JAVA_SOURCES JdbcInterface.java)
  add_jar(JdbcInterface ${JAVA_SOURCES})
  INSTALL(FILES
    ${CMAKE_CURRENT_SOURCE_DIR}/JavaWrappers.jar
    ${CMAKE_CURRENT_BINARY_DIR}/JdbcInterface.jar
    DESTINATION ${INSTALL_MYSQLSHAREDIR} COMPONENT connect-engine)
  IF(CONNECT_WITH_MONGO)
    INSTALL(FILES
      ${CMAKE_CURRENT_SOURCE_DIR}/Mongo2.jar
      ${CMAKE_CURRENT_SOURCE_DIR}/Mongo3.jar
      DESTINATION ${INSTALL_MYSQLSHAREDIR} COMPONENT connect-engine)
  ENDIF()
ENDIF()

I understand this is wrong. The solution could be to compile the source for instance by:

IF(CONNECT_WITH_JDBC AND JAVA_FOUND AND JNI_FOUND)
  SET (JAVA_SOURCES ApacheInterface.java Client.java JdbcInterface.java MariadbInterface.java
  MysqlInterface.java OracleInterface.java PostgresqlIterface.java)
  add_jar(JavaWrappers ${JAVA_SOURCES})
  INSTALL(FILES
    ${CMAKE_CURRENT_BINARY_DIR}/JavaWrappers.jar
    DESTINATION ${INSTALL_MYSQLSHAREDIR} COMPONENT connect-engine)
  IF(CONNECT_WITH_MONGO)
    SET (MONG2_SOURCES Client2.java Mongo2Interface.java TestInsert2.java)
    add_jar(Mongo2.jar ${MONGO2_SOURCES})
    SET (MONG3_SOURCES Client3.java Mongo3Interface.java TestInsert3.java)
    add_jar(Mongo3.jar ${MONGO3_SOURCES})
    INSTALL(FILES
      ${CMAKE_CURRENT_BINARY_DIR}/Mongo2.jar
      ${CMAKE_CURRENT_BINARY_DIR}/Mongo3.jar
      DESTINATION ${INSTALL_MYSQLSHAREDIR} COMPONENT connect-engine)
  ENDIF()
ENDIF()

After testing that this works for all distributions.

Another way could be to just install them from the storage/connect/mysql-test/connect/std_data directory. It is not the source directory and this would also work for distributions unable to properly compile the java source files.

Comment by Otto Kekäläinen [ 2021-06-06 ]

After testing that this works for all distributions.

Don't put too much emphasize on this. Yes it is good to test, but don't get too limited about what downstream distributions do today. Do the right thing and compile from source, with dependencies properly checked and documented.

You are the upstream, you improve things, and downstream distributions will follow.

Comment by Olivier Bertrand [ 2021-06-06 ]

Just because the actual way does work and I don't want to switch to something that would not.

Generated at Thu Feb 08 09:10:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.