x86_64-pc-linux-gnu-gcc -c -o build/dbd_mysql_statement.o dbd/mysql/statement.c -O2 -pipe -march=native -fPIC -pedantic -shared -fpic -I /usr/include/lua5.1 -I /usr/include/mysql -I /usr/include/postgresql/ -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . -I/usr/include/mysql dbd/mysql/statement.c: In function ‘statement_execute’: dbd/mysql/statement.c:203:22: error: ‘my_bool’ undeclared (first use in this function); did you mean ‘bool’? 203 | bind[i].is_null = (my_bool*)1; | ^~~~~~~ | bool ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20190920-192958 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository timestamp: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 21 Sep 2019 18:52:16 +0000 emerge -qpvO dev-lua/luadbi [ebuild N ] dev-lua/luadbi-0.5-r6 USE="mysql sqlite -postgres"
Created attachment 590574 [details] emerge-info.txt
Created attachment 590576 [details] dev-lua:luadbi-0.5-r6:20190921-191709.log
Created attachment 590578 [details] emerge-history.txt
Created attachment 590580 [details] environment
Created attachment 590582 [details] etc.portage.tbz2
Created attachment 590584 [details] logs.tbz2
Created attachment 617616 [details, diff] fix compilation with mysql-connector-c-8 This patch fixes compilation for me. Additionally, remove invalid assignment to is_null as per https://github.com/mwild1/luadbi/issues/56.
luadbi update is blocked on several computer here because of this bug.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af72c733c6f6687dde699b73c9197c20ab5cf97d commit af72c733c6f6687dde699b73c9197c20ab5cf97d Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2020-10-11 23:33:07 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-10-11 23:33:07 +0000 dev-lua/luadbi: fix compilation with mysql-8 Closes: https://bugs.gentoo.org/695378 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-lua/luadbi/files/luadbi-0.5-mysql-8.patch | 78 +++++++++++++++++++++++++++ dev-lua/luadbi/luadbi-0.5-r5.ebuild | 1 + dev-lua/luadbi/luadbi-0.5-r6.ebuild | 5 +- 3 files changed, 83 insertions(+), 1 deletion(-)