qesteidutil: update needed for openssl 1.1

Bug #1748579 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qesteidutil (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

The transition to openssl 1.1.x has begun in bionic. As a result, qesteidutil is currently unbuildable in bionic-proposed because it is not compatible with openssl 1.1.

[ 78%] Building CXX object CMakeFiles/qesteidutil.dir/common/SslCertificate.cpp.o
/usr/bin/g++ -DBUILD_VER=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_XML_LIB -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtWebKit -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/PCSC -I/<<PKGBUILDDIR>>/qtsingleapplication/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/qesteidutil.dir/common/SslCertificate.cpp.o -c /<<PKGBUILDDIR>>/common/SslCertificate.cpp
/<<PKGBUILDDIR>>/common/SslCertificate.cpp: In function ‘QByteArray ASN_STRING_to_QByteArray(ASN1_OCTET_STRING*)’:
/<<PKGBUILDDIR>>/common/SslCertificate.cpp:36:56: warning: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated [-Wdeprecated-declarations]
 { return QByteArray( (const char *)ASN1_STRING_data(str), ASN1_STRING_length(str) ); }
                                                        ^
In file included from /usr/include/openssl/bn.h:31:0,
                 from /usr/include/openssl/asn1.h:24,
                 from /usr/include/openssl/objects.h:916,
                 from /usr/include/openssl/evp.h:27,
                 from /usr/include/openssl/x509.h:23,
                 from /usr/include/openssl/x509v3.h:14,
                 from /<<PKGBUILDDIR>>/common/SslCertificate.cpp:32:
/usr/include/openssl/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
/<<PKGBUILDDIR>>/common/SslCertificate.cpp: In static member function ‘static QSslKey SslCertificate::keyFromEVP(Qt::HANDLE)’:
/<<PKGBUILDDIR>>/common/SslCertificate.cpp:124:28: error: invalid use of incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
  switch( EVP_PKEY_type( key->type ) )
                            ^~

[...]

https://launchpad.net/ubuntu/+source/qesteidutil/0.3.1-0ubuntu4

Because qesteidutil also uses libp11, which has been updated to build against libssl-dev, qesteidutil can't simply change its build-dependencies to use openssl1.0 instead.

Since this blocks updating to the openssl1.1 version of libp11 in bionic, qesteidutil will be removed from the bionic release pocket (and left in bionic-proposed for now) pending resolution of this issue. If someone wants to have qesteidutil included in Ubuntu 18.04 LTS, they will need to address this openssl 1.1 incompatibility.

Revision history for this message
Steve Langasek (vorlon) wrote :

qesteidutil missed Ubuntu 18.04 as a result of this bug. If on one is interested in fixing this issue in time for the Ubuntu 18.10 release, I will remove it from the Ubuntu archive.

Changed in qesteidutil (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Steve Langasek (vorlon) wrote :

Removing packages from disco-proposed:
 qesteidutil 0.3.1-0ubuntu4 in disco
Comment: FTBFS with OpenSSL 1.1; LP: #1748579
1 package successfully removed.

Changed in qesteidutil (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.