[MacPorts] #14845: sqlite3 fails to build
#14845: sqlite3 fails to build --------------------------------+------------------------------------------- Reporter: m.giacco@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: 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.7" && gnumake all " returned error 2 Command output: ./sqlite3.c:73730: error: 'TK_GE' undeclared (first use in this function) ./sqlite3.c:73733: error: 'TK_RSHIFT' undeclared (first use in this function) ./sqlite3.c:73736: error: 'TK_GT' undeclared (first use in this function) ./sqlite3.c:73742: error: 'TK_ILLEGAL' undeclared (first use in this function) ./sqlite3.c:73751: error: 'TK_BITOR' undeclared (first use in this function) ./sqlite3.c:73754: error: 'TK_CONCAT' undeclared (first use in this function) ./sqlite3.c:73759: error: 'TK_COMMA' undeclared (first use in this function) ./sqlite3.c:73763: error: 'TK_BITAND' undeclared (first use in this function) ./sqlite3.c:73767: error: 'TK_BITNOT' undeclared (first use in this function) ./sqlite3.c:73784: error: 'TK_STRING' undeclared (first use in this function) ./sqlite3.c:73796: error: 'TK_DOT' undeclared (first use in this function) ./sqlite3.c:73804: error: 'TK_INTEGER' undeclared (first use in this function) ./sqlite3.c:73810: error: 'TK_FLOAT' undeclared (first use in this function) ./sqlite3.c:73830: error: 'TK_ID' undeclared (first use in this function) ./sqlite3.c:73830: warning: assignment makes integer from pointer without a cast ./sqlite3.c:73834: error: 'TK_VARIABLE' undeclared (first use in this function) ./sqlite3.c:73843: error: 'TK_REGISTER' undeclared (first use in this function) ./sqlite3.c:73883: error: 'TK_BLOB' undeclared (first use in this function) ./sqlite3.c: In function 'sqlite3RunParser': ./sqlite3.c:73956: error: 'TK_SPACE' undeclared (first use in this function) ./sqlite3.c:73956: warning: case label value exceeds maximum value for type ./sqlite3.c:73957: error: 'TK_COMMENT' undeclared (first use in this function) ./sqlite3.c:73957: warning: case label value exceeds maximum value for type ./sqlite3.c:73965: error: 'TK_ILLEGAL' undeclared (first use in this function) ./sqlite3.c:73965: warning: case label value exceeds maximum value for type ./sqlite3.c:73974: error: 'TK_SEMI' undeclared (first use in this function) ./sqlite3.c:73974: warning: case label value exceeds maximum value for type ./sqlite3.c:73990: warning: comparison between pointer and integer ./sqlite3.c:73991: warning: passing argument 2 of 'sqlite3Parser' makes integer from pointer without a cast gnumake: *** [sqlite3.lo] Error 1 }}} this is the error i get... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14845> MacPorts </projects/macports> Ports system for Mac OS
#14845: sqlite3 fails to build ---------------------------------+------------------------------------------ Reporter: m.giacco@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sqlite3 ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => mww@macports.org * milestone: => Port Bugs Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14845#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14845: sqlite3 fails to build ---------------------------------+------------------------------------------ Reporter: m.giacco@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sqlite3 ---------------------------------+------------------------------------------ Comment (by ostefano@gmail.com): Any workaround available? sqlite3 is pretty important due to many packages requiring it. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14845#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14845: sqlite3 fails to build ---------------------------------+------------------------------------------ Reporter: m.giacco@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sqlite3 ---------------------------------+------------------------------------------ Comment (by mrowe@mojain.com.au): Replying to [comment:2 ostefano@gmail.com]:
Any workaround available?
I got it working by running "port clean sqlite3" then reinstalling. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14845#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14845: sqlite3 fails to build ---------------------------------+------------------------------------------ Reporter: m.giacco@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sqlite3 ---------------------------------+------------------------------------------ Comment (by bill.mill macforge@gmail.com): confirm that both the bug exists and that the workaround works. Thanks mrowe. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14845#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14845: sqlite3 fails to build ---------------------------------+------------------------------------------ Reporter: m.giacco@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sqlite3 ---------------------------------+------------------------------------------ Comment (by rpt38@cornell.edu): Wanted to add - I was getting bitten by http://trac.macports.org/projects/macports/ticket/14523 at the same time as this, multiple cleans didn't work (I think I was doing a "full" clean). Cleaning and then setting NAWK in the makefile worked. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14845#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts