Re: building editors/libreoffice fails with: unknown USE_QT component 'tools' invalid

From: Matthias Apitz <guru_at_unixarea.de>
Date: Fri, 24 Oct 2025 15:32:41 UTC
El día viernes, octubre 24, 2025 a las 08:57:24p. m. +0900, Tomoaki AOKI escribió:

> On Fri, 24 Oct 2025 11:13:56 +0200
> Matthias Apitz <guru@unixarea.de> wrote:
> 
> > I'm building ports with poudriere on a recent CURRENT:
> > 
> > $ uname -a
> > FreeBSD jet 16.0-CURRENT FreeBSD 16.0-CURRENT #0 main-n281256-7d6221ff1447: Sun Oct 19 12:57:22 CEST 2025     guru@jet:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
> > 
> > Building editors/libreoffice fails with
> > 
> > 
> > [00:01:00] Gathering ports metadata
> > [00:01:01] Calculating ports order and dependencies
> > [00:01:01] Sanity checking the repository
> > [00:01:01] Trimming IGNORED and blacklisted ports
> > [00:01:01] Ignoring   editors/libreoffice | libreoffice-25.8.2.2: cannot be installed: unknown USE_QT component 'tools'
> > [00:01:02] Checking packages for incremental rebuild needs
> > 
> > I've no idea where to disable USE_QT. Thanks
> > 
> > 	matthias
> > 
> > -- 
> > Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
> > Public GnuPG key: http://www.unixarea.de/key.pub
> 
> Do you have anything in /usr/local/lib/compat/pkg/?

root@jet: # ls -ld /usr/local/lib/compat/pkg/
drwxr-xr-x  2 root wheel 512 Oct 21 08:36 /usr/local/lib/compat/pkg/
root@jet: # ls -l /usr/local/lib/compat/pkg/
total 0

On the host 'jet' only a few ports are installed, for example
ports-mgmt/poudriere-devel; the packages are build in jails.

I wanted to look into the sources of libreoffice to see if this raises
the message in question and see:

root@jet: # cd /usr/ports/editors/libreoffice
root@jet: # make fetch
===>  libreoffice-25.8.2.2 cannot be installed: unknown USE_QT component
'tools'.
*** Error code 1

Stop.

i.e. the problem must be in the ports Makefiles. Should I file a PR?

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub