Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Apr 2024 00:28:30 +0300
From:      makc@freebsd.org
To:        Charlie Li <vishwin@freebsd.org>, kde-freebsd@kde.org, jhale@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: git: cc268ca874a8 - main - net-im/telegram-desktop: bump PORTREVISION after qt5 update
Message-ID:  <53512777.J2yNMGElB9@mercury>
In-Reply-To: <202404051832.435IW0Zt017404@gitrepo.freebsd.org>
References:  <202404051832.435IW0Zt017404@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Folks,

I've seen this with a couple of kf5-/KDE ports and other Qt ports, so
telegram-desktop is not the only affected by this issue: when app requires
for runtime exactly the same version of Qt it was built against. I suspect
these ports rely on private Qt headers and they have to be rebuilt alongside
the Qt upgrade. poudriere rebuilds packages anyway, therefore the problem
can be easily solved by forced reinstall of the affected packages.

To improve experience of pkg users we could bump PORTREVISION after Qt
update, however bumping all Qt ports would be overkill. Any idea how can we
find out in advance which ports do need the PORTREVISION bump?

Max


> The branch main has been updated by vishwin:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=cc268ca874a81aece7aadf066a671d2a94690d84
> 
> commit cc268ca874a81aece7aadf066a671d2a94690d84
> Author:     Charlie Li <vishwin@FreeBSD.org>
> AuthorDate: 2024-04-05 18:29:47 +0000
> Commit:     Charlie Li <vishwin@FreeBSD.org>
> CommitDate: 2024-04-05 18:31:56 +0000
> 
>     net-im/telegram-desktop: bump PORTREVISION after qt5 update
>     
>     Otherwise crashes because pkg(8) does not update this port/package:
>     
>     Cannot mix incompatible Qt library (5.15.12) with this library (5.15.13)
>     Abort (core dumped)
> ---
>  net-im/telegram-desktop/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
> index ff549da08699..e3a6bb920554 100644
> --- a/net-im/telegram-desktop/Makefile
> +++ b/net-im/telegram-desktop/Makefile
> @@ -1,5 +1,6 @@
>  PORTNAME=	telegram-desktop
>  DISTVERSION=	4.15.2
> +PORTREVISION=	1
>  CATEGORIES=	net-im
>  MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
>  DISTNAME=	tdesktop-${DISTVERSION}-full
> 







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53512777.J2yNMGElB9>