[MacPorts] #42361: libjpeg-turbo +universal: build failure (was: Build failure for libjpeg-turbo +universal)
MacPorts
noreply at macports.org
Tue Feb 4 00:24:29 PST 2014
#42361: libjpeg-turbo +universal: build failure
----------------------------+-----------------------------
Reporter: nneonneo@… | Owner: rmstonecipher@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: libjpeg-turbo |
----------------------------+-----------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => rmstonecipher@…
Old description:
> libjpeg-turbo won't build in the +universal variant. The relevant
> config.log is attached.
>
> configure:13494: checking for nasm
> configure:13521: result: /opt/local/bin/nasm
> configure:13534: checking for object file format of host system
> configure:13608: result: Mach-O64
> configure:13616: checking for object file format specifier (NAFLAGS)
> configure:13631: result: -fmacho64 -DMACHO -D__x86_64__
> configure:13635: checking whether the assembler (/opt/local/bin/nasm
> -fmacho64 -DMACHO -D__x86_64__) works
> configure:13646: /opt/local/bin/nasm -fmacho64 -DMACHO -D__x86_64__ -o
> conftest.o conftest.asm
> configure:13649: $? = 0
> configure:13651: result: yes
> configure:13662: checking whether the linker accepts assembler output
> configure:13665: /usr/bin/clang -o conftest -L/opt/local/lib
> -Wl,-headerpad_max_install_names -arch i386 conftest.o 1>&5
> ld: warning: ignoring file conftest.o, file was built for unsupported
> file format ( 0xCF 0xFA 0xED 0xFE 0x07 0x00 0x00 0x01 0x03 0x00 0x00 0x00
> 0x01 0x00 0x00 0x00 ) which is not the architecture being linked (i386):
> conftest.o
> Undefined symbols for architecture i386:
> "_main", referenced from:
> implicit entry/start for main executable
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> configure:13668: $? = 1
> configure:13675: result: no
> configure:13677: error: configuration problem: maybe object file format
> mismatch.
New description:
libjpeg-turbo won't build in the +universal variant. The relevant
config.log is attached.
{{{
configure:13494: checking for nasm
configure:13521: result: /opt/local/bin/nasm
configure:13534: checking for object file format of host system
configure:13608: result: Mach-O64
configure:13616: checking for object file format specifier (NAFLAGS)
configure:13631: result: -fmacho64 -DMACHO -D__x86_64__
configure:13635: checking whether the assembler (/opt/local/bin/nasm
-fmacho64 -DMACHO -D__x86_64__) works
configure:13646: /opt/local/bin/nasm -fmacho64 -DMACHO -D__x86_64__ -o
conftest.o conftest.asm
configure:13649: $? = 0
configure:13651: result: yes
configure:13662: checking whether the linker accepts assembler output
configure:13665: /usr/bin/clang -o conftest -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch i386 conftest.o 1>&5
ld: warning: ignoring file conftest.o, file was built for unsupported file
format ( 0xCF 0xFA 0xED 0xFE 0x07 0x00 0x00 0x01 0x03 0x00 0x00 0x00 0x01
0x00 0x00 0x00 ) which is not the architecture being linked (i386):
conftest.o
Undefined symbols for architecture i386:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
configure:13668: $? = 1
configure:13675: result: no
configure:13677: error: configuration problem: maybe object file format
mismatch.
}}}
--
Comment:
I'm unable to reproduce this problem on Mavericks.
--
Ticket URL: <https://trac.macports.org/ticket/42361#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list