Bug 1430527

Summary: GNUTLS change broke qemu-kvm build for RHEL 6.9
Product: Red Hat Enterprise Linux 6 Reporter: Danilo de Paula <ddepaula>
Component: gnutlsAssignee: Nikos Mavrogiannopoulos <nmavrogi>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.9CC: ailan, ddepaula, jen
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-09 14:20:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Danilo de Paula 2017-03-08 20:41:29 UTC
Description of problem:
https://bugzilla.redhat.com/show_bug.cgi?id=1415682 Included some API changes that broke qemu-kvm build for rhel6.9.

qemu-kvm fails with the following message: 
/builddir/build/BUILD/qemu-kvm-0.12.1.2/vnc-tls.c: In function 'vnc_tls_client_setup':
/builddir/build/BUILD/qemu-kvm-0.12.1.2/vnc-tls.c:313: error: 'gnutls_kx_set_priority' is deprecated (declared at /usr/include/gnutls/compat.h:342)
/builddir/build/BUILD/qemu-kvm-0.12.1.2/vnc-tls.c:320: error: 'gnutls_certificate_type_set_priority' is deprecated (declared at /usr/include/gnutls/compat.h:347)
/builddir/build/BUILD/qemu-kvm-0.12.1.2/vnc-tls.c:327: error: 'gnutls_protocol_set_priority' is deprecated (declared at /usr/include/gnutls/compat.h:344)

BuildInfo: http://download-node-02.eng.bos.redhat.com/brewroot/work/tasks/2325/12692325/build.log

Those methods were not described as deprecated by the bug or the changelog. Is this change intended?

Comment 2 Nikos Mavrogiannopoulos 2017-03-09 07:52:45 UTC
This deprecation is part of the rebase. However it shouldn't affect a build since this is a compiler warning. Do you compile with -Werror?

Comment 3 Danilo de Paula 2017-03-09 12:35:03 UTC
We do use -Werror, that's the issue.
This bug is a bit more to double check that you deprecated the correct functions as the one we use are not described as deprecated by the bug or the changelog.

Comment 4 Nikos Mavrogiannopoulos 2017-03-09 14:20:48 UTC
Ok, thanks. I'm closing it as not a bug. If there is something we can address in gnutls which can help you with that, please re-open.