Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692446 - dev-db/mysql-connector-c-8.0 does not define my_bool type
Summary: dev-db/mysql-connector-c-8.0 does not define my_bool type
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-18 13:24 UTC by email200202
Modified: 2019-08-20 18:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2019-08-18 13:24:56 UTC
During world update today, dev-db/mysql-connector-c was upgraded to version 8.0.17-r1. After this upgrade, the following packages failed to compile because of missing "my_bool" type:

net-analyzer/net-snmp-5.8-r1
snmptrapd_sql.c:202:8: error: unknown type name 'my_bool'
  202 | static my_bool    _no_v3;
      |        ^~~~~~~

dev-libs/redland-1.0.17-r2
rdf_storage_mysql.c:450:5: error: unknown type name 'my_bool'; did you mean 'bool'?
  450 |     my_bool value=(context->reconnect) ? 1 : 0;
      |     ^~~~~~~
      |     bool

media-video/motion-4.1.1-r1
motion.c:1146:13: error: unknown type name ‘my_bool’; did you mean ‘bool’?
 1146 |             my_bool my_true = TRUE;
      |             ^~~~~~~
      |             bool

The workaround was to add these entries to package.mask
>=dev-db/mysql-connector-c-8.0
=virtual/libmysqlclient-21
Comment 1 Klemen Mihevc 2019-08-18 19:39:29 UTC
also you can add net-dns/bind to the list...
Comment 2 Klemen Mihevc 2019-08-18 19:41:45 UTC
and net-mail/mailutils failing with following error:

In file included from /usr/include/mysql/mysql.h:81,
                 from mysql.c:25:
/usr/include/mysql/mysql_com.h:1005:10: fatal error: mysql/udf_registration_types.h: No such file or directory
 1005 | #include <mysql/udf_registration_types.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1121: mysql.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/net-mail/mailutils-3.7/work/mailutils-3.7/sql'
Comment 3 Arfrever Frehtes Taifersar Arahesis 2019-08-19 00:28:57 UTC
> net-analyzer/net-snmp

Bug #692478

> dev-libs/redland
> media-video/motion
> net-dns/bind
> et-mail/mailutils

File separate bug for each package.
Comment 4 email200202 2019-08-20 12:18:06 UTC
This version should be masked until the application which depend are adjusted to the new api as per the recommendation of the maintainer:

"Mask these packages for further testing There is known API breakage and some packages fail, particularly with "my_bool" dropped for "bool""
https://packages.gentoo.org/packages/dev-db/mysql-connector-c
Comment 5 Arfrever Frehtes Taifersar Arahesis 2019-08-20 18:18:37 UTC
> dev-libs/redland

Bug #692462

> net-mail/mailutils

Bug #692574