[Bug 266637] graphics/okular build fails with PURPOSE=OFF; "REQUIRED packages have not been found: KF5Purpose"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 26 20:58:51 BST 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266637

            Bug ID: 266637
           Summary: graphics/okular build fails with PURPOSE=OFF;
                    "REQUIRED packages have not been found: KF5Purpose"
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: sko at rostwald.de
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

Building graphics/okular from 'latest' ports tree on 12.3-RELEASE with
PURPOSE=OFF fails due to KF5purpose still being considered 'required' during
the build process. 

(taken from poudriere log)
---Begin OPTIONS List---

===> The following configuration options are available for okular-22.08.1_1:

     DOCS=on: Build and/or install documentation

     PURPOSE=off: Enable 'Share' menu

===> Use 'make config' to modify these settings

---End OPTIONS List---
[...]
-- The following REQUIRED packages have not been found:

 * KF5Purpose, A framework for services and actions integration
   Required for enabling the share menu. You can make the dependency optional
adding KF5Purpose to the FORCE_NOT_REQUIRED_DEPENDENCIES cmake option

CMake Error at /usr/local/share/cmake/Modules/FeatureSummary.cmake:464
(message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
  run.
Call Stack (most recent call first):
  CMakeLists.txt:649 (feature_summary)
[...]


According to the makefile, KF5purpose is not a dependency:

BUILD_DEPENDS=  markdown:textproc/discount
RUN_DEPENDS=    markdown:textproc/discount
LIB_DEPENDS=    libchm.so:misc/chmlib \
        libdjvulibre.so:graphics/djvulibre \
        libepub.so:textproc/ebook-tools \
        libfreetype.so:print/freetype2 \
        libqmobipocket.so:graphics/kdegraphics-mobipocket \
        libpoppler.so:graphics/poppler \
        libpoppler-qt5.so:graphics/poppler-qt5 \
        libspectre.so:print/libspectre \
        libtiff.so:graphics/tiff \
        libzip.so:archivers/libzip


This is reproducible on 2 different 12.3-RELEASE hosts and with either
poudriere or running 'make config && make build' in the ports tree.
I could not test/verify on 13.1-RELEASE because I don't have a 13.1 host that
follows latest; current version in quarterly/2022Q3 is 22.04.3_1, which
successfully builds.

According to my poudriere logs, this has been the case since (at least) version
22.08.0_1 (first failed build); the last successful build was 22.04.3_4.
I'm not rebuilding very regularly, so sometimes there are 2 or 3 weeks in
between and I might have skipped some intermediate versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list