Package: fsa
Version: 1.15.9+dfsg-1
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch
Forwarded: https://sourceforge.net/p/fsa/bugs/7/

Hi,

Package fsa FTBFS on mips* and arm* with following error:
g++: error: unrecognized command line option '-m64'

build logs:
https://buildd.debian.org/status/fetch.php?pkg=fsa&arch=mips&ver=1.15.9%2Bdfsg-1&stamp=1466041102
https://buildd.debian.org/status/fetch.php?pkg=fsa&arch=mips64el&ver=1.15.9%2Bdfsg-1&stamp=1466041193
https://buildd.debian.org/status/fetch.php?pkg=fsa&arch=mipsel&ver=1.15.9%2Bdfsg-1&stamp=1466040956

-m64 flag is not supported on mips* and arm* achitectures.

Patch is tested on mips, mipsel, mips64el and i386.
Patch may fix the build for arm but it is not tested.

Regards,
Daniel
--- fsa-1.15.9+dfsg.orig/configure.ac
+++ fsa-1.15.9+dfsg/configure.ac
@@ -76,7 +76,7 @@ case "${host_cpu}-${host_os}" in
 	esac;;
   *)
     AC_MSG_CHECKING([if gcc accepts -m64])
-    CFLAGS="-m64"
+    CXXFLAGS="-m64"
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
 		      [ext_CFLAGS="-m64"; AC_MSG_RESULT([yes])],
 		      [ext_CFLAGS="-D_FILE_OFFSET_BITS=64"; AC_MSG_RESULT([no])]);;

Reply via email to