Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638360 - dev-db/mysql-connector-c-6.1.9-r1 : /.../client_authentication.cc:86:59: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Summary: dev-db/mysql-connector-c-6.1.9-r1 : /.../client_authentication.cc:86:59: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-21 18:23 UTC by Toralf Förster
Modified: 2017-11-21 19:34 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.51 KB, text/plain)
2017-11-21 18:23 UTC, Toralf Förster
Details
dev-db:mysql-connector-c-6.1.9-r1:20171121-020506.log (dev-db:mysql-connector-c-6.1.9-r1:20171121-020506.log,228.29 KB, text/plain)
2017-11-21 18:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,66.74 KB, text/plain)
2017-11-21 18:23 UTC, Toralf Förster
Details
environment (environment,137.69 KB, text/plain)
2017-11-21 18:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.72 KB, application/x-bzip)
2017-11-21 18:23 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,15.29 KB, application/x-bzip)
2017-11-21 18:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,43.57 KB, application/x-bzip)
2017-11-21 18:24 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 2017-11-21 18:23:40 UTC
/var/tmp/portage/dev-db/mysql-connector-c-6.1.9-r1/work/mysql-connector-c-6.1.9-src/sql-common/client_authentication.cc: In function ‘RSA* rsa_init(MYSQL*)’:
/var/tmp/portage/dev-db/mysql-connector-c-6.1.9-r1/work/mysql-connector-c-6.1.9-src/sql-common/client_authentication.cc:86:59: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       mysql->options.extension->server_public_key_path != '\0')
                                                           ^~~~
make[2]: *** [libmysql/CMakeFiles/clientlib.dir/build.make:207: libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_authentication.cc.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_20171119-230025

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-db/mysql-connector-c
[ebuild  N    ] dev-db/mysql-connector-c-6.1.9-r1  USE="ssl -static-libs" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2017-11-21 18:23:43 UTC
Created attachment 505368 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-21 18:23:46 UTC
Created attachment 505370 [details]
dev-db:mysql-connector-c-6.1.9-r1:20171121-020506.log
Comment 3 Toralf Förster gentoo-dev 2017-11-21 18:23:49 UTC
Created attachment 505372 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-21 18:23:52 UTC
Created attachment 505374 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-21 18:23:55 UTC
Created attachment 505376 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-21 18:23:58 UTC
Created attachment 505378 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-11-21 18:24:01 UTC
Created attachment 505380 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2017-11-21 19:34:32 UTC
The bug has been closed via the following commit(s):

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

commit e8c5b876c36e2dd221aa26edd577c296fbef39f8
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2017-11-21 18:48:25 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2017-11-21 19:34:14 +0000

    dev-db/mysql-connector-c: Version bump and fix gcc 7 build
    
    Closes: https://bugs.gentoo.org/638360
    Package-Manager: Portage-2.3.15, Repoman-2.3.6

 dev-db/mysql-connector-c/Manifest                  |  1 +
 .../files/20028_all_mysql-5.6-gcc7.patch           | 13 ++++
 .../mysql-connector-c-6.1.11.ebuild                | 82 ++++++++++++++++++++++
 3 files changed, 96 insertions(+)