Bug#721770: mothur: FTBFS on ia64: unrecognized command line option '-m64'

2013-09-04 Thread Andreas Tille
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-packag...@lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#721770: mothur: FTBFS on ia64: unrecognized command line option '-m64'

2013-09-04 Thread Aaron M. Ucko
Andreas Tille ti...@debian.org writes:

 Hi Aaron,

Hi, Andreas.

 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.

Same here, actually.  I just spotted the error during a routine
all-architectures check (consulting buildd.d.o) of source packages
building binary packages that had shown up on amd64 but not i386 or vice
versa.  i386 turned out to be a false positive here, as mothur-mpi
explicitly excludes 32-bit architectures, but I stumbled across the ia64
error along the way.

 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.

Presumably both; regardless, I'd remove the flag unconditionally,
because it's redundant at best.

 Any patch / team upload is more than welcome

Great, thanks!  I'll go ahead with a team upload shortly, then.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#721770: mothur: FTBFS on ia64: unrecognized command line option '-m64'

2013-09-03 Thread Aaron M. Ucko
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!


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org