Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685086

Summary: dev-db/freetds-1.00.341-r1 : tls.c:1019:50: error: TLS_ST_OK undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18979
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-db:freetds-1.00.341-r1:20190504-224938.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-05 07:30:14 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -D_REENTRANT -D_THREAD_SAFE -DNDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wpointer-arith -pthread -O2 -pipe -march=native -Wdeclaration-after-statement -c tls.c  -fPIC -DPIC -o .libs/tls.o
tls.c: In function ‘tds_ssl_init’:
tls.c:1019:50: error: ‘TLS_ST_OK’ undeclared (first use in this function); did you mean ‘SSL_ST_OK’?
  ret = connect_ret != 1 || SSL_get_state(con) != TLS_ST_OK;
                                                  ^~~~~~~~~
                                                  SSL_ST_OK

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_stable-libressl_20190503-095707

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *




emerge -qpvO dev-db/freetds
[ebuild  N    ] dev-db/freetds-1.00.341-r1  USE="iconv libressl ssl -debug -gnutls -iodbc -kerberos -mssql -odbc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-05-05 07:30:17 UTC
Created attachment 575256 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-05 07:30:20 UTC
Created attachment 575258 [details]
dev-db:freetds-1.00.341-r1:20190504-224938.log
Comment 3 Toralf Förster gentoo-dev 2019-05-05 07:30:24 UTC
Created attachment 575260 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-05-05 07:30:27 UTC
Created attachment 575262 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-05-05 07:30:30 UTC
Created attachment 575264 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-05 07:30:33 UTC
Created attachment 575266 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-05-05 07:30:36 UTC
Created attachment 575268 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-01-10 19:13:26 UTC
The bug has been closed via the following commit(s):

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

commit 2610743eedd16f2d34957ce027bd9c907481e6ff
Author:     John Helmert III <jchelmert3@posteo.net>
AuthorDate: 2021-01-07 16:04:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-10 19:09:29 +0000

    dev-db/freetds: security bump to 1.2.18
    
    Drop dependencies which are in the system set, drop libressl support as
    the package is on its way out and it already seems to be broken on this
    package (bug 685086), drop static-libs use flag (no consumers).
    
    Bug: https://bugs.gentoo.org/718950
    Closes: https://bugs.gentoo.org/685086
    Closes: https://bugs.gentoo.org/747265
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: John Helmert III <jchelmert3@posteo.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/freetds/Manifest                            |  1 +
 .../freetds/files/freetds-1.2.18-xfail-tests.patch | 22 ++++++++
 dev-db/freetds/freetds-1.2.18.ebuild               | 60 ++++++++++++++++++++++
 3 files changed, 83 insertions(+)