Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692434 - net-ftp/proftpd-1.3.6-r5 : mod_sql_mysql.c:498:5: error: unknown type name my_bool
Summary: net-ftp/proftpd-1.3.6-r5 : mod_sql_mysql.c:498:5: error: unknown type name my...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergei Trofimovich (RETIRED)
URL: https://github.com/proftpd/proftpd/is...
Whiteboard:
Keywords:
Depends on:
Blocks: mysql-8
  Show dependency tree
 
Reported: 2019-08-18 07:58 UTC by Toralf Förster
Modified: 2019-08-19 20:15 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.90 KB, text/plain)
2019-08-18 07:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,75.33 KB, text/plain)
2019-08-18 07:58 UTC, Toralf Förster
Details
environment (environment,66.83 KB, text/plain)
2019-08-18 07:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.55 KB, application/x-bzip)
2019-08-18 07:58 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,26.79 KB, application/x-bzip)
2019-08-18 07:58 UTC, Toralf Förster
Details
net-ftp:proftpd-1.3.6-r5:20190818-014830.log (net-ftp:proftpd-1.3.6-r5:20190818-014830.log,70.19 KB, text/plain)
2019-08-18 07:58 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.75 KB, application/x-bzip)
2019-08-18 07:58 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:21 UTC
      |  ^~~~~~~
mod_sql_mysql.c: In function ‘cmd_open’:
mod_sql_mysql.c:498:5: error: unknown type name ‘my_bool’; did you mean ‘bool’?
  498 |     my_bool reconnect = TRUE;
      |     ^~~~~~~
      |     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 net-ftp/proftpd
[ebuild  N    ] net-ftp/proftpd-1.3.6-r5  USE="acl ipv6 ldap mysql ncurses nls pam pcre ssl tcpd -authfile -ban -caps -case -clamav -copy -ctrls -deflate -diskuse -dso -dynmasq -exec -ident -ifsession -ifversion -kerberos -libressl -log_forensic -memcache -msg -postgres -qos -radius -ratio -readme -rewrite (-selinux) -sftp -shaper -sitemisc -snmp -sodium -softquota -sqlite -test -unique_id -vroot"
Comment 1 Toralf Förster gentoo-dev 2019-08-18 07:58:23 UTC
Created attachment 587302 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-18 07:58:26 UTC
Created attachment 587304 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-08-18 07:58:28 UTC
Created attachment 587306 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-08-18 07:58:31 UTC
Created attachment 587308 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-08-18 07:58:34 UTC
Created attachment 587310 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-18 07:58:36 UTC
Created attachment 587312 [details]
net-ftp:proftpd-1.3.6-r5:20190818-014830.log
Comment 7 Toralf Förster gentoo-dev 2019-08-18 07:58:39 UTC
Created attachment 587314 [details]
temp.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2019-08-18 10:39:17 UTC
Must be an effect of https://bugs.mysql.com/bug.php?id=85131
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2019-08-18 15:47:23 UTC
Filed https://github.com/proftpd/proftpd/issues/824 upstream.
Comment 10 Larry the Git Cow gentoo-dev 2019-08-19 07:43:58 UTC
The bug has been closed via the following commit(s):

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

commit 43eb094f5dfa9abe3c8860eb7f4e1aae7f18dea5
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-08-19 07:43:33 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-08-19 07:43:49 +0000

    net-ftp/proftpd: tweak for mysql-8, bug #692434
    
    mysql-8 dropped my_bool in favoud or bool from <stdbool.h>.
    
    Bug: https://bugs.mysql.com/bug.php?id=85131
    Bug: https://github.com/proftpd/proftpd/issues/824
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/692434
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 net-ftp/proftpd/files/proftpd-1.3.6-mysql-8.patch | 24 +++++++++++++++++++++++
 net-ftp/proftpd/proftpd-1.3.6-r5.ebuild           |  1 +
 2 files changed, 25 insertions(+)