[Bug 264199] x11-toolkits/plasma5-kdeplasma-addons fails to build with configure error using poudriere on stable-13 amd64

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 May 2022 08:43:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264199

            Bug ID: 264199
           Summary: x11-toolkits/plasma5-kdeplasma-addons fails to build
                    with configure error using poudriere on stable-13
                    amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: twisla@twis.la
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

Trying to build kde5 using poudriere, x11-toolkits/plasma5-kdeplasma-addons
fails at the configure stage.

This was tested with the following options:

OPTIONS_FILE_UNSET+=PURPOSE
OPTIONS_FILE_UNSET+=QTWEBENGINE

During the configure stage, CMake is failing with the following error:

CMake Error at /usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5Test" with any
  of the following names:

    Qt5TestConfig.cmake
    qt5test-config.cmake

  Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set
  "Qt5Test_DIR" to a directory containing one of the above files.  If
  "Qt5Test" provides a separate development package or SDK, be sure it has
  been installed.


After some searching, adding testlib_build to USE_QT= in the Makefile fixed the
build.

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