Ticket #18035 (closed defect: fixed)
tk +universal: can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/mp/lib/libiconv.2.dylib
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | tiger | Cc: | mww@…, jeremyhu@…, cgtobi@… |
| Port: | tk, fontconfig |
Description
Trying to install tk +universal on Mac OS X 10.4.11 Intel with Xcode 2.5 and MacPorts 1.7.0:
$ port install tk +universal
---> Fetching tk
---> Verifying checksum(s) for tk
---> Extracting tk
---> Configuring tk
---> Building tk
Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix" && nice -n 10 make all " returned error 2
Command output: /usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS -DTK_LIBRARY=\"/mp/lib/tk8.5\" \
/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixInit.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixKey.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixMenu.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixMenubu.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixScale.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixScrlbr.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixSelect.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixSend.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixWm.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix/tkUnixXId.c
/usr/bin/gcc-4.0 -c -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -Wno-implicit-int -fno-common -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../unix -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../bitmaps -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tk8.5.6/unix/../generic/ttk/ttkStubLib.c
rm -f libtkstub8.5.a
ar cr libtkstub8.5.a tkStubLib.o ttkStubLib.o ; ranlib libtkstub8.5.a
rm -f libtk8.5.dylib
/usr/bin/gcc-4.0 -dynamiclib -Os -O2 -arch ppc -arch i386 -pipe -I/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_tk/work/tcl8.5.6/generic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/mp/lib -arch ppc -arch i386 -headerpad_max_install_names -Wl,-search_paths_first -Wl,-single_module -o libtk8.5.dylib tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkConsole.o tkCursor.o tkError.o tkEvent.o tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o tkMain.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o tkSelect.o tkStyle.o tkUndo.o tkUtil.o tkVisual.o tkWindow.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkPanedWindow.o tkScale.o tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o tkStubInit.o tkStubLib.o ttkBlink.o ttkButton.o ttkCache.o ttkClamTheme.o ttkClassicTheme.o ttkDefaultTheme.o ttkElements.o ttkEntry.o ttkFrame.o ttkImage.o ttkInit.o ttkLabel.o ttkLayout.o ttkManager.o ttkNotebook.o ttkPanedwindow.o ttkProgress.o ttkScale.o ttkScrollbar.o ttkScroll.o ttkSeparator.o ttkSquare.o ttkState.o ttkTagSet.o ttkTheme.o ttkTrace.o ttkTrack.o ttkTreeview.o ttkWidget.o ttkStubInit.o tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixConfig.o tkUnixCursor.o tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixRFont.o tkUnixInit.o tkUnixKey.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o -framework CoreFoundation -L/usr/X11R6/lib -lX11 -L/mp/lib -lXft -lX11 -L/mp/lib -lfreetype -lz -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -L/mp/lib -lfontconfig -lexpat -lfreetype -lz -L/mp/lib -lXrender -lX11 -lXau -lXdmcp -framework CoreFoundation -L/mp/lib -ltclstub8.5 -compatibility_version 8.5 -current_version 8.5.6 -install_name "/mp/lib"/libtk8.5.dylib -unexported_symbols_list $(f=libtclstub8.5.a.E && nm -gjp "/mp/lib"/libtclstub8.5.a | grep ^_[^_] > $f && echo $f) -sectcreate __TEXT __info_plist Tk-Info.plist
ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/mp/lib/libiconv.2.dylib referenced from: /mp/lib/libXft.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/mp/lib/libiconv.2.dylib referenced from: /mp/lib/libXft.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
_libiconv referenced from libfontconfig expected to be defined in /mp/lib/libiconv.2.dylib
_libiconv_close referenced from libfontconfig expected to be defined in /mp/lib/libiconv.2.dylib
_libiconv_open referenced from libfontconfig expected to be defined in /mp/lib/libiconv.2.dylib
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed
ld: Undefined symbols:
_libiconv referenced from libfontconfig expected to be defined in /mp/lib/libiconv.2.dylib
_libiconv_close referenced from libfontconfig expected to be defined in /mp/lib/libiconv.2.dylib
_libiconv_open referenced from libfontconfig expected to be defined in /mp/lib/libiconv.2.dylib
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
lipo: can't figure out the architecture type of: /var/tmp//ccCO49AA.out
make: *** [libtk8.5.dylib] Error 1
Error: Status 1 encountered during processing.
Based on previous experience with this type of error (attempting to locate a MacPorts library inside the SDK root) my first attempt to resolve it would be to add -liconv to the failing command.
Change History
comment:1 Changed 4 years ago by ryandesign@…
- Owner changed from mww@… to ryandesign@…
- Cc mww@…, jeremyhu@… added
- Port changed from tk to tk, fontconfig
comment:2 Changed 4 years ago by jeremyhu@…
Xft2 is openmaintainer. Feel free to revbump it yourself Ryan.
comment:3 Changed 4 years ago by ryandesign@…
The above was on Tiger, and after modifying ${prefix}/lib/pkgconfig/fontconfig.pc, rebuilding Xft2 and installing tk, I found that ${prefix}/lib/libtk8.5.dylib links with ${prefix}/lib/libXft.2.dylib, ${prefix}/lib/libfontconfig.1.dylib and ${prefix}/lib/libiconv.2.dylib, which is all fine.
Now I tested on Leopard (Mac OS X 10.5.6 with Xcode 3.1.1) and found that it built tk +universal without any modification of ${prefix}/lib/pkgconfig/fontconfig.pc. On that system the Xft2 port is not installed; libXft from /usr/X11 is being used. /usr/X11/lib/libXft.2.1.2.dylib links with /usr/X11/lib/libfontconfig.1.dylib and /usr/lib/libiconv.2.dylib. /usr/X11/lib/libfontconfig.1.dylib also links with /usr/lib/libiconv.2.dylib. But curiously, ${prefix}/lib/libtk8.5.dylib links with /usr/X11/lib/libXft.2.dylib and ${prefix}/lib/libfontconfig.1.dylib but not with libiconv.
As with the MacPorts version right now, "/usr/X11/bin/xft-config --libs" does not mention -liconv.
comment:4 Changed 4 years ago by ryandesign@…
I have filed issue 19606 in the fontconfig issue tracker about this.
comment:5 Changed 4 years ago by jeremyhu@…
Ugg... well let's file this in the "will be fixed when we move to port: based X11 dependencies". I'll follow the fontconfig issue and hopefully it will be resolved in time to roll in with the next X11 update
comment:6 Changed 4 years ago by jeremyhu@…
r45603 should solve this atleast for the default case (+system_x11 variant users will still hit this) since we'll be using "our" X11 libs rather than the libXft2 in X11prefix which has a bad .pc
comment:9 Changed 4 years ago by cgtobi@…
It still happens on Tiger (ppc) since there is no system_x11 anymore
comment:11 Changed 21 months ago by jmr@…
- Status changed from new to closed
- Resolution set to fixed
Upstream says this is fixed.


tk is using xft-config to get the list of dependencies. Xft2 gets the list of library dependencies using pkg-config and writes them into xft-config at build time. Xft2 depends on fontconfig which depends on libiconv, but fontconfig's pkgconfig file doesn't include -liconv.
So I need to fix fontconfig so that it puts -liconv into the Libs.private line in ${prefix}/lib/pkgconfig/fontconfig.pc. Then Jeremy needs to rev-bump Xft2 so that it gets rebuilt and incorporates the new library flags into its xft-config. Then tk will build universal.