[Debian-med-packaging] Bug#770079: Bug#770079: ltrsift: FTBFS on arm64

Sascha Steinbiss sascha at steinbiss.name
Tue Nov 18 21:10:44 UTC 2014


Hi Edmund,

thanks for reporting this (and for your helpful hints).

> The right fix for upstream would probably be to replace
> 
>   ifneq ($(MACHINE),x86_64)
> 
> with something like:
> 
>   ifneq ($(filter $(MACHINE), i386 i486 i586 i686 x86 ),)
> 
> That would perhaps allow them to build a 64-bit binary on a 32-bit
> Intel machine by specifying "64bit=yes" as an argument to "make".

I have done this now the same way I addressed this issue in its
dependency package, genometools:

MACHINE:=$(shell uname -m)
ifeq ($(m64),yes)
  ifeq (,$(filter $(MACHINE),arm64 ia64 alpha mips64 mips64el aarch64))
    CFLAGS += -m64
  endif
endif

Basically, these archs won't get -m64. I have uploaded a new version and
let's see if it builds now.

Cheers
Sascha



More information about the Debian-med-packaging mailing list