Opened 15 years ago
Closed 14 years ago
#23154 closed defect (fixed)
Installation of expect-5.43.0 fail
Reported by: | christophe.haro@… | Owned by: | markd@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | bkw (Bernhard Weisshuhn (a.k.a. bernhorst)), matteocorti (Matteo Corti), 641@…, wozniak.dan@…, xieyanbo@…, aguynamedryan+macports@…, robin@… | |
Port: | expect |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hi,
When I try to install Expect-5.43.0, I get a very long list of messages with :
... In file included from exp_main_tk.c:37: /opt/local/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from Tcl 8.5 ...
I do not know how to fix this error. Can someone help ?
Thanks.
--
Christophe.HARO@…
Change History (14)
comment:1 follow-ups: 2 3 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to markd@… |
---|---|
Port: | expect added |
comment:2 Changed 15 years ago by christophe.haro@…
Replying to jmr@…:
Please remember to fill in the Port field and cc the maintainer. Attach the full output including the command you ran.
Ok ! I'm sorry.
Here, you can find the full output :
callisto:tuples haro$ sudo port install expect Password: ---> 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 -j1 all " returned error 2 Command output: /usr/bin/gcc-4.0 -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_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 -I/opt/local/include -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 i386 -O2 -arch i386 -pipe exp_main_tk.c In file included from exp_main_tk.c:37: /opt/local/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.
-- Christophe.HARO@…
comment:3 Changed 15 years ago by christophe.haro@…
Replying to jmr@…:
Please remember to fill in the Port field and cc the maintainer. Attach the full output including the command you ran.
I'm tired ! I was missing -d flag in the command. Here the full output with debug :
callisto:tuples haro$ sudo port -d install expect DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/expect DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/expect DEBUG: OS Platform: darwin DEBUG: OS Version: 9.8.0 DEBUG: Mac OS X Version: 10.5 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port expect. DEBUG: Requested variant i386 is not provided by port expect. DEBUG: Requested variant macosx is not provided by port expect. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl DEBUG: epoch: in tree: 0 installed: 0 DEBUG: tcl 8.5.8_0 exists in the ports tree DEBUG: tcl 8.5.8_0 +darwin is the latest installed DEBUG: tcl 8.5.8_0 +darwin is active DEBUG: Merging existing variants darwin into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl DEBUG: OS Platform: darwin DEBUG: OS Version: 9.8.0 DEBUG: Mac OS X Version: 10.5 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: adding the default universal variant DEBUG: Requested variant i386 is not provided by port tcl. DEBUG: Requested variant macosx is not provided by port tcl. DEBUG: Executing variant darwin provides darwin DEBUG: No need to upgrade! tcl 8.5.8_0 >= tcl 8.5.8_0 ---> Computing dependencies for expect DEBUG: Searching for dependency: tcl DEBUG: Found Dependency: receipt exists for tcl DEBUG: Executing org.macports.main (expect) DEBUG: Skipping completed org.macports.fetch (expect) DEBUG: Skipping completed org.macports.checksum (expect) DEBUG: Skipping completed org.macports.extract (expect) DEBUG: Skipping completed org.macports.patch (expect) DEBUG: Skipping completed org.macports.configure (expect) ---> Building expect DEBUG: Executing org.macports.build (expect) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled 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 -j1 all' /usr/bin/gcc-4.0 -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_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 -I/opt/local/include -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 i386 -O2 -arch i386 -pipe exp_main_tk.c In file included from exp_main_tk.c:37: /opt/local/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: 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 -j1 all " returned error 2 DEBUG: Backtrace: 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 -j1 all " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for expect): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
comment:4 Changed 15 years ago by bkw (Bernhard Weisshuhn (a.k.a. bernhorst))
Cc: | bkw@… added |
---|
Cc Me!
comment:9 Changed 14 years ago by aguynamedryan+macports@…
Cc: | aguynamedryan+macports@… added |
---|
Cc Me!
comment:11 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:12 Changed 14 years ago by vulcan_@…
i see the same error snow leopard 10.6.6 macbook with 32 bit only intel Duo Core
I have the Mac OS TCL installed of course and i have TCL installed via macports also .. version 8.5.9_0 .. tk the same version
so .. is anyone looking after this port?
comment:13 Changed 14 years ago by jmroot (Joshua Root)
I deleted the huge redundant output paste from comment:12. We don't need another "me too", we need a patch.
comment:14 Changed 14 years ago by markd@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r77615.
Please remember to fill in the Port field and cc the maintainer. Attach the full output including the command you ran.