Debian Bug report logs -
#798036
konversation: 1.6 Built without QCA support
Reported by: Andy Irving <irv@soundforsound.co.uk>
Date: Fri, 4 Sep 2015 17:27:02 UTC
Severity: important
Found in version konversation/1.6-1
Fixed in version konversation/1.6-2
Done: Diane Trout <diane@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, irv@soundforsound.co.uk, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#798036; Package konversation.
(Fri, 04 Sep 2015 17:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Andy Irving <irv@soundforsound.co.uk>:
New Bug report received and forwarded. Copy sent to irv@soundforsound.co.uk, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>.
(Fri, 04 Sep 2015 17:27:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: konversation
Version: 1.6-1
Severity: important
Dear Maintainer,
Attempting to use blowfish encryption with 1.6 fails:
[Error] Setting an encryption key requires Konversation to have been built with support for the Qt Cryptographic Architecture (QCA) library. Contact your distributor about a Konversation package with QCA support, or rebuild Konversation with QCA present.
Expected: it should work
This is a regression, 1.5 was built against QCA.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages konversation depends on:
ii konversation-data 1.6-1
ii libc6 2.19-19
ii libgcc1 1:5.2.1-16
ii libkf5archive5 5.13.0-1
ii libkf5auth5 5.13.0-1
ii libkf5bookmarks5 5.13.0-1
ii libkf5codecs5 5.13.0-1
ii libkf5completion5 5.13.0-1
ii libkf5configcore5 5.13.0-1
ii libkf5configgui5 5.13.0-1
ii libkf5configwidgets5 5.13.0-2
ii libkf5coreaddons5 5.13.0-1
ii libkf5dbusaddons5 5.13.0-1
ii libkf5emoticons5 5.13.0-1
ii libkf5globalaccel5 5.13.0-2
ii libkf5i18n5 5.13.0-1
ii libkf5iconthemes5 5.13.0-1
ii libkf5idletime5 5.13.0-1
ii libkf5itemviews5 5.13.0-1
ii libkf5jobwidgets5 5.13.0-1
ii libkf5kiocore5 5.13.0-1
ii libkf5kiofilewidgets5 5.13.0-1
ii libkf5kiowidgets5 5.13.0-1
ii libkf5notifications5 5.13.0-1
ii libkf5notifyconfig5 5.13.0-1
ii libkf5parts5 5.13.0-1
ii libkf5service5 5.13.0-2
ii libkf5solid5 5.13.0-1
ii libkf5sonnetcore5 5.13.0-1
ii libkf5sonnetui5 5.13.0-1
ii libkf5textwidgets5 5.13.0-1
ii libkf5wallet5 5.13.0-1
ii libkf5widgetsaddons5 5.13.0-1
ii libkf5windowsystem5 5.13.0-3
ii libkf5xmlgui5 5.13.0-1
ii libphonon4qt5-4 4:4.8.3-2
ii libqca-qt5-2 2.1.0.3-4
ii libqt5core5a 5.4.2+dfsg-9
ii libqt5dbus5 5.4.2+dfsg-9
ii libqt5gui5 5.4.2+dfsg-9
ii libqt5network5 5.4.2+dfsg-9
ii libqt5widgets5 5.4.2+dfsg-9
ii libqt5xml5 5.4.2+dfsg-9
ii libstdc++6 5.2.1-16
konversation recommends no packages.
konversation suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#798036; Package konversation.
(Wed, 16 Sep 2015 20:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andy Irving <irv@soundforsound.co.uk>:
Extra info received and forwarded to list. Copy sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>.
Your message did not contain a Subject field. They are recommended and
useful because the title of a Bug is determined using this field.
Please remember to include a Subject field in your messages in future.
(Wed, 16 Sep 2015 20:03:03 GMT) (full text, mbox, link).
Message #10 received at 798036@bugs.debian.org (full text, mbox, reply):
Got to the bottom of it:
HAVE_QCA2 is set *after* the config.h is created in CMakeLists.txt, which
because CMaske is awful means the #define is never created.
(this appears to be an upstream bug, revision a4e0c5e9 or thereabouts)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd5fe62..390dec8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,11 +52,11 @@ check_include_file("stropts.h" HAVE_STROPTS_H)
check_include_file("byteswap.h" HAVE_BYTESWAP_H)
check_include_file("sys/endian.h" HAVE_SYS_ENDIAN_H)
+set(HAVE_QCA2 ${Qca-qt5_FOUND})
+
configure_file(config-konversation.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-
konversation.h )
include_directories(${CMAKE_CURRENT_BINARY_DIR})
-set(HAVE_QCA2 ${Qca-qt5_FOUND})
-
add_definitions(
-DQT_USE_QSTRINGBUILDER
-DQT_NO_CAST_TO_ASCII
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#798036; Package konversation.
(Wed, 16 Sep 2015 22:03:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Diane Trout <diane@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>.
(Wed, 16 Sep 2015 22:03:06 GMT) (full text, mbox, link).
Message #15 received at 798036@bugs.debian.org (full text, mbox, reply):
Hello
Thank you for your bug report and even better tracking down a work around.
I'll try to update and test in a day or two.
Diane
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#798036; Package konversation.
(Thu, 17 Sep 2015 05:45:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Diane Trout <diane@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>.
(Thu, 17 Sep 2015 05:45:06 GMT) (full text, mbox, link).
Message #20 received at 798036@bugs.debian.org (full text, mbox, reply):
version: 1.6-2
Hello,
I showed your patch to the Konversation maintainer and pushed it upstream. I
also applied it to konveration-1.6-2, and just uploaded that to Debian.
It should be built and available in unstable in the next few hours.
I wasn't able to figure out how to use the encryption support, so could you
test this build and let me know if it's working?
Thanks
Diane Trout
Reply sent
to Diane Trout <diane@debian.org>:
You have taken responsibility.
(Thu, 17 Sep 2015 05:51:08 GMT) (full text, mbox, link).
Notification sent
to Andy Irving <irv@soundforsound.co.uk>:
Bug acknowledged by developer.
(Thu, 17 Sep 2015 05:51:08 GMT) (full text, mbox, link).
Message #25 received at 798036-close@bugs.debian.org (full text, mbox, reply):
Source: konversation
Source-Version: 1.6-2
We believe that the bug you reported is fixed in the latest version of
konversation, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 798036@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Diane Trout <diane@debian.org> (supplier of updated konversation package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 16 Sep 2015 22:21:23 -0700
Source: konversation
Binary: konversation konversation-data konversation-dbg
Architecture: source
Version: 1.6-2
Distribution: unstable
Urgency: medium
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Diane Trout <diane@debian.org>
Description:
konversation - user friendly Internet Relay Chat (IRC) client for KDE
konversation-data - data files for Konversation
konversation-dbg - debugging symbols for Konversation
Closes: 798036
Changes:
konversation (1.6-2) unstable; urgency=medium
.
* Add have-qca2-needs-to-be-defined.patch
Andy Irving noticed an ordering problem that prevented
Konversation from detecting it had QCA available.
(Closes: #798036)
Checksums-Sha1:
80a2ff9d3c3c107c3e7beaa1b1eccf863843d53e 2959 konversation_1.6-2.dsc
47bc2cde404948ef8d7c2dee55084e08bf255661 26904 konversation_1.6-2.debian.tar.xz
Checksums-Sha256:
64808da86524c9baaf250f68342aa20841795d365d2b8625cee1895840974c6c 2959 konversation_1.6-2.dsc
367ac4cc6815f28bb82246fb5f6390794a3527faa0a19e78d928962dcd65d7a1 26904 konversation_1.6-2.debian.tar.xz
Files:
25ac5f6aa8d33f318d6240f9d18a86f3 2959 net optional konversation_1.6-2.dsc
0f011ba2ad49797a6b2d65bc4879ee89 26904 net optional konversation_1.6-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJV+lH2AAoJEJkNODZzNNdwKB4QAJR5s6XQLBGuaNj+I9uVtJhS
d7mF4RJCvDKmdtYicyWrjEMxMiZ3AUdQePp/r1WsuCOrTV41Bnjx5Zkjz7JdxKaW
0ntgK0qA9so0GEnfVwGT5QjDaeLzUgco8yNKR7r8m9ilA6u//hIoe4utcm2TDIfP
Wb2mnqSOZBnHJ7S0DHJdWsC4m5/OXDOpypavHCOzWs3m86Q9X6m5D/96p1VXDSCt
dxbKYUdQQXSPTYMb6Do5Lup+SKjcR9QEMLZbVd9a4yoxcaPJaNoUAFePDzXv3GDH
9ObuO8VnRWn6EoiQ6g4jv31QMIG/i+mv/deGexvXsHf0OcFShKa6v0ky0Jo0gx7l
yxskad3Uhwgn73g3BAatIKJF0XyPKtmOmr6gmedKUJs9MP78xV+EK2CNHnGDZrZF
w8dMNh5BW4aZSK28vSZCfqMfUMl2LdhSLUHcALuwdfa02Fd4/Cy0gA5JwgYqHBX5
RQf7bY5Y8OYO43/y8njRYHpuBOA8Q+ogAhN2XIaV/+FFDZ6gx+EHXbq32CJ3nMCG
BKg7PxPE/5LQoTyAOcMbA7DTTgqz+1IPzEK3L0pebRmVcWBKlyIy1wncrgwGJgnn
zxORftrBXbHZ5atUkbLbYlo6hG3sLRitVxwfoua0vH9hgkYhW/dxmop8LOiCcXyl
pWBIKzuSMfaVC2CQNtS8
=bv5K
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#798036; Package konversation.
(Fri, 18 Sep 2015 06:57:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andy Irving <irv@soundforsound.co.uk>:
Extra info received and forwarded to list. Copy sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>.
(Fri, 18 Sep 2015 06:57:03 GMT) (full text, mbox, link).
Message #30 received at 798036@bugs.debian.org (full text, mbox, reply):
Hi,
Thanks!
Apologies for not putting the steps to reproduce in the bug. If you enter the
"/setkey" command in any channel, successful outcome is a message explaining
the correct parameters:
[Usage] Usage: /setkey <nick|channel> <key> sets the encryption key for nick
or channel. /setkey <key> when in a channel or query tab sets the key for it.
The key field recognises "cbc:" and "ecb:" prefixes to set the block cipher mode
of operation to either Cipher-Block Chaining or Electronic Codebook. The mode
it defaults to when no prefix is given can be changed in the configuration
dialog under Behaviour -> Connection -> Encryption -> Default Encryption Type,
with the default for that setting being Electronic Codebook (ECB).
Failure is the message about QCA being built:
[Error] Setting an encryption key requires Konversation to have been built
with support for the Qt Cryptographic Architecture (QCA) library. Contact your
distributor about a Konversation package with QCA support, or rebuild
Konversation with QCA present.
I can confirm it works for me in 1.6-2
Thanks again,
Andy
On Wednesday 16 Sep 2015 22:42:55 you wrote:
> version: 1.6-2
>
> Hello,
>
> I showed your patch to the Konversation maintainer and pushed it upstream. I
> also applied it to konveration-1.6-2, and just uploaded that to Debian.
>
> It should be built and available in unstable in the next few hours.
>
> I wasn't able to figure out how to use the encryption support, so could you
> test this build and let me know if it's working?
>
> Thanks
> Diane Trout
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 20 Oct 2015 07:28:51 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 03:02:38 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.