[MacPorts] #21439: tk 8.5.6 fails to build on snow leopard

MacPorts noreply at macports.org
Wed Sep 16 22:19:09 PDT 2009


#21439: tk 8.5.6 fails to build on snow leopard
--------------------------------+-------------------------------------------
 Reporter:  hgbrauen@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.0                                
 Keywords:  tk build            |        Port:  tk                                   
--------------------------------+-------------------------------------------
 tk 8.5.6 fails to build on snow leopard.  I am building the quartz
 variant.

 Macports version: 1.8.0

 Mac OS X: 10.6.1

 Xcode: 3.2

 The following is the tail end of the log resulting from doing:
 {{{sudo port clean --all tk}}}
 followed by:
 {{{sudo port -d install tk}}}


 {{{
 /usr/bin/gcc-4.2 -c -Os -O2 -arch x86_64 -pipe  -fpascal-strings
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tcl8.5.6/generic
 -Wall -Wno-implicit-int -fno-common
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../unix
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../generic
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../bitmaps
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../xlib
 -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_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DMAC_OSX_TK=1
 -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c
 /usr/bin/gcc-4.2 -c -Os -O2 -arch x86_64 -pipe  -fpascal-strings
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tcl8.5.6/generic
 -Wall -Wno-implicit-int -fno-common
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../unix
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../generic
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../bitmaps
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//generic
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../../tcl8.5.6//unix
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../xlib
 -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_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DMAC_OSX_TK=1
 -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:
 In function 'TkpCreateNativeBitmap':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:149:
 warning: implicit declaration of function 'QDSwapPort'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:156:
 warning: implicit declaration of function 'RGBForeColor'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:157:
 warning: implicit declaration of function 'PaintRect'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:158:
 warning: implicit declaration of function 'PlotIconID'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:160:
 warning: implicit declaration of function 'GetIcon'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:160:
 warning: initialization makes pointer from integer without a cast
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:166:
 warning: implicit declaration of function 'PlotIcon'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:
 In function 'TkpGetNativeAppBitmap':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:261:
 warning: implicit declaration of function 'GetCIcon'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:261:
 warning: cast to pointer from integer of different size
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:262:
 warning: implicit declaration of function 'PlotCIcon'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:262:
 error: 'CIconHandle' undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:262:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:262:
 error: for each function it appears in.)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:262:
 error: expected ')' before 'resource'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:263:
 warning: implicit declaration of function 'DisposeCIcon'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXBitmap.c:263:
 error: expected ')' before 'resource'
 make: *** [tkMacOSXBitmap.o] Error 1
 make: *** Waiting for unfinished jobs....
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:100:
 error: expected declaration specifiers or '...' before
 'ControlUserPaneBackgroundProcPtr'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:103:
 error: expected declaration specifiers or '...' before
 'ControlBackgroundPtr'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'TkpDisplayButton':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:241:
 warning: implicit declaration of function 'QDSwapPort'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:254:
 warning: implicit declaration of function 'DisposeControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'TkMacOSXInitControl':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:804:
 warning: cast from pointer to integer of different size
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:805:
 warning: implicit declaration of function 'NewControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:807:
 warning: assignment makes pointer from integer without a cast
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:813:
 warning: implicit declaration of function 'EmbedControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:818:
 error: too many arguments to function
 'SetUserPaneSetUpSpecialBackgroundProc'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:825:
 warning: assignment makes pointer from integer without a cast
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:836:
 warning: implicit declaration of function 'IsWindowActive'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'TkMacOSXDrawControl':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:929:
 warning: implicit declaration of function 'SetControlBounds'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:952:
 warning: implicit declaration of function 'SetControlTitleWithCFString'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:960:
 warning: implicit declaration of function 'SetControlFontStyle'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:974:
 warning: implicit declaration of function 'SetControlValue'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:982:
 warning: implicit declaration of function 'IsControlActive'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:984:
 warning: implicit declaration of function 'ActivateControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:986:
 warning: implicit declaration of function 'DeactivateControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:990:
 warning: implicit declaration of function 'IsControlEnabled'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:992:
 warning: implicit declaration of function 'EnableControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:994:
 warning: implicit declaration of function 'DisableControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1000:
 warning: implicit declaration of function 'HiliteControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1028:
 warning: implicit declaration of function 'SetControlData'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1033:
 warning: implicit declaration of function 'ShowControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1037:
 warning: implicit declaration of function 'SetControlVisibility'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1038:
 warning: implicit declaration of function 'Draw1Control'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1044:
 warning: implicit declaration of function 'KillPicture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1044:
 error: 'union <anonymous>' has no member named 'picture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'SetupBevelButton':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1107:
 error: 'union <anonymous>' has no member named 'picture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1107:
 warning: implicit declaration of function 'OpenCPicture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1108:
 error: 'union <anonymous>' has no member named 'picture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1134:
 warning: implicit declaration of function 'ClosePicture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 At top level:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1238:
 error: expected declaration specifiers or '...' before
 'ControlUserPaneBackgroundProcPtr'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'SetUserPaneSetUpSpecialBackgroundProc':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: 'ControlUserPaneBackgroundUPP' undeclared (first use in this
 function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: for each function it appears in.)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: expected ';' before 'myControlUserPaneBackgroundUPP'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1242:
 error: 'myControlUserPaneBackgroundUPP' undeclared (first use in this
 function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1242:
 warning: implicit declaration of function
 'NewControlUserPaneBackgroundUPP'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1242:
 error: 'upp' undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'UserPaneDraw':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1271:
 warning: implicit declaration of function 'GetControlReference'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1275:
 warning: implicit declaration of function 'GetPort'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1276:
 warning: implicit declaration of function 'GetControlBounds'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1278:
 warning: implicit declaration of function 'EraseRect'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 At top level:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1301:
 error: expected declaration specifiers or '...' before
 'ControlBackgroundPtr'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'UserPaneBackgroundProc':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1305:
 error: 'info' undeclared (first use in this function)
 make: *** [tkMacOSXButton.o] Error 1
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix"
 && /usr/bin/make -j2 all " returned error 2
 Command output:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1033:
 warning: implicit declaration of function 'ShowControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1037:
 warning: implicit declaration of function 'SetControlVisibility'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1038:
 warning: implicit declaration of function 'Draw1Control'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1044:
 warning: implicit declaration of function 'KillPicture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1044:
 error: 'union <anonymous>' has no member named 'picture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'SetupBevelButton':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1107:
 error: 'union <anonymous>' has no member named 'picture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1107:
 warning: implicit declaration of function 'OpenCPicture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1108:
 error: 'union <anonymous>' has no member named 'picture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1134:
 warning: implicit declaration of function 'ClosePicture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 At top level:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1238:
 error: expected declaration specifiers or '...' before
 'ControlUserPaneBackgroundProcPtr'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'SetUserPaneSetUpSpecialBackgroundProc':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: 'ControlUserPaneBackgroundUPP' undeclared (first use in this
 function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: for each function it appears in.)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: expected ';' before 'myControlUserPaneBackgroundUPP'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1242:
 error: 'myControlUserPaneBackgroundUPP' undeclared (first use in this
 function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1242:
 warning: implicit declaration of function
 'NewControlUserPaneBackgroundUPP'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1242:
 error: 'upp' undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'UserPaneDraw':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1271:
 warning: implicit declaration of function 'GetControlReference'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1275:
 warning: implicit declaration of function 'GetPort'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1276:
 warning: implicit declaration of function 'GetControlBounds'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1278:
 warning: implicit declaration of function 'EraseRect'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 At top level:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1301:
 error: expected declaration specifiers or '...' before
 'ControlBackgroundPtr'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'UserPaneBackgroundProc':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1305:
 error: 'info' undeclared (first use in this function)
 make: *** [tkMacOSXButton.o] Error 1

 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix"
 && /usr/bin/make -j2 all " returned error 2
 Command output:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1033:
 warning: implicit declaration of function 'ShowControl'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1037:
 warning: implicit declaration of function 'SetControlVisibility'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1038:
 warning: implicit declaration of function 'Draw1Control'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1044:
 warning: implicit declaration of function 'KillPicture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1044:
 error: 'union <anonymous>' has no member named 'picture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'SetupBevelButton':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1107:
 error: 'union <anonymous>' has no member named 'picture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1107:
 warning: implicit declaration of function 'OpenCPicture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1108:
 error: 'union <anonymous>' has no member named 'picture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1134:
 warning: implicit declaration of function 'ClosePicture'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 At top level:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1238:
 error: expected declaration specifiers or '...' before
 'ControlUserPaneBackgroundProcPtr'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'SetUserPaneSetUpSpecialBackgroundProc':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: 'ControlUserPaneBackgroundUPP' undeclared (first use in this
 function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: for each function it appears in.)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1240:
 error: expected ';' before 'myControlUserPaneBackgroundUPP'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1242:
 error: 'myControlUserPaneBackgroundUPP' undeclared (first use in this
 function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1242:
 warning: implicit declaration of function
 'NewControlUserPaneBackgroundUPP'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1242:
 error: 'upp' undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'UserPaneDraw':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1271:
 warning: implicit declaration of function 'GetControlReference'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1275:
 warning: implicit declaration of function 'GetPort'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1276:
 warning: implicit declaration of function 'GetControlBounds'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1278:
 warning: implicit declaration of function 'EraseRect'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 At top level:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1301:
 error: expected declaration specifiers or '...' before
 'ControlBackgroundPtr'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:
 In function 'UserPaneBackgroundProc':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix/../macosx/tkMacOSXButton.c:1305:
 error: 'info' undeclared (first use in this function)
 make: *** [tkMacOSXButton.o] Error 1

     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for tk):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21439>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list