[MacPorts] #13526: sqlite-3.5.3 fails to build on 10.5.1
#13526: sqlite-3.5.3 fails to build on 10.5.1 ----------------------------------------+----------------------------------- Reporter: mlist@gmx.de | Owner: macports-dev@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
#13526: sqlite-3.5.3 fails to build on 10.5.1 ---------------------------+------------------------------------------------ Reporter: mlist@gmx.de | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: sqlite3 sqlite build error ---------------------------+------------------------------------------------ Changes (by jmpp@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13526#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13526: sqlite-3.5.3 fails to build on 10.5.1 ---------------------------+------------------------------------------------ Reporter: mlist@gmx.de | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: sqlite3 sqlite build error ---------------------------+------------------------------------------------ Changes (by ryandesign@macports.org): * cc: mww@macports.org (removed) * cc: ryandesign@macports.org (added) * owner: macports-dev@lists.macosforge.org => mww@macports.org Comment: Yes, I see the same problem (the second one reported above). Mac OS X 10.5.1, Xcode 3.0, MacPorts 1.5.2, MacBookPro3,1. Assigning to maintainer. -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13526#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13526: sqlite-3.5.3 fails to build on 10.5.1 ---------------------------+------------------------------------------------ Reporter: mlist@gmx.de | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: sqlite3 sqlite build error ---------------------------+------------------------------------------------ Changes (by takanori@macports.org): * cc: takanori@macports.org (added) Comment: Same here. (Mac OS X 10.5.1/ppc, Xcode 3.0, MacPorts 1.5.2) -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13526#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13526: sqlite-3.5.3 fails to build on 10.5.1 ---------------------------+------------------------------------------------ Reporter: mlist@gmx.de | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: sqlite3 sqlite build error ---------------------------+------------------------------------------------ Changes (by mww@macports.org): * status: new => assigned Comment: I need a full trace to analyze this -- works flawless here on 10.5.1/i386; looks like ''./configure'' is assigning some bogus value to a tool variable. I suspect ''./configure'' picks up some tool you have installed (and I don't). please attach a full trace {{{ port clean sqlite3; port -d destroot sqlite3 2>&1 | tee trace }}} -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13526#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13526: sqlite-3.5.3 fails to build on 10.5.1 ---------------------------+------------------------------------------------ Reporter: mlist@gmx.de | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: sqlite3 sqlite build error ---------------------------+------------------------------------------------ Comment (by jasper@vs19.net): Doing a clean and rebuild to get a trace as suggested above by mww didn't give me a good trace - because it resolved my issues (on 10.5.1/intel); I guess it is due to a new version of yacc/bison being available in macports, so possibly some builddeps are a bit too loose. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13526#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13526: sqlite-3.5.3 fails to build on 10.5.1 ---------------------------+------------------------------------------------ Reporter: mlist@gmx.de | Owner: mww@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: worksforme | Keywords: sqlite3 sqlite build error ---------------------------+------------------------------------------------ Changes (by mww@macports.org): * status: assigned => closed * resolution: => worksforme Comment: sqlite3 does not require bison from macports -- the Apple provided one is just fine, so this ''probably'' is not a dependency issue. Without a trace all this remains speculation, sqlite3 has been updated to 3.5.4 and it now builds fine, so I'll close this bug anyway. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13526#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13526: sqlite-3.5.3 fails to build on 10.5.1 ---------------------------+------------------------------------------------ Reporter: mlist@gmx.de | Owner: mww@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: invalid | Keywords: sqlite3 sqlite build error ---------------------------+------------------------------------------------ Comment (by bretthoerner@gmail.com): I also just received this error the first time it tried to compile sqlite3 (as a dependency for subversion). I did "port clean sqlite3; port -d destroot sqlite3" and it worked. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13526#comment:10> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts