Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658910 - dev-db/mysql-connector-c-6.1.11-r1: viossl.c:430:44: error: dereferencing pointer to incomplete type ‘SSL_COMP {aka struct ssl_comp_st}’
Summary: dev-db/mysql-connector-c-6.1.11-r1: viossl.c:430:44: error: dereferencing poi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2018-06-24 08:58 UTC by Andreas Sturmlechner
Modified: 2018-09-20 10:41 UTC (History)
0 users

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


Attachments
build.log (build.log,105.56 KB, text/x-log)
2018-06-24 08:58 UTC, Andreas Sturmlechner
Details
build log (dev-db:mysql-connector-c-6.1.11-r1:20180920-103603.log,458.83 KB, text/plain)
2018-09-20 10:38 UTC, Hanno Böck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2018-06-24 08:58:21 UTC
Created attachment 536998 [details]
build.log

The usual openssl-1.1 issues.
Comment 1 Hanno Böck gentoo-dev 2018-08-24 10:05:58 UTC
I recently tried what it'd take to move systems to openssl 1.1 and this seems to be a major blocker.

Though I wonder what needs to happen to fix it. The upstream page [1] talks about a version 8, but the download link ends up being the normal mysql download package. So is this bundled in mysql itself now?


[1] https://dev.mysql.com/downloads/connector/c/
Comment 2 Larry the Git Cow gentoo-dev 2018-09-13 16:55:17 UTC
The bug has been closed via the following commit(s):

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

commit 0c5fdeb6d081cae27524f042d0507dd58716bd51
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2018-09-13 16:54:47 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2018-09-13 16:54:47 +0000

    dev-db/mysql-connector-c: Further OpenSSL 1.1 compile fix
    
    Fix viossl.c:430:44: error: dereferencing pointer to incomplete type
     ‘SSL_COMP {aka struct ssl_comp_st}’ error
    
    Backported changes from newer MySQL versions
    
    Closes: https://bugs.gentoo.org/658910
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-db/mysql-connector-c/files/6.1.11-openssl-1.1.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 3 Hanno Böck gentoo-dev 2018-09-20 10:37:56 UTC
While the error message changed this still doesn't compile with openssl 1.1.

I'll attach a build log.
Comment 4 Hanno Böck gentoo-dev 2018-09-20 10:38:18 UTC
Created attachment 547363 [details]
build log
Comment 5 Hanno Böck gentoo-dev 2018-09-20 10:41:08 UTC
Sorry, my mistake. This is a build failure with USE="-ssl", however that has already another open bug (#663996). With ssl flag enabled it builds.