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

Bug 627794

Summary: net-nntp/nzbget-19.1 fails to compile with USE=gnutls: gnutls_certificate was not declared
Product: Gentoo Linux Reporter: Sven Müller <musv>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, proxy-maint, sbraz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/nzbget/nzbget/pull/414
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Sven Müller 2017-08-13 18:38:57 UTC
Created attachment 488828 [details]
build.log

daemon/connect/TlsSocket.cpp: In member function ‘bool TlsSocket::ValidateCert()’:
daemon/connect/TlsSocket.cpp:518:7: error: ‘gnutls_certificate’ was not declared in this scope
   if (gnutls_certificate-verification_status_print(status, GNUTLS_CRT_X509, &msgdata, 0) == 0)
       ^~~~~~~~~~~~~~~~~~
daemon/connect/TlsSocket.cpp:518:88: error: ‘verification_status_print’ was not declared in this scope
 rtificate-verification_status_print(status, GNUTLS_CRT_X509, &msgdata, 0) == 0)


Installed gnutls version: 3.5.14
Comment 1 Sven Müller 2017-08-24 05:59:37 UTC
Of course, it compiles fine with: 

USE="-gnutls" emerge nzbget
Comment 2 Louis Sautier (sbraz) gentoo-dev 2017-08-26 09:13:46 UTC
This seems to be fixed upstream, I will backport the patch.
Comment 3 Larry the Git Cow gentoo-dev 2017-09-02 22:55:33 UTC
Bug has been closed via the following commit:
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba15a1c41fe474b4b4ba8dabfb6fefb9626efb76

    commit ba15a1c41fe474b4b4ba8dabfb6fefb9626efb76
Author:     Louis Sautier <sautier.louis@gmail.com>
AuthorDate: 2017-09-02 12:50:14 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2017-09-02 22:54:11 +0000

    net-nntp/nzbget: bump to 20.0_pre2075, fixing gnutls build
    
    Closes: https://bugs.gentoo.org/627794
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-nntp/nzbget/Manifest                   |   1 +
 net-nntp/nzbget/nzbget-20.0_pre2075.ebuild | 121 +++++++++++++++++++++++++++++
 2 files changed, 122 insertions(+)