Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692436 - mail-filter/dspam-3.10.2-r2 : mysql_drv.c:3464:7: error: unknown type name my_bool
Summary: mail-filter/dspam-3.10.2-r2 : mysql_drv.c:3464:7: error: unknown type name my...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: mysql-8
  Show dependency tree
 
Reported: 2019-08-18 07:58 UTC by Toralf Förster
Modified: 2020-09-04 00:12 UTC (History)
0 users

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


Attachments
emerge-history.txt (emerge-history.txt,83.17 KB, text/plain)
2019-08-18 07:59 UTC, Toralf Förster
Details
environment (environment,40.84 KB, text/plain)
2019-08-18 07:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.62 KB, application/x-bzip)
2019-08-18 07:59 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.13 KB, application/x-bzip)
2019-08-18 07:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,16.10 KB, application/x-bzip)
2019-08-18 07:59 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-08-18 07:58:44 UTC
      |         ^~~~
mysql_drv.c: In function '_mysql_drv_connect':
mysql_drv.c:3464:7: error: unknown type name 'my_bool'; did you mean 'bool'?
 3464 |       my_bool reconnect = 1;
      |       ^~~~~~~
      |       bool

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20190816-031830

  -------------------------------------------------------------------

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) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO mail-filter/dspam
[ebuild  N    ] mail-filter/dspam-3.10.2-r2  USE="domain-scale hash ldap mysql -clamav -daemon -debug -large-scale -postgres -small-scale -sqlite -static-libs -syslog -user-homedirs -virtual-users"
Comment 1 Toralf Förster gentoo-dev 2019-08-18 07:59:12 UTC
Created attachment 587316 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-18 07:59:15 UTC
Created attachment 587318 [details]
environment
Comment 3 Toralf Förster gentoo-dev 2019-08-18 07:59:18 UTC
Created attachment 587320 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2019-08-18 07:59:20 UTC
Created attachment 587322 [details]
logs.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-08-18 07:59:45 UTC
Created attachment 587324 [details]
temp.tbz2
Comment 6 Neil Bothwick 2019-08-29 18:44:45 UTC
Replacing my_bool with bool at mysql_drv.c:3464 resulted in a successful compilation and dspam appears to be working normally after the rebuild.
Comment 7 Larry the Git Cow gentoo-dev 2020-08-04 02:43:41 UTC
The bug has been referenced in the following commit(s):

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

commit d171af00bde657b42eead2f34beab6cc60a72f63
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-08-04 01:19:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-08-04 02:43:10 +0000

    profiles/package.mask: last-rite mail-filter/dspam
    
    Bug: https://bugs.gentoo.org/630884
    Bug: https://bugs.gentoo.org/713404
    Bug: https://bugs.gentoo.org/707274
    Bug: https://bugs.gentoo.org/692436
    Bug: https://bugs.gentoo.org/490322
    Bug: https://bugs.gentoo.org/626474
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2020-08-07 03:18:17 UTC
The bug has been referenced in the following commit(s):

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

commit be405622188b0d2ae4c0bd877b8f9ff74c6e6281
Author:     Adam Feldman <NP-Hardass@gentoo.org>
AuthorDate: 2020-07-07 15:05:53 +0000
Commit:     Adam Feldman <NP-Hardass@gentoo.org>
CommitDate: 2020-08-07 03:17:24 +0000

    mail-filter/dspam: add mysql-8 compatibility
    
    Bug: https://bugs.gentoo.org/692436
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>

 mail-filter/dspam/dspam-3.10.2-r3.ebuild           | 223 +++++++++++++++++++++
 .../dspam-3.10.2-mysql8-my_bool-typedef.patch      |  13 ++
 2 files changed, 236 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2020-09-04 00:10:44 UTC
The bug has been referenced in the following commit(s):

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

commit 591c43d3d90dd3aa1752e8a90b49cc8467058a4b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-04 00:07:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-04 00:09:19 +0000

    mail-filter/dspam: remove last-rited pkg
    
    Bug: https://bugs.gentoo.org/692436
    Bug: https://bugs.gentoo.org/630884
    Bug: https://bugs.gentoo.org/626474
    Bug: https://bugs.gentoo.org/490322
    Bug: https://bugs.gentoo.org/707274
    Bug: https://bugs.gentoo.org/713404
    Bug: https://bugs.gentoo.org/665910
    Bug: https://bugs.gentoo.org/520844
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-filter/dspam/Manifest                         |   1 -
 mail-filter/dspam/dspam-3.10.2-r2.ebuild           | 221 --------------------
 mail-filter/dspam/dspam-3.10.2-r3.ebuild           | 223 ---------------------
 .../dspam-3.10.2-mysql8-my_bool-typedef.patch      |  13 --
 mail-filter/dspam/files/dspam.confd                |   7 -
 mail-filter/dspam/files/dspam.cron-r4              |   5 -
 mail-filter/dspam/files/dspam.initd                |  44 ----
 mail-filter/dspam/files/dspam.logrotate            |  10 -
 mail-filter/dspam/metadata.xml                     |  35 ----
 profiles/package.mask                              |   1 -
 10 files changed, 560 deletions(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-04 00:12:04 UTC
Package removed following last-rites.