Opened 10 years ago
Closed 10 years ago
#46128 closed defect (fixed)
libftdi1 1.1_0 < 1.2_0 fails upgrade in Mavericks
Reported by: | neilt (Neil Tiffin) | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | mavericks | Cc: | nerdling (Jeremy Lavergne) |
Port: | libftdi1 |
Description
:info:build Scanning dependencies of target _ftdi1 :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.2' :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f python/CMakeFiles/_ftdi1.dir/build.make python/CMakeFiles/_ftdi1.dir/build :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.2' :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/work/libftdi1-1.2/CMakeFiles 2 :info:build [100%] Building C object python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.2/python && /usr/bin/clang -D_ftdi1_EXPORTS -pipe -Os -arch x86_64 -DNDEBUG -arch x86_64 -mmacosx-version-min=10.9 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.2/src -I/opt/local/include/libusb-1.0 -I//Library/Frameworks/Python.framework/Headers -Wall -o CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.2/python/ftdi1PYTHON_wrap.c :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.2/python/ftdi1PYTHON_wrap.c:130: :info:build In file included from //Library/Frameworks/Python.framework/Headers/Python.h:55: :info:build //Library/Frameworks/Python.framework/Headers/pyport.h:612:2: error: "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." :info:build #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." :info:build ^ :info:build 1 error generated. :info:build make[2]: *** [python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.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.2' :info:build make[1]: *** [python/CMakeFiles/_ftdi1.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.2' :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.2' :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.2" && /usr/bin/make -j4 -w all :info:build Exit code: 2 :error:build org.macports.build for port libftdi1 returned: command execution failed :debug:build Error code: CHILDSTATUS 92787 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for libftdi1: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port libftdi1 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/main.log
Darwin MBP.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
ProductName: Mac OS X ProductVersion: 10.9.5 BuildVersion: 13F34
Xcode 6.1.1 Build version 6A2008a
Change History (8)
comment:1 Changed 10 years ago by nerdling (Jeremy Lavergne)
Owner: | changed from macports-tickets@… to snc@… |
---|---|
Status: | new → assigned |
comment:2 Changed 10 years ago by nerdling (Jeremy Lavergne)
r129068 forces use of MacPorts' python27. Let me know if that's enough to target the correct Python on your system: the full log isn't attached so I'm guessing.
comment:3 Changed 10 years ago by nerdling (Jeremy Lavergne)
Cc: | openmaintainer@… removed |
---|---|
Keywords: | libftdi1 removed |
comment:4 Changed 10 years ago by neilt (Neil Tiffin)
Much to my dismay, i have python 2.7, 3.3, and 3.4 installed through MacPorts. I tried the -t install and it is stuck at 'Building libftdi1' for the last 30 minutes or so. I'll interrupt it and do a new selfupdate.
comment:5 Changed 10 years ago by nerdling (Jeremy Lavergne)
Yes, building libftdi1 should go much faster.
Feel free to turn on verbose (port -v…) so you can see what's going on.
The current version of the Portfile is @1.2_1, and will pull in python27, and doxygen if not available.
comment:6 Changed 10 years ago by neilt (Neil Tiffin)
I only see 1.2 so I'll have to wait until it shows up.
comment:8 Changed 10 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Looks like a custom Python installation being picked up; those Python headers don't exist for me.
A workaround is to hide of these files from the build process, via trace mode: