"sudo port install git-core +svn" fails

Rainer Müller raimue at macports.org
Sat Sep 6 07:44:26 PDT 2008


Kieran Kelleher wrote:
> --->  Building sqlite3 with target all
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_databases_sqlite3/work/sqlite-3.6.2" &&  
> gnumake all " returned error 2
> Command output: sed -e s/--VERS--/3.6.2/ ./src/sqlite.h.in | \
> 	sed -e s/--VERSION-NUMBER--/3006002/ >sqlite3.h
> /usr/bin/gcc-4.0  -O2 -o mkkeywordhash  - 
> DSQLITE_OMIT_LOAD_EXTENSION=1 ./tool/mkkeywordhash.c
> ./mkkeywordhash >keywordhash.h
> /usr/bin/gcc-4.0  -O2 -o lemon ./tool/lemon.c
> cp ./tool/lempar.c .
> cp ./src/parse.y .
> ./lemon  -DSQLITE_OMIT_LOAD_EXTENSION=1 parse.y
> mv parse.h parse.h.temp
> f ./addopcodes.awk parse.h.temp >parse.h
> /bin/sh: f: command not found
> gnumake: [parse.c] Error 127 (ignored)
> cat parse.h ./src/vdbe.c |  -f ./mkopcodeh.awk >opcodes.h
> /bin/sh: -f: command not found
> cat: stdout: Broken pipe
> gnumake: *** [opcodes.h] Error 127

This is a bug in Tcl on Leopard. See [1] for more information.

Workaround:
sudo port clean sqlite3
sudo port install git-core +svn

Rainer

[1]
http://trac.macports.org/wiki/LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuildphases


More information about the macports-users mailing list