Bug#1057050: qt6-multimedia: Please build with EIGEN_DONT_VECTORIZE on powerpc to fix FTBFS
On Tue, 28 Nov 2023 20:22:36 +0100 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
> Source: qt6-multimedia
> Version: 6.4.2-11
> Severity: normal
> User: debian-powerpc@lists.debian.org
> Usertags: powerpc
> X-Debbugs-Cc: debian-powerpc@lists.debian.org
>
> Hello!
Hello,
[...]
> This can be fixed by switching off vectorization in the »eigen« using the preprocessor
> macro EIGEN_DONT_VECTORIZE which can be defined on the cmake command line using the
> cmake variable COMPILE_DEFINITIONS:
>
> --- qt6-multimedia-6.4.2/debian/rules.orig 2023-07-26 17:52:13.000000000 +0200
> +++ qt6-multimedia-6.4.2/debian/rules 2023-11-28 18:26:47.950137854 +0100
> @@ -9,6 +9,10 @@
> cmake_extra_args += -DQT_HOST_PATH=/usr
> endif
>
> +ifneq (,$(filter $(DEB_HOST_ARCH),powerpc))
> + cmake_extra_args += -DCOMPILE_DEFINITIONS="EIGEN_DONT_VECTORIZE"
> +endif
> +
> %:
> dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
>
> With the above change, cmake defines the preprocessor macro EIGEN_DONT_VECTORIZE and
> the build succeeds on powerpc.
With qt6-multimedia 6.6.2 qt6-multimedia still fail to build even with
this patch.
I'm unable to find a solution. Adrian do you have an idea ?
Christian
Reply to: