[MacPorts] #48441: libftdi1 @1.2_2: universal variant fails (was: libftdi1-1.2_2+universal.darwin_14.i386-x86_64.tbz2 fails to configure)
MacPorts
noreply at macports.org
Sat Jul 25 18:00:50 PDT 2015
#48441: libftdi1 @1.2_2: universal variant fails
-----------------------+-------------------
Reporter: ve3wwg@… | Owner: snc@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: libftdi1 |
-----------------------+-------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => snc@…
* cc: ve3wwg@… (removed)
* port: => libftdi1
Old description:
> sudo port upgrade outdated
> or
> sudo port install libftdi1
>
> {{{
> ---> Configuring libftdi1
> Error: org.macports.configure for port libftdi1 returned: configure
> failure: command execution failed
> Please see the log file for port libftdi1 for details:
>
> }}}
>
> Within the log file, there is this message:
>
> {{{
> :info:configure Linking C executable cmTryCompileExec3466122035
> :info:configure
> :info:configure /opt/local/bin/cmake -E cmake_link_script
> :info:configure CMakeFiles/cmTryCompileExec3466122035.dir/link.txt
> --verbose=1
> :info:configure
> :info:configure
> :info:configure
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> :info:configure -Os -mmacosx-version-min=10.10 -Wl,-search_paths_first
> :info:configure -Wl,-headerpad_max_install_names -L/opt/local/lib
> :info:configure -Wl,-headerpad_max_install_names -arch x86_64 -arch
> i386
> :info:configure
> CMakeFiles/cmTryCompileExec3466122035.dir/testCCompiler.c.o -o
> :info:configure cmTryCompileExec3466122035
> :info:configure
> :info:configure ld: warning: ignoring file
> :info:configure
> CMakeFiles/cmTryCompileExec3466122035.dir/testCCompiler.c.o, file was
> built
> :info:configure for unsupported file format ( 0xCF 0xFA 0xED 0xFE 0x07
> 0x00 0x00 0x01 0x03
> :info:configure 0x00 0x00 0x00 0x01 0x00 0x00 0x00 ) which is not the
> architecture being
> :info:configure linked (i386):
> CMakeFiles/cmTryCompileExec3466122035.dir/testCCompiler.c.o
> :info:configure
> :info:configure Undefined symbols for architecture i386:
> :info:configure
> :info:configure "_main", referenced from:
> :info:configure implicit entry/start for main executable
> :info:configure
> :info:configure ld: symbol(s) not found for architecture i386
> :info:configure
> :info:configure clang: error: linker command failed with exit code 1
> (use -v to see
> :info:configure invocation)
>
> :info:configure
> :info:configure
> CMakeFiles/cmTryCompileExec3466122035.dir/build.make:88: recipe for
> target
> :info:configure 'cmTryCompileExec3466122035' failed
> :info:configure
> :info:configure gmake[1]: *** [cmTryCompileExec3466122035] Error 1
> :info:configure
> :info:configure gmake[1]: Leaving directory
> :info:configure
> '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build/CMakeFiles/CMakeTmp'
> :info:configure
> :info:configure
> :info:configure Makefile:117: recipe for target
> 'cmTryCompileExec3466122035/fast' failed
> :info:configure
> :info:configure gmake: *** [cmTryCompileExec3466122035/fast] Error 2
> }}}
New description:
{{{
sudo port upgrade outdated
}}}
or
{{{
sudo port install libftdi1
}}}
{{{
---> Configuring libftdi1
Error: org.macports.configure for port libftdi1 returned: configure
failure: command execution failed
Please see the log file for port libftdi1 for details:
}}}
Within the log file, there is this message:
{{{
:info:configure Linking C executable cmTryCompileExec3466122035
:info:configure
:info:configure /opt/local/bin/cmake -E cmake_link_script
:info:configure CMakeFiles/cmTryCompileExec3466122035.dir/link.txt
--verbose=1
:info:configure
:info:configure
:info:configure
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
:info:configure -Os -mmacosx-version-min=10.10 -Wl,-search_paths_first
:info:configure -Wl,-headerpad_max_install_names -L/opt/local/lib
:info:configure -Wl,-headerpad_max_install_names -arch x86_64 -arch i386
:info:configure
CMakeFiles/cmTryCompileExec3466122035.dir/testCCompiler.c.o -o
:info:configure cmTryCompileExec3466122035
:info:configure
:info:configure ld: warning: ignoring file
:info:configure
CMakeFiles/cmTryCompileExec3466122035.dir/testCCompiler.c.o, file was
built
:info:configure for unsupported file format ( 0xCF 0xFA 0xED 0xFE 0x07
0x00 0x00 0x01 0x03
:info:configure 0x00 0x00 0x00 0x01 0x00 0x00 0x00 ) which is not the
architecture being
:info:configure linked (i386):
CMakeFiles/cmTryCompileExec3466122035.dir/testCCompiler.c.o
:info:configure
:info:configure Undefined symbols for architecture i386:
:info:configure
:info:configure "_main", referenced from:
:info:configure implicit entry/start for main executable
:info:configure
:info:configure ld: symbol(s) not found for architecture i386
:info:configure
:info:configure clang: error: linker command failed with exit code 1
(use -v to see
:info:configure invocation)
:info:configure
:info:configure CMakeFiles/cmTryCompileExec3466122035.dir/build.make:88:
recipe for target
:info:configure 'cmTryCompileExec3466122035' failed
:info:configure
:info:configure gmake[1]: *** [cmTryCompileExec3466122035] Error 1
:info:configure
:info:configure gmake[1]: Leaving directory
:info:configure
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build/CMakeFiles/CMakeTmp'
:info:configure
:info:configure
:info:configure Makefile:117: recipe for target
'cmTryCompileExec3466122035/fast' failed
:info:configure
:info:configure gmake: *** [cmTryCompileExec3466122035/fast] Error 2
}}}
--
Comment:
Yes, I can confirm that, when using the universal variant. (It builds fine
when not using the universal variant, in case that's an acceptable
workaround for you.)
--
Ticket URL: <https://trac.macports.org/ticket/48441#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list