dev-db/mariadb-10.3.5_rc builds but does not install my_print_defaults binary. Init script will fail for missing my_print_defaults. ana portage # cd /tmp/portage/dev-db/mariadb-10.3.5_rc/work/ ana work # find . -type f -name '*my_print_defaults*' ./mysql/man/my_print_defaults.1 ./mysql/extra/my_print_defaults.c ./mariadb-10.3.5_rc_build/extra/CMakeFiles/my_print_defaults.dir/my_print_defaults.c.o ./mariadb-10.3.5_rc_build/extra/my_print_defaults ana work # cd ../image/ ana image # find . -type f -name '*my_print_defaults*' ./usr/share/man/man1/my_print_defaults.1.bz2 ana image # emerge -pv maridb [ebuild R ] dev-db/mariadb-10.3.5_rc:0/18::gentoo USE="libressl server -backup -bindist (-client-libs) -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -mroonga -numa -odbc -oqgraph -pam -perl -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap -tcmalloc {-test} -tokudb -xml -yassl" ABI_X86="(64) -32 (-x32)" 0 KiB
This is expected as mysql-connector-c will install this file. Having MariaDB to also install it will conflict.
If you try to use mariadb-connector-c instead of mysql-connector-c, my_print_defaults is not installed. Seems like mariadb-connector-c should install this to keep things working with the init scripts.