Created attachment 588868 [details] build.log >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r4/work/libnss-mysql ... ... mysql.c: In function '_nss_mysql_set_options': mysql.c:141:9: error: unknown type name 'my_bool' const my_bool reconnect = 1; ^~~~~~~ make[2]: *** [Makefile:323: mysql.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I /usr/include/mysql -D_REENTRANT -mtune=native -O2 -pipe -fstack-protector -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -c lookup.c -fPIC -DPIC -o .libs/lookup.o make[2]: Leaving directory '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r4/work/libnss-mysql/src' make[1]: *** [Makefile:264: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r4/work/libnss-mysql' make: *** [Makefile:193: all] Error 2 * ERROR: sys-auth/libnss-mysql-1.5_p20060915-r4::gentoo failed (compile phase): * emake failed using: dev-db/mariadb-10.4.7-r1 other info and patch in attachment
Created attachment 588870 [details] emerge --info output
Created attachment 588872 [details] new r5 ebuild with patch
Created attachment 588874 [details, diff] files/libnss-mysql-1.5_p20060915-mariadb-bool.diff files/libnss-mysql-1.5_p20060915-mariadb-bool.diff
Created attachment 588876 [details, diff] ebuild patch
I can confirm the patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8515ca38ffc7da23296958f80ed6f0cef6ad86fb commit 8515ca38ffc7da23296958f80ed6f0cef6ad86fb Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-03-26 21:32:40 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-03-26 21:33:44 +0000 sys-auth/libnss-mysql: fix building against MariaDB 10.2+ and MySQL 8 Closes: https://github.com/gentoo/gentoo/pull/15083 Closes: https://bugs.gentoo.org/693392 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../libnss-mysql-1.5_p20060915-mariadb10.2.patch | 35 ++++++++++++ .../libnss-mysql-1.5_p20060915-multiarch.patch | 21 ++++++++ .../libnss-mysql-1.5_p20060915-r5.ebuild | 62 ++++++++++++++++++++++ 3 files changed, 118 insertions(+)