Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13682 closed defect (worksforme)

tcl 8.5.0 installation fails due to multiple inclusion of byte_order.h

Reported by: yaseppochi (Stephen J. Turnbull) 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 (6)

comment:1 Changed 16 years ago by frstan@…

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.

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

Milestone: Port Bugs
Owner: changed from macports-tickets@… to mww@…

comment:3 Changed 16 years ago by mww@…

Keywords: tcl added
Status: newassigned
Version: 1.7.01.6.0

which port provides /opt/local/include/mach-o/arch.h?

comment:4 Changed 16 years ago by raimue (Rainer Müller)

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.

comment:5 Changed 16 years ago by mww@…

Resolution: worksforme
Status: assignedclosed

I'd be interested in knowing if the changed CPPFLAGS would solve this issue, too. I'm closing this bug though.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.