From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aKhgAihR1V/CcQAA0tVLHw (envelope-from ) for ; Sat, 12 Dec 2020 23:24:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oBPHOSdR1V/2UQAAB5/wlQ (envelope-from ) for ; Sat, 12 Dec 2020 23:24:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5F169940466 for ; Sat, 12 Dec 2020 23:24:23 +0000 (UTC) Received: from localhost ([::1]:37582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koEFQ-0002xK-Ja for larch@yhetil.org; Sat, 12 Dec 2020 18:24:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koEF8-0002xE-Ea for guix-patches@gnu.org; Sat, 12 Dec 2020 18:24:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koEF8-0004DS-6M for guix-patches@gnu.org; Sat, 12 Dec 2020 18:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koEF8-0002GE-27 for guix-patches@gnu.org; Sat, 12 Dec 2020 18:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45194] [PATCH] gnu: Add okular. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Dec 2020 23:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45194 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Z572 <873216071@qq.com> Received: via spool by 45194-submit@debbugs.gnu.org id=B45194.16078153978629 (code B ref 45194); Sat, 12 Dec 2020 23:24:02 +0000 Received: (at 45194) by debbugs.gnu.org; 12 Dec 2020 23:23:17 +0000 Received: from localhost ([127.0.0.1]:47112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koEEN-0002F5-Td for submit@debbugs.gnu.org; Sat, 12 Dec 2020 18:23:17 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koEEK-0002Eq-FL for 45194@debbugs.gnu.org; Sat, 12 Dec 2020 18:23:14 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 7A2564C9; Sat, 12 Dec 2020 18:23:06 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 12 Dec 2020 18:23:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=zVdoxRBUPY+/feDzVuq3K3BL 1fw5K9wzXMe2X9VQb2Y=; b=NKAPyGvhq5T7omxFYlHBuL6LGl/GzrnNn/0xBL7V jhHkv5I6vziYCLhhUfVQL00ERfVvT3b8IVjwX9Wb1NVjlZ1Dl0gaIG2/2UB1Cant 7AxFqDx/Y3OkiSseE++TguiAAcm2O7Ogd7R2VZh714myKWARyelGCUTrDcTKi+7K Nhc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=zVdoxR BUPY+/feDzVuq3K3BL1fw5K9wzXMe2X9VQb2Y=; b=O6TYhL/MGrXMBShpBjutDQ /AIFYWPRJg15ppNfoiRkBjLiy9ItxKbgHoB6A6kVNlfs5LeOj8irGCp1UG6cMVcN hQIWkZWzE4L6vSy/RRl5yObm+zOew533AsXQWItOEaBRKP/qvZCEQ2vAkDTTz17x /UMyvgAGiPaG2JMTDdNFJ+CS02SFQ9TYyOIQF4Ourh7sprXEoUXBbNRqzWvZMlmI 2mYx7UsEPLQwggHs9DHptkgGC6xwWQX8Vc5u6wUbSAjNwiGIFL1AjEyhfOrfM6WR LP1pO2yfIbjmPHKY0gHlj8il3F1z7bp2pg6K1zubg9WzD3oYopEgrVSEeOTNaI4g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudekhedguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesmhdtre ertddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepiedtudffieegvefhtdeugfeujedutd ejfeduueeuudekleefgeetteeuhfejgeeknecuffhomhgrihhnpehkuggvrdhorhhgnecu kfhppeejfedrudeguddruddvjedrudegieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 57D70240057; Sat, 12 Dec 2020 18:23:05 -0500 (EST) Date: Sat, 12 Dec 2020 18:23:03 -0500 From: Leo Famulari Message-ID: References: <87360bjnvc.fsf@qq.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="CYgnBrNRm5yR9+I9" Content-Disposition: inline In-Reply-To: <87360bjnvc.fsf@qq.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45194@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.30 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=famulari.name header.s=mesmtp header.b=NKAPyGvh; dkim=fail (headers rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=O6TYhL/M; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5F169940466 X-Spam-Score: -0.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: kHz53M8zJ2cL --CYgnBrNRm5yR9+I9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Thank you for these patches! On Sat, Dec 12, 2020 at 06:54:31PM +0800, Z572 wrote: > +(define-public ebook-tools > + (uri (string-append "mirror://sourceforge/ebook-tools/" > + name "-" version ".tar.gz")) I corrected this to: (uri (string-append "mirror://sourceforge/ebook-tools/ebook-tools/" version "/ebook-tools-" version ".tar.gz")) > + (description "Tools and library for dealing with various ebook file formats") Thanks! I made the description use "complete sentences" and pushed. > +(define-public kdegraphics-mobipocket > + (file-name (string-append name "-" version "-checkout")) I removed this line. > + (arguments > + `(#:tests? #f)) I removed this. There are no tests but it's better to "use the defaults" when they work. > + (home-page "https://apps.kde.org/graphics/") I changed this to > + (synopsis "Tools and library for dealing with various ebook file formats") > + (description "Tools and library for dealing with various ebook file formats") I changed these to describe kdegraphics-mobipocket. > +(define-public libkexiv2 > + (file-name (string-append name "-" version "-checkout")) I removed this line. > + (native-inputs > + `(("extra-cmake-modules" ,extra-cmake-modules) > + ("pkg-config" ,pkg-config))) I removed pkg-config, which seems to be unusued. > + (home-page "https://apps.kde.org/graphics/") I changed this to . > + (synopsis "A library to manipulate pictures metadata") > + (description "A library to manipulate pictures metadata") I adjusted these to be more descriptive. With those changes, I pushed libkexiv2, kdegraphics-mobipocket, and ebook-tools as commit fdfa25ed7b993597993f0afb355d1da928143e17. > +(define-public okular Overall, the Okular package looks good. > + (arguments > + `(#:tests? #f)) The only problem is that the test suite fails. In Guix, we aim for our packages to pass upstream test suites unless there is a good reason not to. I've attached the log of the test failures. Most of the failures seem to caused by missing mimetype plugins. Does anyone know how to fix it? Should we skip the tests? --CYgnBrNRm5yR9+I9 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="tests.log" starting phase `check' Running tests... /gnu/store/89rj5fqcg48afgk99639ds602pgf92k4-cmake-minimal-3.16.5/bin/ctest --force-new-ctest-process Test project /tmp/guix-build-okular-20.12.0.drv-0/build Start 1: kimgiotest 1/21 Test #1: kimgiotest .......................***Failed 0.17 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of KIMGIOTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : KIMGIOTest::initTestCase() QWARN : KIMGIOTest::testExifOrientation(No Exif metadata) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(No Exif metadata) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] QDEBUG : KIMGIOTest::testExifOrientation(Unspecified) SettingsCore::instance called after the first use - ignoring QWARN : KIMGIOTest::testExifOrientation(Unspecified) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(Unspecified) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] QDEBUG : KIMGIOTest::testExifOrientation(Horizontal (normal)) SettingsCore::instance called after the first use - ignoring QWARN : KIMGIOTest::testExifOrientation(Horizontal (normal)) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(Horizontal (normal)) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] QDEBUG : KIMGIOTest::testExifOrientation(Mirror horizontal) SettingsCore::instance called after the first use - ignoring QWARN : KIMGIOTest::testExifOrientation(Mirror horizontal) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(Mirror horizontal) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] QDEBUG : KIMGIOTest::testExifOrientation(Rotate 90 CW) SettingsCore::instance called after the first use - ignoring QWARN : KIMGIOTest::testExifOrientation(Rotate 90 CW) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(Rotate 90 CW) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] QDEBUG : KIMGIOTest::testExifOrientation(Mirror horizontal and rotate 90 CW) SettingsCore::instance called after the first use - ignoring QWARN : KIMGIOTest::testExifOrientation(Mirror horizontal and rotate 90 CW) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(Mirror horizontal and rotate 90 CW) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] QDEBUG : KIMGIOTest::testExifOrientation(Rotate 180) SettingsCore::instance called after the first use - ignoring QWARN : KIMGIOTest::testExifOrientation(Rotate 180) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(Rotate 180) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] QDEBUG : KIMGIOTest::testExifOrientation(Mirror vertical) SettingsCore::instance called after the first use - ignoring QWARN : KIMGIOTest::testExifOrientation(Mirror vertical) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(Mirror vertical) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] QDEBUG : KIMGIOTest::testExifOrientation(Rotate 270 CW) SettingsCore::instance called after the first use - ignoring QWARN : KIMGIOTest::testExifOrientation(Rotate 270 CW) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(Rotate 270 CW) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] QDEBUG : KIMGIOTest::testExifOrientation(Mirror horizontal and rotate 270 CW) SettingsCore::instance called after the first use - ignoring QWARN : KIMGIOTest::testExifOrientation(Mirror horizontal and rotate 270 CW) org.kde.okular.core: No plugin for mimetype '"image/jpeg"'. FAIL! : KIMGIOTest::testExifOrientation(Mirror horizontal and rotate 270 CW) Compared values are not the same Actual ((int)m_document->openDocument(imgPath, QUrl(), mime)): 1 Expected ((int)Okular::Document::OpenSuccess) : 0 Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/kimgio/tests/kimgiotest.cpp(88)] PASS : KIMGIOTest::cleanupTestCase() Totals: 2 passed, 10 failed, 0 skipped, 0 blacklisted, 95ms ********* Finished testing of KIMGIOTest ********* Start 2: chmgeneratortest 2/21 Test #2: chmgeneratortest .................***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of ChmGeneratorTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) QWARN : ChmGeneratorTest::initTestCase() org.kde.okular.core: No plugin for mimetype '"application/octet-stream"'. FAIL! : ChmGeneratorTest::initTestCase() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/chm/autotests/chmgeneratortest.cpp(38)] PASS : ChmGeneratorTest::cleanupTestCase() Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 87ms ********* Finished testing of ChmGeneratorTest ********* Start 3: comicbooktest 3/21 Test #3: comicbooktest .................... Passed 0.14 sec Start 4: epubgeneratortest 4/21 Test #4: epubgeneratortest ................***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of EpubGeneratorTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) QWARN : EpubGeneratorTest::initTestCase() org.kde.okular.core: No plugin for mimetype '"application/epub+zip"'. FAIL! : EpubGeneratorTest::initTestCase() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/generators/epub/autotests/epubgeneratortest.cpp(38)] PASS : EpubGeneratorTest::cleanupTestCase() Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 94ms ********* Finished testing of EpubGeneratorTest ********* Start 5: editdrawingtooldialogtest 5/21 Test #5: editdrawingtooldialogtest ........ Passed 0.08 sec Start 6: shelltest 6/21 Test #6: shelltest ........................ Passed 0.03 sec Start 7: documenttest 7/21 Test #7: documenttest .....................***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of DocumentTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : DocumentTest::initTestCase() QWARN : DocumentTest::testCloseDuringRotationJob() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. PASS : DocumentTest::testCloseDuringRotationJob() QDEBUG : DocumentTest::testDocdataMigration() SettingsCore::instance called after the first use - ignoring FAIL! : DocumentTest::testDocdataMigration() 'QFile::copy(KDESRCDIR "data/file1-docdata.xml", docDataPath)' returned FALSE. () Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/documenttest.cpp(83)] PASS : DocumentTest::cleanupTestCase() Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 88ms ********* Finished testing of DocumentTest ********* Start 8: searchtest 8/21 Test #8: searchtest .......................***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of SearchTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : SearchTest::initTestCase() PASS : SearchTest::testNextAndPrevious() QWARN : SearchTest::test311232() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : SearchTest::test311232() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/searchtest.cpp(178)] PASS : SearchTest::test323262() PASS : SearchTest::test323263() PASS : SearchTest::testDottedI() PASS : SearchTest::testHyphenAtEndOfLineWithoutYOverlap() PASS : SearchTest::testHyphenWithYOverlap() PASS : SearchTest::testHyphenAtEndOfPage() PASS : SearchTest::testOneColumn() PASS : SearchTest::testTwoColumns() PASS : SearchTest::cleanupTestCase() Totals: 11 passed, 1 failed, 0 skipped, 0 blacklisted, 88ms ********* Finished testing of SearchTest ********* Start 9: annotationstest 9/21 Test #9: annotationstest ..................***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of AnnotationTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) QWARN : AnnotationTest::initTestCase() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : AnnotationTest::initTestCase() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/annotationstest.cpp(47)] PASS : AnnotationTest::cleanupTestCase() Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 89ms ********* Finished testing of AnnotationTest ********* Start 10: urldetecttest 10/21 Test #10: urldetecttest .................... Passed 0.02 sec Start 11: editannotationcontentstest 11/21 Test #11: editannotationcontentstest .......***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of EditAnnotationContentsTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : EditAnnotationContentsTest::initTestCase() QWARN : EditAnnotationContentsTest::testConsecutiveCharBackspacesMerged() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditAnnotationContentsTest::testConsecutiveCharBackspacesMerged() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editannotationcontentstest.cpp(118)] QWARN : EditAnnotationContentsTest::testConsecutiveNewlineBackspacesNotMerged() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditAnnotationContentsTest::testConsecutiveNewlineBackspacesNotMerged() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editannotationcontentstest.cpp(118)] QWARN : EditAnnotationContentsTest::testConsecutiveCharInsertionsMerged() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditAnnotationContentsTest::testConsecutiveCharInsertionsMerged() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editannotationcontentstest.cpp(118)] QWARN : EditAnnotationContentsTest::testConsecutiveNewlineInsertionsNotMerged() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditAnnotationContentsTest::testConsecutiveNewlineInsertionsNotMerged() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editannotationcontentstest.cpp(118)] QWARN : EditAnnotationContentsTest::testConsecutiveCharDeletesMerged() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditAnnotationContentsTest::testConsecutiveCharDeletesMerged() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editannotationcontentstest.cpp(118)] QWARN : EditAnnotationContentsTest::testConsecutiveNewlineDeletesNotMerged() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditAnnotationContentsTest::testConsecutiveNewlineDeletesNotMerged() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editannotationcontentstest.cpp(118)] QWARN : EditAnnotationContentsTest::testConsecutiveEditsNotMergedAcrossDifferentAnnotations() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditAnnotationContentsTest::testConsecutiveEditsNotMergedAcrossDifferentAnnotations() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editannotationcontentstest.cpp(118)] QWARN : EditAnnotationContentsTest::testInsertWithSelection() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditAnnotationContentsTest::testInsertWithSelection() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editannotationcontentstest.cpp(118)] QWARN : EditAnnotationContentsTest::testCombinations() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditAnnotationContentsTest::testCombinations() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editannotationcontentstest.cpp(118)] PASS : EditAnnotationContentsTest::cleanupTestCase() Totals: 2 passed, 9 failed, 0 skipped, 0 blacklisted, 89ms ********* Finished testing of EditAnnotationContentsTest ********* Start 12: addremoveannotationtest 12/21 Test #12: addremoveannotationtest ..........***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of AddRemoveAnnotationTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : AddRemoveAnnotationTest::initTestCase() QWARN : AddRemoveAnnotationTest::testAddAnnotations() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : AddRemoveAnnotationTest::testAddAnnotations() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/addremoveannotationtest.cpp(45)] QWARN : AddRemoveAnnotationTest::testAddAnnotationUndoWithRotate_Bug318091() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : AddRemoveAnnotationTest::testAddAnnotationUndoWithRotate_Bug318091() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/addremoveannotationtest.cpp(45)] QWARN : AddRemoveAnnotationTest::testRemoveAnnotations() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : AddRemoveAnnotationTest::testRemoveAnnotations() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/addremoveannotationtest.cpp(45)] PASS : AddRemoveAnnotationTest::cleanupTestCase() Totals: 2 passed, 3 failed, 0 skipped, 0 blacklisted, 89ms ********* Finished testing of AddRemoveAnnotationTest ********* Start 13: translateannotationtest 13/21 Test #13: translateannotationtest ..........***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of TranslateAnnotationTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : TranslateAnnotationTest::initTestCase() QWARN : TranslateAnnotationTest::testTranslateAnnotation() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : TranslateAnnotationTest::testTranslateAnnotation() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/translateannotationtest.cpp(97)] QWARN : TranslateAnnotationTest::testSequentialTranslationsMergedIfBeingMovedIsSet() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : TranslateAnnotationTest::testSequentialTranslationsMergedIfBeingMovedIsSet() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/translateannotationtest.cpp(97)] QWARN : TranslateAnnotationTest::testSequentialTranslationsNotMergedIfBeingMovedIsNotSet() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : TranslateAnnotationTest::testSequentialTranslationsNotMergedIfBeingMovedIsNotSet() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/translateannotationtest.cpp(97)] QWARN : TranslateAnnotationTest::testAlternateTranslationsNotMerged() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : TranslateAnnotationTest::testAlternateTranslationsNotMerged() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/translateannotationtest.cpp(97)] PASS : TranslateAnnotationTest::cleanupTestCase() Totals: 2 passed, 4 failed, 0 skipped, 0 blacklisted, 88ms ********* Finished testing of TranslateAnnotationTest ********* Start 14: modifyannotationpropertiestest 14/21 Test #14: modifyannotationpropertiestest ...***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of ModifyAnnotationPropertiesTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : ModifyAnnotationPropertiesTest::initTestCase() QWARN : ModifyAnnotationPropertiesTest::testModifyAnnotationProperties() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : ModifyAnnotationPropertiesTest::testModifyAnnotationProperties() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/modifyannotationpropertiestest.cpp(54)] QWARN : ModifyAnnotationPropertiesTest::testModifyDefaultAnnotationProperties() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : ModifyAnnotationPropertiesTest::testModifyDefaultAnnotationProperties() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/modifyannotationpropertiestest.cpp(54)] QWARN : ModifyAnnotationPropertiesTest::testModifyAnnotationPropertiesWithRotation_Bug318828() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : ModifyAnnotationPropertiesTest::testModifyAnnotationPropertiesWithRotation_Bug318828() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/modifyannotationpropertiestest.cpp(54)] PASS : ModifyAnnotationPropertiesTest::cleanupTestCase() Totals: 2 passed, 3 failed, 0 skipped, 0 blacklisted, 88ms ********* Finished testing of ModifyAnnotationPropertiesTest ********* Start 15: editformstest 15/21 Test #15: editformstest ....................***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of EditFormsTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : EditFormsTest::initTestCase() QWARN : EditFormsTest::testRadioButtonForm() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditFormsTest::testRadioButtonForm() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editformstest.cpp(71)] QWARN : EditFormsTest::testCheckBoxForm() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditFormsTest::testCheckBoxForm() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editformstest.cpp(71)] QWARN : EditFormsTest::testTextLineForm() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditFormsTest::testTextLineForm() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editformstest.cpp(71)] QWARN : EditFormsTest::testTextAreaForm() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditFormsTest::testTextAreaForm() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editformstest.cpp(71)] QWARN : EditFormsTest::testFileEditForm() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditFormsTest::testFileEditForm() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editformstest.cpp(71)] QWARN : EditFormsTest::testComboEditForm() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditFormsTest::testComboEditForm() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editformstest.cpp(71)] QWARN : EditFormsTest::testListSingleEdit() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditFormsTest::testListSingleEdit() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editformstest.cpp(71)] QWARN : EditFormsTest::testListMultiEdit() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : EditFormsTest::testListMultiEdit() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/editformstest.cpp(71)] PASS : EditFormsTest::cleanupTestCase() Totals: 2 passed, 8 failed, 0 skipped, 0 blacklisted, 89ms ********* Finished testing of EditFormsTest ********* Start 16: calculatetexttest 16/21 Test #16: calculatetexttest ................***Failed 0.13 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of CalculateTextTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : CalculateTextTest::initTestCase() QWARN : CalculateTextTest::testSimpleCalculate() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : CalculateTextTest::testSimpleCalculate() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/calculatetexttest.cpp(58)] PASS : CalculateTextTest::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 87ms ********* Finished testing of CalculateTextTest ********* Start 17: mainshelltest 17/21 Test #17: mainshelltest ....................***Failed 0.05 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of MainShellTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) QWARN : MainShellTest::initTestCase() Unable to open DrawingTools XML definition QWARN : MainShellTest::initTestCase() Unable to open AnnotatingTools XML definition QWARN : MainShellTest::initTestCase() Unable to open QuickAnnotatingTools XML definition FAIL! : MainShellTest::initTestCase() 'bus->registerService(serviceName) == QDBusConnectionInterface::ServiceRegistered' returned FALSE. () Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/mainshelltest.cpp(145)] PASS : MainShellTest::cleanupTestCase() Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms ********* Finished testing of MainShellTest ********* Start 18: annotationtoolbartest 18/21 Test #18: annotationtoolbartest ............Child aborted***Exception: 300.05 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of AnnotationToolBarTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) QWARN : AnnotationToolBarTest::initTestCase() Unable to open DrawingTools XML definition QWARN : AnnotationToolBarTest::initTestCase() Unable to open AnnotatingTools XML definition QWARN : AnnotationToolBarTest::initTestCase() Unable to open QuickAnnotatingTools XML definition PASS : AnnotationToolBarTest::initTestCase() QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) org.kde.kwindowsystem: Could not find any platform plugin QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) kf5.kxmlgui: cannot find .rc file "shell.rc" for component "okular" QDEBUG : AnnotationToolBarTest::testAnnotationToolBar(first tab) Settings::instance called after the first use - ignoring QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) Icon theme "breeze" not found. QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) kf5.kxmlgui: cannot find .rc file "part.rc" for component "okular" QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) This plugin does not support propagateSizeHints() QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) kf5.kxmlgui: cannot find .rc file "shell.rc" for component "okular" QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) Icon theme "breeze" not found. QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) This plugin does not support propagateSizeHints() QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) org.kde.okular.core: No plugin for mimetype '"application/pdf"'. QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) This plugin does not support propagateSizeHints() QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) This plugin does not support propagateSizeHints() QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) This plugin does not support propagateSizeHints() QWARN : AnnotationToolBarTest::testAnnotationToolBar(first tab) This plugin does not support propagateSizeHints() === Received signal at function time: 300000ms, total time: 300002ms, dumping stack === === End of stack trace === QFATAL : AnnotationToolBarTest::testAnnotationToolBar(first tab) Test function timed out FAIL! : AnnotationToolBarTest::testAnnotationToolBar(first tab) Received a fatal error. Loc: [Unknown file(0)] Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 300004ms ********* Finished testing of AnnotationToolBarTest ********* Start 19: generatorstest 19/21 Test #19: generatorstest ................... Passed 0.04 sec Start 20: signatureformtest 20/21 Test #20: signatureformtest ................***Failed 0.12 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-okular-20.12.0.drv-0/runtime-nixbld' ********* Start testing of SignatureFormTest ********* Config: Using QtTest library 5.14.2, Qt 5.14.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0) PASS : SignatureFormTest::initTestCase() QWARN : SignatureFormTest::testSignatureForm() org.kde.okular.core: No plugin for mimetype '"application/pdf"'. FAIL! : SignatureFormTest::testSignatureForm() Compared values are not the same Loc: [/tmp/guix-build-okular-20.12.0.drv-0/okular-20.12.0/autotests/signatureformtest.cpp(49)] PASS : SignatureFormTest::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 86ms ********* Finished testing of SignatureFormTest ********* Start 21: markdowntest 21/21 Test #21: markdowntest ..................... Passed 0.35 sec 29% tests passed, 15 tests failed out of 21 Total Test time (real) = 302.47 sec The following tests FAILED: 1 - kimgiotest (Failed) 2 - chmgeneratortest (Failed) 4 - epubgeneratortest (Failed) 7 - documenttest (Failed) 8 - searchtest (Failed) 9 - annotationstest (Failed) 11 - editannotationcontentstest (Failed) 12 - addremoveannotationtest (Failed) 13 - translateannotationtest (Failed) 14 - modifyannotationpropertiestest (Failed) 15 - editformstest (Failed) 16 - calculatetexttest (Failed) 17 - mainshelltest (Failed) 18 - annotationtoolbartest (Child aborted) 20 - signatureformtest (Failed) Errors while running CTest make: *** [Makefile:133: test] Error 8 Test suite failed, dumping logs. command "make" "test" failed with status 2 --CYgnBrNRm5yR9+I9--