Re: git: 7dda5e4f6a7b - main - devel/appstream{,-qt,-compose}: Update to 1.0.0

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Wed, 15 Nov 2023 21:50:47 UTC
Hi.

devel/appstream-qt SHALL not depend on Qt6 until KDE switches to Qt6.
devel/appstream-qt is LIB_DEPEND'ed by sysutils/plasma5-discover, which
is a part of KDE, and sysutils/plasma5-discover requires Qt5.

This clearly causes mixups of Qt5 and Qt6 and Qt is known to be toooooo
sensitive with mixed version.
If this mixup is NOT OFFICIALLY SUPPORTED, please switch back to Qt5.
If it is impossible for this version, please revert this whole commit
and wait for KDE to switch to Qt6, even though it's unclear when it
happens. Possibly some years later.

See Bug 268652 [1] to see what happenes with mixed-up versions even on
minor versions of Qt5.

And in writing this email, sysutils/plasma5-discover failed to build
in poudriere jail (without -S) as below. (Error part only.)

   ===== Quote error =====

-- Found KF5: success (found suitable version "5.111.0", minimum
required is "5.102.0") found components: CoreAddons Config Crash
DBusAddons I18n Archive XmlGui
KIO Declarative KCMUtils IdleTime Notifications Purpose 
-- Could NOT find packagekitqt5 (missing: packagekitqt5_DIR)
CMake Error at CMakeLists.txt:34 (find_package):
  Could not find a configuration file for package "AppStreamQt" that is
  compatible with requested version "0.15.3".

  The following configuration files were considered but not accepted:

    /usr/local/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake, version:
1.0.0



-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/plasma5-discover
=>> Cleaning up wrkdir
===>  Cleaning for plasma5-discover-5.27.9
build of sysutils/plasma5-discover | plasma5-discover-5.27.9 ended at
Thu Nov 16 04:15:06 JST 2023 build time: 00:00:46
!!! build failure encountered !!!

   ===== End quote error =====

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

Regards.

> The branch main has been updated by arrowd:
> 
> URL:
https://cgit.FreeBSD.org/ports/commit/?id=7dda5e4f6a7ba7b1592386b909376323a0ea6859
> 
> commit 7dda5e4f6a7ba7b1592386b909376323a0ea6859
> Author:     Gleb Popov <arrowd@FreeBSD.org>
> AuthorDate: 2023-11-15 17:49:07 +0000
> Commit:     Gleb Popov <arrowd@FreeBSD.org>
> CommitDate: 2023-11-15 17:51:02 +0000
> 
>     devel/appstream{,-qt,-compose}: Update to 1.0.0
>     
>     Sponsored by:   Serenity Cybersecurity, LLC
> ---

        (snip)

> diff --git a/devel/appstream-qt/Makefile b/devel/appstream-qt/Makefile
> index 0e787e767259..1703e990a599 100644
> --- a/devel/appstream-qt/Makefile
> +++ b/devel/appstream-qt/Makefile
> @@ -5,9 +5,9 @@ COMMENT?=	Qt bindings to AppStream
>  
>  LIB_DEPENDS=	libappstream.so:devel/appstream
>  
> -USES=		qt:5
> +USES=		qt:6
>  
> -USE_QT=		core buildtools:build qmake:build testlib:build
> +USE_QT=		base tools:build
>  
>  MESON_ARGS=	-Dqt=true
>  
        (snip)

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