On Fri, 24 Oct 2025 17:32:41 +0200
Matthias Apitz <[email protected]> wrote:

> 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 <[email protected]> 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, ✉ [email protected], 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, ✉ [email protected], http://www.unixarea.de/ +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub

So you'd better posting to freebsd-ports ML rather than freebsd-current.

If the issue was related with /usr/local/lib/compat/pkg, it could be
fit here (freebsd-current), as in such cases mechanism to always make
the directory at the end of library search path would be wanted,
which should be in base.


Looking into Mk/Uses/qt.mk, the "tools" in USE_QT are expanded into
devel/qt6-tools and it exists. ("tools:build" means it's only applicable
for build time.) qt5 doesn't have component "tool", but it's specified
only for QT6 option in editors/libreoffice/Makefile.

And as mine was configured with old default (still specifying QT5),
tried new default (enabling GTK3 and switching QT5 to QT6),
fetch succeeded and fetch-recursive, too (if specifying
"DISABLE_VULNERABILITIES=yes" in the command line, due to libxslt
vulnerability). My ports tree is at commit 0722733030c8.

Not yet tried building, though, as my poudriere builders are too
busy as of OSVERSION (comes from __FreeBSD_version) bump on stable/15.

-- 
Tomoaki AOKI    <[email protected]>

Reply via email to