[MacPorts] #13910: tk-8.5.0 Configure error - build failure

MacPorts trac at macosforge.org
Wed Jan 23 10:55:54 PST 2008


#13910: tk-8.5.0 Configure error - build failure
------------------------------------+---------------------------------------
  Reporter:  igor.karpov at gmail.com  |       Owner:  mww at macports.org
      Type:  defect                 |      Status:  reopened        
  Priority:  Normal                 |   Milestone:  Port Bugs       
 Component:  ports                  |     Version:  1.6.0           
Resolution:                         |    Keywords:  erlang tk       
------------------------------------+---------------------------------------
Changes (by andrew at fernandes.org):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 Hmm... this fails for me. I have tcl @8.5.0_0 installed (just checked) and
 am trying to upgrade tk from 8.4.16_0 to 8.5.0_0.

 The initial configure works, and several files compile... and then the
 following happens. Yes, the error says 8.4, but I'm sure I'm
 using/upgrading the versions above.

 (I'm also freshly synced, and I checked that my portfile is identical to
 the patched one, above.)

 ...snip...
 {{{
 /usr/bin/gcc-4.0 -c -Os -O2 -pipe
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_
 x11_tk/work/tcl8.5.0/generic -I/opt/local/include  -Wall -Wno-implicit-int
 -fno-common -I/opt/local/var/macports/build/_opt_local_va
 r_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../unix
 -I/opt/local/var/macports/build/_opt_local_var_
 macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic
 -I/opt/local/var/macports/build/_opt_local_var
 _macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../bitmaps
 -I/opt/local/var/macports/build/_opt_local_va
 r_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0//generic
 -I/opt/local/var/macports/build
 /_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0//unix
 -I/usr/X11R6/include
  -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\"
 -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DST
 DC_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 -DHAV
 E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidde
 n\"\)\)\) -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_XSS=1 -DHAV
 E_LIBXFT=1 -DHAVE_XFT=1      -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsy
 nc.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic/tkTextWind.c
 /usr/bin/gcc-4.0 -c -Os -O2 -pipe
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_
 x11_tk/work/tcl8.5.0/generic -I/opt/local/include  -Wall -Wno-implicit-int
 -fno-common -I/opt/local/var/macports/build/_opt_local_va
 r_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../unix
 -I/opt/local/var/macports/build/_opt_local_var_
 macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic
 -I/opt/local/var/macports/build/_opt_local_var
 _macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../bitmaps
 -I/opt/local/var/macports/build/_opt_local_va
 r_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0//generic
 -I/opt/local/var/macports/build
 /_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0//unix
 -I/usr/X11R6/include
  -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\"
 -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DST
 DC_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 -DHAV
 E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidde
 n\"\)\)\) -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_XSS=1 -DHAV
 E_LIBXFT=1 -DHAVE_XFT=1      -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsy
 nc.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic/tkStubInit.c
 /usr/bin/gcc-4.0 -c -Os -O2 -pipe
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_
 x11_tk/work/tcl8.5.0/generic -I/opt/local/include  -Wall -Wno-implicit-int
 -fno-common -I/opt/local/var/macports/build/_opt_local_va
 r_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../unix
 -I/opt/local/var/macports/build/_opt_local_var_
 macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic
 -I/opt/local/var/macports/build/_opt_local_var
 _macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../bitmaps
 -I/opt/local/var/macports/build/_opt_local_va
 r_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0//generic
 -I/opt/local/var/macports/build
 /_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0//unix
 -I/usr/X11R6/include
  -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\"
 -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DST
 DC_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 -DHAV
 E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidde
 n\"\)\)\) -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_XSS=1 -DHAV
 E_LIBXFT=1 -DHAVE_XFT=1      -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsy
 nc.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic/tkStubLib.c
 /usr/bin/gcc-4.0 -c -Os -O2 -pipe
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_
 x11_tk/work/tcl8.5.0/generic -I/opt/local/include  -Wall -Wno-implicit-int
 -fno-common -I/opt/local/var/macports/build/_opt_local_va
 r_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../unix
 -I/opt/local/var/macports/build/_opt_local_var_
 macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic
 -I/opt/local/var/macports/build/_opt_local_var
 _macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../bitmaps
 -I/opt/local/var/macports/build/_opt_local_va
 r_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0//generic
 -I/opt/local/var/macports/build
 /_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0//unix
 -I/usr/X11R6/include
  -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\"
 -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DST
 DC_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 -DHAV
 E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidde
 n\"\)\)\) -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_XSS=1 -DHAV
 E_LIBXFT=1 -DHAVE_XFT=1      -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsy
 nc.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic/ttk/ttkBlink.c
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8
 .5.0/unix/../generic/ttk/ttkBlink.c:19:
 /opt/local/include/tk.h:23:3: error: #error Tk 8.4 must be compiled with
 tcl.h from Tcl 8.4
 make: *** [ttkBlink.o] Error 1
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13910#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list