--- Begin Message ---
Source: qtractor
Version: 0.9.19-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
qtractor fails to cross build from source, because it uses AC_TRY_RUN to
check for availabilit of SSE. It does so to see what the CPU is capable
of and we absolutely cannot do this during cross compilation. I suggest
checking for the relevant xmmintrin.h header first. When it is missing,
the offending check can be skipped entirely. When present, I suggest
guessing that SSE is supported (but only for cross builds). Please
consider applying the attached patch. It fixes one out of three
remaining AC_TRY_RUN.
Helmut
--- qtractor-0.9.19.orig/configure.ac
+++ qtractor-0.9.19/configure.ac
@@ -669,6 +669,7 @@
# Check for SSE optimization.
if test "x$ac_sse" = "xyes"; then
+ AC_CHECK_HEADER([xmmintrin.h],[
ac_sse_cflags="-msse -mfpmath=sse -ffast-math"
ac_old_cflags=$CFLAGS
ac_old_cppflags=$CPPFLAGS
@@ -690,15 +691,20 @@
: "=a" (a), "=S" (b), "=c" (c), "=d" (d) : "0" (1));
return ((d & (1 << 25)) ? 0 : 1);
}
- ], ac_cv_sse="yes", ac_cv_sse="no")
+ ], ac_cv_sse="yes", ac_cv_sse="no", ac_cv_sse=cross)
])
- ac_sse=$ac_cv_sse
+ if test "x$ac_cv_sse" = xcross; then
+ ac_sse=yes
+ else
+ ac_sse=$ac_cv_sse
+ fi
if test "x$ac_sse" = "xyes"; then
ac_cflags="$ac_sse_cflags $ac_cflags"
else
CPPFLAGS=$ac_old_cppflags
CFLAGS=$ac_old_cflags
fi
+ ],[ac_sse=no])
fi
--- End Message ---
--- Begin Message ---
Source: qtractor
Source-Version: 0.9.20-1
Done: Dennis Braun <d_braun@kabelmail.de>
We believe that the bug you reported is fixed in the latest version of
qtractor, 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 982462@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dennis Braun <d_braun@kabelmail.de> (supplier of updated qtractor 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 13 Feb 2021 15:34:43 +0100
Source: qtractor
Architecture: source
Version: 0.9.20-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Dennis Braun <d_braun@kabelmail.de>
Closes: 982462
Changes:
qtractor (0.9.20-1) unstable; urgency=medium
.
* New upstream version 0.9.20
+ Fix FTCBFS (Closes: #982462)
* d/copyright: Update year and add myself
* Build with gtk2 support again, gtk3 still not supported
Checksums-Sha1:
fd18f8b2951cbf2658d407ed396a94e0f1a20098 2408 qtractor_0.9.20-1.dsc
6bb02c085b25fb437461dcb91055d68429eccabd 1944885 qtractor_0.9.20.orig.tar.gz
db89ff62e489905c98137ae6e1be0d7de9df410e 7916 qtractor_0.9.20-1.debian.tar.xz
Checksums-Sha256:
ce346a72d07590aea57ba8db7566f90b27ed91d672232f059e3b6cbcaa2ab164 2408 qtractor_0.9.20-1.dsc
0707941264dd5bf3e3caa6c13d5aded613247bb034748c3fb8da26a64e813947 1944885 qtractor_0.9.20.orig.tar.gz
f5fd03fc830abb7322d9d6561ba9e5f58ca58eeff599a72c3fc2f914bc82b4db 7916 qtractor_0.9.20-1.debian.tar.xz
Files:
55c9b76f05f68896e4b91d9d94f61303 2408 sound optional qtractor_0.9.20-1.dsc
5560b108e88445d4e50e71c274ce9725 1944885 sound optional qtractor_0.9.20.orig.tar.gz
d0d10ac1741fdc0830cc10b8938ef256 7916 sound optional qtractor_0.9.20-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmAw/XgACgkQiNJCh6LY
mLFgvA/+JpVEu4IKhASIxKXgmUftwu7Xcbb6bvAnHM5BpV41LrOtWO1aGrhy10IB
IzgM78GRZmZdCfxD6ZgYNXjOge/1rS1HP7h/2/Gg9UuxT1BeQnStWfeShQaqCO6v
h3R/hQ0BNmdKzHeZQs6qcf/8VWl5DlHNe3H+JY9sXeSmbIBZ3aftoNX65H0MxR0a
ezQ+D7aytX5iTyp8i8ECjER/LrMeDiDjJOSMJYLDtzLim8h2MW+Z7abEFmzPE/9j
0zXmgqlq0X968u2Bkhjgsbv/5B2iHSE64z/1mMCbKi6M32Le62BKf0ALMIjNBQ12
Y3WnoXhPFVPM6WzdPaQ6ORvba9tstlA7yB7Et1RBs2NJ77P2TTgz4a4ZE6gT5iAD
FrCJW1gIWMgdb5ATC9GftBUDGkJo5C6kZVCF72D2sTRCuEFwvSZ/GozIu0s9Lqu6
JhINxSCaPONP0yTFmSWtJe84jJCNzWDjX8xX/Wqp6k4ujTLuQBPjv4vZlp4VSTz/
ZFzScQJlr1r03D7/rB/NCCyQNVS07QtheE1Huf1ObSNLghGzDCtPZYW1Gp0lCISl
OG1WoAsVRgRNCX56aYA1gxhcRqD7ED+xSl/fpDLe9xSEnvFXodY7VmHiHU8zqjlg
NezZBVzaPKmSkmTmi0xY5dWvXBtT3zlmIpiPNRfowSeMP2lMUls=
=6ksy
-----END PGP SIGNATURE-----
--- End Message ---