[Debian-med-packaging] Bug#721770: mothur: FTBFS on ia64: unrecognized command line option '-m64'

Andreas Tille tille at debian.org
Wed Sep 4 09:55:06 UTC 2013


Hi Aaron,

thanks for your bug report.  Since I have no direct access to a ia64
machine (except the ones any DD can login but this would be more time
consuming) I wonder whether you could possibly provide a patch to the
makefile which seems to be easy enough when sitting on such a machine.
It is just not clear to me whether only one of CXXFLAGS and
FORTRAN_FLAGS needs to be droped or both.  Once this is clear some if
statement evaluating `dpkg-architecture -qDEB_BUILD_ARCH` to be equal to
ia64 should do the trick.

Any patch / team upload is more than welcome

      Andreas.

On Tue, Sep 03, 2013 at 06:53:07PM -0400, Aaron M. Ucko wrote:
> Source: mothur
> Version: 1.31.2+dfsg-1
> Severity: serious
> Justification: fails to build from source
> 
> The ia64 build of mothur failed because GCC doesn't recognize -m64 there:
> 
>   if [ 64 -eq 64 ] ; then \
>   	    dh_auto_build -- 64BIT_VERSION=yes USEMPI=yes && \
>   	    mv mothur mothur-mpi && make clean && \
>   	    dh_auto_build -- 64BIT_VERSION=yes USEMPI=no ; \
>   	else \
>   	    dh_auto_build -- 64BIT_VERSION=no ; \
>   	fi
>   make[2]: Entering directory `/«BUILDDIR»/mothur-1.31.2+dfsg'
>   gfortran -c -m64 *.f
>   f951: error: unrecognized command line option '-m64'
> 
> I'd suggest doing away with that flag altogether, since it's redundant
> on the architectures that do support it (disregarding multiarch
> compiler installations, on which mothur of course doesn't build-depend).
> 
> Could you please look into it?
> 
> Thanks!
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list