#25827 closed defect (fixed)
xotcl: tclInt.h: No such file or directory
Reported by: | shawjef3@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | gustafn | |
Port: | xotcl |
Description
Complete log attached. Also a file is attached showing what ports I have installed in case there is a build conflict. I'm running 10.5.8 ppc.
$ sudo port install xotcl ---> Computing dependencies for xotcl ---> Fetching xotcl ---> Attempting to fetch xotcl-1.1.1.tar.gz from http://lil.fr.distfiles.macports.org/xotcl ---> Verifying checksum(s) for xotcl ---> Extracting xotcl ---> Configuring xotcl ---> Building xotcl Error: Target org.macports.build returned: shell command failed
Attachments (5)
Change History (12)
Changed 14 years ago by shawjef3@…
comment:1 follow-up: 3 Changed 14 years ago by shawjef3@…
Upon closer inspection, this might be fixed by adding the "private headers variant" from #17189. The reason I say this is the line from the log saying:
:info:build In file included from ../generic/xotcl.c:47: :info:build ../generic/xotclInt.h:15:20: error: tclInt.h: No such file or directory
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | xotcl tcl removed |
---|---|
Summary: | xotcl 1.1.1 build fails on "shell command" → xotcl: tclInt.h: No such file or directory |
comment:3 Changed 14 years ago by shawjef3@…
with the variant there's new errors, maybe because the xotcl port version is too old.
first part of the new error log's errors:
:info:build ../generic/xotcl.c: In function 'makeObjNamespace': :info:build ../generic/xotcl.c:1143: error: 'TclVarHashTable' has no member named 'createProc' :info:build ../generic/xotcl.c:1150: error: 'struct Var' has no member named 'hPtr' :info:build ../generic/xotcl.c:1162: error: 'struct Var' has no member named 'nsPtr' :info:build ../generic/xotcl.c: In function 'NSRequireVariableOnObj': :info:build ../generic/xotcl.c:1276: warning: assignment from incompatible pointer type :info:build ../generic/xotcl.c:1279: warning: assignment from incompatible pointer type :info:build ../generic/xotcl.c: In function 'NSCleanupNamespace': :info:build ../generic/xotcl.c:1322: warning: passing argument 1 of 'tclStubsPtr->tcl_InitHashTable' from incompatible pointer type
Changed 14 years ago by shawjef3@…
comment:4 follow-up: 5 Changed 14 years ago by shawjef3@…
Changing the xotcl port to use 1.6.6 gives completely different errors. Here's the log. I hope it's not too long for pasting.
version:1 :debug:main epoch: in tree: 0 installed: 0 :debug:main tk 8.5.8_0 exists in the ports tree :debug:main tk 8.5.8_0 +darwin+quartz is the latest installed :debug:main tk 8.5.8_0 +darwin+quartz is active :debug:main Merging existing variants '+darwin+quartz' into variants :debug:main new fully merged portvariants: darwin + quartz + :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/tk :debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch powerpc :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf :debug:main adding the default universal variant :debug:main Requested variant darwin is not provided by port tk. :debug:main Executing variant quartz provides quartz :debug:main Skipping upgrade since tk 8.5.8_0 >= tk 8.5.8_0, even though installed variants "+darwin+quartz" do not match "+quartz". :debug:main epoch: in tree: 0 installed: 0 :debug:main tcl 8.5.8_0 exists in the ports tree :debug:main tcl 8.5.8_0 +darwin is the latest installed :debug:main tcl 8.5.8_0 +headers is active :debug:main Merging existing variants '+headers' into variants :debug:main new fully merged portvariants: headers + :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl :debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch powerpc :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf :debug:main Executing variant headers provides headers :debug:main No need to upgrade! tcl 8.5.8_0 >= tcl 8.5.8_0 :msg:main ---> Computing dependencies for xotcl:info:main .:debug:main Searching for dependency: tk :debug:main Found Dependency: receipt exists for tk :msg:main :debug:main Executing org.macports.main (xotcl) :msg:main ---> Fetching xotcl :debug:fetch fetch phase started at Tue Jul 27 01:24:20 EDT 2010 :debug:fetch Executing org.macports.fetch (xotcl) :msg:fetch ---> Verifying checksum(s) for xotcl :debug:checksum checksum phase started at Tue Jul 27 01:24:20 EDT 2010 :debug:checksum Executing org.macports.checksum (xotcl) :info:checksum ---> Checksumming xotcl-1.6.6.tar.gz :debug:checksum Correct (md5) checksum for xotcl-1.6.6.tar.gz :msg:checksum ---> Extracting xotcl :debug:extract extract phase started at Tue Jul 27 01:24:20 EDT 2010 :debug:extract Executing org.macports.extract (xotcl) :info:extract ---> Extracting xotcl-1.6.6.tar.gz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/xotcl/xotcl-1.6.6.tar.gz' :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_xotcl/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5' :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_xotcl/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/xotcl/xotcl-1.6.6.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' :debug:patch patch phase started at Tue Jul 27 01:24:20 EDT 2010 :debug:patch Executing org.macports.patch (xotcl) :msg:patch ---> Configuring xotcl :debug:patch Using compiler 'Mac OS X gcc 4.0' :debug:configure configure phase started at Tue Jul 27 01:24:20 EDT 2010 :debug:configure Executing org.macports.configure (xotcl) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch ppc' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch ppc' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/usr/bin/g++-4.0' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_xotcl/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m32' LDFLAGS='-L/opt/local/lib -arch ppc' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch ppc' FFLAGS='-O2 -m32' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.0' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_xotcl/work/xotcl-1.6.6/unix" && ./configure --prefix=/opt/local --enable-threads --with-tcl=/opt/local/lib --with-tk=/opt/local/lib' :info:configure sh: ./configure: No such file or directory :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_xotcl/work/xotcl-1.6.6/unix" && ./configure --prefix=/opt/local --enable-threads --with-tcl=/opt/local/lib --with-tk=/opt/local/lib " returned error 127 :error:configure Target org.macports.configure returned: configure failure: shell command failed :debug:configure Backtrace: configure failure: shell command failed while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for xotcl): org.macports.build org.macports.configure :notice:configure Log for xotcl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_xotcl/main.log
comment:5 Changed 14 years ago by gustafn
Replying to shawjef3@…:
Changing the xotcl port to use 1.6.6 gives completely different errors.
The configure file was moved several years ago from the unix subdir to the root directory of the package due to TEA conformance. I will try to attach a patch file for the Ports file.
The main issue is tclInt.h (the private header file for Tcl). i solved it via the variant +headers ala
and
sudo port -f install tcl +headers
but as far i can see, there is no way to add a dependency for a variant into a Portfile. It looks to me as if FreeBSD distributes tclInt.h by default, since xotcl does not have problems finding tclInt.h file there...
Changed 14 years ago by gustafn
Attachment: | patch-Makefile.in.diff added |
---|
Patch referenced by the diff of the portfile
comment:7 Changed 13 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Presumably fixed by r83077.
build log