Ticket #13682 (closed defect: worksforme)
tcl 8.5.0 installation fails due to multiple inclusion of byte_order.h
| Reported by: | stephen@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | tcl | Cc: | |
| Port: |
Description
MacPorts port 1.700, OS X "Tiger" 10.4.11
In file included from /opt/local/var/macports/build/_Users_steve_Software_MacPorts_dports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:62: /opt/local/include/mach-o/arch.h:35: error: nested redefinition of 'enum NXByteOrder' /opt/local/include/mach-o/arch.h:35: error: redeclaration of 'enum NXByteOrder' /opt/local/include/mach-o/arch.h:36: error: redeclaration of enumerator 'NX_UnknownByteOrder' /usr/include/architecture/byte_order.h:137: error: previous definition of 'NX_UnknownByteOrder' was here /opt/local/include/mach-o/arch.h:37: error: redeclaration of enumerator 'NX_LittleEndian' /usr/include/architecture/byte_order.h:138: error: previous definition of 'NX_LittleEndian' was here /opt/local/include/mach-o/arch.h:39: error: redeclaration of enumerator 'NX_BigEndian' /usr/include/architecture/byte_order.h:140: error: previous definition of 'NX_BigEndian' was here make: *** [tclLoadDyld.o] Error 1 Error: Unable to upgrade port: 1
Change History
comment:2 Changed 5 years ago by ryandesign@…
- Owner changed from macports-tickets@… to mww@…
- Milestone set to Port Bugs
comment:3 Changed 5 years ago by mww@…
- Keywords tcl added
- Status changed from new to assigned
- Version changed from 1.7.0 to 1.6.0
which port provides /opt/local/include/mach-o/arch.h?
comment:4 Changed 5 years ago by raimue@…
We already had this issue earlier: http://lists.macosforge.org/pipermail/macports-users/2007-June/003896.html
The solution in this thread given was: port deactivate odcctools port upgrade tcl port activate odcctools
Seems like Tcl conflicts with headers installed by odcctools.
Note: See
TracTickets for help on using
tickets.


same error occurs with Mac OS 10.5.1 MP 1.60 also as well as some "deprecated" items
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:62: /opt/local/include/mach-o/arch.h:35: error: nested redefinition of 'enum NXByteOrder' /opt/local/include/mach-o/arch.h:35: error: redeclaration of 'enum NXByteOrder' /opt/local/include/mach-o/arch.h:36: error: redeclaration of enumerator 'NX_UnknownByteOrder' /usr/include/architecture/byte_order.h:137: error: previous definition of 'NX_UnknownByteOrder' was here /opt/local/include/mach-o/arch.h:37: error: redeclaration of enumerator 'NX_LittleEndian' /usr/include/architecture/byte_order.h:138: error: previous definition of 'NX_LittleEndian' was here /opt/local/include/mach-o/arch.h:39: error: redeclaration of enumerator 'NX_BigEndian' /usr/include/architecture/byte_order.h:140: error: previous definition of 'NX_BigEndian' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c: In function 'TclpFindSymbol': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:382: warning: 'NSLookupSymbolInImage' is deprecated (declared at /usr/include/mach-o/dyld.h:182) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:415: warning: 'NSLinkEditError' is deprecated (declared at /usr/include/mach-o/dyld.h:217) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:419: warning: 'NSLookupSymbolInModule' is deprecated (declared at /usr/include/mach-o/dyld.h:181) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:428: warning: 'NSAddressOfSymbol' is deprecated (declared at /usr/include/mach-o/dyld.h:188) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c: In function 'TclpUnloadFile': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:493: warning: 'NSUnLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:169) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c: In function 'TclpLoadMemory': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:697: warning: 'NSCreateObjectFileImageFromMemory' is deprecated (declared at /usr/include/mach-o/dyld.h:146) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:730: warning: 'NSLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:161) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:732: warning: 'NSDestroyObjectFileImage' is deprecated (declared at /usr/include/mach-o/dyld.h:147) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.0/unix/../unix/tclLoadDyld.c:740: warning: 'NSLinkEditError' is deprecated (declared at /usr/include/mach-o/dyld.h:217) make: * [tclLoadDyld.o] Error 1
Warning: the following items did not execute (for tcl): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.