Opened 12 years ago

Closed 12 years ago

#37369 closed defect (fixed)

tcl @8.6.0_0 +corefoundation Patch to allow successful build on Tiger

Reported by: ccarey@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch tiger Cc: mww@…, ballapete (Peter "Pete" Dyballa)
Port: tcl

Description

The tcl @8.6.0_0 +corefoundation port does not successfully build on Tiger because of

:info:build Building package 'sqlite3.7.15.1'
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/tcl/work/tcl8.6.0/unix/pkgs/sqlite3.7.15.1'
:info:build rm -f libsqlite3.7.15.1.dylib
:info:build /usr/bin/gcc-4.0 -dynamiclib -pipe -O2 -arch ppc -pipe  -Os -Wall -fno-common   -arch ppc -headerpad_max_install_names -Wl,-search_paths_first  -Wl,-single_module -current_version 3.7.15 -compatibility_version 3.7.15 -o libsqlite3.7.15.1.dylib tclsqlite3.o -lpthread  -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/tcl/work/tcl8.6.0/unix -ltclstub8.6
:info:build Undefined symbols:
:info:build   "_OSAtomicCompareAndSwapPtrBarrier", referenced from:
:info:build       _sqlite3MemInit in tclsqlite3.o
:info:build ld: symbol(s) not found
:info:build /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
:info:build make[1]: *** [libsqlite3.7.15.1.dylib] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/tcl/work/tcl8.6.0/unix/pkgs/sqlite3.7.15.1'
:info:build make: *** [packages] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/tcl/work/tcl8.6.0/unix'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/tcl/work/tcl8.6.0/unix" && /usr/bin/make -w all
:info:build Exit code: 2

This problem, dealing with the sqlite3 component of tcl, was previously diagnosed in #32930. The attached Portfile patch makes use of the solution in #32930 to solve the problem here.

Attachments (1)

Portfile.tcl_8.6.0_0.diff (408 bytes) - added by ccarey@… 12 years ago.
patch to the Portfile to allow tcl @8.6.0_0 +corefoundation to build successfully on Tiger

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by ccarey@…

Attachment: Portfile.tcl_8.6.0_0.diff added

patch to the Portfile to allow tcl @8.6.0_0 +corefoundation to build successfully on Tiger

comment:1 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)

Tcl could be upgraded here on PPC Tiger 10.4.11 with manually applying the patch to the Portfile. (And then the Tk upgrade seems to be locked in an endless loop…)

comment:2 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)

Cc: Peter_Dyballa@… added

Cc Me!

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #37394.

comment:4 Changed 12 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

Fixed in r100827, closing.

Note: See TracTickets for help on using tickets.