From nobody Sat Oct 25 06:27:26 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ctqZD2fMHz6DYBn; Sat, 25 Oct 2025 06:27:32 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ctqZD0V82z4LkG; Sat, 25 Oct 2025 06:27:31 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unixarea.de ; s=blu3434000; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender: Content-ID:Content-Description; bh=suju2ngksXiYpLbHXgEqrFyBpz3U1SLz0o5VmaUJDuc=; b=bSwbv+0U3qoeo0XSnteD1rbgQE H4d4tj9tWNX3yJZJbQYu6V4eH8P4Ztfj8E25sUApPzbG+Te8Dpajf75PqGCyUkrVoLnejvmlBrr/y KIvKEOTAUDaGrGx7ginK4i5pYlKvyDvNebSsa1y+ss8OuczmDuS13JAKoNyLOOAp+1QfJHA4Dssx5 gnqWqojiR1FLwUjEixmUdIXLm4rTqx04F21B+mPH4sL2ck48faUABVp6rbf4+717rqn+nLlhlp45K nrQuZKbD0JGze/4THVdAz1FkX0HfTgcgqNKe9gNkCOeM4wX26KM1mWhaOCF3LwKJKI/TadLqFy7Bd PWtBrp5Q==; Received: from [62.216.210.36] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vCXkO-00HCYI-Qq; Sat, 25 Oct 2025 08:27:28 +0200 Received: from localhost.my.domain (c720-1400094 [127.0.0.1]) by localhost.unixarea.de (8.17.1/8.14.9) with ESMTP id 59P6RS4u011082; Sat, 25 Oct 2025 08:27:28 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.17.1/8.14.9/Submit) id 59P6RQes011081; Sat, 25 Oct 2025 08:27:26 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 25 Oct 2025 08:27:26 +0200 From: Matthias Apitz To: Tomoaki AOKI Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: building editors/libreoffice fails with: unknown USE_QT component 'tools' invalid Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: Tomoaki AOKI , freebsd-current@freebsd.org, freebsd-ports@freebsd.org References: <20251024205724.fd45bb4cb6948538ae0fe64e@dec.sakura.ne.jp> <20251025033955.68d2545595dfc959bb8e3510@dec.sakura.ne.jp> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20251025033955.68d2545595dfc959bb8e3510@dec.sakura.ne.jp> X-Operating-System: FreeBSD 14.0-CURRENT r1400094 (amd64) X-message-flag: Mails in HTML will not be read! Please, only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 62.216.210.36 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4ctqZD0V82z4LkG El día sábado, octubre 25, 2025 a las 03:39:55a. m. +0900, Tomoaki AOKI escribió: > 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. I found an older PR in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275711 with exactly the same subject: editors/libreoffice cannot be installed: unknown USE_QT component 'tools' btw: this can't be found with Googl with a searchlike this: libreoffice "cannot be installed:" unknown USE_QT component" Anyway, it gave me a hint and I looked into the very old ports options, and solved the issue with: # ls -l /usr/local/etc/poudriere.d/160-CURRENT-options/editors_libreoffice/options /usr/local/etc/poudriere.d/150-CURRENT-options/editors_libreoffice/options /var/db/ports/editors_libreoffice/options -rw-r--r-- 1 root wheel 540 Feb 1 2021 /usr/local/etc/poudriere.d/150-CURRENT-options/editors_libreoffice/options -rw-r--r-- 1 root wheel 540 Feb 1 2021 /usr/local/etc/poudriere.d/160-CURRENT-options/editors_libreoffice/options -rw-r--r-- 1 root wheel 540 Feb 1 2021 /var/db/ports/editors_libreoffice/options i.e. all my ports options for editors/libreoffice, in all jails have been outdated. # cat /var/db/ports/editors_libreoffice/options # This file is auto-generated by 'make config'. # Options for libreoffice-7.0.3.1_2 _OPTIONS_READ=libreoffice-7.0.3.1_2 _FILE_COMPLETE_OPTIONS_LIST=COINMP CUPS DOCS GNOME GTK3 JAVA KF5 MMEDIA PGSQL QT5 SDK TEST WEBDAV OPTIONS_FILE_UNSET+=COINMP OPTIONS_FILE_SET+=CUPS OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_UNSET+=GNOME OPTIONS_FILE_UNSET+=GTK3 OPTIONS_FILE_UNSET+=JAVA OPTIONS_FILE_UNSET+=KF5 OPTIONS_FILE_SET+=MMEDIA OPTIONS_FILE_UNSET+=PGSQL OPTIONS_FILE_SET+=QT5 OPTIONS_FILE_UNSET+=SDK OPTIONS_FILE_UNSET+=TEST OPTIONS_FILE_UNSET+=WEBDAV I run a 'make config' and marked in addition 'KF5': ... │ │─────────────────── Select Qt GUI engine version ─────────────────────│ │ │ │ (*) QT5 Qt5 GUI toolkit support │ │ │ │new ( ) QT6 Qt6 GUI toolkit support (default visual style) │ │ │ │────────────────── Select KDE GUI engine version ─────────────────────│ │ │ │ ( ) KF5 KF5/Qt5 GUI toolkit support (implies QT5) │ │ │ │new ( ) KF6 KF6/Qt6 GUI toolkit support (implies QT6) │ │ │ └─────────────────────────────────────────────────────────────────100%─┘ │ and all seems to be fine. Test with poudriere still pending. Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub