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

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Fri, 24 Oct 2025 11:57:24 UTC
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/?

If any, if you don't have clear reason, try moving or renaming
the directory (i.e., rename to /usr/local/lib/compat/pkg-20251024)
and see it helps or not.

If it causes something odd to other apps, creating
/usr/local/lib/compat/pkg and put back seemingly related ones only,
one by one.

Not exactly match your case, but Bug 268652 has looking-similar issues.
(Quite a large PR, though.)

  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268652

Regards.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>