Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645894 - dev-db/mysql-5.5.59 fails to build: invalid conversion from 'char' to 'char*'
Summary: dev-db/mysql-5.5.59 fails to build: invalid conversion from 'char' to 'char*'
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: 2018-01-27 12:21 UTC by Andrew Church
Modified: 2018-02-26 08:02 UTC (History)
1 user (show)

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


Attachments
build.log (compressed) (build.log.gz,39.96 KB, application/gzip)
2018-01-27 12:21 UTC, Andrew Church
Details
emerge --info (emerge-info,5.61 KB, text/plain)
2018-01-27 12:22 UTC, Andrew Church
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Church 2018-01-27 12:21:07 UTC
Created attachment 516894 [details]
build.log (compressed)

/tmp/portage/dev-db/mysql-5.5.59/work/mysql/client/mysql.cc: In function 'void build_completion_hash(bool, bool)':
/tmp/portage/dev-db/mysql-5.5.59/work/mysql/client/mysql.cc:2674:37: error: invalid conversion from 'char' to 'char*' [-fpermissive]
       field_names[i][num_fields*2]= '\0';
Comment 1 Andrew Church 2018-01-27 12:22:31 UTC
Created attachment 516896 [details]
emerge --info
Comment 2 Jonas Stein gentoo-dev 2018-01-27 17:00:39 UTC
invalid conversion from 'char' to 'char*'
sounds like a upstream bug to me, is it reported already?
Comment 3 Andrew Church 2018-01-27 17:29:58 UTC
Not that I can find.
I can't [won't] report it myself because the site requires too much unnecessary personal information to create an account.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-13 00:07:10 UTC
Patch: https://github.com/MariaDB/server/commit/7338d3f221e33042dfcf5c1a245317aa7cb015a7
Comment 5 Larry the Git Cow gentoo-dev 2018-02-14 00:43:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=bb6f2115f03bcc765a2b1958016cbc1c6c9918c9

commit bb6f2115f03bcc765a2b1958016cbc1c6c9918c9
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-02-14 00:05:17 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-02-14 00:24:32 +0000

    Add patch to fix invalid type in MySQL 5.5
    
    Bug: https://bugs.gentoo.org/645894

 00000_index.txt                                 |  6 +++++
 20030_all_mysql-5.5-fix-client-mysql-type.patch | 29 +++++++++++++++++++++++++
 2 files changed, 35 insertions(+)}
Comment 6 Larry the Git Cow gentoo-dev 2018-02-14 00:46:58 UTC
The bug has been closed via the following commit(s):

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

commit 69e9e17149d3232daf4cf16a2ff969516ace1284
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-02-14 00:30:05 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-02-14 00:46:45 +0000

    dev-db/mysql: Bump patch set to fix compilation problem
    
    Closes: https://bugs.gentoo.org/645894
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/mysql/Manifest            | 1 +
 dev-db/mysql/mysql-5.5.59.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
Comment 7 Manuel Schmitt 2018-02-26 08:02:38 UTC
The file

    mysql-extras-20180214-0024Z.tar.bz2

is not available in distfiles (not on primary server and not on mirrors), see e.g.

    http://distfiles.gentoo.org/distfiles/mysql-extras-20180214-0024Z.tar.bz2