unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Z572 <873216071@qq.com>
Cc: 45194@debbugs.gnu.org
Subject: [bug#45194] [PATCH] gnu: Add okular.
Date: Sat, 12 Dec 2020 18:23:03 -0500	[thread overview]
Message-ID: <X9VQ176nIlss4A8f@jasmine.lan> (raw)
In-Reply-To: <87360bjnvc.fsf@qq.com>

[-- Attachment #1: Type: text/plain, Size: 2289 bytes --]

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 <https://apps.kde.org/en/kdegraphics_mobipocket>

> +    (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 <https://invent.kde.org/graphics/libkexiv2>.

> +    (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?

[-- Attachment #2: tests.log --]
[-- Type: text/plain, Size: 30432 bytes --]

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

  parent reply	other threads:[~2020-12-12 23:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87360bjnvc.fsf@qq.com>
2020-12-12 10:54 ` [bug#45194] [PATCH] gnu: Add okular Z572
2020-12-12 23:23 ` Leo Famulari [this message]
     [not found] ` <87ft47a1ek.fsf@qq.com>
2020-12-15  9:01   ` [bug#45194] (no subject) Z572
2020-12-15 20:35   ` bug#45194: " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X9VQ176nIlss4A8f@jasmine.lan \
    --to=leo@famulari.name \
    --cc=45194@debbugs.gnu.org \
    --cc=873216071@qq.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).