libftdi1@1.4_3: error: redefinition of 'charp2str' 'str2charp_size' 'ftdi_eeprom'
: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/build'
:info:build [ 34%] 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/build/python && /usr/bin/clang -D_ftdi1_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.4/src -I/opt/local/include/libusb-1.0 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers -Os -DNDEBUG -arch x86_64 -mmacosx-version-min=10.13 -fPIC -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/build/python/ftdi1PYTHON_wrap.c
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build/python/ftdi1PYTHON_wrap.c:3521:18: error: redefinition of 'charp2str'
:info:build inline PyObject* charp2str(const char *v_, long len)
:info:build ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build/python/ftdi1PYTHON_wrap.c:3038:18: note: previous definition is here
:info:build inline PyObject* charp2str(const char *v_, long len)
:info:build ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build/python/ftdi1PYTHON_wrap.c:3530:15: error: redefinition of 'str2charp_size'
:info:build inline char * str2charp_size(PyObject* pyObj, int * size)
:info:build ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build/python/ftdi1PYTHON_wrap.c:3047:15: note: previous definition is here
:info:build inline char * str2charp_size(PyObject* pyObj, int * size)
:info:build ^
: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/build/python/ftdi1PYTHON_wrap.c:3545:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/libftdi1-1.4/src/ftdi_i.h:30:8: error: redefinition of 'ftdi_eeprom'
:info:build struct ftdi_eeprom
:info:build ^
Unable to replicate.
Both default and universal variants build successfully.
Are you able to replicate this error when invoking macports' trace mode (
port -t
)?