Bug 262266 - editors/libreoffice fails to find kf5-config or headers
Summary: editors/libreoffice fails to find kf5-config or headers
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-01 09:59 UTC by tech-lists
Modified: 2022-03-02 19:43 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (office)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tech-lists 2022-03-01 09:59:02 UTC
Hi,

context: poudriere-git-3.3.0-1074-g42d74766 on stable/13 stable/13-n249464-d0199f27c06 1300525 1300525 amd64 building for amd64

poudriere ports tree git+https 2022-03-01 01:29:09 UTC

options:

[00:00:00] ---Begin OPTIONS List---
[00:00:00] ===> The following configuration options are available for libreoffice-7.3.0.3:
[00:00:00]      COINMP=off: Enable CoinMP (deprecated) math solver
[00:00:00]      CUPS=on: CUPS printing system support
[00:00:00]      DOCS=on: Build and/or install documentation
[00:00:00]      GNOME=off: GNOME desktop environment support
[00:00:00]      GTK3=off: GTK+ 3 GUI toolkit support
[00:00:00]      JAVA=on: Add Java support (XML filters, macros, DB connections)
[00:00:00]      KF5=on: KF5/Qt5 GUI toolkit support (implies QT5)
[00:00:00]      LTO=off: Use Link-Time Optimization
[00:00:00]      MARIADB=on: Build with MariaDB/MySQL-SDBC driver
[00:00:00]      MMEDIA=on: Enable multimedia backend for Impress
[00:00:00]      PGSQL=off: Build with PostgreSQL-SDBC driver
[00:00:00]      QT5=on: Qt5 GUI toolkit support (default visual style)
[00:00:00]      SDK=off: Build with SDK
[00:00:00]      TEST=off: Run all regression tests
[00:00:00]      WEBDAV=on: Enable WebDAV protocol
[00:00:00] ===> Use 'make config' to modify these settings
[00:00:00] ---End OPTIONS List---

error:

[00:01:47] checking for moc-qt5... /usr/local/bin/moc-qt5
[00:01:47] checking for QT5_GOBJECT... yes
[00:01:47] checking for kf5-config... no
[00:01:47] checking for KF5 headers... no
[00:01:47] configure: error: KF5 headers not found.  Please specify the root of your KF5 installation by exporting KF5DIR before running "configure".
Comment 1 Trond Endrestøl 2022-03-02 19:43:07 UTC
(In reply to tech-lists from comment #0)
My guess is that LibreOffice expects to find include/KF5/kconfig_version.h which now installs as include/KF5/KConfig/kconfig_version.h given KF5 version 5.91.0.
See ports commit https://cgit.freebsd.org/ports/commit/devel/kf5-kconfig/pkg-plist?id=a480b02ab6b84d1dbc2fe2524e97ea920a8eea3d