Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 692654

Summary: =net-analyzer/icinga2-2.10.6: lib/mysql_shim/mysqlinterface.hpp:55:10: error: ‘my_bool’ does not name a type; did you mean ‘bool’?
Product: Gentoo Linux Reporter: Jorge Manuel B. S. Vicetto <jmbsvicetto>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED OBSOLETE    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 692570    
Attachments: build log
emerge --info

Description Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2019-08-21 01:27:55 UTC
In file included from /var/tmp/portage/net-analyzer/icinga2-2.10.6/work/icinga2-2.10.6/lib/mysql_shim/mysqlinterface.cpp:20:
/var/tmp/portage/net-analyzer/icinga2-2.10.6/work/icinga2-2.10.6/lib/mysql_shim/mysqlinterface.hpp:55:10: error: ‘my_bool’ does not name a type; did you mean ‘bool’?
   55 |  virtual my_bool ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) const = 0;
      |          ^~~~~~~
      |          bool
/var/tmp/portage/net-analyzer/icinga2-2.10.6/work/icinga2-2.10.6/lib/mysql_shim/mysqlinterface.cpp:112:2: error: ‘my_bool’ does not name a type; did you mean ‘bool’?
  112 |  my_bool ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) const override
      |  ^~~~~~~
      |  bool

This is caused by an incompatibility with dev-db/mysql-connector-c-8.0.17-r1.
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2019-08-21 01:31:54 UTC
Created attachment 587718 [details]
build log
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2019-08-21 01:32:26 UTC
Created attachment 587720 [details]
emerge --info
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2019-08-21 14:39:57 UTC
try / test the patch from https://github.com/Icinga/icinga2/pull/7152.patch please
Comment 4 Tomáš Mózes 2022-11-05 09:14:36 UTC
Cannot reproduce, please reopen if it persists.