libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/mysql -I/usr/include/mysql -I/usr//include -Isrc -Isrc/util -Isrc/net -Isrc/db -Isrc/exceptions -I/usr/include/mysql -Wno-address -Wno-pointer-sign -O2 -pipe -march=native -DSQLITEUNLOCK -Wall -Wunused -Wno-unused-label -funsigned-char -std=gnu99 -c src/db/mysql/MysqlConnection.c -fPIC -DPIC -o src/db/mysql/.libs/MysqlConnection.o src/db/mysql/MysqlConnection.c: In function ‘_doConnect’: src/db/mysql/MysqlConnection.c:95:9: error: unknown type name ‘my_bool’; did you mean ‘bool’? 95 | my_bool yes = 1; | ^~~~~~~ | bool ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-20191026-021710 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.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) * Available Rust versions: [1] rust-1.38.0 * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Mon, 28 Oct 2019 04:26:13 +0000 emerge -qpvO dev-db/libzdb [ebuild N ] dev-db/libzdb-3.1-r1 USE="mysql sqlite ssl -debug -doc -postgres -static-libs"
Created attachment 594266 [details] emerge-info.txt
Created attachment 594268 [details] dev-db:libzdb-3.1-r1:20191028-053941.log
Created attachment 594270 [details] emerge-history.txt
Created attachment 594272 [details] environment
Created attachment 594274 [details] etc.portage.tbz2
Created attachment 594276 [details] logs.tbz2
Created attachment 594278 [details] temp.tbz2
i was wondering .. is this still a problem wiht the new version(s)?
Hi, Confirming that as of 2021-06-20, this is still an issue when attempting to compile. (Is pulled in when trying to install DBMail). Isaac
Further to my last, there is a second issue with this install: "error: ‘MYSQL_SECURE_AUTH’ undeclared (first use in this function); did you mean ‘MYSQL_DEFAULT_AUTH" Both issues appear to be related to MySql V8. I'll retry with V5 and report back.
Same issue with MySQL V5
I just tried this on my machine with dev-db/mysql-connector-c-8.0.26 and dev-db/libzdb-3.2.2 and it compiled just fine. using gcc 10.3.0 even installed dev-db/mysql:8.0 .. still compils and installs fine here.. can you send me an up2date emerge --info and build.log please?
also libzdb-3.1-r1 compiles fine on my machine as well. Do you have this issue on only one machine or multiple?
Should be fixed at least with the stabilisation in bug 820629?