Your message dated Thu, 20 Jun 2024 10:19:59 +0000
with message-id <e1sketb-00a7je...@fasolo.debian.org>
and subject line Bug#1057050: fixed in qt6-multimedia 6.6.2-3
has caused the Debian Bug report #1057050,
regarding qt6-multimedia: Please build with EIGEN_DONT_VECTORIZE on powerpc to 
fix FTBFS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1057050: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057050
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: qt6-multimedia
Version: 6.4.2-11
Severity: normal
User: debian-powe...@lists.debian.org
Usertags: powerpc
X-Debbugs-Cc: debian-powe...@lists.debian.org

Hello!

The package src:qt6-multimedia fails to build from source on powerpc since 
version
6.4.0-1 due to the use of some AltiVec instrisics that are not supported on 
32-bit
PowerPC:

/usr/bin/c++ -DEIGEN_MPL2_ONLY -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS 
-DQT_NO_JAVA_STYLE_ITERATORS \
(...)
In file included from /usr/include/eigen3/Eigen/Core:210,
                 from /usr/include/eigen3/Eigen/Dense:1,
                 from 
/<<PKGBUILDDIR>>/src/resonance-audio/../3rdparty/resonance-audio/platforms/common/utils.h:20,
                 from 
/<<PKGBUILDDIR>>/src/3rdparty/resonance-audio/platforms/common/utils.cc:17:
/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h: In function \
‘Packet Eigen::internal::pblend(const Selector<unpacket_traits<T>::size>&, 
const Packet&, const Packet&) [with Packet = __vector(2) double]’:
/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:2702:17: error: 
invalid parameter combination for AltiVec intrinsic ‘__builtin_vec_sel’
 2702 |   return vec_sel(elsePacket, thenPacket, mask);
      |                 ^

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.

Could you apply this change for the next upload in order to fix the build on 
powerpc?

Attaching a patch for a convenience.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- 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
 

--- End Message ---
--- Begin Message ---
Source: qt6-multimedia
Source-Version: 6.6.2-3
Done: Patrick Franz <delta...@debian.org>

We believe that the bug you reported is fixed in the latest version of
qt6-multimedia, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Franz <delta...@debian.org> (supplier of updated qt6-multimedia package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 20 Jun 2024 12:13:48 +0200
Source: qt6-multimedia
Architecture: source
Version: 6.6.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Patrick Franz <delta...@debian.org>
Closes: 1057050
Changes:
 qt6-multimedia (6.6.2-3) unstable; urgency=medium
 .
   [ Patrick Franz ]
   * Fix FTBFS failure on powerpc thx to John Paul Adrian Glaubitz
     (Closes: #1057050).
Checksums-Sha1:
 a34055dbf5a3b216de4dff434a17e4a75f1d9a6c 3414 qt6-multimedia_6.6.2-3.dsc
 1f7458b40d2d700bcf83e4532e4891e61d6df745 18148 
qt6-multimedia_6.6.2-3.debian.tar.xz
 0ed1a35bd18255b39877f9c2d9fa55bce627d4c0 13171 
qt6-multimedia_6.6.2-3_source.buildinfo
Checksums-Sha256:
 7d9a0592c0ddd37842f0fb1f02a023358806ac714a07406d939a322983692129 3414 
qt6-multimedia_6.6.2-3.dsc
 e199f90a4a2a892d1a3c41aba8e0a062d502eef8dcae43b636df1162d0775626 18148 
qt6-multimedia_6.6.2-3.debian.tar.xz
 330a32d9fbb51b3f343b0ac4fee377a934253360d091cc74b1982eb4c6873497 13171 
qt6-multimedia_6.6.2-3_source.buildinfo
Files:
 f2f62e90b06bd33ca30665006bc8e25f 3414 libs optional qt6-multimedia_6.6.2-3.dsc
 37fd6d41a6f4efa22f0700186ce01103 18148 libs optional 
qt6-multimedia_6.6.2-3.debian.tar.xz
 9ef1d710efcc6d9535adc3c46415e106 13171 libs optional 
qt6-multimedia_6.6.2-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEYodBXDR68cxZHu3Knp96YDB3/lYFAmZ0AO8ACgkQnp96YDB3
/lZSmw/8Cha/TinqCkh3AnA2Q4G3J4r+DwkGQ7Me8Oorawj3xNFdX4gwBhBUxYNz
V1OOo7k2yYv8LzjwEvJJvvUbSdbanqFVDJsNmqR2z17Hj5UBXp8ABdOW6j8z3l3x
uAZisMsJ/Zkq5IlLlSU4lMQ9P04EIxbo2IVjMebfIy2S5ZGcSfCamTMa9R1OuI+0
oSHB9nbNYlGzzMdUkupMwsRFf+wqzgKImNX+sNSUCOX+ilFRarMSAo/Qr+MIlxCA
8R77g547D//vVA56GXx/bt/Va6/APuJoufAiZS9KnmReFmsYAYxuV3WJyBZAdRsE
3IXh2BNJksQGLVKKnskgms5l9G/jWnzf71bTmFP56/4HUOHHsIR0N7DMWhtacJEh
DmqF//mip54rH65gfc2J2IZyS9dlPHd4qKtiHayljdo+mkd5ISVpiUPrDKwLwkMb
pJ6tFyJG9lVu8Aa2dKrFpCqpL/q/eWeZsm7Lc2ubVdCWVaed0A5o8yU4DBPvKtPO
pV4I1SVZVvtbKbbM6vkcnPPxwK6UYbE1iyETkk2J15hESDn6J8yAO6yRikVaVfN+
+octlofAXzVNn3eXX7C9pFjtVHE0ycVUqpSJtHYOEQf1KseUq/nc1AEDqQ5GXngU
G1gQ8YMdCcKzL3nLTNZsQspdmR/XUt4ll2X5JijhVXUoXvOzhJU=
=YQJR
-----END PGP SIGNATURE-----

Attachment: pgpeMhTS9W40x.pgp
Description: PGP signature


--- End Message ---

Reply via email to