Bug 275711 - editors/libreoffice cannot be installed: unknown USE_QT component 'tools'
Summary: editors/libreoffice cannot be installed: unknown USE_QT component 'tools'
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-12 02:38 UTC by void
Modified: 2023-12-14 13:57 UTC (History)
2 users (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 void 2023-12-12 02:38:17 UTC
Trying to build libreoffice-7.6.4.1 in poudriere, get the following error from poudriere with a cleaned poudriere jail and a fresh ports tree, on recent 14-stable:

cannot be installed: unknown USE_QT component 'tools'

is there a workaround?
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2023-12-13 07:36:08 UTC
Just for checking, are you using QT6 option?
Comment 2 void 2023-12-13 14:09:09 UTC
(In reply to Li-Wen Hsu from comment #1)
I was using QT5. QT6 shows mtree violation in poudriere:

[06:34:45] gmake[2]: Leaving directory '/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.6.4.1'
[06:34:45] gmake[1]: Leaving directory '/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.6.4.1'
[06:34:45] elfctl -i -e +wxneeded /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.6.4.1/instdir/program/soffice.bin
[06:34:45] ===========================================================================
[06:34:45] =>> Checking for filesystem violations... done
[06:34:50] =>> Error: Filesystem touched during build:
[06:34:50] extra: var/cache/ccache
[06:39:26] build of editors/libreoffice | libreoffice-7.6.4.1 ended at Tue Dec 12 21:08:09 GMT 2023
[06:39:26] build time: 01:38:45
Comment 3 void 2023-12-13 14:10:21 UTC
(In reply to Li-Wen Hsu from comment #1)
to be clear, the initial report shows using QT5. The note above this one shows QT6.
Comment 4 Dima Panov freebsd_committer freebsd_triage 2023-12-13 15:44:10 UTC
Folks, Qt6/kf6 support is initial and experimental, please be patient and use stable one (Qt5/kf5)
Comment 5 void 2023-12-14 13:56:25 UTC
I was able to build libreoffice with QT5 in a *brand-new* poudriere jail with the same make.conf as used previously. So, it seems there must have been something left over from poudriere pkgclean -A and bulk -C in that poudriere instance.

In the brand-new poudriere jail, I was also able to build the qt6 flavour as well.

sorry for the noise. I thought the point of poudriere was to provide a clean 
environment, but it seems in this case that didn't happen for some reason.
Comment 6 void 2023-12-14 13:57:02 UTC
closing as not a fault