Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 662610

Summary: =app-crypt/xca-2.1.0 missing dev-qt/qtsql dependency
Product: Gentoo Linux Reporter: Mike Auty (RETIRED) <ikelos>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Auty (RETIRED) gentoo-dev 2018-08-01 20:15:48 UTC
Hiya,

Without the dev-qt/qtsql package installed, the build throws a number of errors, such as:

In file included from /var/tmp/portage/app-crypt/xca-2.1.0/work/xca-2.1.0/lib/exception.h:13:0,
                 from /var/tmp/portage/app-crypt/xca-2.1.0/work/xca-2.1.0/lib/pkcs11_lib.h:11,
                 from /var/tmp/portage/app-crypt/xca-2.1.0/work/xca-2.1.0/lib/pki_base.h:15,
                 from /var/tmp/portage/app-crypt/xca-2.1.0/work/xca-2.1.0/widgets/ExportDialog.h:12,
                 from db_x509.h:15,
                 from db_crl.h:11,
                 from db_crl.cpp:9:
/var/tmp/portage/app-crypt/xca-2.1.0/work/xca-2.1.0/lib/base.h:34:36: error: missing binary operator before token "("
 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))

and a few other errors, most of which are misleading.  Since XCA changed the database format from a bespoke one to an sqlite one it now requires qtsql, and it compiles fine now (although I haven't checked for any other dependencies).  Let me know if there's any other information required...
Comment 1 Larry the Git Cow gentoo-dev 2018-08-02 06:19:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=311a92b3f7ba58f658e7c4c69ff21d8601085adb

commit 311a92b3f7ba58f658e7c4c69ff21d8601085adb
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2018-08-02 05:46:03 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2018-08-02 06:18:45 +0000

    app-crypt/xca: add dev-qt/qtsql dependency
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=662610
    Thanks-To: Mike Auty
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-crypt/xca/xca-2.1.0.ebuild | 1 +
 1 file changed, 1 insertion(+)