[Bug 255753] devel/pyside2: py38-pyside2-5.15.2 poudriere build fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 27 13:43:03 BST 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255753

--- Comment #22 from Steve Wills <swills at FreeBSD.org> ---
(In reply to crahman from comment #21)

> qmodule.pri was unchanged by the qt5-qmake patch:

Good! It should be.

> With or without the patch, if qt5-3d/files/patch-src_core_configure.json is not present, qt5-ed is compiled without -mavx2, matrix4x4.avx2.cpp is compiled, and the configure summary shows:
> 
>   Use SSE2 instructions .................. yes
>   Use AVX2 instructions .................. no
> 
> and pyside2 builds successfully.

Good!

The patch to qt5-3d was actually not quite right, but it allowed it to build
qt5-3d with avx2 enabled.

Here we've removed the patch to qt5-3d and instead added this patch to qmake
which fixes the qt5-3d issue in the avx2 case and also doesn't break things in
the non-avx2 case.

I've tested the avx2 case and everything is fine, but I couldn't test the
without avx2 case fully. You just tested the without avx2 case and confirmed
that it all works.

So, I believe removing the patch to qt5-3d and adding this patch to qmake is
the correct solution. It allows building everything properly both without avx2
and with avx2.

Just to be on the safe side, I'd like some input from KDE Team, but this seems
right to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list