Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833524 - app-office/libreoffice-7.2.5.2 w/ >=KF-5.91 - configure: error: KF5 headers not found. Please specify the root of your KF5 installation by expo
Summary: app-office/libreoffice-7.2.5.2 w/ >=KF-5.91 - configure: error: KF5 headers n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: PATCH
: 833616 833763 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-17 11:14 UTC by Toralf Förster
Modified: 2022-02-19 11:30 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.50 KB, text/plain)
2022-02-17 11:14 UTC, Toralf Förster
Details
app-office:libreoffice-7.2.5.2:20220217-105121.log (app-office:libreoffice-7.2.5.2:20220217-105121.log,27.12 KB, text/plain)
2022-02-17 11:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,31.50 KB, text/plain)
2022-02-17 11:14 UTC, Toralf Förster
Details
environment (environment,211.39 KB, text/plain)
2022-02-17 11:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.56 KB, application/x-bzip)
2022-02-17 11:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,24.23 KB, application/x-bzip)
2022-02-17 11:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,52.63 KB, application/x-bzip)
2022-02-17 11:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-02-17 11:14:44 UTC
checking for moc... /usr/lib64/qt5/bin/../bin/moc
checking for QT5_GOBJECT... yes
checking for no... no
checking for KF5 headers... no
configure: error: KF5 headers not found.  Please specify the root of your KF5 installation by exporting KF5DIR before running "configure".

!!! Please attach the following file when seeking support:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220216-224641

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Rust versions:
  [1]   rust-1.58.1 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

php cli:

  HEAD of ::gentoo
commit 1034ad6b7ffab82697e98e4c8d01444a19945c26
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Feb 17 09:22:06 2022 +0000

    2022-02-17 09:22:04 UTC

emerge -qpvO app-office/libreoffice
[ebuild  N    ] app-office/libreoffice-7.2.5.2  USE="bluetooth branding cups dbus gtk kde mariadb -accessibility -base -clang -coinmp -custom-cflags -debug -eds -firebird -googledrive -gstreamer -java -ldap -odk -pdfimport -postgres -test -vulkan" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-02-17 11:14:45 UTC
Created attachment 765297 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-17 11:14:46 UTC
Created attachment 765298 [details]
app-office:libreoffice-7.2.5.2:20220217-105121.log
Comment 3 Toralf Förster gentoo-dev 2022-02-17 11:14:47 UTC
Created attachment 765299 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-02-17 11:14:49 UTC
Created attachment 765300 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-02-17 11:14:50 UTC
Created attachment 765301 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-17 11:14:51 UTC
Created attachment 765302 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-02-17 11:14:52 UTC
Created attachment 765303 [details]
temp.tar.bz2
Comment 8 Andreas Sturmlechner gentoo-dev 2022-02-17 11:44:12 UTC
Please try this patch:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=5fd5e42bf28a7910321c6b6d76257e7386839fbc
Comment 9 Ivan 2022-02-17 16:09:41 UTC
(In reply to Andreas Sturmlechner from comment #8)
> Please try this patch:
> 
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=5fd5e42bf28a7910321c6b6d76257e7386839fbc

Worked for me. Libreoffice-7.3.1.1 built successfully with 'kde' useflag. Thanks.
Comment 10 devsk 2022-02-17 22:59:41 UTC
Is it possible to push a small fix for this for the libreoffice ebuild?
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-18 01:05:19 UTC
(In reply to devsk from comment #10)
> Is it possible to push a small fix for this for the libreoffice ebuild?

Yep, we just need some testing w/ 5.90 first:

[23:49:57]  <@dilfridge> anyone with a stable install around?
[23:50:16]  <@dilfridge> i.e. libreoffice 7.2.5.2 on a stable system with kde frameworks 5.90
[23:50:40]  <@dilfridge> we need someone with that combo to test the patch from https://bugs.gentoo.org/833524#c8
[23:51:02]  <@dilfridge> if LO builds fine for you, please leave a comment on the bug
[23:51:36]  <@dilfridge> [the patch is a fix for kde frameworks 5.91, we need to make sure it's not harming 5.90 installs]
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-18 16:42:22 UTC
*** Bug 833616 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2022-02-18 20:09:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff5d5c8f4b48fa53945c6255663d2e44ee2ea69

commit 5ff5d5c8f4b48fa53945c6255663d2e44ee2ea69
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2022-02-18 20:08:56 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2022-02-18 20:08:56 +0000

    app-office/libreoffice: Add fix for KF-5.91
    
    Closes: https://bugs.gentoo.org/833524
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../files/libreoffice-7.2.5.2-kf591.patch          | 56 ++++++++++++++++++++++
 .../libreoffice/libreoffice-7.2.5.2-r1.ebuild      |  3 ++
 app-office/libreoffice/libreoffice-7.2.9999.ebuild |  3 ++
 .../libreoffice/libreoffice-7.3.0.3-r1.ebuild      |  3 ++
 .../libreoffice/libreoffice-7.3.1.1-r1.ebuild      |  3 ++
 app-office/libreoffice/libreoffice-7.3.9999.ebuild |  3 ++
 6 files changed, 71 insertions(+)
Comment 14 Andreas Sturmlechner gentoo-dev 2022-02-19 11:30:58 UTC
*** Bug 833763 has been marked as a duplicate of this bug. ***