Opened 9 years ago

Closed 6 years ago

#48441 closed defect (fixed)

libftdi1 @1.2_2: universal variant fails

Reported by: ve3wwg@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: libftdi1

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (1)

libftdi_main.log (56.9 KB) - added by ve3wwg@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by ve3wwg@…

Attachment: libftdi_main.log added

comment:1 Changed 9 years ago by ve3wwg@…

Cc: ve3wwg@… added

Cc Me!

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ve3wwg@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to snc@…
Port: libftdi1 added
Summary: libftdi1-1.2_2+universal.darwin_14.i386-x86_64.tbz2 fails to configurelibftdi1 @1.2_2: universal variant fails

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.)

comment:3 Changed 9 years ago by ve3wwg@…

It is due to dependencies that I need the universal variant.

comment:4 Changed 6 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Today I was able to successfully install libftdi1@1.4_3 +universal after fixing #56289.

Since this ticket is a pretty old, gonna go with "fixed" rather than "worksforme".

$ port installed depof:libftdi1
The following ports are currently installed:
  boost @1.66.0_3+no_single+no_static+python27+universal (active)
  cmake @3.12.2_0 (active)
  doxygen @1.8.14_0+debug+universal (active)
  gettext @0.19.8.1_0+universal (active)
  libconfuse @3.2.2_0+universal (active)
  libusb @1.0.22_0+universal (active)
  libusb-compat @0.1.5_0+universal (active)
  pkgconfig @0.29.2_0+universal (active)
  python27 @2.7.15_0+universal (active)
  swig-python @3.0.12_2+universal (active)
Note: See TracTickets for help on using tickets.