[Debian-med-packaging] Bug#1114673: ugene FTCBFS: enables sse2 on non-x86

Helmut Grohne helmut at subdivi.de
Mon Sep 8 09:26:08 BST 2025


Source: ugene
Version: 52.1+dfsg-1
User: debian-cross at lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: debian-cross at lists.debian.org

ugene fails to cross build from source, because it enables SSE2 support 
for non-x86 systems. That doesn't go well. I have a non-patch that makes 
cross building work:

--- a/src/ugene_globals.pri
+++ b/src/ugene_globals.pri
@@ -171,8 +171,6 @@
 defineTest( target_platform_has_sse ) {
     # This check works on Windows.
     contains(QMAKE_TARGET.arch, x86_64) : return (true)
-    # This check works on Linux & Mac.
-    contains(QMAKE_HOST.arch, x86_64) : return (true)
     return (false)
 }


As I understand it, Qmake calls target what GNU calls host and Qmake 
calls host what GNU calls build. So technically speaking matching on 
QMAKE_HOST is wrong here. Once removing just that check, ugene cross 
builds just fine e.g. for arm64. Evidently that check is wrong, but it 
also is there for a reason. I suspect that just removing it will delete 
SSE2 support in desired situations.

Would someone see the right way to fix this?

Helmut



More information about the Debian-med-packaging mailing list