[MacPorts] #24772: Expect - 5.43.0, Revision 4 (devel) - Fails to build (In file included from exp_main_tk.c:37:)

MacPorts noreply at macports.org
Mon May 3 16:17:34 PDT 2010


#24772: Expect - 5.43.0, Revision 4 (devel) - Fails to build (In file included from
exp_main_tk.c:37:)
-----------------------------------+----------------------------------------
 Reporter:  wozniak.dan@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.8.2                                
 Keywords:  expect tcl             |        Port:  expect                               
-----------------------------------+----------------------------------------
 user at host:~ $ sudo port install expect
 --->  Computing dependencies for expect
 --->  Building expect
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/expect-5.43"
 && /usr/bin/make -j2 all " returned error 2
 Command output: /usr/bin/gcc-4.2 -c -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_CFG_DO64BIT=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
 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1
 -DHAVE_XSS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1   -I. -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic
 -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\"
 -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER
 -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -arch x86_64 -O2 -arch x86_64
 -pipe     exp_main_tk.c
 In file included from exp_main_tk.c:37:
 /usr/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h
 from Tcl 8.5
 exp_main_tk.c: In function 'Tk_Init2':
 exp_main_tk.c:301: warning: incompatible implicit declaration of built-in
 function 'strrchr'
 exp_main_tk.c: In function 'optcmd_debug':
 exp_main_tk.c:444: warning: incompatible implicit declaration of built-in
 function 'strcpy'
 make: *** [exp_main_tk.o] Error 1

 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.

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


More information about the macports-tickets mailing list