Opened 13 months ago

#68539 assigned defect

poppler-qt5 @23.10.0: refuses to configure with Qt < 5.12

Reported by: chrstphrchvz (Christopher Chavez) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: mascguy (Christopher Nielsen)
Port: poppler-qt5 poppler-devel-qt5

Description

The 23.10.0 update includes https://gitlab.freedesktop.org/poppler/poppler/-/commit/8646a6a which seems to try harder to enforce the declared Qt 5.12 requirement.

https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/238155/steps/install-port/logs/stdio

CMake Warning at CMakeLists.txt:160 (find_package):
  Could not find a configuration file for package "Qt5Core" that is
  compatible with requested version "5.12".

  The following configuration files were considered but not accepted:

    /opt/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake, version: 5.11.3

Call Stack (most recent call first):
  CMakeLists.txt:212 (find_soft_mandatory_package)


CMake Error at CMakeLists.txt:162 (MESSAGE):
  Could not find the 5.12 version of Qt5Core.  If you're not interested in
  the features it provides set the cmake ENABLE_QT5 option to OFF
Call Stack (most recent call first):
  CMakeLists.txt:212 (find_soft_mandatory_package)


-- Configuring incomplete, errors occurred!

I am not aware if poppler-qt5 has actually begun to use Qt > 5.8 features since last visiting this topic in [2f9028f5f361/macports-ports]. Can qt5.min_version 5.12 be specified in these ports? Or does someone want to try to build these with Qt < 5.12 anyway, e.g. by patching the version in CMakeLists.txt? (I personally do not use older Qt5 versions.)

Change History (0)

Note: See TracTickets for help on using tickets.