[packages/qt4] - qmake is broken with asserts not enabled

Jan Rękorajski baggins at pld-linux.org
Fri Oct 3 23:49:39 CEST 2025


I'm really sorry you've wasted your time fixing this, I should have
announced this beforehand.

I am going to delete qt4 from Th. It's dead. Almost anything depending
on it is dead. There is no point in keeping any and all of this.

On Thu, 02 Oct 2025, qboosh wrote:

> commit 3e8deb1d49a9bad20c38bdb7b40a2182df0b2ca8
> Author: Jakub Bogusz <qboosh at pld-linux.org>
> Date:   Thu Oct 2 21:16:48 2025 +0200
> 
>     - qmake is broken with asserts not enabled
> 
>  qt4.spec | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> ---
> diff --git a/qt4.spec b/qt4.spec
> index 7c31d82..e1b2b82 100644
> --- a/qt4.spec
> +++ b/qt4.spec
> @@ -159,6 +159,7 @@ BuildRequires:	libicu-devel >= %{icu_abi}
>  BuildRequires:	libicu-devel < %{next_icu_abi}
>  BuildRequires:	libjpeg-devel
>  BuildRequires:	libmng-devel >= 1.0.0
> +BuildRequires:	libnsl-devel
>  BuildRequires:	libpng-devel >= 2:1.0.8
>  BuildRequires:	libstdc++-devel
>  BuildRequires:	libtirpc-devel
> @@ -191,10 +192,11 @@ Obsoletes:	qt-utils < 6:3.3.3
>  Conflicts:	kdelibs <= 8:3.2-0.030602.1
>  BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
>  
> -%define		_noautoreqdep	libGL.so.1 libGLU.so.1
>  %define		_noautostrip	'.*_debug\\.so*'
>  
>  %define		specflags	-fno-strict-aliasing -Wno-deprecated
> +# at least qmake is broken without asserts enabled (two cases with "Q_ASSERT(function_blocks.pop() == defined);")
> +%define		filterout_cpp	-DNDEBUG -DQT_NO_DEBUG
>  
>  %define		_qtdir		%{_libdir}/qt4
>  
> ================================================================
> 
> ---- gitweb:
> 
> http://git.pld-linux.org/gitweb.cgi/packages/qt4.git/commitdiff/3e8deb1d49a9bad20c38bdb7b40a2182df0b2ca8
> 
> _______________________________________________
> pld-cvs-commit mailing list
> pld-cvs-commit at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

-- 
Jan Rękorajski                    | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/


More information about the pld-devel-en mailing list