[Pkg-tigervnc-devel] Bug#710749: libjpeg-turbo: FTBFS on kfreebsd-amd64: tries to use 32-bit assembly
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Tue Jun 4 16:57:49 UTC 2013
tag #710749 patch
tag #710749 moreinfo
thanks
Hi Aaron,
On So 02 Jun 2013 04:29:48 CEST "Aaron M. Ucko" wrote:
> 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!
Attached you find a patch that may hopefully fix the reported issue.
Can you please review (as I do not have kfreebsd here to test atm)?
Thanks,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 003_ftbfs-kfreebsd-x64.patch
Type: text/x-diff
Size: 384 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-tigervnc-devel/attachments/20130604/ee7a022d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.alioth.debian.org/pipermail/pkg-tigervnc-devel/attachments/20130604/ee7a022d/attachment.pgp>
More information about the Pkg-tigervnc-devel
mailing list