Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2018 18:15:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227875] qt5-network should be openssl 1.1 compliant
Message-ID:  <bug-227875-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227875

            Bug ID: 227875
           Summary: qt5-network should be openssl 1.1 compliant
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: doctor@doctor.nl2k.ab.ca
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

my understanding is that qt5-network is compliant with openssl 1.0.2 and
openssl 1.1 yet on openssl 1.1 I get=20=20

/usr/local/bin/clang++50 -c -O2 -pipe -fstack-protector -fno-strict-aliasing
-std=3Dc++1z -fvisibility=3Dhidden -fvisibility-inlines-hidden -fno-excepti=
ons
-Wall -W -Wdate-time -pthread -fPIC -DQT_OPENSSL -DQT_SSL
-DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_LIB
-DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_CO=
MPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=3D0x050000 -DQT_NO_EXCEPTIONS
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I.
-Ikernel -I../../include -I../../include/QtNetwork
-I../../include/QtNetwork/5.9.4 -I../../include/QtNetwork/5.9.4/QtNetwork
-I/usr/local/include/qt5/QtCore/5.9.4
-I/usr/local/include/qt5/QtCore/5.9.4/QtCore -I/usr/local/include/qt5
-I/usr/local/include/qt5/QtCore -I.moc -I/usr/local/include
-I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qsslcertificate_openssl.o
ssl/qsslcertificate_openssl.cpp
ssl/qsslcertificate_openssl.cpp:69:30: error: member access into incomplete
type 'X509' (aka 'x509_st')
        return qHashBits(x509->sha1_hash, SHA_DIGEST_LENGTH, seed);
                             ^
/usr/local/include/openssl/ossl_typ.h:119:16: note: forward declaration of
'x509_st'
typedef struct x509_st X509;
               ^
ssl/qsslcertificate_openssl.cpp:93:68: error: member access into incomplete
type 'X509' (aka 'x509_st')
=20=20=20=20=20=20=20=20=20=20=20
QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version=
)) +
1);
                                                                   ^
/usr/local/include/openssl/ossl_typ.h:119:16: note: forward declaration of
'x509_st'
typedef struct x509_st X509;
               ^
ssl/qsslcertificate_openssl.cpp:102:45: error: member access into incomplete
type 'X509' (aka 'x509_st')
        ASN1_INTEGER *serialNumber =3D d->x509->cert_info->serialNumber;
                                            ^
/usr/local/include/openssl/ossl_typ.h:119:16: note: forward declaration of
'x509_st'
typedef struct x509_st X509;
               ^
ssl/qsslcertificate_openssl.cpp:238:32: error: member access into incomplete
type 'X509' (aka 'x509_st')
    X509_PUBKEY *xkey =3D d->x509->cert_info->key;
                               ^
/usr/local/include/openssl/ossl_typ.h:93:16: note: forward declaration of
'evp_pkey_st'
typedef struct evp_pkey_st EVP_PKEY;
               ^
ssl/qsslcertificate_openssl.cpp:251:36: error: member access into incomplete
type 'EVP_PKEY' (aka 'evp_pkey_st')
    } else if (q_EVP_PKEY_type(pkey->type) =3D=3D EVP_PKEY_EC) {
                                   ^
/usr/local/include/openssl/ossl_typ.h:93:16: note: forward declaration of
'evp_pkey_st'
typedef struct evp_pkey_st EVP_PKEY;
               ^
ssl/qsslcertificate_openssl.cpp:256:36: error: member access into incomplete
type 'EVP_PKEY' (aka 'evp_pkey_st')
    } else if (q_EVP_PKEY_type(pkey->type) =3D=3D EVP_PKEY_DH) {
                                   ^
/usr/local/include/openssl/ossl_typ.h:93:16: note: forward declaration of
'evp_pkey_st'
typedef struct evp_pkey_st EVP_PKEY;
               ^
8 errors generated.
*** [.obj/qsslcertificate_openssl.o] Error code 1

make[1]: stopped in
/usr/ports/net/qt5-network/work/qtbase-opensource-src-5.9.4/src/network
1 error

make[1]: stopped in
/usr/ports/net/qt5-network/work/qtbase-opensource-src-5.9.4/src/network
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/qt5-network

=3D=3D=3D>>> make build failed for net/qt5-network
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Upgrade of qt5-core-5.9.4_1 to qt5-core-5.9.4_2 complete


=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> net/qt5-network=20

This command has been saved to /tmp/portmasterfail.txt

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227875-7788>