Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692656 - =net-analyzer/cacti-spine-1.2.5: sql.c:232:2: error: unknown type name ‘my_bool’; did you mean ‘bool’?
Summary: =net-analyzer/cacti-spine-1.2.5: sql.c:232:2: error: unknown type name ‘my_bo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: mysql-8
  Show dependency tree
 
Reported: 2019-08-21 01:38 UTC by Jorge Manuel B. S. Vicetto
Modified: 2019-08-22 10:50 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,5.44 KB, text/plain)
2019-08-21 01:41 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
build log (cacti-spine-build-log.txt,12.40 KB, text/plain)
2019-08-21 01:42 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
Patch for cacti-spine to build against mysql-connector-c-8.0 (cacti-spine-mysql8.patch,650 bytes, patch)
2019-08-22 00:30 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2019-08-21 01:38:20 UTC
sql.c: In function ‘db_connect’:
sql.c:232:2: error: unknown type name ‘my_bool’; did you mean ‘bool’?
  232 |  my_bool reconnect = 1;
      |  ^~~~~~~
      |  bool
make: *** [Makefile:502: sql.o] Error 1

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:41:04 UTC
Created attachment 587722 [details]
emerge --info
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2019-08-21 01:42:20 UTC
Created attachment 587724 [details]
build log
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2019-08-22 00:15:20 UTC
Should be fixed with (I'm going to test it locally):

https://github.com/Cacti/spine/commit/6861ec4de19511a74a4b5f628e912d18c52c7a86
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2019-08-22 00:30:18 UTC
Created attachment 587784 [details, diff]
Patch for cacti-spine to build against mysql-connector-c-8.0

I've tested the patch locally and was able to build cacti-spine.
I'll test run it later / tomorrow.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2019-08-22 07:50:57 UTC
(In reply to Jorge Manuel B. S. Vicetto from comment #3)
> Should be fixed with (I'm going to test it locally):
> 
> https://github.com/Cacti/spine/commit/
> 6861ec4de19511a74a4b5f628e912d18c52c7a86

Obviously. See also [See Also: https://github.com/Cacti/spine/issues/101] above...
Comment 6 Larry the Git Cow gentoo-dev 2019-08-22 10:50:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff8321fce2d9cab334c5dffaa9489fded567e99

commit cff8321fce2d9cab334c5dffaa9489fded567e99
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-08-22 10:50:07 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-08-22 10:50:38 +0000

    net-analyzer/cacti-spine: Fix building against dev-db/mysql-connector-c-8*
    
    Fixes: https://bugs.gentoo.org/692656
    Package-Manager: Portage-2.3.72, Repoman-2.3.17
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../{cacti-spine-1.2.5.ebuild => cacti-spine-1.2.5-r1.ebuild} |  1 +
 .../cacti-spine/files/cacti-spine-1.2.5-my_bool.patch         | 11 +++++++++++
 2 files changed, 12 insertions(+)