Raspbian Package Auto-Building

Build log for qca2-plugin-ossl (2.0.0~beta3-2) on armhf

qca2-plugin-ossl2.0.0~beta3-2armhf → 2018-02-01 18:21:38

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-04

+==============================================================================+
| qca2-plugin-ossl 2.0.0~beta3-2 (armhf)       Thu, 01 Feb 2018 18:04:59 +0000 |
+==============================================================================+

Package: qca2-plugin-ossl
Version: 2.0.0~beta3-2
Source Version: 2.0.0~beta3-2
Distribution: buster-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/buster-staging-armhf-sbuild-fd11a2e8-6b6d-40ff-a4ad-441da592a060' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1/private buster-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private buster-staging/main Sources [10.6 MB]
Get:3 http://172.17.0.1/private buster-staging/main armhf Packages [12.3 MB]
Fetched 22.9 MB in 26s (880 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'qca2-plugin-ossl' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/pkg-kde/kde-std/qca2-plugin-ossl.git
Please use:
git clone git://anonscm.debian.org/pkg-kde/kde-std/qca2-plugin-ossl.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 55.6 kB of source archives.
Get:1 http://172.17.0.1/private buster-staging/main qca2-plugin-ossl 2.0.0~beta3-2 (dsc) [1567 B]
Get:2 http://172.17.0.1/private buster-staging/main qca2-plugin-ossl 2.0.0~beta3-2 (tar) [49.2 kB]
Get:3 http://172.17.0.1/private buster-staging/main qca2-plugin-ossl 2.0.0~beta3-2 (diff) [4859 B]
Fetched 55.6 kB in 0s (169 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/qca2-plugin-ossl-7iYiOu/qca2-plugin-ossl-2.0.0~beta3' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/qca2-plugin-ossl-7iYiOu' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-RH31Dh/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-RH31Dh/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-RH31Dh/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ Packages [434 B]
Fetched 2110 B in 1s (2978 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded.
Need to get 848 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [848 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 848 B in 0s (21.4 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 13229 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 7.3.16), pkg-kde-tools (>= 0.12), libqca2-dev (>= 2.0.0), libqt4-dev (>= 4:4.8.0~), libssl-dev
Filtered Build-Depends: debhelper (>= 7.3.16), pkg-kde-tools (>= 0.12), libqca2-dev (>= 2.0.0), libqt4-dev (>= 4:4.8.0~), libssl-dev
dpkg-deb: building package 'sbuild-build-depends-qca2-plugin-ossl-dummy' in '/<<BUILDDIR>>/resolver-RH31Dh/apt_archive/sbuild-build-depends-qca2-plugin-ossl-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-qca2-plugin-ossl-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ Sources [537 B]
Get:5 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ Packages [625 B]
Fetched 2495 B in 1s (3520 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install qca2-plugin-ossl build dependencies (apt-based resolver)
----------------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-python dh-strip-nondeterminism file fontconfig
  fontconfig-config fonts-dejavu-core gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libaudio2 libbsd0 libcroco3 libexpat1
  libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libglib2.0-0
  libice6 libicu57 libjbig0 libjpeg62-turbo libjpeg8 liblcms2-2 libmagic-mgc
  libmagic1 libmng1 libmpdec2 libpipeline1 libpython3-stdlib
  libpython3.6-minimal libpython3.6-stdlib libqca2 libqca2-dev libqt4-dbus
  libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help
  libqt4-network libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql
  libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4
  libqtgui4 libsigsegv2 libsm6 libssl-dev libssl1.1 libtiff5 libtimedate-perl
  libtool libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxml2
  libxrender1 libxt6 m4 man-db mime-support pkg-kde-tools po-debconf python3
  python3-distutils python3-lib2to3 python3-minimal python3.6
  python3.6-minimal qdbus qt4-linguist-tools qt4-qmake qtchooser qtcore4-l10n
  ucf x11-common
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation dh-make dwz gettext-doc libasprintf-dev libgettextpo-dev groff nas
  liblcms2-utils libqca2-doc libqt4-declarative-folderlistmodel
  libqt4-declarative-gestures libqt4-declarative-particles
  libqt4-declarative-shaders qt4-qmlviewer firebird-dev libmysqlclient-dev
  libpq-dev libsqlite0-dev libsqlite3-dev qt4-dev-tools qt4-doc unixodbc-dev
  libthai0 qt4-qtconfig libtool-doc gfortran | fortran95-compiler gcj-jdk
  m4-doc less www-browser apparmor cdbs libmail-box-perl python3-doc
  python3-tk python3-venv python3.6-venv python3.6-doc binfmt-support
Recommended packages:
  curl | wget | lynx-cur libarchive-cpio-perl libglib2.0-data shared-mime-info
  xdg-user-dirs ca-certificates libqca2-plugins libqt4-opengl-dev
  libqt4-sql-mysql | libqt4-sql-odbc | libqt4-sql-psql | libqt4-sql-sqlite
  | libqt4-sql-sqlite2 libcups2 qt-at-spi libssl-doc libltdl-dev libwww-perl
  libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-python dh-strip-nondeterminism file fontconfig
  fontconfig-config fonts-dejavu-core gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libaudio2 libbsd0 libcroco3 libexpat1
  libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libglib2.0-0
  libice6 libicu57 libjbig0 libjpeg62-turbo libjpeg8 liblcms2-2 libmagic-mgc
  libmagic1 libmng1 libmpdec2 libpipeline1 libpython3-stdlib
  libpython3.6-minimal libpython3.6-stdlib libqca2 libqca2-dev libqt4-dbus
  libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help
  libqt4-network libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql
  libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4
  libqtgui4 libsigsegv2 libsm6 libssl-dev libssl1.1 libtiff5 libtimedate-perl
  libtool libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxml2
  libxrender1 libxt6 m4 man-db mime-support pkg-kde-tools po-debconf python3
  python3-distutils python3-lib2to3 python3-minimal python3.6
  python3.6-minimal qdbus qt4-linguist-tools qt4-qmake qtchooser qtcore4-l10n
  sbuild-build-depends-qca2-plugin-ossl-dummy ucf x11-common
0 upgraded, 95 newly installed, 0 to remove and 35 not upgraded.
Need to get 43.8 MB/49.0 MB of archives.
After this operation, 182 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-RH31Dh/apt_archive ./ sbuild-build-depends-qca2-plugin-ossl-dummy 0.invalid.0 [904 B]
Get:2 http://172.17.0.1/private buster-staging/main armhf groff-base armhf 1.22.3-9 [1005 kB]
Get:3 http://172.17.0.1/private buster-staging/main armhf libbsd0 armhf 0.8.7-1 [96.8 kB]
Get:4 http://172.17.0.1/private buster-staging/main armhf bsdmainutils armhf 11.1.2 [182 kB]
Get:5 http://172.17.0.1/private buster-staging/main armhf libpipeline1 armhf 1.5.0-1 [24.6 kB]
Get:6 http://172.17.0.1/private buster-staging/main armhf man-db armhf 2.7.6.1-4 [1012 kB]
Get:7 http://172.17.0.1/private buster-staging/main armhf libfreetype6 armhf 2.8.1-1 [402 kB]
Get:8 http://172.17.0.1/private buster-staging/main armhf ucf all 3.0036 [70.2 kB]
Get:9 http://172.17.0.1/private buster-staging/main armhf fonts-dejavu-core all 2.37-1 [1068 kB]
Get:10 http://172.17.0.1/private buster-staging/main armhf fontconfig-config all 2.12.6-0.1 [304 kB]
Get:11 http://172.17.0.1/private buster-staging/main armhf libfontconfig1 armhf 2.12.6-0.1 [351 kB]
Get:12 http://172.17.0.1/private buster-staging/main armhf fontconfig armhf 2.12.6-0.1 [438 kB]
Get:13 http://172.17.0.1/private buster-staging/main armhf libjpeg8 armhf 8d1-2 [108 kB]
Get:14 http://172.17.0.1/private buster-staging/main armhf liblcms2-2 armhf 2.9-1 [117 kB]
Get:15 http://172.17.0.1/private buster-staging/main armhf libmng1 armhf 1.0.10+dfsg-3.1 [164 kB]
Get:16 http://172.17.0.1/private buster-staging/main armhf python3-lib2to3 all 3.6.4-2 [78.4 kB]
Get:17 http://172.17.0.1/private buster-staging/main armhf python3-distutils all 3.6.4-2 [147 kB]
Get:18 http://172.17.0.1/private buster-staging/main armhf python3.6 armhf 3.6.4-3 [223 kB]
Get:19 http://172.17.0.1/private buster-staging/main armhf libpython3-stdlib armhf 3.6.4-1 [19.3 kB]
Get:20 http://172.17.0.1/private buster-staging/main armhf python3 armhf 3.6.4-1 [22.3 kB]
Get:21 http://172.17.0.1/private buster-staging/main armhf gettext-base armhf 0.19.8.1-4 [117 kB]
Get:22 http://172.17.0.1/private buster-staging/main armhf libsigsegv2 armhf 2.11-1 [29.3 kB]
Get:23 http://172.17.0.1/private buster-staging/main armhf m4 armhf 1.4.18-1 [185 kB]
Get:24 http://172.17.0.1/private buster-staging/main armhf autoconf all 2.69-11 [341 kB]
Get:25 http://172.17.0.1/private buster-staging/main armhf autotools-dev all 20171216.1 [75.9 kB]
Get:26 http://172.17.0.1/private buster-staging/main armhf automake all 1:1.15.1-3 [736 kB]
Get:27 http://172.17.0.1/private buster-staging/main armhf autopoint all 0.19.8.1-4 [434 kB]
Get:28 http://172.17.0.1/private buster-staging/main armhf libtool all 2.4.6-2 [545 kB]
Get:29 http://172.17.0.1/private buster-staging/main armhf dh-autoreconf all 16 [16.3 kB]
Get:30 http://172.17.0.1/private buster-staging/main armhf libarchive-zip-perl all 1.60-1 [95.6 kB]
Get:31 http://172.17.0.1/private buster-staging/main armhf libfile-stripnondeterminism-perl all 0.040-1 [18.4 kB]
Get:32 http://172.17.0.1/private buster-staging/main armhf libtimedate-perl all 2.3000-2 [42.2 kB]
Get:33 http://172.17.0.1/private buster-staging/main armhf dh-strip-nondeterminism all 0.040-1 [11.8 kB]
Get:34 http://172.17.0.1/private buster-staging/main armhf libglib2.0-0 armhf 2.54.3-2 [2651 kB]
Get:35 http://172.17.0.1/private buster-staging/main armhf libicu57 armhf 57.1-8 [7411 kB]
Get:36 http://172.17.0.1/private buster-staging/main armhf libxml2 armhf 2.9.4+dfsg1-6.1 [602 kB]
Get:37 http://172.17.0.1/private buster-staging/main armhf libcroco3 armhf 0.6.12-2 [132 kB]
Get:38 http://172.17.0.1/private buster-staging/main armhf gettext armhf 0.19.8.1-4 [1218 kB]
Get:39 http://172.17.0.1/private buster-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:40 http://172.17.0.1/private buster-staging/main armhf po-debconf all 1.0.20 [247 kB]
Get:41 http://172.17.0.1/private buster-staging/main armhf debhelper all 11.1.3 [1005 kB]
Get:42 http://172.17.0.1/private buster-staging/main armhf libxau6 armhf 1:1.0.8-1+b2 [19.1 kB]
Get:43 http://172.17.0.1/private buster-staging/main armhf x11-common all 1:7.7+19 [251 kB]
Get:44 http://172.17.0.1/private buster-staging/main armhf libice6 armhf 2:1.0.9-2 [51.6 kB]
Get:45 http://172.17.0.1/private buster-staging/main armhf libsm6 armhf 2:1.2.2-1+b3 [31.2 kB]
Get:46 http://172.17.0.1/private buster-staging/main armhf libxdmcp6 armhf 1:1.1.2-3 [25.0 kB]
Get:47 http://172.17.0.1/private buster-staging/main armhf libxcb1 armhf 1.12-1 [129 kB]
Get:48 http://172.17.0.1/private buster-staging/main armhf libx11-data all 2:1.6.4-3 [290 kB]
Get:49 http://172.17.0.1/private buster-staging/main armhf libx11-6 armhf 2:1.6.4-3 [683 kB]
Get:50 http://172.17.0.1/private buster-staging/main armhf libxt6 armhf 1:1.1.5-1 [155 kB]
Get:51 http://172.17.0.1/private buster-staging/main armhf libaudio2 armhf 1.9.4-6 [72.7 kB]
Get:52 http://172.17.0.1/private buster-staging/main armhf libjbig0 armhf 2.1-3.1+b2 [27.6 kB]
Get:53 http://172.17.0.1/private buster-staging/main armhf libjpeg62-turbo armhf 1:1.5.2-2+b1 [110 kB]
Get:54 http://172.17.0.1/private buster-staging/main armhf qtcore4-l10n all 4:4.8.7+dfsg-11+rpi1 [662 kB]
Get:55 http://172.17.0.1/private buster-staging/main armhf libqtcore4 armhf 4:4.8.7+dfsg-11+rpi1 [1366 kB]
Get:56 http://172.17.0.1/private buster-staging/main armhf libqca2 armhf 2.1.3-2 [251 kB]
Get:57 http://172.17.0.1/private buster-staging/main armhf libqt4-xml armhf 4:4.8.7+dfsg-11+rpi1 [126 kB]
Get:58 http://172.17.0.1/private buster-staging/main armhf libqtdbus4 armhf 4:4.8.7+dfsg-11+rpi1 [193 kB]
Get:59 http://172.17.0.1/private buster-staging/main armhf qtchooser armhf 64-ga1b6736-5 [22.8 kB]
Get:60 http://172.17.0.1/private buster-staging/main armhf qdbus armhf 4:4.8.7+dfsg-11+rpi1 [72.2 kB]
Get:61 http://172.17.0.1/private buster-staging/main armhf libqt4-dbus armhf 4:4.8.7+dfsg-11+rpi1 [52.8 kB]
Get:62 http://172.17.0.1/private buster-staging/main armhf libqt4-network armhf 4:4.8.7+dfsg-11+rpi1 [496 kB]
Get:63 http://172.17.0.1/private buster-staging/main armhf libqt4-script armhf 4:4.8.7+dfsg-11+rpi1 [684 kB]
Get:64 http://172.17.0.1/private buster-staging/main armhf libqt4-sql armhf 4:4.8.7+dfsg-11+rpi1 [128 kB]
Get:65 http://172.17.0.1/private buster-staging/main armhf libqt4-xmlpatterns armhf 4:4.8.7+dfsg-11+rpi1 [879 kB]
Get:66 http://172.17.0.1/private buster-staging/main armhf libtiff5 armhf 4.0.9-3 [224 kB]
Get:67 http://172.17.0.1/private buster-staging/main armhf libxext6 armhf 2:1.3.3-1+b2 [47.8 kB]
Get:68 http://172.17.0.1/private buster-staging/main armhf libxrender1 armhf 1:0.9.10-1 [29.9 kB]
Get:69 http://172.17.0.1/private buster-staging/main armhf libqtgui4 armhf 4:4.8.7+dfsg-11+rpi1 [3426 kB]
Get:70 http://172.17.0.1/private buster-staging/main armhf libqt4-declarative armhf 4:4.8.7+dfsg-11+rpi1 [896 kB]
Get:71 http://172.17.0.1/private buster-staging/main armhf libqt4-designer armhf 4:4.8.7+dfsg-11+rpi1 [3355 kB]
Get:72 http://172.17.0.1/private buster-staging/main armhf libqt4-qt3support armhf 4:4.8.7+dfsg-11+rpi1 [895 kB]
Get:73 http://172.17.0.1/private buster-staging/main armhf libqt4-dev-bin armhf 4:4.8.7+dfsg-11+rpi1 [1430 kB]
Get:74 http://172.17.0.1/private buster-staging/main armhf libqt4-help armhf 4:4.8.7+dfsg-11+rpi1 [220 kB]
Get:75 http://172.17.0.1/private buster-staging/main armhf libqt4-scripttools armhf 4:4.8.7+dfsg-11+rpi1 [229 kB]
Get:76 http://172.17.0.1/private buster-staging/main armhf libqt4-svg armhf 4:4.8.7+dfsg-11+rpi1 [156 kB]
Get:77 http://172.17.0.1/private buster-staging/main armhf libqt4-test armhf 4:4.8.7+dfsg-11+rpi1 [97.7 kB]
Get:78 http://172.17.0.1/private buster-staging/main armhf qt4-linguist-tools armhf 4:4.8.7+dfsg-11+rpi1 [755 kB]
Get:79 http://172.17.0.1/private buster-staging/main armhf qt4-qmake armhf 4:4.8.7+dfsg-11+rpi1 [1061 kB]
Get:80 http://172.17.0.1/private buster-staging/main armhf libqt4-dev armhf 4:4.8.7+dfsg-11+rpi1 [882 kB]
Get:81 http://172.17.0.1/private buster-staging/main armhf libqca2-dev armhf 2.1.3-2 [82.9 kB]
Get:82 http://172.17.0.1/private buster-staging/main armhf libssl-dev armhf 1.1.0g-2 [1371 kB]
Get:83 http://172.17.0.1/private buster-staging/main armhf pkg-kde-tools all 0.15.28 [96.1 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 43.8 MB in 5s (9658 kB/s)
Selecting previously unselected package groff-base.
(Reading database ... 13229 files and directories currently installed.)
Preparing to unpack .../00-groff-base_1.22.3-9_armhf.deb ...
Unpacking groff-base (1.22.3-9) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../01-libbsd0_0.8.7-1_armhf.deb ...
Unpacking libbsd0:armhf (0.8.7-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../02-bsdmainutils_11.1.2_armhf.deb ...
Unpacking bsdmainutils (11.1.2) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.5.0-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.0-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.7.6.1-4_armhf.deb ...
Unpacking man-db (2.7.6.1-4) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../05-libexpat1_2.2.5-3_armhf.deb ...
Unpacking libexpat1:armhf (2.2.5-3) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../06-libfreetype6_2.8.1-1_armhf.deb ...
Unpacking libfreetype6:armhf (2.8.1-1) ...
Selecting previously unselected package ucf.
Preparing to unpack .../07-ucf_3.0036_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0036) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../08-fonts-dejavu-core_2.37-1_all.deb ...
Unpacking fonts-dejavu-core (2.37-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../09-fontconfig-config_2.12.6-0.1_all.deb ...
Unpacking fontconfig-config (2.12.6-0.1) ...
Selecting previously unselected package libfontconfig1:armhf.
Preparing to unpack .../10-libfontconfig1_2.12.6-0.1_armhf.deb ...
Unpacking libfontconfig1:armhf (2.12.6-0.1) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../11-fontconfig_2.12.6-0.1_armhf.deb ...
Unpacking fontconfig (2.12.6-0.1) ...
Selecting previously unselected package libjpeg8:armhf.
Preparing to unpack .../12-libjpeg8_8d1-2_armhf.deb ...
Unpacking libjpeg8:armhf (8d1-2) ...
Selecting previously unselected package liblcms2-2:armhf.
Preparing to unpack .../13-liblcms2-2_2.9-1_armhf.deb ...
Unpacking liblcms2-2:armhf (2.9-1) ...
Selecting previously unselected package libmng1:armhf.
Preparing to unpack .../14-libmng1_1.0.10+dfsg-3.1_armhf.deb ...
Unpacking libmng1:armhf (1.0.10+dfsg-3.1) ...
Selecting previously unselected package libssl1.1:armhf.
Preparing to unpack .../15-libssl1.1_1.1.0g-2_armhf.deb ...
Unpacking libssl1.1:armhf (1.1.0g-2) ...
Selecting previously unselected package libpython3.6-minimal:armhf.
Preparing to unpack .../16-libpython3.6-minimal_3.6.4-3_armhf.deb ...
Unpacking libpython3.6-minimal:armhf (3.6.4-3) ...
Selecting previously unselected package python3.6-minimal.
Preparing to unpack .../17-python3.6-minimal_3.6.4-3_armhf.deb ...
Unpacking python3.6-minimal (3.6.4-3) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../18-python3-minimal_3.6.4-1_armhf.deb ...
Unpacking python3-minimal (3.6.4-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../19-mime-support_3.60_all.deb ...
Unpacking mime-support (3.60) ...
Selecting previously unselected package libmpdec2:armhf.
Preparing to unpack .../20-libmpdec2_2.4.2-1_armhf.deb ...
Unpacking libmpdec2:armhf (2.4.2-1) ...
Selecting previously unselected package libpython3.6-stdlib:armhf.
Preparing to unpack .../21-libpython3.6-stdlib_3.6.4-3_armhf.deb ...
Unpacking libpython3.6-stdlib:armhf (3.6.4-3) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../22-python3-lib2to3_3.6.4-2_all.deb ...
Unpacking python3-lib2to3 (3.6.4-2) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../23-python3-distutils_3.6.4-2_all.deb ...
Unpacking python3-distutils (3.6.4-2) ...
Selecting previously unselected package python3.6.
Preparing to unpack .../24-python3.6_3.6.4-3_armhf.deb ...
Unpacking python3.6 (3.6.4-3) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../25-libpython3-stdlib_3.6.4-1_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.6.4-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../26-dh-python_2.20170125_all.deb ...
Unpacking dh-python (2.20170125) ...
Setting up libssl1.1:armhf (1.1.0g-2) ...
Setting up libpython3.6-minimal:armhf (3.6.4-3) ...
Setting up libexpat1:armhf (2.2.5-3) ...
Setting up python3.6-minimal (3.6.4-3) ...
Setting up python3-minimal (3.6.4-1) ...
Selecting previously unselected package python3.
(Reading database ... 15006 files and directories currently installed.)
Preparing to unpack .../00-python3_3.6.4-1_armhf.deb ...
Unpacking python3 (3.6.4-1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../01-libmagic-mgc_1%3a5.32-1_armhf.deb ...
Unpacking libmagic-mgc (1:5.32-1) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../02-libmagic1_1%3a5.32-1_armhf.deb ...
Unpacking libmagic1:armhf (1:5.32-1) ...
Selecting previously unselected package file.
Preparing to unpack .../03-file_1%3a5.32-1_armhf.deb ...
Unpacking file (1:5.32-1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../04-gettext-base_0.19.8.1-4_armhf.deb ...
Unpacking gettext-base (0.19.8.1-4) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../05-libsigsegv2_2.11-1_armhf.deb ...
Unpacking libsigsegv2:armhf (2.11-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../06-m4_1.4.18-1_armhf.deb ...
Unpacking m4 (1.4.18-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../07-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../08-autotools-dev_20171216.1_all.deb ...
Unpacking autotools-dev (20171216.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../09-automake_1%3a1.15.1-3_all.deb ...
Unpacking automake (1:1.15.1-3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../10-autopoint_0.19.8.1-4_all.deb ...
Unpacking autopoint (0.19.8.1-4) ...
Selecting previously unselected package libtool.
Preparing to unpack .../11-libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../12-dh-autoreconf_16_all.deb ...
Unpacking dh-autoreconf (16) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../13-libarchive-zip-perl_1.60-1_all.deb ...
Unpacking libarchive-zip-perl (1.60-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../14-libfile-stripnondeterminism-perl_0.040-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.040-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../15-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../16-dh-strip-nondeterminism_0.040-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.040-1) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../17-libglib2.0-0_2.54.3-2_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.54.3-2) ...
Selecting previously unselected package libicu57:armhf.
Preparing to unpack .../18-libicu57_57.1-8_armhf.deb ...
Unpacking libicu57:armhf (57.1-8) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../19-libxml2_2.9.4+dfsg1-6.1_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-6.1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../20-libcroco3_0.6.12-2_armhf.deb ...
Unpacking libcroco3:armhf (0.6.12-2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../21-gettext_0.19.8.1-4_armhf.deb ...
Unpacking gettext (0.19.8.1-4) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../22-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../23-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../24-debhelper_11.1.3_all.deb ...
Unpacking debhelper (11.1.3) ...
Selecting previously unselected package libxau6:armhf.
Preparing to unpack .../25-libxau6_1%3a1.0.8-1+b2_armhf.deb ...
Unpacking libxau6:armhf (1:1.0.8-1+b2) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../26-x11-common_1%3a7.7+19_all.deb ...
Unpacking x11-common (1:7.7+19) ...
Selecting previously unselected package libice6:armhf.
Preparing to unpack .../27-libice6_2%3a1.0.9-2_armhf.deb ...
Unpacking libice6:armhf (2:1.0.9-2) ...
Selecting previously unselected package libsm6:armhf.
Preparing to unpack .../28-libsm6_2%3a1.2.2-1+b3_armhf.deb ...
Unpacking libsm6:armhf (2:1.2.2-1+b3) ...
Selecting previously unselected package libxdmcp6:armhf.
Preparing to unpack .../29-libxdmcp6_1%3a1.1.2-3_armhf.deb ...
Unpacking libxdmcp6:armhf (1:1.1.2-3) ...
Selecting previously unselected package libxcb1:armhf.
Preparing to unpack .../30-libxcb1_1.12-1_armhf.deb ...
Unpacking libxcb1:armhf (1.12-1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../31-libx11-data_2%3a1.6.4-3_all.deb ...
Unpacking libx11-data (2:1.6.4-3) ...
Selecting previously unselected package libx11-6:armhf.
Preparing to unpack .../32-libx11-6_2%3a1.6.4-3_armhf.deb ...
Unpacking libx11-6:armhf (2:1.6.4-3) ...
Selecting previously unselected package libxt6:armhf.
Preparing to unpack .../33-libxt6_1%3a1.1.5-1_armhf.deb ...
Unpacking libxt6:armhf (1:1.1.5-1) ...
Selecting previously unselected package libaudio2:armhf.
Preparing to unpack .../34-libaudio2_1.9.4-6_armhf.deb ...
Unpacking libaudio2:armhf (1.9.4-6) ...
Selecting previously unselected package libjbig0:armhf.
Preparing to unpack .../35-libjbig0_2.1-3.1+b2_armhf.deb ...
Unpacking libjbig0:armhf (2.1-3.1+b2) ...
Selecting previously unselected package libjpeg62-turbo:armhf.
Preparing to unpack .../36-libjpeg62-turbo_1%3a1.5.2-2+b1_armhf.deb ...
Unpacking libjpeg62-turbo:armhf (1:1.5.2-2+b1) ...
Selecting previously unselected package qtcore4-l10n.
Preparing to unpack .../37-qtcore4-l10n_4%3a4.8.7+dfsg-11+rpi1_all.deb ...
Unpacking qtcore4-l10n (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqtcore4:armhf.
Preparing to unpack .../38-libqtcore4_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqtcore4:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqca2:armhf.
Preparing to unpack .../39-libqca2_2.1.3-2_armhf.deb ...
Unpacking libqca2:armhf (2.1.3-2) ...
Selecting previously unselected package libqt4-xml:armhf.
Preparing to unpack .../40-libqt4-xml_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-xml:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqtdbus4:armhf.
Preparing to unpack .../41-libqtdbus4_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqtdbus4:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package qtchooser.
Preparing to unpack .../42-qtchooser_64-ga1b6736-5_armhf.deb ...
Unpacking qtchooser (64-ga1b6736-5) ...
Selecting previously unselected package qdbus.
Preparing to unpack .../43-qdbus_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking qdbus (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-dbus:armhf.
Preparing to unpack .../44-libqt4-dbus_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-dbus:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-network:armhf.
Preparing to unpack .../45-libqt4-network_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-network:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-script:armhf.
Preparing to unpack .../46-libqt4-script_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-script:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-sql:armhf.
Preparing to unpack .../47-libqt4-sql_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-sql:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-xmlpatterns:armhf.
Preparing to unpack .../48-libqt4-xmlpatterns_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-xmlpatterns:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libtiff5:armhf.
Preparing to unpack .../49-libtiff5_4.0.9-3_armhf.deb ...
Unpacking libtiff5:armhf (4.0.9-3) ...
Selecting previously unselected package libxext6:armhf.
Preparing to unpack .../50-libxext6_2%3a1.3.3-1+b2_armhf.deb ...
Unpacking libxext6:armhf (2:1.3.3-1+b2) ...
Selecting previously unselected package libxrender1:armhf.
Preparing to unpack .../51-libxrender1_1%3a0.9.10-1_armhf.deb ...
Unpacking libxrender1:armhf (1:0.9.10-1) ...
Selecting previously unselected package libqtgui4:armhf.
Preparing to unpack .../52-libqtgui4_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqtgui4:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-declarative:armhf.
Preparing to unpack .../53-libqt4-declarative_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-declarative:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-designer:armhf.
Preparing to unpack .../54-libqt4-designer_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-designer:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-qt3support:armhf.
Preparing to unpack .../55-libqt4-qt3support_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-qt3support:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-dev-bin.
Preparing to unpack .../56-libqt4-dev-bin_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-dev-bin (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-help:armhf.
Preparing to unpack .../57-libqt4-help_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-help:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-scripttools:armhf.
Preparing to unpack .../58-libqt4-scripttools_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-scripttools:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-svg:armhf.
Preparing to unpack .../59-libqt4-svg_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-svg:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-test:armhf.
Preparing to unpack .../60-libqt4-test_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-test:armhf (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package qt4-linguist-tools.
Preparing to unpack .../61-qt4-linguist-tools_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking qt4-linguist-tools (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package qt4-qmake.
Preparing to unpack .../62-qt4-qmake_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking qt4-qmake (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqt4-dev.
Preparing to unpack .../63-libqt4-dev_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
Unpacking libqt4-dev (4:4.8.7+dfsg-11+rpi1) ...
Selecting previously unselected package libqca2-dev.
Preparing to unpack .../64-libqca2-dev_2.1.3-2_armhf.deb ...
Unpacking libqca2-dev (2.1.3-2) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../65-libssl-dev_1.1.0g-2_armhf.deb ...
Unpacking libssl-dev:armhf (1.1.0g-2) ...
Selecting previously unselected package pkg-kde-tools.
Preparing to unpack .../66-pkg-kde-tools_0.15.28_all.deb ...
Unpacking pkg-kde-tools (0.15.28) ...
Selecting previously unselected package sbuild-build-depends-qca2-plugin-ossl-dummy.
Preparing to unpack .../67-sbuild-build-depends-qca2-plugin-ossl-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-qca2-plugin-ossl-dummy (0.invalid.0) ...
Setting up libjpeg62-turbo:armhf (1:1.5.2-2+b1) ...
Setting up libarchive-zip-perl (1.60-1) ...
Setting up mime-support (3.60) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up liblcms2-2:armhf (2.9-1) ...
Setting up libjbig0:armhf (2.1-3.1+b2) ...
Setting up libsigsegv2:armhf (2.11-1) ...
Setting up fonts-dejavu-core (2.37-1) ...
Setting up libssl-dev:armhf (1.1.0g-2) ...
Setting up qtcore4-l10n (4:4.8.7+dfsg-11+rpi1) ...
Setting up groff-base (1.22.3-9) ...
Setting up libglib2.0-0:armhf (2.54.3-2) ...
No schema files found: doing nothing.
Setting up qtchooser (64-ga1b6736-5) ...
Setting up libtiff5:armhf (4.0.9-3) ...
Setting up gettext-base (0.19.8.1-4) ...
Setting up libpipeline1:armhf (1.5.0-1) ...
Setting up m4 (1.4.18-1) ...
Setting up libicu57:armhf (57.1-8) ...
Setting up libbsd0:armhf (0.8.7-1) ...
Setting up ucf (3.0036) ...
Setting up libxml2:armhf (2.9.4+dfsg1-6.1) ...
Setting up libfreetype6:armhf (2.8.1-1) ...
Setting up libmagic-mgc (1:5.32-1) ...
Setting up libmagic1:armhf (1:5.32-1) ...
Setting up libcroco3:armhf (0.6.12-2) ...
Processing triggers for libc-bin (2.26-2+rpi1) ...
Setting up libqtcore4:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqca2:armhf (2.1.3-2) ...
Setting up autotools-dev (20171216.1) ...
Processing triggers for systemd (236-2) ...
Setting up libxdmcp6:armhf (1:1.1.2-3) ...
Setting up bsdmainutils (11.1.2) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up x11-common (1:7.7+19) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
invoke-rc.d: could not determine current runlevel
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libqt4-test:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libx11-data (2:1.6.4-3) ...
Setting up libqt4-xml:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up qt4-linguist-tools (4:4.8.7+dfsg-11+rpi1) ...
Setting up libxau6:armhf (1:1.0.8-1+b2) ...
Setting up autopoint (0.19.8.1-4) ...
Setting up libmpdec2:armhf (2.4.2-1) ...
Setting up libfile-stripnondeterminism-perl (0.040-1) ...
Setting up libjpeg8:armhf (8d1-2) ...
Setting up libpython3.6-stdlib:armhf (3.6.4-3) ...
Setting up fontconfig-config (2.12.6-0.1) ...
Setting up libmng1:armhf (1.0.10+dfsg-3.1) ...
Setting up gettext (0.19.8.1-4) ...
Setting up qt4-qmake (4:4.8.7+dfsg-11+rpi1) ...
Setting up autoconf (2.69-11) ...
Setting up libqt4-sql:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up file (1:5.32-1) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up automake (1:1.15.1-3) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up libice6:armhf (2:1.0.9-2) ...
Setting up man-db (2.7.6.1-4) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libqtdbus4:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libxcb1:armhf (1.12-1) ...
Setting up libtool (2.4.6-2) ...
Setting up libpython3-stdlib:armhf (3.6.4-1) ...
Setting up libfontconfig1:armhf (2.12.6-0.1) ...
Setting up libsm6:armhf (2:1.2.2-1+b3) ...
Setting up po-debconf (1.0.20) ...
Setting up libqt4-script:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libx11-6:armhf (2:1.6.4-3) ...
Setting up qdbus (4:4.8.7+dfsg-11+rpi1) ...
Setting up libxt6:armhf (1:1.1.5-1) ...
Setting up libxrender1:armhf (1:0.9.10-1) ...
Setting up libqt4-dbus:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqt4-network:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libaudio2:armhf (1.9.4-6) ...
Setting up fontconfig (2.12.6-0.1) ...
Regenerating fonts cache... done.
Setting up libxext6:armhf (2:1.3.3-1+b2) ...
Setting up libqt4-xmlpatterns:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqtgui4:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqt4-designer:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqt4-help:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqt4-svg:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqt4-scripttools:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqt4-declarative:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqt4-qt3support:armhf (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqt4-dev-bin (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqt4-dev (4:4.8.7+dfsg-11+rpi1) ...
Setting up libqca2-dev (2.1.3-2) ...
Setting up dh-python (2.20170125) ...
Setting up dh-autoreconf (16) ...
Setting up python3 (3.6.4-1) ...
Setting up dh-strip-nondeterminism (0.040-1) ...
Setting up python3-lib2to3 (3.6.4-2) ...
Setting up python3-distutils (3.6.4-2) ...
Setting up pkg-kde-tools (0.15.28) ...
Setting up debhelper (11.1.3) ...
Setting up python3.6 (3.6.4-3) ...
Setting up sbuild-build-depends-qca2-plugin-ossl-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.26-2+rpi1) ...
Processing triggers for systemd (236-2) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-0.bpo.4-armmp armhf (armv7l)
Toolchain package versions: binutils_2.29.1-13+rpi1 dpkg-dev_1.19.0.4 g++-7_7.2.0-19 gcc-7_7.2.0-19 libc6-dev_2.26-2+rpi1 libstdc++-7-dev_7.2.0-19 libstdc++6_7.2.0-19 linux-libc-dev_4.9.51-1+rpi3+b1
Package versions: adduser_3.116 apt_1.6~alpha6 autoconf_2.69-11 automake_1:1.15.1-3 autopoint_0.19.8.1-4 autotools-dev_20171216.1 base-files_10+rpi1 base-passwd_3.5.44 bash_4.4-5 binutils_2.29.1-13+rpi1 binutils-arm-linux-gnueabihf_2.29.1-13+rpi1 binutils-common_2.29.1-13+rpi1 bsdmainutils_11.1.2 bsdutils_1:2.30.2-0.1 build-essential_12.4 bzip2_1.0.6-8.1 coreutils_8.28-1 cpio_2.12+dfsg-6 cpp_4:7.2.0-1d1 cpp-7_7.2.0-19 dash_0.5.8-2.5 debconf_1.5.65 debhelper_11.1.3 debianutils_4.8.4 dh-autoreconf_16 dh-python_2.20170125 dh-strip-nondeterminism_0.040-1 diffutils_1:3.6-1 dirmngr_2.2.4-1 dmsetup_2:1.02.145-4.1 dpkg_1.19.0.4 dpkg-dev_1.19.0.4 e2fslibs_1.43.8-2 e2fsprogs_1.43.8-2 fakeroot_1.22-2 fdisk_2.30.2-0.1 file_1:5.32-1 findutils_4.6.0+git+20170828-2 fontconfig_2.12.6-0.1 fontconfig-config_2.12.6-0.1 fonts-dejavu-core_2.37-1 g++_4:7.2.0-1d1 g++-7_7.2.0-19 gcc_4:7.2.0-1d1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.3-14 gcc-5-base_5.4.1-4 gcc-6-base_6.4.0-11 gcc-7_7.2.0-19 gcc-7-base_7.2.0-19 gettext_0.19.8.1-4 gettext-base_0.19.8.1-4 gnupg_2.2.4-1 gnupg-l10n_2.2.4-1 gnupg-utils_2.2.4-1 gpg_2.2.4-1 gpg-agent_2.2.4-1 gpg-wks-client_2.2.4-1 gpg-wks-server_2.2.4-1 gpgconf_2.2.4-1 gpgsm_2.2.4-1 gpgv_2.2.4-1 grep_3.1-2 groff-base_1.22.3-9 gzip_1.6-5 hostname_3.18 init-system-helpers_1.51 initramfs-tools_0.130 initramfs-tools-core_0.130 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-11+rpi1 kmod_24-1 libacl1_2.2.52-3 libapparmor1_2.11.1-4 libapt-pkg5.0_1.6~alpha6 libarchive-zip-perl_1.60-1 libasan4_7.2.0-19 libassuan0_2.5.1-1 libatomic1_7.2.0-19 libattr1_1:2.4.47-2 libaudio2_1.9.4-6 libaudit-common_1:2.8.2-1 libaudit1_1:2.8.2-1 libbinutils_2.29.1-13+rpi1 libblkid1_2.30.2-0.1 libbsd0_0.8.7-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.26-2+rpi1 libc-dev-bin_2.26-2+rpi1 libc6_2.26-2+rpi1 libc6-dev_2.26-2+rpi1 libcap-ng0_0.7.7-3.1+b1 libcap2_1:2.25-1.2 libcc1-0_7.2.0-19 libcilkrts5_7.2.0-19 libcomerr2_1.43.8-2 libcroco3_0.6.12-2 libcryptsetup4_2:1.7.5-1 libdb5.3_5.3.28-13.1 libdbus-1-3_1.12.2-1 libdebconfclient0_0.237 libdevmapper1.02.1_2:1.02.145-4.1 libdpkg-perl_1.19.0.4 libdrm-common_2.4.89-1+rpi1 libdrm2_2.4.89-1+rpi1 libexpat1_2.2.5-3 libfakeroot_1.22-2 libfdisk1_2.30.2-0.1 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.040-1 libfontconfig1_2.12.6-0.1 libfreetype6_2.8.1-1 libgcc-7-dev_7.2.0-19 libgcc1_1:7.2.0-19 libgcrypt20_1.8.1-4 libgdbm3_1.8.3-14 libglib2.0-0_2.54.3-2 libgmp10_2:6.1.2+dfsg-1.1 libgnutls30_3.5.16-1 libgomp1_7.2.0-19 libgpg-error0_1.27-5 libhogweed4_3.4-1 libice6_2:1.0.9-2 libicu57_57.1-8 libidn11_1.33-2.1 libidn2-0_2.0.4-1.1 libip4tc0_1.6.1-2+b1 libisl15_0.18-1 libjbig0_2.1-3.1+b2 libjpeg62-turbo_1:1.5.2-2+b1 libjpeg8_8d1-2 libklibc_2.0.4-11+rpi1 libkmod2_24-1 libksba8_1.3.5-2 liblcms2-2_2.9-1 libldap-2.4-2_2.4.45+dfsg-1 libldap-common_2.4.45+dfsg-1 liblocale-gettext-perl_1.07-3+b2 liblz4-1_0.0~r131-2 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.32-1 libmagic1_1:5.32-1 libmng1_1.0.10+dfsg-3.1 libmount1_2.30.2-0.1 libmpc3_1.0.3-2 libmpdec2_2.4.2-1 libmpfr4_3.1.6-1 libncurses5_6.0+20171125-1 libncursesw5_6.0+20171125-1 libnettle6_3.4-1 libnpth0_1.5-3 libp11-kit0_0.23.9-2 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpcre3_2:8.39-8 libperl5.26_5.26.1-3 libpipeline1_1.5.0-1 libplymouth4_0.9.3-1 libpng16-16_1.6.34-1 libprocps6_2:3.3.12-3 libpython3-stdlib_3.6.4-1 libpython3.6-minimal_3.6.4-3 libpython3.6-stdlib_3.6.4-3 libqca2_2.1.3-2 libqca2-dev_2.1.3-2 libqt4-dbus_4:4.8.7+dfsg-11+rpi1 libqt4-declarative_4:4.8.7+dfsg-11+rpi1 libqt4-designer_4:4.8.7+dfsg-11+rpi1 libqt4-dev_4:4.8.7+dfsg-11+rpi1 libqt4-dev-bin_4:4.8.7+dfsg-11+rpi1 libqt4-help_4:4.8.7+dfsg-11+rpi1 libqt4-network_4:4.8.7+dfsg-11+rpi1 libqt4-qt3support_4:4.8.7+dfsg-11+rpi1 libqt4-script_4:4.8.7+dfsg-11+rpi1 libqt4-scripttools_4:4.8.7+dfsg-11+rpi1 libqt4-sql_4:4.8.7+dfsg-11+rpi1 libqt4-svg_4:4.8.7+dfsg-11+rpi1 libqt4-test_4:4.8.7+dfsg-11+rpi1 libqt4-xml_4:4.8.7+dfsg-11+rpi1 libqt4-xmlpatterns_4:4.8.7+dfsg-11+rpi1 libqtcore4_4:4.8.7+dfsg-11+rpi1 libqtdbus4_4:4.8.7+dfsg-11+rpi1 libqtgui4_4:4.8.7+dfsg-11+rpi1 libreadline7_7.0-3 libsasl2-2_2.1.27~101-g0780600+dfsg-3 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3 libseccomp2_2.3.1-2.1 libselinux1_2.7-2 libsemanage-common_2.7-2 libsemanage1_2.7-2 libsepol1_2.7-1 libsigsegv2_2.11-1 libsm6_2:1.2.2-1+b3 libsmartcols1_2.30.2-0.1 libsqlite3-0_3.21.0-1 libss2_1.43.8-2 libssl-dev_1.1.0g-2 libssl1.1_1.1.0g-2 libstdc++-7-dev_7.2.0-19 libstdc++6_7.2.0-19 libsystemd0_236-2 libtasn1-6_4.12-3 libtext-charwidth-perl_0.04-7.1 libtext-iconv-perl_1.7-5+b9 libtext-wrapi18n-perl_0.06-7.1 libtiff5_4.0.9-3 libtimedate-perl_2.3000-2 libtinfo5_6.0+20171125-1 libtool_2.4.6-2 libubsan0_7.2.0-19 libudev1_236-2 libunistring2_0.9.8-1 libuuid1_2.30.2-0.1 libx11-6_2:1.6.4-3 libx11-data_2:1.6.4-3 libxau6_1:1.0.8-1+b2 libxcb1_1.12-1 libxdmcp6_1:1.1.2-3 libxext6_2:1.3.3-1+b2 libxml2_2.9.4+dfsg1-6.1 libxrender1_1:0.9.10-1 libxt6_1:1.1.5-1 linux-base_4.5 linux-libc-dev_4.9.51-1+rpi3+b1 login_1:4.5-1 lsb-base_9.20170808+rpi1 m4_1.4.18-1 make_4.1-9.1 makedev_2.3.1-93 man-db_2.7.6.1-4 mawk_1.3.3-17 mime-support_3.60 mount_2.30.2-0.1 multiarch-support_2.26-2+rpi1 nano_2.9.1-1 ncurses-base_6.0+20171125-1 ncurses-bin_6.0+20171125-1 passwd_1:4.5-1 patch_2.7.5-1 perl_5.26.1-3 perl-base_5.26.1-3 perl-modules-5.26_5.26.1-3 pinentry-curses_1.0.0-3 pkg-kde-tools_0.15.28 plymouth_0.9.3-1 po-debconf_1.0.20 procps_2:3.3.12-3 python3_3.6.4-1 python3-distutils_3.6.4-2 python3-lib2to3_3.6.4-2 python3-minimal_3.6.4-1 python3.6_3.6.4-3 python3.6-minimal_3.6.4-3 qdbus_4:4.8.7+dfsg-11+rpi1 qt4-linguist-tools_4:4.8.7+dfsg-11+rpi1 qt4-qmake_4:4.8.7+dfsg-11+rpi1 qtchooser_64-ga1b6736-5 qtcore4-l10n_4:4.8.7+dfsg-11+rpi1 raspbian-archive-keyring_20120528.2 readline-common_7.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-qca2-plugin-ossl-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.11 systemd_236-2 sysvinit-utils_2.88dsf-59.10 tar_1.29b-2 tzdata_2017c-1 ucf_3.0036 udev_236-2 util-linux_2.30.2-0.1 x11-common_1:7.7+19 xz-utils_5.2.2-1.3 zlib1g_1:1.2.8.dfsg-5

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Sun Jun 24 17:13:11 2012 UTC
gpgv:                using DSA key 1CEF494673EAE214
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./qca2-plugin-ossl_2.0.0~beta3-2.dsc
dpkg-source: info: extracting qca2-plugin-ossl in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking qca2-plugin-ossl_2.0.0~beta3.orig.tar.bz2
dpkg-source: info: unpacking qca2-plugin-ossl_2.0.0~beta3-2.debian.tar.gz
dpkg-source: info: applying remove_whirlpool_algo.diff
dpkg-source: info: applying detect_md2_available.diff
dpkg-source: info: applying detect_ssl2_available.diff
dpkg-source: info: applying backport_r820011_random_support.diff

Check disc space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=buster-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=buster-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=buster-staging-armhf-sbuild-fd11a2e8-6b6d-40ff-a4ad-441da592a060
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package qca2-plugin-ossl
dpkg-buildpackage: info: source version 2.0.0~beta3-2
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build qca2-plugin-ossl-2.0.0~beta3
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.pl --with=kde,pkgkde-symbolshelper  --buildsystem=qmake
dpkg-buildflags --export=make > debian/dhmk_env.mk
/usr/bin/make -f debian/rules dhmk_run_clean_commands DHMK_TARGET="clean"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_testdir -O'--buildsystem=qmake' 
dh_auto_clean '--buildsystem=kde' --parallel -O'--buildsystem=qmake' 
dh_auto_clean: Compatibility levels before 9 are deprecated (level 7 in use)
# Running override target (override_dh_clean)
test -z "`ls debian/*.debhelper.log 2>/dev/null`" || sed -i '/^override_dh_clean[[:space:]]/d' debian/*.debhelper.log
/usr/bin/make -f debian/rules override_dh_clean DH_INTERNAL_OVERRIDE="dh_clean"  
make[2]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean -O'--buildsystem=qmake'
dh_clean: Compatibility levels before 9 are deprecated (level 7 in use)
rm -rf conf.log conf.pri conf.pri.tmp lib/
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -rf debian/man/out
rmdir debian/man
rmdir: failed to remove 'debian/man': No such file or directory
/usr/share/pkg-kde-tools/qt-kde-team/2/debian-qt-kde.mk:73: recipe for target 'cleanup_manpages' failed
make[1]: [cleanup_manpages] Error 1 (ignored)
rm -f debian/stamp-man-pages
rm -f debian/dhmk-install-list debian/dhmk-package-list
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
rm -f debian/dhmk_rules.mk debian/dhmk_env.mk debian/dhmk_configure debian/dhmk_build-indep debian/dhmk_build-arch debian/dhmk_build
# "clean" target is done
-- SUCCESS making standard target 'clean'.
 debian/rules build-arch
/usr/bin/make -f debian/rules dhmk_run_configure_commands DHMK_TARGET="configure"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_testdir -O'--buildsystem=qmake' # [-a]
# Running override target (override_dh_auto_configure)
test -z "`ls debian/*.debhelper.log 2>/dev/null`" || sed -i '/^override_dh_auto_configure[[:space:]]/d' debian/*.debhelper.log
/usr/bin/make -f debian/rules override_dh_auto_configure DH_INTERNAL_OVERRIDE="dh_auto_configure"  # [-a]
make[2]: Entering directory '/<<PKGBUILDDIR>>'
./configure --verbose --qtdir=/usr/share/qt4 --debug --no-separate-debug-info
Configuring qca-ossl ...

EX_QTDIR=/usr/share/qt4
QC_STATIC=
QC_RELEASE=
QC_DEBUG=Y
QC_DEBUG_AND_RELEASE=
QC_NO_SEPARATE_DEBUG_INFO=Y
QC_SEPARATE_DEBUG_INFO=
QC_UNIVERSAL=
QC_MAC_SDK=
QC_PLUGINS_PATH=
QC_WITH_QCA=
QC_WITH_OPENSSL_INC=
QC_WITH_OPENSSL_LIB=

Verifying Qt 4 build environment ... 
qmake found in /usr/share/qt4/bin/qmake
 -> ok
conf command: [./configure]
conf path:    [./configure]
srcdir:       [/<<PKGBUILDDIR>>]
builddir:     [/<<PKGBUILDDIR>>]
profile:      [/<<PKGBUILDDIR>>/qca-ossl.pro]
qmake path:   [/usr/share/qt4/bin/qmake]
make tool:    [/usr/bin/make]


 * extra += CONFIG += debug

Checking for QCA >= 2.0 ...
 * Wrote atest.cpp:
#include <QtCrypto>

int main()
{
	unsigned long x = QCA_VERSION;
	if(x >= 0x020000 && x < 0x030000) return 0; else return 1;
}

 * Wrote atest.pro:
CONFIG  += console
CONFIG  -= qt app_bundle
SOURCES += atest.cpp
CONFIG += qt crypto
QT -= gui
CONFIG += release

 * [/usr/share/qt4/bin/qmake atest.pro]
 * returned: 0
 * [/usr/bin/make]
make[3]: Entering directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include/QtCrypto -I. -o atest.o atest.cpp
g++ -Wl,-O1 -o atest atest.o    -L/usr/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -lqca -lQtCore -lpthread 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
 * returned: 0
 * [./atest]
 * returned: 0
 * [/usr/bin/make distclean]
make[3]: Entering directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
rm -f atest.o
rm -f *~ core *.core
rm -f atest 
rm -f Makefile
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
 * returned: 0
 * extra += CONFIG += crypto

 -> yes
Checking for OpenSSL ...
 * Wrote atest.cpp:
int main()
{
    return 0;
}

 * Wrote atest.pro:
CONFIG  += console
CONFIG  -= qt app_bundle
SOURCES += atest.cpp
LIBS += -lssl

 * [/usr/share/qt4/bin/qmake atest.pro]
 * returned: 0
 * [/usr/bin/make]
make[3]: Entering directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
g++ -c -pipe -O2 -Wall -W  -I/usr/share/qt4/mkspecs/linux-g++ -I. -o atest.o atest.cpp
g++ -Wl,-O1 -o atest atest.o     -lssl 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
 * returned: 0
 * [/usr/bin/make distclean]
make[3]: Entering directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
rm -f atest.o
rm -f *~ core *.core
rm -f atest 
rm -f Makefile
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
 * returned: 0
 * Wrote atest.cpp:
#include<openssl/opensslv.h>
int main()
{
  unsigned long x = OPENSSL_VERSION_NUMBER;
  if(x >= 0x00907000) return 0; else return 1;
}

 * Wrote atest.pro:
CONFIG  += console
CONFIG  -= qt app_bundle
SOURCES += atest.cpp
LIBS += -lssl -lcrypto

 * [/usr/share/qt4/bin/qmake atest.pro]
 * returned: 0
 * [/usr/bin/make]
make[3]: Entering directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
g++ -c -pipe -O2 -Wall -W  -I/usr/share/qt4/mkspecs/linux-g++ -I. -o atest.o atest.cpp
g++ -Wl,-O1 -o atest atest.o     -lssl -lcrypto 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
 * returned: 0
 * [./atest]
 * returned: 0
 * [/usr/bin/make distclean]
make[3]: Entering directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
rm -f atest.o
rm -f *~ core *.core
rm -f atest 
rm -f Makefile
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.qconftemp/atest'
 * returned: 0
 * DEFINES += OSSL_097
 * LIBS += -lssl -lcrypto
 -> yes

 * extra += target.path=/usr/lib/arm-linux-gnueabihf/qt4/plugins/crypto
INSTALLS += target


Good, your configure finished.  Now run /usr/bin/make.

echo QMAKE_CFLAGS_DEBUG="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2" >> conf.pri
echo QMAKE_CXXFLAGS_DEBUG="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2" >> conf.pri
echo QMAKE_LFLAGS_DEBUG="-Wl,-z,relro -Wl,--as-needed -Wl,--no-undefined" >> conf.pri
qmake-qt4
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch debian/dhmk_configure
# "configure" target is done
/usr/bin/make -f debian/rules dhmk_run_build-arch_commands DHMK_TARGET="build-arch"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_testdir -O'--buildsystem=qmake' # [-a]
dh_auto_build '--buildsystem=kde' --parallel -O'--buildsystem=qmake' # [-a]
dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use)
	make -j4
make[2]: Entering directory '/<<PKGBUILDDIR>>'
/usr/lib/arm-linux-gnueabihf/qt4/bin/moc -DOSSL_097 -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include/QtCrypto -I. qca-ossl.cpp -o qca-ossl.moc
g++ -c -pipe -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DOSSL_097 -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include/QtCrypto -I. -o qca-ossl.o qca-ossl.cpp
qca-ossl.cpp: In function 'QCA::SecureArray opensslQCAPlugin::dsasig_der_to_raw(const QCA::SecureArray&)':
qca-ossl.cpp:111:15: error: invalid use of incomplete type 'DSA_SIG {aka struct DSA_SIG_st}'
  BN_bn2bin(sig->r, p);
               ^~
In file included from /usr/include/openssl/x509.h:32:0,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/dsa.h:70:16: note: forward declaration of 'DSA_SIG {aka struct DSA_SIG_st}'
 typedef struct DSA_SIG_st DSA_SIG;
                ^~~~~~~~~~
qca-ossl.cpp:111:17: error: invalid use of incomplete type 'DSA_SIG {aka struct DSA_SIG_st}'
  BN_bn2bin(sig->r, p);
                 ^
In file included from /usr/include/openssl/x509.h:32:0,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/dsa.h:70:16: note: forward declaration of 'DSA_SIG {aka struct DSA_SIG_st}'
 typedef struct DSA_SIG_st DSA_SIG;
                ^~~~~~~~~~
qca-ossl.cpp:113:15: error: invalid use of incomplete type 'DSA_SIG {aka struct DSA_SIG_st}'
  BN_bn2bin(sig->s, p);
               ^~
In file included from /usr/include/openssl/x509.h:32:0,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/dsa.h:70:16: note: forward declaration of 'DSA_SIG {aka struct DSA_SIG_st}'
 typedef struct DSA_SIG_st DSA_SIG;
                ^~~~~~~~~~
qca-ossl.cpp:113:17: error: invalid use of incomplete type 'DSA_SIG {aka struct DSA_SIG_st}'
  BN_bn2bin(sig->s, p);
                 ^
In file included from /usr/include/openssl/x509.h:32:0,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/dsa.h:70:16: note: forward declaration of 'DSA_SIG {aka struct DSA_SIG_st}'
 typedef struct DSA_SIG_st DSA_SIG;
                ^~~~~~~~~~
qca-ossl.cpp: In function 'QCA::SecureArray opensslQCAPlugin::dsasig_raw_to_der(const QCA::SecureArray&)':
qca-ossl.cpp:132:5: error: invalid use of incomplete type 'DSA_SIG {aka struct DSA_SIG_st}'
  sig->r = BN_bin2bn((const unsigned char *)part_r.data(), part_r.size(), NULL);
     ^~
In file included from /usr/include/openssl/x509.h:32:0,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/dsa.h:70:16: note: forward declaration of 'DSA_SIG {aka struct DSA_SIG_st}'
 typedef struct DSA_SIG_st DSA_SIG;
                ^~~~~~~~~~
qca-ossl.cpp:132:7: error: invalid use of incomplete type 'DSA_SIG {aka struct DSA_SIG_st}'
  sig->r = BN_bin2bn((const unsigned char *)part_r.data(), part_r.size(), NULL);
       ^
In file included from /usr/include/openssl/x509.h:32:0,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/dsa.h:70:16: note: forward declaration of 'DSA_SIG {aka struct DSA_SIG_st}'
 typedef struct DSA_SIG_st DSA_SIG;
                ^~~~~~~~~~
qca-ossl.cpp:133:5: error: invalid use of incomplete type 'DSA_SIG {aka struct DSA_SIG_st}'
  sig->s = BN_bin2bn((const unsigned char *)part_s.data(), part_s.size(), NULL);
     ^~
In file included from /usr/include/openssl/x509.h:32:0,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/dsa.h:70:16: note: forward declaration of 'DSA_SIG {aka struct DSA_SIG_st}'
 typedef struct DSA_SIG_st DSA_SIG;
                ^~~~~~~~~~
qca-ossl.cpp:133:7: error: invalid use of incomplete type 'DSA_SIG {aka struct DSA_SIG_st}'
  sig->s = BN_bin2bn((const unsigned char *)part_s.data(), part_s.size(), NULL);
       ^
In file included from /usr/include/openssl/x509.h:32:0,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/dsa.h:70:16: note: forward declaration of 'DSA_SIG {aka struct DSA_SIG_st}'
 typedef struct DSA_SIG_st DSA_SIG;
                ^~~~~~~~~~
qca-ossl.cpp: In function 'GENERAL_NAME* opensslQCAPlugin::new_general_name(const QCA::CertificateInfoType&, const QString&)':
qca-ossl.cpp:384:26: error: 'M_ASN1_IA5STRING_new' was not declared in this scope
    ASN1_IA5STRING *str = M_ASN1_IA5STRING_new();
                          ^~~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:384:26: note: suggested alternative: 'ASN1_IA5STRING_new'
    ASN1_IA5STRING *str = M_ASN1_IA5STRING_new();
                          ^~~~~~~~~~~~~~~~~~~~
                          ASN1_IA5STRING_new
qca-ossl.cpp:396:26: error: 'M_ASN1_IA5STRING_new' was not declared in this scope
    ASN1_IA5STRING *str = M_ASN1_IA5STRING_new();
                          ^~~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:396:26: note: suggested alternative: 'ASN1_IA5STRING_new'
    ASN1_IA5STRING *str = M_ASN1_IA5STRING_new();
                          ^~~~~~~~~~~~~~~~~~~~
                          ASN1_IA5STRING_new
qca-ossl.cpp:408:26: error: 'M_ASN1_IA5STRING_new' was not declared in this scope
    ASN1_IA5STRING *str = M_ASN1_IA5STRING_new();
                          ^~~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:408:26: note: suggested alternative: 'ASN1_IA5STRING_new'
    ASN1_IA5STRING *str = M_ASN1_IA5STRING_new();
                          ^~~~~~~~~~~~~~~~~~~~
                          ASN1_IA5STRING_new
qca-ossl.cpp: In function 'void opensslQCAPlugin::try_get_general_name(GENERAL_NAMES*, const QCA::CertificateInfoType&, QCA::CertificateInfo*)':
qca-ossl.cpp:514:102: warning: 'unsigned char* ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Wdeprecated-declarations]
                                         QByteArray cs((const char *)ASN1_STRING_data(gn->d.rfc822Name), ASN1_STRING_length(gn->d.rfc822Name));
                                                                                                      ^
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 qca-ossl.cpp:26:
/usr/include/openssl/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
qca-ossl.cpp:529:117: warning: 'unsigned char* ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Wdeprecated-declarations]
                                         QByteArray cs((const char *)ASN1_STRING_data(gn->d.uniformResourceIdentifier), ASN1_STRING_length(gn->d.uniformResourceIdentifier));
                                                                                                                     ^
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 qca-ossl.cpp:26:
/usr/include/openssl/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
qca-ossl.cpp:544:99: warning: 'unsigned char* ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Wdeprecated-declarations]
                                         QByteArray cs((const char *)ASN1_STRING_data(gn->d.dNSName), ASN1_STRING_length(gn->d.dNSName));
                                                                                                   ^
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 qca-ossl.cpp:26:
/usr/include/openssl/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
qca-ossl.cpp:560:90: warning: 'unsigned char* ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Wdeprecated-declarations]
                                         QByteArray buf((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 qca-ossl.cpp:26:
/usr/include/openssl/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
qca-ossl.cpp:598:90: warning: 'unsigned char* ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Wdeprecated-declarations]
                                         QByteArray buf((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 qca-ossl.cpp:26:
/usr/include/openssl/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
qca-ossl.cpp: In function 'QByteArray opensslQCAPlugin::get_cert_subject_key_id(X509_EXTENSION*)':
qca-ossl.cpp:852:52: warning: 'unsigned char* ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Wdeprecated-declarations]
  QByteArray out((const char *)ASN1_STRING_data(skid), ASN1_STRING_length(skid));
                                                    ^
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 qca-ossl.cpp:26:
/usr/include/openssl/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
qca-ossl.cpp: In function 'QByteArray opensslQCAPlugin::get_cert_issuer_key_id(X509_EXTENSION*)':
qca-ossl.cpp:864:62: warning: 'unsigned char* ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Wdeprecated-declarations]
   out = QByteArray((const char *)ASN1_STRING_data(akid->keyid), ASN1_STRING_length(akid->keyid));
                                                              ^
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 qca-ossl.cpp:26:
/usr/include/openssl/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
qca-ossl.cpp: At global scope:
qca-ossl.cpp:1022:16: error: field 'm_context' has incomplete type 'EVP_MD_CTX {aka evp_md_ctx_st}'
     EVP_MD_CTX m_context;
                ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'EVP_MD_CTX {aka struct evp_md_ctx_st}'
 typedef struct evp_md_ctx_st EVP_MD_CTX;
                ^~~~~~~~~~~~~
qca-ossl.cpp: In destructor 'virtual opensslQCAPlugin::opensslHashContext::~opensslHashContext()':
qca-ossl.cpp:994:2: error: 'EVP_MD_CTX_cleanup' was not declared in this scope
  EVP_MD_CTX_cleanup(&m_context);
  ^~~~~~~~~~~~~~~~~~
qca-ossl.cpp:994:2: note: suggested alternative: 'EVP_MD_CTX_create'
  EVP_MD_CTX_cleanup(&m_context);
  ^~~~~~~~~~~~~~~~~~
  EVP_MD_CTX_create
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::opensslHashContext::clear()':
qca-ossl.cpp:999:2: error: 'EVP_MD_CTX_cleanup' was not declared in this scope
  EVP_MD_CTX_cleanup(&m_context);
  ^~~~~~~~~~~~~~~~~~
qca-ossl.cpp:999:2: note: suggested alternative: 'EVP_MD_CTX_create'
  EVP_MD_CTX_cleanup(&m_context);
  ^~~~~~~~~~~~~~~~~~
  EVP_MD_CTX_create
qca-ossl.cpp: At global scope:
qca-ossl.cpp:1089:16: error: field 'm_context' has incomplete type 'EVP_MD_CTX {aka evp_md_ctx_st}'
     EVP_MD_CTX m_context;
                ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'EVP_MD_CTX {aka struct evp_md_ctx_st}'
 typedef struct evp_md_ctx_st EVP_MD_CTX;
                ^~~~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::Provider::Context* opensslQCAPlugin::opensslPbkdf1Context::clone() const':
qca-ossl.cpp:1037:41: error: invalid new-expression of abstract class type 'opensslQCAPlugin::opensslPbkdf1Context'
  return new opensslPbkdf1Context( *this );
                                         ^
qca-ossl.cpp:1026:7: note:   because the following virtual functions are pure within 'opensslQCAPlugin::opensslPbkdf1Context':
 class opensslPbkdf1Context : public KDFContext
       ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/QtCrypto/qca.h:44:0,
                 from /usr/include/QtCrypto/QtCrypto:1,
                 from qca-ossl.cpp:21:
/usr/include/QtCrypto/qcaprovider.h:369:23: note: 	virtual QCA::SymmetricKey QCA::KDFContext::makeKey(const QCA::SecureArray&, const QCA::InitializationVector&, unsigned int, int, unsigned int*)
  virtual SymmetricKey makeKey(const SecureArray &secret,
                       ^~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::Provider::Context* opensslQCAPlugin::opensslPbkdf2Context::clone() const':
qca-ossl.cpp:1101:41: error: invalid new-expression of abstract class type 'opensslQCAPlugin::opensslPbkdf2Context'
  return new opensslPbkdf2Context( *this );
                                         ^
qca-ossl.cpp:1092:7: note:   because the following virtual functions are pure within 'opensslQCAPlugin::opensslPbkdf2Context':
 class opensslPbkdf2Context : public KDFContext
       ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/QtCrypto/qca.h:44:0,
                 from /usr/include/QtCrypto/QtCrypto:1,
                 from qca-ossl.cpp:21:
/usr/include/QtCrypto/qcaprovider.h:369:23: note: 	virtual QCA::SymmetricKey QCA::KDFContext::makeKey(const QCA::SecureArray&, const QCA::InitializationVector&, unsigned int, int, unsigned int*)
  virtual SymmetricKey makeKey(const SecureArray &secret,
                       ^~~~~~~
qca-ossl.cpp: At global scope:
qca-ossl.cpp:1155:14: error: field 'm_context' has incomplete type 'HMAC_CTX {aka hmac_ctx_st}'
     HMAC_CTX m_context;
              ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'HMAC_CTX {aka struct hmac_ctx_st}'
 typedef struct hmac_ctx_st HMAC_CTX;
                ^~~~~~~~~~~
qca-ossl.cpp: In constructor 'opensslQCAPlugin::opensslHMACContext::opensslHMACContext(const EVP_MD*, QCA::Provider*, const QString&)':
qca-ossl.cpp:1123:2: error: 'HMAC_CTX_init' was not declared in this scope
  HMAC_CTX_init( &m_context );
  ^~~~~~~~~~~~~
qca-ossl.cpp:1123:2: note: suggested alternative: 'HMAC_CTX_new'
  HMAC_CTX_init( &m_context );
  ^~~~~~~~~~~~~
  HMAC_CTX_new
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::opensslHMACContext::final(QCA::MemoryRegion*)':
qca-ossl.cpp:1145:2: error: 'HMAC_CTX_cleanup' was not declared in this scope
  HMAC_CTX_cleanup(&m_context);
  ^~~~~~~~~~~~~~~~
qca-ossl.cpp:1145:2: note: suggested alternative: 'HMAC_CTX_get_md'
  HMAC_CTX_cleanup(&m_context);
  ^~~~~~~~~~~~~~~~
  HMAC_CTX_get_md
qca-ossl.cpp: At global scope:
qca-ossl.cpp:1169:13: error: field 'mdctx' has incomplete type 'EVP_MD_CTX {aka evp_md_ctx_st}'
  EVP_MD_CTX mdctx;
             ^~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'EVP_MD_CTX {aka struct evp_md_ctx_st}'
 typedef struct evp_md_ctx_st EVP_MD_CTX;
                ^~~~~~~~~~~~~
qca-ossl.cpp: In copy constructor 'opensslQCAPlugin::EVPKey::EVPKey(const opensslQCAPlugin::EVPKey&)':
qca-ossl.cpp:1184:19: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
                   ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1184:21: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
                     ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1184:36: error: 'CRYPTO_LOCK_EVP_PKEY' was not declared in this scope
   CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
                                    ^~~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:1184:36: note: suggested alternative: 'CRYPTO_LOCK'
   CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
                                    ^~~~~~~~~~~~~~~~~~~~
                                    CRYPTO_LOCK
qca-ossl.cpp:1184:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
   ^~~~~~~~~~
qca-ossl.cpp:1184:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp: In member function 'QCA::SecureArray opensslQCAPlugin::EVPKey::endSign()':
qca-ossl.cpp:1263:13: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
     if (pkey->type == EVP_PKEY_RSA)
             ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1263:15: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
     if (pkey->type == EVP_PKEY_RSA)
               ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1266:40: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
       (unsigned char *)out.data(), pkey->pkey.rsa,
                                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1266:42: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
       (unsigned char *)out.data(), pkey->pkey.rsa,
                                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1273:18: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
     else if (pkey->type == EVP_PKEY_DSA)
                  ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1273:20: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
     else if (pkey->type == EVP_PKEY_DSA)
                    ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'bool opensslQCAPlugin::EVPKey::endVerify(const QCA::SecureArray&)':
qca-ossl.cpp:1308:13: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
     if (pkey->type == EVP_PKEY_RSA) {
             ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1308:15: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
     if (pkey->type == EVP_PKEY_RSA) {
               ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1310:41: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
       (unsigned char *)out.data (), pkey->pkey.rsa,
                                         ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1310:43: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
       (unsigned char *)out.data (), pkey->pkey.rsa,
                                           ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1317:18: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
     else if (pkey->type == EVP_PKEY_DSA)
                  ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1317:20: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
     else if (pkey->type == EVP_PKEY_DSA)
                    ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In function 'bool opensslQCAPlugin::make_dlgroup(const QByteArray&, int, int, opensslQCAPlugin::DLParams*)':
qca-ossl.cpp:1443:116: warning: 'DSA* DSA_generate_parameters(int, unsigned char*, int, int*, long unsigned int*, void (*)(int, int, void*), void*)' is deprecated [-Wdeprecated-declarations]
  DSA *dsa = DSA_generate_parameters(bits, (unsigned char *)seed.data(), seed.size(), &ret_counter, NULL, NULL, NULL);
                                                                                                                    ^
In file included from /usr/include/openssl/dh.h:13:0,
                 from /usr/include/openssl/dsa.h:31,
                 from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/dsa.h:122:1: note: declared here
 DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
 ^
qca-ossl.cpp:1448:23: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
  params->p = bn2bi(dsa->p);
                       ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1448:25: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
  params->p = bn2bi(dsa->p);
                         ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1449:23: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
  params->q = bn2bi(dsa->q);
                       ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1449:25: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
  params->q = bn2bi(dsa->q);
                         ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1450:23: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
  params->g = bn2bi(dsa->g);
                       ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1450:25: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
  params->g = bn2bi(dsa->g);
                         ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKeyMaker::run()':
qca-ossl.cpp:1618:52: warning: 'RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)' is deprecated [-Wdeprecated-declarations]
   RSA *rsa = RSA_generate_key(bits, exp, NULL, NULL);
                                                    ^
In file included from /usr/include/openssl/rsa.h:13:0,
                 from /usr/include/openssl/x509.h:31,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/rsa.h:193:1: note: declared here
 DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
 ^
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKey::convertToPublic()':
qca-ossl.cpp:1689:38: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   int len = i2d_RSAPublicKey(evp.pkey->pkey.rsa, NULL);
                                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1689:40: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   int len = i2d_RSAPublicKey(evp.pkey->pkey.rsa, NULL);
                                        ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1692:28: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   i2d_RSAPublicKey(evp.pkey->pkey.rsa, &p);
                            ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1692:30: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   i2d_RSAPublicKey(evp.pkey->pkey.rsa, &p);
                              ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual int opensslQCAPlugin::RSAKey::maximumEncryptSize(QCA::EncryptionAlgorithm) const':
qca-ossl.cpp:1715:22: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   RSA *rsa = evp.pkey->pkey.rsa;
                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1715:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   RSA *rsa = evp.pkey->pkey.rsa;
                        ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::SecureArray opensslQCAPlugin::RSAKey::encrypt(const QCA::SecureArray&, QCA::EncryptionAlgorithm)':
qca-ossl.cpp:1724:22: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   RSA *rsa = evp.pkey->pkey.rsa;
                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1724:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   RSA *rsa = evp.pkey->pkey.rsa;
                        ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual bool opensslQCAPlugin::RSAKey::decrypt(const QCA::SecureArray&, QCA::SecureArray*, QCA::EncryptionAlgorithm)':
qca-ossl.cpp:1748:22: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   RSA *rsa = evp.pkey->pkey.rsa;
                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1748:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   RSA *rsa = evp.pkey->pkey.rsa;
                        ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKey::createPrivate(const QCA::BigInteger&, const QCA::BigInteger&, const QCA::BigInteger&, const QCA::BigInteger&, const QCA::BigInteger&)':
qca-ossl.cpp:1845:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->n = bi2bn(n);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1845:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->n = bi2bn(n);
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1846:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->e = bi2bn(e);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1846:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->e = bi2bn(e);
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1847:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->p = bi2bn(p);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1847:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->p = bi2bn(p);
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1848:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->q = bi2bn(q);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1848:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->q = bi2bn(q);
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1849:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->d = bi2bn(d);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1849:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->d = bi2bn(d);
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:10: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:12: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
            ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:21: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
                     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:23: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
                       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:32: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
                                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:34: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
                                  ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:43: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
                                           ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:45: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
                                             ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:54: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
                                                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1851:56: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e || !rsa->p || !rsa->q || !rsa->d)
                                                        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::RSAKey::createPublic(const QCA::BigInteger&, const QCA::BigInteger&)':
qca-ossl.cpp:1867:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->n = bi2bn(n);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1867:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->n = bi2bn(n);
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1868:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->e = bi2bn(e);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1868:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->e = bi2bn(e);
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1870:10: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1870:12: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e)
            ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1870:21: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e)
                     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:1870:23: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   if(!rsa->n || !rsa->e)
                       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::n() const':
qca-ossl.cpp:1883:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->n);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1883:26: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->n);
                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::e() const':
qca-ossl.cpp:1888:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->e);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1888:26: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->e);
                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::p() const':
qca-ossl.cpp:1893:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->p);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1893:26: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->p);
                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::q() const':
qca-ossl.cpp:1898:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->q);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1898:26: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->q);
                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::RSAKey::d() const':
qca-ossl.cpp:1903:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->d);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:1903:26: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.rsa->d);
                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKeyMaker::run()':
qca-ossl.cpp:1952:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->p = bi2bn(domain.p());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1952:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->p = bi2bn(domain.p());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1953:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->q = bi2bn(domain.q());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1953:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->q = bi2bn(domain.q());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1954:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->g = bi2bn(domain.g());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:1954:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->g = bi2bn(domain.g());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::convertToPublic()':
qca-ossl.cpp:2030:38: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   int len = i2d_DSAPublicKey(evp.pkey->pkey.dsa, NULL);
                                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2030:40: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   int len = i2d_DSAPublicKey(evp.pkey->pkey.dsa, NULL);
                                        ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2033:28: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   i2d_DSAPublicKey(evp.pkey->pkey.dsa, &p);
                            ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2033:30: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   i2d_DSAPublicKey(evp.pkey->pkey.dsa, &p);
                              ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::startSign(QCA::SignatureAlgorithm, QCA::SignatureFormat)':
qca-ossl.cpp:2062:17: error: 'EVP_dss1' was not declared in this scope
   evp.startSign(EVP_dss1());
                 ^~~~~~~~
qca-ossl.cpp:2062:17: note: suggested alternative: 'EVP_sha1'
   evp.startSign(EVP_dss1());
                 ^~~~~~~~
                 EVP_sha1
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::startVerify(QCA::SignatureAlgorithm, QCA::SignatureFormat)':
qca-ossl.cpp:2073:19: error: 'EVP_dss1' was not declared in this scope
   evp.startVerify(EVP_dss1());
                   ^~~~~~~~
qca-ossl.cpp:2073:19: note: suggested alternative: 'EVP_sha1'
   evp.startVerify(EVP_dss1());
                   ^~~~~~~~
                   EVP_sha1
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)':
qca-ossl.cpp:2123:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->p = bi2bn(domain.p());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2123:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->p = bi2bn(domain.p());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2124:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->q = bi2bn(domain.q());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2124:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->q = bi2bn(domain.q());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2125:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->g = bi2bn(domain.g());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2125:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->g = bi2bn(domain.g());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2126:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->pub_key = bi2bn(y);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2126:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->pub_key = bi2bn(y);
        ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2127:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->priv_key = bi2bn(x);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2127:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->priv_key = bi2bn(x);
        ^~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:10: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:12: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
            ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:21: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
                     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:23: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
                       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:32: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
                                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:34: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
                                  ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:43: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
                                           ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:45: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
                                             ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:60: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
                                                            ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2129:62: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key || !dsa->priv_key)
                                                              ^~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DSAKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)':
qca-ossl.cpp:2145:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->p = bi2bn(domain.p());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2145:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->p = bi2bn(domain.p());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2146:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->q = bi2bn(domain.q());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2146:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->q = bi2bn(domain.q());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2147:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->g = bi2bn(domain.g());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2147:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->g = bi2bn(domain.g());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2148:6: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->pub_key = bi2bn(y);
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2148:8: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   dsa->pub_key = bi2bn(y);
        ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2150:10: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2150:12: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key)
            ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2150:21: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key)
                     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2150:23: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key)
                       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2150:32: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key)
                                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2150:34: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key)
                                  ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2150:43: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key)
                                           ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp:2150:45: error: invalid use of incomplete type 'DSA {aka struct dsa_st}'
   if(!dsa->p || !dsa->q || !dsa->g || !dsa->pub_key)
                                             ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'DSA {aka struct dsa_st}'
 typedef struct dsa_st DSA;
                ^~~~~~
qca-ossl.cpp: In member function 'virtual QCA::DLGroup opensslQCAPlugin::DSAKey::domain() const':
qca-ossl.cpp:2163:32: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dsa->p), bn2bi(evp.pkey->pkey.dsa->q), bn2bi(evp.pkey->pkey.dsa->g));
                                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2163:34: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dsa->p), bn2bi(evp.pkey->pkey.dsa->q), bn2bi(evp.pkey->pkey.dsa->g));
                                  ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2163:62: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dsa->p), bn2bi(evp.pkey->pkey.dsa->q), bn2bi(evp.pkey->pkey.dsa->g));
                                                              ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2163:64: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dsa->p), bn2bi(evp.pkey->pkey.dsa->q), bn2bi(evp.pkey->pkey.dsa->g));
                                                                ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2163:92: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dsa->p), bn2bi(evp.pkey->pkey.dsa->q), bn2bi(evp.pkey->pkey.dsa->g));
                                                                                            ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2163:94: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dsa->p), bn2bi(evp.pkey->pkey.dsa->q), bn2bi(evp.pkey->pkey.dsa->g));
                                                                                              ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DSAKey::y() const':
qca-ossl.cpp:2168:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.dsa->pub_key);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2168:26: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.dsa->pub_key);
                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DSAKey::x() const':
qca-ossl.cpp:2173:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.dsa->priv_key);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2173:26: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.dsa->priv_key);
                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKeyMaker::run()':
qca-ossl.cpp:2222:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = bi2bn(domain.p());
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2222:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = bi2bn(domain.p());
       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2223:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = bi2bn(domain.g());
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2223:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = bi2bn(domain.g());
       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKey::convertToPublic()':
qca-ossl.cpp:2296:22: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   DH *orig = evp.pkey->pkey.dh;
                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2296:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   DH *orig = evp.pkey->pkey.dh;
                        ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2298:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = BN_dup(orig->p);
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2298:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = BN_dup(orig->p);
       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2298:22: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = BN_dup(orig->p);
                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2298:24: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = BN_dup(orig->p);
                        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2299:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = BN_dup(orig->g);
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2299:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = BN_dup(orig->g);
       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2299:22: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = BN_dup(orig->g);
                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2299:24: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = BN_dup(orig->g);
                        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2300:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->pub_key = BN_dup(orig->pub_key);
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2300:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->pub_key = BN_dup(orig->pub_key);
       ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2300:28: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->pub_key = BN_dup(orig->pub_key);
                            ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2300:30: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->pub_key = BN_dup(orig->pub_key);
                              ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp: In member function 'virtual QCA::SymmetricKey opensslQCAPlugin::DHKey::deriveKey(const QCA::PKeyBase&)':
qca-ossl.cpp:2316:20: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   DH *dh = evp.pkey->pkey.dh;
                    ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2316:22: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   DH *dh = evp.pkey->pkey.dh;
                      ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2317:59: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   DH *them = static_cast<const DHKey *>(&theirs)->evp.pkey->pkey.dh;
                                                           ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2317:61: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   DH *them = static_cast<const DHKey *>(&theirs)->evp.pkey->pkey.dh;
                                                             ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2319:64: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   int ret = DH_compute_key((unsigned char *)result.data(), them->pub_key, dh);
                                                                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2319:66: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   int ret = DH_compute_key((unsigned char *)result.data(), them->pub_key, dh);
                                                                  ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKey::createPrivate(const QCA::DLGroup&, const QCA::BigInteger&, const QCA::BigInteger&)':
qca-ossl.cpp:2349:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = bi2bn(domain.p());
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2349:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = bi2bn(domain.p());
       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2350:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = bi2bn(domain.g());
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2350:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = bi2bn(domain.g());
       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2351:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->pub_key = bi2bn(y);
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2351:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->pub_key = bi2bn(y);
       ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2352:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->priv_key = bi2bn(x);
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2352:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->priv_key = bi2bn(x);
       ^~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2354:9: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key || !dh->priv_key)
         ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2354:11: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key || !dh->priv_key)
           ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2354:19: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key || !dh->priv_key)
                   ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2354:21: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key || !dh->priv_key)
                     ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2354:29: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key || !dh->priv_key)
                             ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2354:31: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key || !dh->priv_key)
                               ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2354:45: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key || !dh->priv_key)
                                             ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2354:47: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key || !dh->priv_key)
                                               ^~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::DHKey::createPublic(const QCA::DLGroup&, const QCA::BigInteger&)':
qca-ossl.cpp:2370:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = bi2bn(domain.p());
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2370:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->p = bi2bn(domain.p());
       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2371:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = bi2bn(domain.g());
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2371:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->g = bi2bn(domain.g());
       ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2372:5: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->pub_key = bi2bn(y);
     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2372:7: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   dh->pub_key = bi2bn(y);
       ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2374:9: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key)
         ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2374:11: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key)
           ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2374:19: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key)
                   ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2374:21: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key)
                     ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2374:29: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key)
                             ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp:2374:31: error: invalid use of incomplete type 'DH {aka struct dh_st}'
   if(!dh->p || !dh->g || !dh->pub_key)
                               ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}'
 typedef struct dh_st DH;
                ^~~~~
qca-ossl.cpp: In member function 'virtual QCA::DLGroup opensslQCAPlugin::DHKey::domain() const':
qca-ossl.cpp:2387:32: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dh->p), bn2bi(evp.pkey->pkey.dh->g));
                                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2387:34: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dh->p), bn2bi(evp.pkey->pkey.dh->g));
                                  ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2387:61: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dh->p), bn2bi(evp.pkey->pkey.dh->g));
                                                             ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2387:63: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return DLGroup(bn2bi(evp.pkey->pkey.dh->p), bn2bi(evp.pkey->pkey.dh->g));
                                                               ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DHKey::y() const':
qca-ossl.cpp:2392:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.dh->pub_key);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2392:26: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.dh->pub_key);
                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::BigInteger opensslQCAPlugin::DHKey::x() const':
qca-ossl.cpp:2397:24: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.dh->priv_key);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2397:26: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   return bn2bi(evp.pkey->pkey.dh->priv_key);
                          ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In constructor 'opensslQCAPlugin::QCA_RSA_METHOD::QCA_RSA_METHOD(QCA::RSAPrivateKey, RSA*)':
qca-ossl.cpp:2436:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->flags |= RSA_FLAG_SIGN_VER;
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:2436:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->flags |= RSA_FLAG_SIGN_VER;
        ^~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:2436:17: error: 'RSA_FLAG_SIGN_VER' was not declared in this scope
   rsa->flags |= RSA_FLAG_SIGN_VER;
                 ^~~~~~~~~~~~~~~~~
qca-ossl.cpp:2436:17: note: suggested alternative: 'RSA_FLAG_EXT_PKEY'
   rsa->flags |= RSA_FLAG_SIGN_VER;
                 ^~~~~~~~~~~~~~~~~
                 RSA_FLAG_EXT_PKEY
qca-ossl.cpp:2438:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->n = bi2bn(_key.n());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:2438:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->n = bi2bn(_key.n());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:2439:6: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->e = bi2bn(_key.e());
      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp:2439:8: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
   rsa->e = bi2bn(_key.e());
        ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
 typedef struct rsa_st RSA;
                ^~~~~~
qca-ossl.cpp: In member function 'RSA_METHOD* opensslQCAPlugin::QCA_RSA_METHOD::rsa_method()':
qca-ossl.cpp:2448:50: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops = new RSA_METHOD(*RSA_get_default_method());
                                                  ^
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2449:7: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->rsa_priv_enc = 0;//pkcs11_rsa_encrypt;
       ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2449:9: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->rsa_priv_enc = 0;//pkcs11_rsa_encrypt;
         ^~~~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2450:7: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->rsa_priv_dec = 0;//pkcs11_rsa_decrypt;
       ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2450:9: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->rsa_priv_dec = 0;//pkcs11_rsa_decrypt;
         ^~~~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2451:7: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->rsa_sign = rsa_sign;
       ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2451:9: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->rsa_sign = rsa_sign;
         ^~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2452:7: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->rsa_verify = 0;//pkcs11_rsa_verify;
       ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2452:9: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->rsa_verify = 0;//pkcs11_rsa_verify;
         ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2453:7: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->finish = rsa_finish;
       ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp:2453:9: error: invalid use of incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
    ops->finish = rsa_finish;
         ^~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'RSA_METHOD {aka struct rsa_meth_st}'
 typedef struct rsa_meth_st RSA_METHOD;
                ^~~~~~~~~~~
qca-ossl.cpp: In static member function 'static int opensslQCAPlugin::QCA_RSA_METHOD::rsa_sign(int, const unsigned char*, unsigned int, unsigned char*, unsigned int*, const RSA*)':
qca-ossl.cpp:2476:12: error: aggregate 'X509_SIG sig' has incomplete type and cannot be defined
   X509_SIG sig;
            ^~~
qca-ossl.cpp: In member function 'QCA::PKeyBase* opensslQCAPlugin::MyPKeyContext::pkeyToBase(EVP_PKEY*, bool) const':
qca-ossl.cpp:2649:10: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_RSA)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2649:12: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_RSA)
            ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2656:15: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   else if(pkey->type == EVP_PKEY_DSA)
               ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2656:17: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   else if(pkey->type == EVP_PKEY_DSA)
                 ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2663:15: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   else if(pkey->type == EVP_PKEY_DH)
               ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2663:17: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   else if(pkey->type == EVP_PKEY_DH)
                 ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QByteArray opensslQCAPlugin::MyPKeyContext::publicToDER() const':
qca-ossl.cpp:2682:10: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_DH)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2682:12: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_DH)
            ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QString opensslQCAPlugin::MyPKeyContext::publicToPEM() const':
qca-ossl.cpp:2696:10: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_DH)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2696:12: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_DH)
            ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::SecureArray opensslQCAPlugin::MyPKeyContext::privateToDER(const QCA::SecureArray&, QCA::PBEAlgorithm) const':
qca-ossl.cpp:2763:10: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_DH)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2763:12: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_DH)
            ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QString opensslQCAPlugin::MyPKeyContext::privateToPEM(const QCA::SecureArray&, QCA::PBEAlgorithm) const':
qca-ossl.cpp:2792:10: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_DH)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp:2792:12: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
   if(pkey->type == EVP_PKEY_DH)
            ^~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'opensslQCAPlugin::X509Item& opensslQCAPlugin::X509Item::operator=(const opensslQCAPlugin::X509Item&)':
qca-ossl.cpp:2893:21: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     CRYPTO_add(&cert->references, 1, CRYPTO_LOCK_X509);
                     ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:2893:23: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     CRYPTO_add(&cert->references, 1, CRYPTO_LOCK_X509);
                       ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:2893:38: error: 'CRYPTO_LOCK_X509' was not declared in this scope
     CRYPTO_add(&cert->references, 1, CRYPTO_LOCK_X509);
                                      ^~~~~~~~~~~~~~~~
qca-ossl.cpp:2893:38: note: suggested alternative: 'CRYPTO_LOCK'
     CRYPTO_add(&cert->references, 1, CRYPTO_LOCK_X509);
                                      ^~~~~~~~~~~~~~~~
                                      CRYPTO_LOCK
qca-ossl.cpp:2893:5: error: 'CRYPTO_add' was not declared in this scope
     CRYPTO_add(&cert->references, 1, CRYPTO_LOCK_X509);
     ^~~~~~~~~~
qca-ossl.cpp:2893:5: note: suggested alternative: 'CRYPTO_ONCE'
     CRYPTO_add(&cert->references, 1, CRYPTO_LOCK_X509);
     ^~~~~~~~~~
     CRYPTO_ONCE
qca-ossl.cpp:2895:20: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
     CRYPTO_add(&req->references, 1, CRYPTO_LOCK_X509_REQ);
                    ^~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:2895:22: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
     CRYPTO_add(&req->references, 1, CRYPTO_LOCK_X509_REQ);
                      ^~~~~~~~~~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:2895:37: error: 'CRYPTO_LOCK_X509_REQ' was not declared in this scope
     CRYPTO_add(&req->references, 1, CRYPTO_LOCK_X509_REQ);
                                     ^~~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:2895:37: note: suggested alternative: 'PEM_read_X509_REQ'
     CRYPTO_add(&req->references, 1, CRYPTO_LOCK_X509_REQ);
                                     ^~~~~~~~~~~~~~~~~~~~
                                     PEM_read_X509_REQ
qca-ossl.cpp:2895:5: error: 'CRYPTO_add' was not declared in this scope
     CRYPTO_add(&req->references, 1, CRYPTO_LOCK_X509_REQ);
     ^~~~~~~~~~
qca-ossl.cpp:2895:5: note: suggested alternative: 'CRYPTO_ONCE'
     CRYPTO_add(&req->references, 1, CRYPTO_LOCK_X509_REQ);
     ^~~~~~~~~~
     CRYPTO_ONCE
qca-ossl.cpp:2897:20: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
     CRYPTO_add(&crl->references, 1, CRYPTO_LOCK_X509_CRL);
                    ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:2897:22: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
     CRYPTO_add(&crl->references, 1, CRYPTO_LOCK_X509_CRL);
                      ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:2897:37: error: 'CRYPTO_LOCK_X509_CRL' was not declared in this scope
     CRYPTO_add(&crl->references, 1, CRYPTO_LOCK_X509_CRL);
                                     ^~~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:2897:37: note: suggested alternative: 'PEM_read_X509_CRL'
     CRYPTO_add(&crl->references, 1, CRYPTO_LOCK_X509_CRL);
                                     ^~~~~~~~~~~~~~~~~~~~
                                     PEM_read_X509_CRL
qca-ossl.cpp:2897:5: error: 'CRYPTO_add' was not declared in this scope
     CRYPTO_add(&crl->references, 1, CRYPTO_LOCK_X509_CRL);
     ^~~~~~~~~~
qca-ossl.cpp:2897:5: note: suggested alternative: 'CRYPTO_ONCE'
     CRYPTO_add(&crl->references, 1, CRYPTO_LOCK_X509_CRL);
     ^~~~~~~~~~
     CRYPTO_ONCE
qca-ossl.cpp: In member function 'void opensslQCAPlugin::MyCertContext::fromX509(X509*)':
qca-ossl.cpp:3100:16: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3100:18: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                  ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3100:33: error: 'CRYPTO_LOCK_X509' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
qca-ossl.cpp:3100:33: note: suggested alternative: 'CRYPTO_LOCK'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
                                 CRYPTO_LOCK
qca-ossl.cpp:3100:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
qca-ossl.cpp:3100:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp: In member function 'virtual bool opensslQCAPlugin::MyCertContext::createSelfSigned(const QCA::CertificateOptions&, const QCA::PKeyContext&)':
qca-ossl.cpp:3131:9: error: 'EVP_dss1' was not declared in this scope
    md = EVP_dss1();
         ^~~~~~~~
qca-ossl.cpp:3131:9: note: suggested alternative: 'EVP_sha1'
    md = EVP_dss1();
         ^~~~~~~~
         EVP_sha1
qca-ossl.cpp: In member function 'virtual bool opensslQCAPlugin::MyCertContext::isIssuerOf(const QCA::CertContext*) const':
qca-ossl.cpp:3262:16: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3262:18: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                  ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3262:33: error: 'CRYPTO_LOCK_X509' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
qca-ossl.cpp:3262:33: note: suggested alternative: 'CRYPTO_LOCK'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
                                 CRYPTO_LOCK
qca-ossl.cpp:3262:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
qca-ossl.cpp:3262:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp: In member function 'void opensslQCAPlugin::MyCertContext::make_props()':
qca-ossl.cpp:3377:8: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   if (x->signature)
        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3377:10: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   if (x->signature)
          ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3379:24: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
    p.sig = QByteArray(x->signature->length, 0);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3379:26: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
    p.sig = QByteArray(x->signature->length, 0);
                          ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3380:22: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
    for (int i=0; i< x->signature->length; i++)
                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3380:24: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
    for (int i=0; i< x->signature->length; i++)
                        ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3381:17: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     p.sig[i] = x->signature->data[i];
                 ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3381:19: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     p.sig[i] = x->signature->data[i];
                   ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3384:24: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   switch( OBJ_obj2nid(x->cert_info->signature->algorithm) )
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3384:26: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   switch( OBJ_obj2nid(x->cert_info->signature->algorithm) )
                          ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3404:63: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
       qDebug() << "Unknown signature value: " << OBJ_obj2nid(x->cert_info->signature->algorithm);
                                                               ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:3404:65: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
       qDebug() << "Unknown signature value: " << OBJ_obj2nid(x->cert_info->signature->algorithm);
                                                                 ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::CertContext* opensslQCAPlugin::MyCAContext::signRequest(const QCA::CSRContext&, const QDateTime&) const':
qca-ossl.cpp:3521:9: error: 'EVP_dss1' was not declared in this scope
    md = EVP_dss1();
         ^~~~~~~~
qca-ossl.cpp:3521:9: note: suggested alternative: 'EVP_sha1'
    md = EVP_dss1();
         ^~~~~~~~
         EVP_sha1
qca-ossl.cpp: In member function 'virtual bool opensslQCAPlugin::MyCSRContext::createRequest(const QCA::CertificateOptions&, const QCA::PKeyContext&)':
qca-ossl.cpp:3704:9: error: 'EVP_dss1' was not declared in this scope
    md = EVP_dss1();
         ^~~~~~~~
qca-ossl.cpp:3704:9: note: suggested alternative: 'EVP_sha1'
    md = EVP_dss1();
         ^~~~~~~~
         EVP_sha1
qca-ossl.cpp: In member function 'void opensslQCAPlugin::MyCSRContext::make_props()':
qca-ossl.cpp:3865:8: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
   if (x->signature)
        ^~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3865:10: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
   if (x->signature)
          ^~~~~~~~~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3867:24: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
    p.sig = QByteArray(x->signature->length, 0);
                        ^~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3867:26: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
    p.sig = QByteArray(x->signature->length, 0);
                          ^~~~~~~~~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3868:22: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
    for (int i=0; i< x->signature->length; i++)
                      ^~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3868:24: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
    for (int i=0; i< x->signature->length; i++)
                        ^~~~~~~~~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3869:17: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
     p.sig[i] = x->signature->data[i];
                 ^~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3869:19: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
     p.sig[i] = x->signature->data[i];
                   ^~~~~~~~~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3872:24: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
   switch( OBJ_obj2nid(x->sig_alg->algorithm) )
                        ^~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3872:26: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
   switch( OBJ_obj2nid(x->sig_alg->algorithm) )
                          ^~~~~~~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3892:63: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
       qDebug() << "Unknown signature value: " << OBJ_obj2nid(x->sig_alg->algorithm);
                                                               ^~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp:3892:65: error: invalid use of incomplete type 'X509_REQ {aka struct X509_req_st}'
       qDebug() << "Unknown signature value: " << OBJ_obj2nid(x->sig_alg->algorithm);
                                                                 ^~~~~~~
In file included from /usr/include/openssl/pem.h:17:0,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:91:16: note: forward declaration of 'X509_REQ {aka struct X509_req_st}'
 typedef struct X509_req_st X509_REQ;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'void opensslQCAPlugin::MyCRLContext::fromX509(X509_CRL*)':
qca-ossl.cpp:3956:16: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:3956:18: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                  ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:3956:33: error: 'CRYPTO_LOCK_X509_CRL' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                                 ^~~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:3956:33: note: suggested alternative: 'PEM_read_X509_CRL'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                                 ^~~~~~~~~~~~~~~~~~~~
                                 PEM_read_X509_CRL
qca-ossl.cpp:3956:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
   ^~~~~~~~~~
qca-ossl.cpp:3956:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp: In member function 'void opensslQCAPlugin::MyCRLContext::make_props()':
qca-ossl.cpp:4001:66: warning: 'ASN1_TIME* X509_CRL_get_lastUpdate(X509_CRL*)' is deprecated [-Wdeprecated-declarations]
   p.thisUpdate = ASN1_UTCTIME_QDateTime(X509_CRL_get_lastUpdate(x), NULL);
                                                                  ^
In file included from /usr/include/openssl/x509_vfy.h:20:0,
                 from /usr/include/openssl/x509.h:309,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:708:1: note: declared here
 DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl))
 ^
qca-ossl.cpp:4002:66: warning: 'ASN1_TIME* X509_CRL_get_nextUpdate(X509_CRL*)' is deprecated [-Wdeprecated-declarations]
   p.nextUpdate = ASN1_UTCTIME_QDateTime(X509_CRL_get_nextUpdate(x), NULL);
                                                                  ^
In file included from /usr/include/openssl/x509_vfy.h:20:0,
                 from /usr/include/openssl/x509.h:309,
                 from /usr/include/openssl/pem.h:17,
                 from qca-ossl.cpp:34:
/usr/include/openssl/x509.h:709:1: note: declared here
 DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl))
 ^
qca-ossl.cpp:4008:52: error: invalid use of incomplete type 'X509_REVOKED {aka struct x509_revoked_st}'
    BigInteger serial = bn2bi(ASN1_INTEGER_to_BN(rev->serialNumber, NULL));
                                                    ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:123:16: note: forward declaration of 'X509_REVOKED {aka struct x509_revoked_st}'
 typedef struct x509_revoked_st X509_REVOKED;
                ^~~~~~~~~~~~~~~
qca-ossl.cpp:4008:54: error: invalid use of incomplete type 'X509_REVOKED {aka struct x509_revoked_st}'
    BigInteger serial = bn2bi(ASN1_INTEGER_to_BN(rev->serialNumber, NULL));
                                                      ^~~~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:123:16: note: forward declaration of 'X509_REVOKED {aka struct x509_revoked_st}'
 typedef struct x509_revoked_st X509_REVOKED;
                ^~~~~~~~~~~~~~~
qca-ossl.cpp:4009:48: error: invalid use of incomplete type 'X509_REVOKED {aka struct x509_revoked_st}'
    QDateTime time = ASN1_UTCTIME_QDateTime( rev->revocationDate, NULL);
                                                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:123:16: note: forward declaration of 'X509_REVOKED {aka struct x509_revoked_st}'
 typedef struct x509_revoked_st X509_REVOKED;
                ^~~~~~~~~~~~~~~
qca-ossl.cpp:4009:50: error: invalid use of incomplete type 'X509_REVOKED {aka struct x509_revoked_st}'
    QDateTime time = ASN1_UTCTIME_QDateTime( rev->revocationDate, NULL);
                                                  ^~~~~~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:123:16: note: forward declaration of 'X509_REVOKED {aka struct x509_revoked_st}'
 typedef struct x509_revoked_st X509_REVOKED;
                ^~~~~~~~~~~~~~~
qca-ossl.cpp:4058:8: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   if (x->signature)
        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4058:10: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   if (x->signature)
          ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4060:24: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
    p.sig = QByteArray(x->signature->length, 0);
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4060:26: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
    p.sig = QByteArray(x->signature->length, 0);
                          ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4061:22: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
    for (int i=0; i< x->signature->length; i++)
                      ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4061:24: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
    for (int i=0; i< x->signature->length; i++)
                        ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4062:17: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
     p.sig[i] = x->signature->data[i];
                 ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4062:19: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
     p.sig[i] = x->signature->data[i];
                   ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4064:24: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   switch( OBJ_obj2nid(x->sig_alg->algorithm) )
                        ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4064:26: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   switch( OBJ_obj2nid(x->sig_alg->algorithm) )
                          ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4084:65: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
       qWarning() << "Unknown signature value: " << OBJ_obj2nid(x->sig_alg->algorithm);
                                                                 ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4084:67: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
       qWarning() << "Unknown signature value: " << OBJ_obj2nid(x->sig_alg->algorithm);
                                                                   ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::Validity opensslQCAPlugin::MyCertContext::validate(const QList<QCA::CertContext*>&, const QList<QCA::CertContext*>&, const QList<QCA::CRLContext*>&, QCA::UsageMode, QCA::ValidateFlags) const':
qca-ossl.cpp:4245:16: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4245:18: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                  ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4245:33: error: 'CRYPTO_LOCK_X509' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
qca-ossl.cpp:4245:33: note: suggested alternative: 'CRYPTO_LOCK'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
                                 CRYPTO_LOCK
qca-ossl.cpp:4245:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
qca-ossl.cpp:4245:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp:4252:16: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4252:18: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                  ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4252:33: error: 'CRYPTO_LOCK_X509' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
qca-ossl.cpp:4252:33: note: suggested alternative: 'CRYPTO_LOCK'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
                                 CRYPTO_LOCK
qca-ossl.cpp:4252:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
qca-ossl.cpp:4252:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp:4259:16: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4259:18: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                  ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4259:33: error: 'CRYPTO_LOCK_X509_CRL' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                                 ^~~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:4259:33: note: suggested alternative: 'PEM_read_X509_CRL'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                                 ^~~~~~~~~~~~~~~~~~~~
                                 PEM_read_X509_CRL
qca-ossl.cpp:4259:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
   ^~~~~~~~~~
qca-ossl.cpp:4259:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp:4284:12: error: invalid use of incomplete type 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
   err = ctx->error;
            ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
 typedef struct x509_store_ctx_st X509_STORE_CTX;
                ^~~~~~~~~~~~~~~~~
qca-ossl.cpp:4284:14: error: invalid use of incomplete type 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
   err = ctx->error;
              ^~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
 typedef struct x509_store_ctx_st X509_STORE_CTX;
                ^~~~~~~~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::Validity opensslQCAPlugin::MyCertContext::validate_chain(const QList<QCA::CertContext*>&, const QList<QCA::CertContext*>&, const QList<QCA::CRLContext*>&, QCA::UsageMode, QCA::ValidateFlags) const':
qca-ossl.cpp:4318:16: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4318:18: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                  ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4318:33: error: 'CRYPTO_LOCK_X509' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
qca-ossl.cpp:4318:33: note: suggested alternative: 'CRYPTO_LOCK'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
                                 CRYPTO_LOCK
qca-ossl.cpp:4318:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
qca-ossl.cpp:4318:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp:4325:16: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4325:18: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                  ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4325:33: error: 'CRYPTO_LOCK_X509' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
qca-ossl.cpp:4325:33: note: suggested alternative: 'CRYPTO_LOCK'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                 ^~~~~~~~~~~~~~~~
                                 CRYPTO_LOCK
qca-ossl.cpp:4325:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
qca-ossl.cpp:4325:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp:4332:16: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4332:18: error: invalid use of incomplete type 'X509_CRL {aka struct X509_crl_st}'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                  ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:121:16: note: forward declaration of 'X509_CRL {aka struct X509_crl_st}'
 typedef struct X509_crl_st X509_CRL;
                ^~~~~~~~~~~
qca-ossl.cpp:4332:33: error: 'CRYPTO_LOCK_X509_CRL' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                                 ^~~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:4332:33: note: suggested alternative: 'PEM_read_X509_CRL'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
                                 ^~~~~~~~~~~~~~~~~~~~
                                 PEM_read_X509_CRL
qca-ossl.cpp:4332:3: error: 'CRYPTO_add' was not declared in this scope
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
   ^~~~~~~~~~
qca-ossl.cpp:4332:3: note: suggested alternative: 'CRYPTO_ONCE'
   CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509_CRL);
   ^~~~~~~~~~
   CRYPTO_ONCE
qca-ossl.cpp:4357:12: error: invalid use of incomplete type 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
   err = ctx->error;
            ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
 typedef struct x509_store_ctx_st X509_STORE_CTX;
                ^~~~~~~~~~~~~~~~~
qca-ossl.cpp:4357:14: error: invalid use of incomplete type 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
   err = ctx->error;
              ^~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
 typedef struct x509_store_ctx_st X509_STORE_CTX;
                ^~~~~~~~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QByteArray opensslQCAPlugin::MyPKCS12Context::toPKCS12(const QString&, const QList<const QCA::CertContext*>&, const QCA::PKeyContext&, const QCA::SecureArray&) const':
qca-ossl.cpp:4421:18: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                  ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4421:20: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                    ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:4421:35: error: 'CRYPTO_LOCK_X509' was not declared in this scope
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                   ^~~~~~~~~~~~~~~~
qca-ossl.cpp:4421:35: note: suggested alternative: 'CRYPTO_LOCK'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                   ^~~~~~~~~~~~~~~~
                                   CRYPTO_LOCK
qca-ossl.cpp:4421:5: error: 'CRYPTO_add' was not declared in this scope
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
     ^~~~~~~~~~
qca-ossl.cpp:4421:5: note: suggested alternative: 'CRYPTO_ONCE'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
     ^~~~~~~~~~
     CRYPTO_ONCE
qca-ossl.cpp: In member function 'virtual QStringList opensslQCAPlugin::MyTLSContext::supportedCipherSuites(const QCA::TLS::Version&) const':
qca-ossl.cpp:5148:22: error: 'SSLv2_client_method' was not declared in this scope
    ctx = SSL_CTX_new(SSLv2_client_method());
                      ^~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:5148:22: note: suggested alternative: 'SSLv23_client_method'
    ctx = SSL_CTX_new(SSLv2_client_method());
                      ^~~~~~~~~~~~~~~~~~~
                      SSLv23_client_method
qca-ossl.cpp:5152:22: error: 'SSLv3_client_method' was not declared in this scope
    ctx = SSL_CTX_new(SSLv3_client_method());
                      ^~~~~~~~~~~~~~~~~~~
qca-ossl.cpp:5152:22: note: suggested alternative: 'SSLv23_client_method'
    ctx = SSL_CTX_new(SSLv3_client_method());
                      ^~~~~~~~~~~~~~~~~~~
                      SSLv23_client_method
qca-ossl.cpp:5155:42: warning: 'const SSL_METHOD* TLSv1_client_method()' is deprecated [-Wdeprecated-declarations]
    ctx = SSL_CTX_new(TLSv1_client_method());
                                          ^
In file included from /usr/include/openssl/ct.h:13:0,
                 from /usr/include/openssl/ssl.h:61,
                 from qca-ossl.cpp:38:
/usr/include/openssl/ssl.h:1626:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
 ^
qca-ossl.cpp:5175:48: error: invalid conversion from 'const SSL_CIPHER* {aka const ssl_cipher_st*}' to 'SSL_CIPHER* {aka ssl_cipher_st*}' [-fpermissive]
    SSL_CIPHER *thisCipher = sk_SSL_CIPHER_value(sk, i);
                             ~~~~~~~~~~~~~~~~~~~^~~~~~~
qca-ossl.cpp:5176:54: error: invalid use of incomplete type 'SSL_CIPHER {aka struct ssl_cipher_st}'
    cipherList += cipherIDtoString(version, thisCipher->id);
                                                      ^~
In file included from qca-ossl.cpp:38:0:
/usr/include/openssl/ssl.h:227:16: note: forward declaration of 'SSL_CIPHER {aka struct ssl_cipher_st}'
 typedef struct ssl_cipher_st SSL_CIPHER;
                ^~~~~~~~~~~~~
qca-ossl.cpp:5176:56: error: invalid use of incomplete type 'SSL_CIPHER {aka struct ssl_cipher_st}'
    cipherList += cipherIDtoString(version, thisCipher->id);
                                                        ^~
In file included from qca-ossl.cpp:38:0:
/usr/include/openssl/ssl.h:227:16: note: forward declaration of 'SSL_CIPHER {aka struct ssl_cipher_st}'
 typedef struct ssl_cipher_st SSL_CIPHER;
                ^~~~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::TLSContext::SessionInfo opensslQCAPlugin::MyTLSContext::sessionInfo() const':
qca-ossl.cpp:5553:36: error: invalid use of incomplete type 'SSL {aka struct ssl_st}'
   sessInfo.isCompressed = (0 != ssl->session->compress_meth);
                                    ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'SSL {aka struct ssl_st}'
 typedef struct ssl_st SSL;
                ^~~~~~
qca-ossl.cpp:5553:38: error: invalid use of incomplete type 'SSL {aka struct ssl_st}'
   sessInfo.isCompressed = (0 != ssl->session->compress_meth);
                                      ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'SSL {aka struct ssl_st}'
 typedef struct ssl_st SSL;
                ^~~~~~
qca-ossl.cpp:5555:10: error: invalid use of incomplete type 'SSL {aka struct ssl_st}'
   if (ssl->version == TLS1_VERSION)
          ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'SSL {aka struct ssl_st}'
 typedef struct ssl_st SSL;
                ^~~~~~
qca-ossl.cpp:5555:12: error: invalid use of incomplete type 'SSL {aka struct ssl_st}'
   if (ssl->version == TLS1_VERSION)
            ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'SSL {aka struct ssl_st}'
 typedef struct ssl_st SSL;
                ^~~~~~
qca-ossl.cpp:5557:15: error: invalid use of incomplete type 'SSL {aka struct ssl_st}'
   else if (ssl->version == SSL3_VERSION)
               ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'SSL {aka struct ssl_st}'
 typedef struct ssl_st SSL;
                ^~~~~~
qca-ossl.cpp:5557:17: error: invalid use of incomplete type 'SSL {aka struct ssl_st}'
   else if (ssl->version == SSL3_VERSION)
                 ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'SSL {aka struct ssl_st}'
 typedef struct ssl_st SSL;
                ^~~~~~
qca-ossl.cpp:5559:15: error: invalid use of incomplete type 'SSL {aka struct ssl_st}'
   else if (ssl->version == SSL2_VERSION)
               ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'SSL {aka struct ssl_st}'
 typedef struct ssl_st SSL;
                ^~~~~~
qca-ossl.cpp:5559:17: error: invalid use of incomplete type 'SSL {aka struct ssl_st}'
   else if (ssl->version == SSL2_VERSION)
                 ^~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'SSL {aka struct ssl_st}'
 typedef struct ssl_st SSL;
                ^~~~~~
qca-ossl.cpp:5567:36: error: invalid use of incomplete type 'const SSL_CIPHER {aka const struct ssl_cipher_st}'
         SSL_get_current_cipher(ssl)->id);
                                    ^~
In file included from qca-ossl.cpp:38:0:
/usr/include/openssl/ssl.h:227:16: note: forward declaration of 'SSL_CIPHER {aka struct ssl_cipher_st}'
 typedef struct ssl_cipher_st SSL_CIPHER;
                ^~~~~~~~~~~~~
qca-ossl.cpp:5567:38: error: invalid use of incomplete type 'const SSL_CIPHER {aka const struct ssl_cipher_st}'
         SSL_get_current_cipher(ssl)->id);
                                      ^~
In file included from qca-ossl.cpp:38:0:
/usr/include/openssl/ssl.h:227:16: note: forward declaration of 'SSL_CIPHER {aka struct ssl_cipher_st}'
 typedef struct ssl_cipher_st SSL_CIPHER;
                ^~~~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual void opensslQCAPlugin::MyMessageContext::end()':
qca-ossl.cpp:6107:18: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                  ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:6107:20: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                    ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:6107:35: error: 'CRYPTO_LOCK_X509' was not declared in this scope
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                   ^~~~~~~~~~~~~~~~
qca-ossl.cpp:6107:35: note: suggested alternative: 'CRYPTO_LOCK'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                   ^~~~~~~~~~~~~~~~
                                   CRYPTO_LOCK
qca-ossl.cpp:6107:5: error: 'CRYPTO_add' was not declared in this scope
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
     ^~~~~~~~~~
qca-ossl.cpp:6107:5: note: suggested alternative: 'CRYPTO_ONCE'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
     ^~~~~~~~~~
     CRYPTO_ONCE
qca-ossl.cpp:6149:17: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
    CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                 ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:6149:19: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
    CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                   ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:6149:34: error: 'CRYPTO_LOCK_X509' was not declared in this scope
    CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                  ^~~~~~~~~~~~~~~~
qca-ossl.cpp:6149:34: note: suggested alternative: 'CRYPTO_LOCK'
    CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                  ^~~~~~~~~~~~~~~~
                                  CRYPTO_LOCK
qca-ossl.cpp:6149:4: error: 'CRYPTO_add' was not declared in this scope
    CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
    ^~~~~~~~~~
qca-ossl.cpp:6149:4: note: suggested alternative: 'CRYPTO_ONCE'
    CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
    ^~~~~~~~~~
    CRYPTO_ONCE
qca-ossl.cpp:6211:18: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                  ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:6211:20: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                    ^~~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~
qca-ossl.cpp:6211:35: error: 'CRYPTO_LOCK_X509' was not declared in this scope
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                   ^~~~~~~~~~~~~~~~
qca-ossl.cpp:6211:35: note: suggested alternative: 'CRYPTO_LOCK'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
                                   ^~~~~~~~~~~~~~~~
                                   CRYPTO_LOCK
qca-ossl.cpp:6211:5: error: 'CRYPTO_add' was not declared in this scope
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
     ^~~~~~~~~~
qca-ossl.cpp:6211:5: note: suggested alternative: 'CRYPTO_ONCE'
     CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509);
     ^~~~~~~~~~
     CRYPTO_ONCE
qca-ossl.cpp: At global scope:
qca-ossl.cpp:6584:17: error: field 'm_context' has incomplete type 'EVP_CIPHER_CTX {aka evp_cipher_ctx_st}'
  EVP_CIPHER_CTX m_context;
                 ^~~~~~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from qca-ossl.cpp:26:
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}'
 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^~~~~~~~~~~~~~~~~
qca-ossl.cpp: In member function 'virtual QCA::SecureArray opensslQCAPlugin::opensslRandomContext::nextBytes(int)':
qca-ossl.cpp:6732:11: warning: 'int RAND_pseudo_bytes(unsigned char*, int)' is deprecated [-Wdeprecated-declarations]
       size);
           ^
In file included from /usr/include/openssl/hmac.h:13:0,
                 from qca-ossl.cpp:27:
/usr/include/openssl/rand.h:47:1: note: declared here
 DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
 ^
qca-ossl.cpp: In member function 'virtual QCA::Provider::Context* opensslProvider::createContext(const QString&)':
qca-ossl.cpp:6840:35: error: 'EVP_sha' was not declared in this scope
    return new opensslHashContext( EVP_sha(), this, type);
                                   ^~~~~~~
qca-ossl.cpp:6840:35: note: suggested alternative: 'EVP_sha1'
    return new opensslHashContext( EVP_sha(), this, type);
                                   ^~~~~~~
                                   EVP_sha1
qca-ossl.cpp:6874:60: error: invalid new-expression of abstract class type 'opensslQCAPlugin::opensslPbkdf1Context'
    return new opensslPbkdf1Context( EVP_sha1(), this, type );
                                                            ^
qca-ossl.cpp:6880:48: error: invalid new-expression of abstract class type 'opensslQCAPlugin::opensslPbkdf2Context'
    return new opensslPbkdf2Context( this, type );
                                                ^
qca-ossl.cpp: At global scope:
qca-ossl.cpp:4521:16: warning: 'QString opensslQCAPlugin::cipherIDtoString(const QCA::TLS::Version&, const long unsigned int&)' defined but not used [-Wunused-function]
 static QString cipherIDtoString( const TLS::Version &version, const unsigned long &cipherID)
                ^~~~~~~~~~~~~~~~
qca-ossl.cpp:86:19: warning: 'QCA::BigInteger opensslQCAPlugin::bn2bi(BIGNUM*)' defined but not used [-Wunused-function]
 static BigInteger bn2bi(BIGNUM *n)
                   ^~~~~
Makefile:223: recipe for target 'qca-ossl.o' failed
make[2]: *** [qca-ossl.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j4 returned exit code 2
/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:97: recipe for target 'pre_build-arch_dh_auto_build' failed
make[1]: *** [pre_build-arch_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:110: recipe for target 'debian/dhmk_build-arch' failed
make: *** [debian/dhmk_build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2018-02-01T18:18:31Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 0
Build-Time: 78
Distribution: buster-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 687
Job: qca2-plugin-ossl_2.0.0~beta3-2
Machine Architecture: armhf
Package: qca2-plugin-ossl
Package-Time: 812
Source-Version: 2.0.0~beta3-2
Space: 0
Status: failed
Version: 2.0.0~beta3-2
--------------------------------------------------------------------------------
Finished at 2018-02-01T18:18:31Z
Build needed 00:00:00, 0k disc space