Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698782 - dev-db/libzdb-3.1-r1 : src/.../MysqlConnection.c:95:9: error: unknown type name my_bool
Summary: dev-db/libzdb-3.1-r1 : src/.../MysqlConnection.c:95:9: error: unknown type na...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Raschbacher
URL:
Whiteboard:
Keywords:
Depends on: 820629
Blocks: mysql-8
  Show dependency tree
 
Reported: 2019-10-28 19:20 UTC by Toralf Förster
Modified: 2022-02-03 11:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.38 KB, text/plain)
2019-10-28 19:20 UTC, Toralf Förster
Details
dev-db:libzdb-3.1-r1:20191028-053941.log (dev-db:libzdb-3.1-r1:20191028-053941.log,23.72 KB, text/plain)
2019-10-28 19:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,114.69 KB, text/plain)
2019-10-28 19:21 UTC, Toralf Förster
Details
environment (environment,46.55 KB, text/plain)
2019-10-28 19:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.37 KB, application/x-bzip)
2019-10-28 19:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,20.19 KB, application/x-bzip)
2019-10-28 19:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.45 KB, application/x-bzip)
2019-10-28 19:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-10-28 19:20:52 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2019-10-28 19:20:55 UTC
Created attachment 594266 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-10-28 19:20:58 UTC
Created attachment 594268 [details]
dev-db:libzdb-3.1-r1:20191028-053941.log
Comment 3 Toralf Förster gentoo-dev 2019-10-28 19:21:00 UTC
Created attachment 594270 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-10-28 19:21:03 UTC
Created attachment 594272 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-10-28 19:21:08 UTC
Created attachment 594274 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-10-28 19:21:11 UTC
Created attachment 594276 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-10-28 19:21:14 UTC
Created attachment 594278 [details]
temp.tbz2
Comment 8 Thomas Raschbacher gentoo-dev 2021-03-26 21:52:06 UTC
i was wondering .. is this still a problem wiht the new version(s)?
Comment 9 Isaac 2021-07-20 08:02:32 UTC
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
Comment 10 Isaac 2021-07-20 23:42:19 UTC
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.
Comment 11 Isaac 2021-07-21 02:41:58 UTC
Same issue with MySQL V5
Comment 12 Thomas Raschbacher gentoo-dev 2021-09-02 18:39:59 UTC
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?
Comment 13 Thomas Raschbacher gentoo-dev 2021-09-02 19:13:47 UTC
also libzdb-3.1-r1 compiles fine on my machine as well.
Do you have this issue on only one machine or multiple?
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-12 04:07:32 UTC
Should be fixed at least with the stabilisation in bug 820629?