| ^~~~~~ ./generic/mysqltcl.c: In function ‘Mysqltcl_Connect’: ./generic/mysqltcl.c:914:7: error: unknown type name ‘my_bool’; did you mean ‘bool’? 914 | my_bool reconnect = 1; | ^~~~~~~ | bool ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib_hardened-20190819-081805 ------------------------------------------------------------------- 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) * emerge -qpvO dev-tcltk/mysqltcl [ebuild N ] dev-tcltk/mysqltcl-3.052-r1
Created attachment 587570 [details] emerge-info.txt
Created attachment 587572 [details] dev-tcltk:mysqltcl-3.052-r1:20190819-185532.log
Created attachment 587574 [details] emerge-history.txt
Created attachment 587576 [details] environment
Created attachment 587578 [details] etc.portage.tbz2
Created attachment 587580 [details] logs.tbz2
Created attachment 587582 [details] temp.tbz2
hello, same problem with the actual packages on 32 and 64 bit system. goodby
hello, i have analysed that problem and insert the line: typedef char my_bool; in mysql/mysql.h this is definded in mariadb/mysql.h but mysqltcl use mysql/mysql.h to compile the program and this don't work while type my_bool is missing in this include. i test the program and it works. goodby
i can confirm dieter ferdinand typedef char my_bool; in mysql/mysql.h this is definded in mariadb/mysql.h but mysqltcl use mysql/mysql.h to compile the program and this don't work while type my_bool is missing in this include. i test the program and it works. goodby
Created attachment 642800 [details, diff] mysqlctl-3.052-mysql8-my_bool_typedef.patch A little hackish, but should work.
hello, it's not possible to patch mysql.h because some other programs with the same problem define this type. this make problems, if they use an other type for my_bool. the source of mysql-tcl must be changed to define this type, if it is not defined by mysql.h. goodby
Dear treecleaner@: I'm still able to reproduce this issue right now. Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158af6bdf1458555d87fd95cb08b9462218a0ff9 commit 158af6bdf1458555d87fd95cb08b9462218a0ff9 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-12-23 18:25:42 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-12-23 18:26:11 +0000 package.mask: Last rite dev-tcltk/mysqltcl Bug: https://bugs.gentoo.org/692562 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7324eada9db40f31248030db07b71b0864c263e9 commit 7324eada9db40f31248030db07b71b0864c263e9 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2022-12-24 17:27:53 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2022-12-24 17:28:27 +0000 dev-tcltk/mysqltcl: fix with newer mysql API Closes: https://bugs.gentoo.org/692562 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> dev-tcltk/mysqltcl/files/mysqltcl-3.05-API.patch | 11 +++++++++++ dev-tcltk/mysqltcl/mysqltcl-3.052-r1.ebuild | 7 +++++-- 2 files changed, 16 insertions(+), 2 deletions(-)