[Pkg-tigervnc-devel] Bug#710749: libjpeg-turbo: FTBFS on kfreebsd-amd64: tries to use 32-bit assembly

Aaron M. Ucko ucko at debian.org
Sun Jun 2 02:29:48 UTC 2013


Source: libjpeg-turbo
Version: 1.3.0-1
Severity: serious
Justification: fails to build from source

Thanks for addressing #710566 so promptly!  Alas, on kfreebsd-amd64,
libjpeg-turbo gets past it only to run into another error: when
"checking for object file format of host system" (per logic propagated
from acinclude.m4 to configure by way of aclocal.m4), it doesn't know
what to make of kFreeBSD and falls back to assuming 32-bit ELF, which
naturally fails:

  checking for object file format of host system... ELF ?
  configure: WARNING: unexpected host system. assumed that the format is ELF.
  checking for object file format specifier (NAFLAGS) ... -felf -DELF
  checking whether the assembler (nasm -felf -DELF) works... yes
  checking whether the linker accepts assembler output... no
  configure: error: configuration problem: maybe object file format mismatch.

ELF is indeed a reasonable fallback these days, but I'd suggest
defaulting to the "ELF64" case when the CPU type is x86_64 or amd64
and the OS is unknown.

Could you please take a look?

Thanks!



More information about the Pkg-tigervnc-devel mailing list