Opened 10 years ago
Closed 10 years ago
#45550 closed defect (fixed)
libftdi1 @1.1_0: uses installed header in prefix from previous version during build
Reported by: | ve3wwg@… | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.2 |
Keywords: | Cc: | raimue (Rainer Müller) | |
Port: | libftdi1 |
Description (last modified by larryv (Lawrence Velázquez))
MacBook Pro Darwin Warrens-MacBook-Pro-3.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
From main.log:
:info:build /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/wo$ :info:build [100%] Built target _ftdi1 :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.1/examples/find_all_pp.cpp:49:47$ :info:build List* list = List::find_all(context, vid, pid); :info:build ~~~~~~~~~~~~~~ ^~~ :info:build /opt/local/include/ftdi.hpp:180:5: note: 'find_all' declared here :info:build static List* find_all(int vendor, int product); :info:build ^ :info:build 1 error generated. :info:build make[2]: *** [examples/CMakeFiles/find_all_pp.dir/find_all_pp.cpp.o] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.1' :info:build make[1]: *** [examples/CMakeFiles/find_all_pp.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.1' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.1" && /usr/$ :info:build Exit code: 2 :error:build org.macports.build for port libftdi1 returned: command execution failed :debug:build Error code: CHILDSTATUS 83804 2
Attachments (1)
Change History (7)
Changed 10 years ago by ve3wwg@…
comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|---|
Keywords: | libftdi1 compile error removed |
Owner: | changed from macports-tickets@… to snc@… |
Summary: | org.macports.build (libftdi1) failure → libftdi1 @1.1_0: build failure |
comment:2 follow-up: 5 Changed 10 years ago by ve3wwg@…
Avoidance procedure:
sudo mv /opt/local/include/ftdi.hpp /opt/local/include/ftdi.hpp.was
The package is searching /opt/local/include/ftdi.hpp ahead of it's own internal include files, and the API changed (added argument).
comment:3 Changed 10 years ago by raimue (Rainer Müller)
Cc: | raimue@… added |
---|---|
Summary: | libftdi1 @1.1_0: build failure → libftdi1 @1.1_0: uses installed header in prefix from previous version during build |
comment:4 Changed 10 years ago by nerdling (Jeremy Lavergne)
Status: | new → assigned |
---|
comment:5 Changed 10 years ago by nerdling (Jeremy Lavergne)
Replying to ve3wwg@…: A safer workaround is to use trace mode, which blocks access to those files:
sudo port clean libftdi1 sudo port -t install libftdi1
comment:6 Changed 10 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
cmake was setting the c/cxx flags against macport's wishes, which caused the macports prefix to be included first.
Set c/cxx flags manually, r129092.
Note: See
TracTickets for help on using
tickets.
..._ports_devel_libftdi/libftdi1/main.log