[MacPorts] #13526: sqlite-3.5.3 fails to build on 10.5.1
MacPorts
trac at macosforge.org
Sat Dec 8 04:59:10 PST 2007
#13526: sqlite-3.5.3 fails to build on 10.5.1
----------------------------------------+-----------------------------------
Reporter: mlist at gmx.de | Owner: macports-dev at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.5.2
Keywords: sqlite3 sqlite build error |
----------------------------------------+-----------------------------------
While upgrading from an earlier version I get this message:
{{{
---> Fetching sqlite3
---> Attempting to fetch sqlite-3.5.3.tar.gz from http://www.sqlite.org/
---> Verifying checksum(s) for sqlite3
---> Extracting sqlite3
---> Applying patches to sqlite3
---> Configuring sqlite3
---> 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.5.3"
&& gnumake all " returned error 2
Command output: sed -e s/--VERS--/3.5.3/ ./src/sqlite.h.in | \
sed -e s/--VERSION-NUMBER--/3005003/ >sqlite3.h
gcc -O2 -o lemon ./tool/lemon.c
cp ./tool/lempar.c .
cp ./src/parse.y .
./lemon 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
Error: Unable to upgrade port: 1
}}}
later on, after successfully upgrading other ports this message is shown:
{{{
---> 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.5.3"
&& gnumake all " returned error 2
Command output: ./libtool --mode=compile --tag=CC gcc -O2 -I. -I./src
-DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1
-DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./src/alter.c
mkdir .libs
gcc -O2 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c
./src/alter.c -fno-common -DPIC -o .libs/alter.o
./src/alter.c: In function 'renameTableFunc':
./src/alter.c:77: error: 'TK_SPACE' undeclared (first use in this
function)
./src/alter.c:77: error: (Each undeclared identifier is reported only once
./src/alter.c:77: error: for each function it appears in.)
./src/alter.c:79: error: 'TK_LP' undeclared (first use in this function)
./src/alter.c:79: error: 'TK_USING' undeclared (first use in this
function)
./src/alter.c: In function 'renameTriggerFunc':
./src/alter.c:135: error: 'TK_SPACE' undeclared (first use in this
function)
./src/alter.c:148: error: 'TK_DOT' undeclared (first use in this function)
./src/alter.c:148: error: 'TK_ON' undeclared (first use in this function)
./src/alter.c:151: error: 'TK_WHEN' undeclared (first use in this
function)
./src/alter.c:151: error: 'TK_FOR' undeclared (first use in this function)
./src/alter.c:151: error: 'TK_BEGIN' undeclared (first use in this
function)
./src/alter.c: In function 'reloadTableSchema':
./src/alter.c:246: error: 'OP_DropTrigger' undeclared (first use in this
function)
./src/alter.c:251: error: 'OP_DropTable' undeclared (first use in this
function)
./src/alter.c:256: error: 'OP_ParseSchema' undeclared (first use in this
function)
./src/alter.c: In function 'sqlite3AlterRenameTable':
./src/alter.c:358: error: 'OP_String8' undeclared (first use in this
function)
./src/alter.c:359: error: 'OP_VRename' undeclared (first use in this
function)
./src/alter.c: In function 'sqlite3AlterFinishAddColumn':
./src/alter.c:471: error: 'TK_NULL' undeclared (first use in this
function)
gnumake: *** [alter.lo] Error 1
Error: Unable to upgrade port: 1
}}}
It's not that urgent since it's only some dependency for me. But I guess
it's better to open a new ticket here.
--
Ticket URL: <https://svn.macosforge.org/projects/macports/ticket/13526>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list